Skip to content

scanner: Some fixes, many new scopes

Phil Sutter netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest26 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/26tests: py: Test connlimit statementtests/py/any/ct.t tests/py/any/ct.t.json tests/py/any/ct.t.payload+30 -00 replies
2/26scanner: Move 'maps' keyword into list cmd scopesrc/scanner.l+1 -10 replies
3/26scanner: Some time units are only used in limit scopesrc/scanner.l+5 -33 replies
4/26scanner: rt: Move seg-left keyword into scopesrc/scanner.l+1 -10 replies
5/26scanner: icmp{,v6}: Move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+19 -140 replies
6/26scanner: igmp: Move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+10 -40 replies
7/26scanner: tcp: Move to own scopesrc/parser_bison.y src/scanner.l+36 -260 replies
8/26scanner: synproxy: Move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+22 -140 replies
9/26scanner: comp: Move to own scope.include/parser.h src/parser_bison.y src/scanner.l+9 -40 replies
10/26scanner: udp{,lite}: Move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+16 -70 replies
11/26scanner: dccp, th: Move to own scopesinclude/parser.h src/parser_bison.y src/scanner.l+18 -80 replies
12/26scanner: osf: Move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+13 -60 replies
13/26scanner: ah, esp: Move to own scopesinclude/parser.h src/parser_bison.y src/scanner.l+16 -80 replies
14/26scanner: dst, frag, hbh, mh: Move to own scopesinclude/parser.h src/parser_bison.y src/scanner.l+41 -190 replies
15/26scanner: type: Move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+45 -360 replies
16/26scanner: rt: Extend scope over rt0, rt2 and srhsrc/parser_bison.y src/scanner.l+9 -90 replies
17/26scanner: monitor: Move to own Scopeinclude/parser.h src/parser_bison.y src/scanner.l+14 -70 replies
18/26scanner: reset: move to own Scopeinclude/parser.h src/parser_bison.y src/scanner.l+11 -60 replies
19/26scanner: import, export: Move to own scopesinclude/parser.h src/parser_bison.y src/scanner.l+15 -70 replies
20/26scanner: reject: Move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+9 -40 replies
21/26scanner: flags: move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+26 -200 replies
22/26scanner: policy: move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+11 -60 replies
23/26scanner: nat: Move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+20 -150 replies
24/26scanner: at: Move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+15 -100 replies
25/26scanner: meta: Move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+10 -70 replies
26/26scanner: dup, fwd, tproxy: Move to own scopesinclude/parser.h src/parser_bison.y src/scanner.l+16 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [nft PATCH 00/26] scanner: Some fixes, many new scopes

Patch 1 adds a test for 'ct count' statement, patches 2 and 3 fix some keywords' scope, bulk scope introduction in the remaining ones.

Phil Sutter (26):
tests: py: Test connlimit statement
scanner: Move 'maps' keyword into list cmd scope
scanner: Some time units are only used in limit scope
scanner: rt: Move seg-left keyword into scope
scanner: icmp{,v6}: Move to own scope
scanner: igmp: Move to own scope
scanner: tcp: Move to own scope
scanner: synproxy: Move to own scope
scanner: comp: Move to own scope.
scanner: udp{,lite}: Move to own scope
scanner: dccp, th: Move to own scopes
scanner: osf: Move to own scope
scanner: ah, esp: Move to own scopes
scanner: dst, frag, hbh, mh: Move to own scopes
scanner: type: Move to own scope
scanner: rt: Extend scope over rt0, rt2 and srh
scanner: monitor: Move to own Scope
scanner: reset: move to own Scope
scanner: import, export: Move to own scopes
scanner: reject: Move to own scope
scanner: flags: move to own scope
scanner: policy: move to own scope
scanner: nat: Move to own scope
scanner: at: Move to own scope
scanner: meta: Move to own scope
scanner: dup, fwd, tproxy: Move to own scopes

 include/parser.h          |  29 +++
 src/parser_bison.y        | 263 +++++++++++++++------------
 src/scanner.l             | 361 ++++++++++++++++++++++++--------------
 tests/py/any/ct.t         |   3 +
 tests/py/any/ct.t.json    |  19 ++
 tests/py/any/ct.t.payload |   8 +
 6 files changed, 436 insertions(+), 247 deletions(-)
Signature · 1 line
2.34.1