]> git.ipfire.org Git - thirdparty/nftables.git/commit
exthdr: Implement SCTP Chunk matching
authorPhil Sutter <phil@nwl.cc>
Tue, 4 May 2021 11:41:38 +0000 (13:41 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 19 May 2021 09:52:05 +0000 (11:52 +0200)
commit0e3871cfd9a1e32a4ac041ce87a8057b11a89924
tree926b57779c199024a9d8e1ceb8fd031ff28f88b7
parentfd81d3ec3ae8b8d1d54a708d63b2dab2c8508c90
exthdr: Implement SCTP Chunk matching

Extend exthdr expression to support scanning through SCTP packet chunks
and matching on fixed fields' values.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Florian Westphal <fw@strlen.de>
16 files changed:
doc/libnftables-json.adoc
doc/payload-expression.txt
include/linux/netfilter/nf_tables.h
include/parser.h
include/sctp_chunk.h [new file with mode: 0644]
src/Makefile.am
src/evaluate.c
src/exthdr.c
src/json.c
src/parser_bison.y
src/parser_json.c
src/scanner.l
src/sctp_chunk.c [new file with mode: 0644]
tests/py/inet/sctp.t
tests/py/inet/sctp.t.json
tests/py/inet/sctp.t.payload