Mailing List Archive


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

Re: [tlug] iptables: can't get logging to work



Quoth Jean-Christian Imbeault (Fri 2003-02-14 01:10:30PM +0900):
>
> I have set the default policy to DROP and added only ACCEPT rules, so 
> nothing gets DROPPED or REJECTED before making to the last (logging) 
> rule. The last rule should LOG anything that didn't match ... but I 
> can't find any iptables entries in /var/log/messages ...

That is because iptables, as part of the kernel, logs stuff using the kernel
logging facility. Check your /etc/syslog.conf (you are running Red Hat or
Mandrake, IIRC) to see where kernel messages get logged. Likely candidates
are /var/log/kmessages or /var/log/kern.


-- 
Josh Glover <jmglov@example.com>

Associate Systems Administrator
INCOGEN, Inc.
http://www.incogen.com/

GPG keyID 0x62386967 (7479 1A7A 46E6 041D 67AE  2546 A867 DBB1 6238 6967)
gpg --keyserver pgp.mit.edu --recv-keys 62386967

Attachment: pgp00052.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links