Package: xtables-addons-common
Version: 1.42-2+b1
Severity: important

Dear Maintainer,

How to reproduce the bug:

If I invert [!] parameter --quota in module quota2 and
save it by iptables-save, the string, which contains this rule
has [!] before parameter --name, but not before --quota.

----------------
# iptables -I FORWARD -m quota2 --name test ! --quota 10000 -j DROP
# iptables-save > iptables
# iptables-restore < iptables
iptables-restore v1.4.14: quota: "--name" option cannot be inverted
Error occurred at line: 6
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
----------------

iptables-save generate following line:

-A FORWARD -m quota2 ! --name test  --quota 10000  -j DROP

where [!] before parameter --name.

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xtables-addons-common depends on:
ii  iptables [libxtables7]  1.4.14-3.1
ii  libc6                   2.13-38
ii  multiarch-support       2.13-38

Versions of packages xtables-addons-common recommends:
ii  xtables-addons-dkms  1.42-2

Versions of packages xtables-addons-common suggests:
pn  libtext-csv-xs-perl  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to