From: Mike Wright <xktnniuymlla@mailinator.com>
To: netfilter@lists.netfilter.org
Cc: "Pablo Proaño" <pabartur@gmail.com>
Subject: Re: Ultima vez que se uso una cadena??
Date: Fri, 13 Oct 2006 11:24:45 -0700 [thread overview]
Message-ID: <452FD9ED.9070203@mailinator.com> (raw)
In-Reply-To: <298bd5800610122009w5f4c0cd1o89f2dba3ca58d865@mail.gmail.com>
Pablo Proaño wrote:
> Saludos:
>
> Tal vez alguien me puede ayudar, estoy desarrollando una aplicacion
> para la cual me seria de utilidad conocer cuando fue la ultima vez que
> se utilizo una regla de iptabels para filtrar o dejar pasar cierto
> contenido.
>
> (ACCEPT, DROP, REJECT)
>
> por ejemplo tengo configurado en mi firewall una regla com esta:
>
> iptables -t filter -A INPUT -s 192.168.1.1/32 -j ACCEPT
>
> y deseo saber cuando fue la ultima vez (HH:MM:SS) que me permitio
> pasar trafico de la IP 192.168.1.1 hacia el Internet.
>
"man iptables" y busca LOG
Tal vez algo como esto:
iptables -N LOGGER
iptables -t filter -A INPUT -s 192.168.1.1/32 -j LOGGER
iptables -t filter -A LOGGER -j LOG
iptables -t filter -A LOGGER -j ACCEPT
Se puede mirar los resultados en /var/log/messages. Los datos al fin
estan los mas recien.
(desculpame el espanol ;)
prev parent reply other threads:[~2006-10-13 18:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-13 3:09 Ultima vez que se uso una cadena?? Pablo Proaño
2006-10-13 7:50 ` Gáspár Lajos
2006-10-13 18:24 ` Mike Wright [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=452FD9ED.9070203@mailinator.com \
--to=xktnniuymlla@mailinator.com \
--cc=netfilter@lists.netfilter.org \
--cc=pabartur@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.