Conversation
|
@dzatoah Please review. Thanks. |
|
For This doesn't look good, if we look at the docs: https://man.archlinux.org/man/nft.8#ICMP_TYPE_TYPE
Likewise, ipv6-icmp(all): The |
|
You can use
|
9f33cdc to
dafb0ba
Compare
|
@dzatoah Please revisit! Thanks! |
|
The negated ICMP cases still generate invalid or contradictory nft expressions:
Could you move the negation to the relevant comparison: |
|
dafb0ba to
2275d87
Compare
|
@dzatoah please revisit |
|
Positive and negated ICMP rules now generate the same predicate because For example, positive That is valid nft syntax, but it matches non-ICMP traffic instead of ICMP. The IPv6 case has the same problem. Typed negation still applies This should be Also, negated TCP/UDP ranges still fail
|
2275d87 to
a2fdd34
Compare
|
It turned out that not just icmp negations have been broken so far, but all negations when using nft. This PR requires #14 to be merged to become fully functional. |
|
Retested current PR 5 ( The commits apply cleanly, but generated IPv4 and IPv6 rules both fail Full environment, generated expressions, and nft errors are recorded here: PRs 5 and 14 are not functionally ready in their current combined form. |

No description provided.