[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ULOGD and iptables -j ULOG?



On Wed, 26 Mar 2003 17:13:51 -0600, Miguel M wrote
> >Anyone have any ideas on how I can get the -j LOG action put the
> >results in /var/log/packets rather than as kernel in /var/log/messages?
> 
> Hi Mike!
> 
> A very simple example that you can later integrate to your firewall.
> Watch out for the size of /var/log/packets:
> 
> # touch /var/log/packets
> # echo "kern.debug    /var/log/packets" >> /etc/syslog.conf

BTW, this works better if one uses the kern.=debug format.

> # /sbin/iptables -A INPUT -j LOG --log-level DEBUG
> # /usr/bin/tail -f /var/log/packets

Thanks again for the tip.

Mike.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]