[PLUG] iptables logging help?

Paul Heinlein heinlein at attbi.com
Wed Jan 29 10:17:02 UTC 2003


On Wed, 29 Jan 2003 gilmanhunt at attbi.com wrote:

> In my firewall script is this line:
> 
> --> /sbin/iptables -A INPUT -p udp --dport 1434 -j LOG
> 
> which results in this line from "# iptables -L"
> 
> --> LOG udp -- anywhere anywhere udp dpt:ms-sql-m LOG level warning

The section of the iptables(8) man page that deals with the 
--log-level option is fairly cryptic. Try this

  /sbin/iptables -A INPUT -p udp --dport 1434 -j LOG --log-level INFO

Also, you may need to load the logging module manually: 

  modprobe ipt_LOG

--Paul Heinlein <heinlein at attbi.com>





More information about the PLUG mailing list