Re: [iptables PATCH v2 00/17] Eliminate dedicated arptables-nft parser

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

 



Hi Phil,

On Thu, Sep 30, 2021 at 04:04:02PM +0200, Phil Sutter wrote:
> Commandline parsing was widely identical with iptables and ip6tables.
> This series adds the necessary code-changes to unify the parsers into a
> common one.
> 
> Changes since v1:
> - Fix patch 12, the parser has to check existence of proto_parse
>   callback before dereferencing it. Otherwise arptables-nft segfaults if
>   '-p' option is given.

LGTM.

> - Patches 13-17 add all the arptables quirks to restore compatibility
>   with arptables-legacy. I didn't consider them important enough to push
>   them unless someone complains. Yet breaking existing scripts is bad
>   indeed. Please consider them RFC: If you consider (one of) them not
>   important, please NACk and I will drop them before pushing.

For patch 13-16, you could display a warning for people to fix their
scripts, so this particular (strange) behaviour in some cases can be
dropped (at least, 13-15 look like left-over/bugs). For the
check_inverse logic, I'd suggest to display a warning too, this is
what it was done in iptables time ago to address this inconsistency.

I'd probably keep back patch 17/17, the max chain name length was
reduced by when the revision field was introduced and this resulted in
no issue being reported.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux