diff options
author | Florian Westphal <fw@strlen.de> | 2022-09-23 14:17:25 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-09-28 11:53:57 +0200 |
commit | f1a02b3aba5f57e7359f15d7f4250ac3835ebf61 (patch) | |
tree | 6c6000c6f8d3d2210306538c5cb92c22bbac46d6 /extensions/libip6t_ah.man | |
parent | f315af1cf88714702dcc51dc00b109df3d52e9e9 (diff) |
tests: extend native delinearize script
Feed nft-generated ruleset to iptables-nft.
At this time, this will NOT pass. because dissector can handle
meta l4proto tcp ip saddr 1.2.3.4
but not
ip saddr 1.2.3.4 meta l4proto tcp
In the latter case, iptables-nft picks up the immediate value (6) as the ip
address, because the first one (1.2.3.4) gets moved as PAYLOAD_PREV due to
missing 'removal' of the CTX_PAYLOAD flag.
This is error prone, so lets rewrite the dissector to track each
register separately and auto-clear state on writes.
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libip6t_ah.man')
0 files changed, 0 insertions, 0 deletions