netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft 0/3] parser: fix scope closing with > 1 nested scope
@ 2022-06-24  9:25 Florian Westphal
  2022-06-24  9:25 ` [PATCH nft 1/3] tests/py: Add a test for failing ipsec after counter Florian Westphal
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Florian Westphal @ 2022-06-24  9:25 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Florian Westphal

This resolves the parsing problem reported by Phil.
First patch is his test case, second patch is an
(unrelated) fix for SYNPROXY scoping (lack of close).

Last patch fixes closing with nested scopes, where we exited
a scope too early.

Florian Westphal (2):
  parser: add missing synproxy scope closure
  scanner: don't pop active flex scanner scope

Phil Sutter (1):
  tests/py: Add a test for failing ipsec after counter

 include/parser.h              |  3 +++
 src/parser_bison.y            |  2 +-
 src/scanner.l                 | 11 +++++++++++
 tests/py/inet/ipsec.t         |  2 ++
 tests/py/inet/ipsec.t.json    | 21 +++++++++++++++++++++
 tests/py/inet/ipsec.t.payload |  6 ++++++
 6 files changed, 44 insertions(+), 1 deletion(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-27 10:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-24  9:25 [PATCH nft 0/3] parser: fix scope closing with > 1 nested scope Florian Westphal
2022-06-24  9:25 ` [PATCH nft 1/3] tests/py: Add a test for failing ipsec after counter Florian Westphal
2022-06-24  9:25 ` [PATCH nft 2/3] parser: add missing synproxy scope closure Florian Westphal
2022-06-24  9:25 ` [PATCH nft 3/3] scanner: don't pop active flex scanner scope Florian Westphal
2022-06-27 10:23 ` [PATCH nft 0/3] parser: fix scope closing with > 1 nested scope Florian Westphal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).