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

Re: where does iptables log



On Mon, 1 Oct 2001, eicherlist wrote:

> Hi guruz
>
> I'm very new at this stuff. and i hope it's all right to ask thing like this
> in this userlist.
>
> My question is where does iptables log?
>
> example:
> (-j LOG --log-level $LOG_LEVEL --log-prefix "SYN/FIN:")
>
> many thanks
>
> Rene
>

Rene,


The answer appears to be in the man page itself:

   LOG
       Turn on kernel logging of  matching  packets.   When  this
       option is set for a rule, the Linux kernel will print some
       information on all matching packets (like most  IP  header
       fields)  via  the  kernel  log  (where it can be read with
       dmesg or syslogd(8)).

       --log-level level
              Level of logging (numeric or see syslog.conf(5)).


It gets logged as a message from the kern facility, or that's what it
looks like.  If that's the case, check out the syslog.conf file to see
how it is handled.  Also check the man pages for syslogd and syslog.conf
for more information.




-- 
------------------------------------------------------
Nitebirdz
------------------------------------------------------
http://www.linuxnovice.org
News, tips, articles, links...

*** XFS for Linux: http://oss.sgi.com/projects/xfs ***
*** http://www.mozilla.org ***





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