Re: Changes in iptables-legacy

Jeremy Sowden <[email protected]> Tue, 18 Nov 2025 11:45:55 +0000
Newsgroups gmane.comp.security.firewalls.netfilter.general
Message-ID <[email protected]>
On 2025-11-18, at 12:31:15 +0100, Alessandro Vesely wrote:
> I'm still using iptables; my scripts work well... call me lazy.  I 
> didn't expect behavior changes.  Instead, when I upgraded to the last 
> Devuan release, equivalent to Debian Trixie, I got iptables v1.8.11 
> (legacy).
> 
> One of the scripts had a daily call like so:
> 
>     iptables -L -Z -vnx
> 
> The new version resulted in an error:
> 
>     iptables v1.8.11 (legacy): Illegal option `--numeric' with this command
>     Try `iptables -h' or 'iptables --help' for more information.
> 
> Is this a Debian quirk or is it found in the official source?
> 
> By simply removing -Z, the above command works and its output is
> properly digested by my legacy Perl code.  However, I'd be curious to
> know why this change was made.  I hope it's not a subtle way to push
> people to migrate...

It's a bug in 1.8.11.  The Netfilter team have fixed it.

J.
signature.asc (application/pgp-signature, 931 B)
-----BEGIN PGP SIGNATURE-----

wsG7BAABCgBvBYJpHFxlCRAphqwKvfEEDUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmfIYJnvrgx8PiFV87oqSX1iJ5kYWpQvVYzN2YWqpe82
GhYhBGwdtFNj70A3vVbVFymGrAq98QQNAABT6g/+JQ5uAnW5rimqWIvpl7KGn/D7
zU/ZiqcNUHIW3T6pxGhlBPuHpkfnHheFNm2Nera0cZvNVypheQFQ7OM4DCvqBbOa
afv39mYjqzVmc9FlEv3s2/B87ix+N74xYtZPOnDE4HOlLKek8RLPikfydGKQWLcc
QogYTgdZvxGcOpvxQO4oim966/yWvVHg0ylMp9jO8zAU9bFWQo72K+HDynwnlsiR
HrZBOuc8+pOYibt7Z/j+5gvzlYmqltof41gOHt49iE1eC+tctu97PlDI6iXPhpuP
cqCqQ1sDnG2lAk2+mxqM220EfUHATbViKB6HDOhhRQjZB0gM4tftTkyLyPz7wMH/
PgHtdS176SVfgR9ipYOjE5DiodcKYud1DlOTFJA7putaEHMgujXnqBVG1FRNW0Ci
ZnyhpIMUvbyejiWhn7L4PaOQEVXrpj+EIMkNjsCk8rprcygic6fAwc6uekdqPLnh
hJyL/EGLkMXelySspP+g6Q1HQjsxPbJqcpnzpzBytV8ImdZYRsnl4fhNIqCdUpli
9a5tgnrVB1JqDe+L7s406ugX6CHjhn5cytnz0yp/VDfPduNV/RPHlbBU29obRFd/
U9Fpk/DnqVsPEOyOUnsR6ZUwgOvftQm8E4aQn1fnUsvsZQ0A+FwUl1IKcR08xARt
D/54yHoOkAccbpOSn88=
=O9kq
-----END PGP SIGNATURE-----