I installed RedHat 7.2 and updated the kernel to 2.4.18, got iptables 
1.2.6a from iptables.org and read through the various iptables HOWTOs.

http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/index.html
http://www.tldp.org/HOWTO/Masquerading-Simple-HOWTO/index.html
http://ipmasq.cjb.net

The HOWTO at cjb.net has a sample "strong firewall" configuration file 
which has the following line:

$IPTABLES -A drop-and-log-it -j LOG --log-level info

drop-and-log-it chain has been created correctly in the script, 
$IPTABLES is /sbin/iptables.

As far as I can tell, there is no log output showing up via dmesg or at 
/var/log/messages. The HOWTOs claim that I should be able to use a level 
of "debug" instead of "info" above and get more detailed output, but if 
I run the script to activate the configuration, I get an error from 
iptables which says the log level of "debug" is unknown. As per the 
HOWTOs, I should be able to use the log levels of syslogd and debug is 
one of them. In any case, I can't seem to find where the log output ends up.

Any help would be greatly appreciated. Please copy me on the reply.

Thanks,

S.R.


Reply via email to