From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: Re: netfilter logging
Date: Fri, 10 Jun 2005 14:02:14 -0400 [thread overview]
Message-ID: <20050610180214.GA6185@bender.817west.com> (raw)
In-Reply-To: <5885.212.100.225.55.1118237133.squirrel@webmail.*>
On Wed, Jun 08, 2005 at 02:25:33PM +0100, Jimmy wrote:
> Hello,
>
> I have just started to log my iptables drops. As seen with this line in my
> iptables-save output.
>
> -A INPUT -j LOG --log-level 1
> -A INPUT -j LOG --log-prefix "Dropped: "
>
> What I would like to know is how I can get iptables to NOT log to console
> only to the message logs. Currently it goes into /var/log/syslog
change your log level from 1 to something less critical; like say, 4.
and then type this on the console:
dmesg -n 1
which will only print truly critical messages to the console (level 0
and 1).
-j
--
"Woman: Stewie, you want a cookie?
Stewie: I smell death on you."
--Family Guy
prev parent reply other threads:[~2005-06-10 18:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-08 13:25 netfilter logging Jimmy
2005-06-08 13:34 ` Vincent Lenouvel
2005-06-08 17:26 ` /dev/rob0
2005-06-08 15:52 ` Georgi Alexandrov
2005-06-08 17:14 ` /dev/rob0
2005-06-10 18:02 ` Jason Opperisano [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=20050610180214.GA6185@bender.817west.com \
--to=opie@817west.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox