[CentOS] log outbound port 80 connections

Tue Feb 5 22:00:07 UTC 2008
Robert Spangler <mlists at zoominternet.net>

On Tuesday 05 February 2008 12:00, Ray Van Dolson wrote:

>  iptables -A OUTPUT -p tcp --dport 80 -j LOG --log-prefix "WWW "

I was thinking more along these lines for a rule:

iptables -A OUTPUT -p tcp --dport 80 -m state --state NEW -j LOG --log-prefix 
"[WWW] : " --log-tcp-options --log-ip-options


-- 

Regards
Robert

Smile... it increases your face value!
Linux User #296285
http://counter.li.org