On 06/17/2012 05:59 PM, Don Drohman wrote:

>
> It doesn't seem to be an iptables issue, as I can take a compiled
> line as-is and run it in using iptables command directly, and it
> loads fine.

It *is* an iptables issue (iptables-restore, that is); try this simple 
experiment:

iptables -N foo
iptables -A foo -j LOG --log-prefix "foo bar"
iptables -A foo -j ACCEPT -m comment --comment "foo bar"
iptables -L -nv foo
iptables-save > ipt
iptables-restore < ipt
iptables -L -nv foo

The rules in the 'ipt' file are fine, but when restored they are mangled.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to