Can I set the iptables use other file to log the drop packet ?
Derrik Pates
dpates@dsdk12.net
Sun, 1 Jul 2001 22:06:20 -0600 (MDT)
On Mon, 2 Jul 2001, Steven Foong wrote:
> As I know , we can use -l option to log the packet, but for my setting it
> will log to the /var/log/messages . Can I set it log to another files ?
> Hope to hear from you soon !
No, -l is a flag for ipchains, not iptables. With iptables, LOG is a
target unto itself. As for where it's logging to, try 'man syslog.conf'.
Derrik Pates | Sysadmin, Douglas School | #linuxOS on EFnet
dpates@dsdk12.net | District (dsdk12.net) | #linuxOS on OPN