summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_udp.t
Commit message (Collapse)AuthorAgeFilesLines
* nft: Reject tcp/udp extension without proper protocol matchPhil Sutter2022-12-221-0/+3
| | | | | | | | | Internally, 'th' expression is used, which works but matches both protocols. Since users won't expect '-m tcp --dport 1' to match UDP packets, catch missing/wrong '-p' argument. Fixes: c034cf31dd1a9 ("nft: prefer native expressions instead of udp match") Signed-off-by: Phil Sutter <phil@nwl.cc>
* extensions: libxt_udp: add unit testPablo Neira Ayuso2013-10-071-0/+22
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>