Iptables and logging to the console

Alexander Dalloz ad+lists at uni-x.org
Thu Dec 2 01:29:39 UTC 2004


Am Mi, den 01.12.2004 schrieb Robert Spangler um 2:10:

> >  > How can I stop Iptables logging to the console?  I don't know where else
> >  > to look.  Below are my sysctl.conf and syslog.conf files
> >
> >  With which priority do you let iptables log? In /etc/sysconfig/syslog
> >  set for klogd the parameter "-c" with a value higher than your syslog
> >  priority for iptables.
> 
> Thanks for the reply.  I have checked klogd(8) and this is what I have found:
> 
> ########  KLOGD(8)  ########
> The argument given to the -c switch specifies the priority level of messages 
> which will be directed to the console.  Note that messages of a priority 
> value  LOWER than the indicated number will be directed to the console.
> ###########################
> 
> So if I am reading this correctly then I would need to set something lower 
> then what the is set for iptables.  Correct?

You are right - lower or equal would be correct -, I mixed it, sorry.
Priorities are listed in "man 2 syslog".

> Thanks again for the reply.  You have pointed me in a direction I haven't 
> thought of.

> Robert

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 02:24:24 up 11 days, 21:11, load average: 0.21, 0.30, 0.42 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041202/1d64f3fd/attachment-0001.sig>


More information about the fedora-list mailing list