Sebastian Ramacher | 22 Jun 2012 10:29
Picon
Picon
Gravatar

Bug#678499: iptables: iptables-restore messes with --log-prefix

Package: iptables
Version: 1.4.14-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

After the upgrade from 1.4.13-1.1 to 1.4.14-2 loading LOG rules with
iptables-restore is broken. Loading a rule like

 -A INPUT -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "foo"

I end up with

 -A INPUT -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "--l"

Changing the length of the log prefix gives me more or less "--log-prefix" as
log prefix. So I suspect that --log-prefix and the argument are mixed up at some
place.

Using iptables to add the rule works fine, though.

Kind regards

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (650, 'unstable'), (601, 'testing'), (600, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
(Continue reading)

Sebastian Ramacher | 22 Jun 2012 16:27
Picon
Picon
Gravatar

Bug#678499: iptables: iptables-restore messes with --log-prefix

forwarded 678499 http://bugzilla.netfilter.org/show_bug.cgi?id=782
thanks

Just found the upstream bug.
--

-- 
Sebastian Ramacher


Gmane