Wrong format produced by iptables-save for uid-owner

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

 



Hi there,

for some times I've bumped into this annoying bug with iptables-save (I'm using Fedora Core 8).  I've got the following rules in my config :
-----------------
# Limit Internet access to root and squid proxy
iptables -A OUTPUT -o eth1 -m owner --uid-owner root -j ACCEPT
iptables -A OUTPUT -o eth1 -m owner ! --uid-owner squid -j DROP
-----------------

Now iptables-save generates this :
-----------------
# Generated by iptables-save v1.4.1.1 on Fri May  1 16:07:36 2009
-A OUTPUT -o eth1 -m owner --uid-owner0 -j ACCEPT
-A OUTPUT -o eth1 -m owner ! --uid-owner23 -j DROP
-----------------

Problem: there is a space missing between "--uid-owner" and the value, which leads to :
-----------------
iptables-restore v1.4.1.1: Unknown arg `--uid-owner0'
Error occurred at line: 26
-----------------

Is this a known issue ?  Should I fill a bug report ?

Thanks,
Chris
��.n��������+%������w��{.n����z��׫���n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�m


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux