Can I set the iptables use other file to log the drop packet ?
Harald Welte
laforge@gnumonks.org
Thu, 5 Jul 2001 02:16:43 -0300
On Mon, Jul 02, 2001 at 11:51:10AM +0800, Steven Foong wrote:
> Hi !
>
> 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 !
there is a different Target, called the ULOG target in patch-o-matic.
In combination with ulogd you can log to any kind of files or even MySQL
databases. For more info see http://www.gnumonks.org/projects/
> Steven Foong
> foongws@maxis.net.my
--
Live long and prosper
- Harald Welte / laforge@gnumonks.org http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M-
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)