]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: ct: add eval part to inject dependencies for ct saddr/daddr
authorFlorian Westphal <fw@strlen.de>
Fri, 29 Sep 2017 11:54:21 +0000 (13:54 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 29 Sep 2017 11:54:21 +0000 (13:54 +0200)
commit2b29ea5f3c3ed693fc0579016569a36cb3796703
tree86a26f198a0a8d831833cccd0ad9bf7fb7d5ffee
parent41097c80a27ab5857d29d9d831805095455c855a
src: ct: add eval part to inject dependencies for ct saddr/daddr

nft has enough context to determine if a dependeny is needed.

add rule ip filter ct original ip6 saddr
allows nft to generate an error due to conflicting bases (ip vs ip6).

add rule inet filter ct original ip6 saddr
allows nft to inject an ipv6 dependency expression.

add rule inet filter ct original saddr
will print an error and will suggest to add ip/ip6 keyword.

Delinerize and print support will be added in followup patches.

Signed-off-by: Florian Westphal <fw@strlen.de>
src/ct.c
src/evaluate.c