From: /dev/rob0 <rob0@gmx.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: How to log everything with iptables
Date: Wed, 15 Jun 2005 13:18:46 -0500 [thread overview]
Message-ID: <200506151318.46380.rob0@gmx.co.uk> (raw)
In-Reply-To: <00ec01c571d2$7878ca20$ec0211ac@PIVT>
On Wednesday 15 June 2005 12:48, Sebastião Antônio Campos (GWA) wrote:
> How can I do to log everything is passing thru my firewall on eth0
> and eth1 and lo?? Using iptables??
What did you try? Are you serious? What do you expect to do with all
those logs?
Anyway, it's quite simple. Put a -j LOG rule before any ACCEPT rules
which you may have in INPUT and FORWARD chains. If either default
policy is ACCEPT, put a -j LOG rule at the end of that chain too. See
"LOG" in the "TARGET EXTENSIONS" section of iptables(8) for options.
You might also find the ULOG target of interest as well as the "limit"
match extension.
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
prev parent reply other threads:[~2005-06-15 18:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-15 17:48 How to log everything with iptables Sebastião Antônio Campos (GWA)
2005-06-15 18:18 ` /dev/rob0 [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=200506151318.46380.rob0@gmx.co.uk \
--to=rob0@gmx.co.uk \
--cc=netfilter@lists.netfilter.org \
/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.