This is what I use to get kernel logging turned on in iptables:
iptables -A INPUT -m limit --limit 3/minute --limit-burst 3 -j LOG --log-level notice 
--log-prefix "Netfilter in: "

Use syslog.conf to determine where the output of the log will go, e.g.
kern.notice;kern.!warning               /var/log/firewall
# This will log priority notice only into /var/log/firewall, warning and above will 
not get sent there
# look to other rules to determine where they go.
# Also look to dmesg -n 4 to limit err priority and above only being sent to 
/dev/console

This is a bit kludgey as you will get other notice level logs going into 
/var/log/firewall, anybody else got a better idea??

Best regards,
Vaughan

On Monday, October 21, 2002 7:06 PM, linux power [SMTP:[EMAIL PROTECTED]] wrote:
> Unknown arg --log-prefix   /var/log/firewall
> Thats what I get in iptables -L
> when I use .... -j LOG --log-prefix /var/log/firewall
> and want to log outgoing unwanted signals.
> Any idea how to turn logging on.
> 
> =====
> http://home.no.net/~knutove/knut_ove_hauge_kuren.htm
> 
> ______________________________________________________
> Se den nye Yahoo! Mail pa http://no.yahoo.com/
> Nytt design, enklere a bruke, alltid tilgang til Adressebok, Kalender og Notisbok
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to