Fixes (and fallout) from running tests/monitor in JSON mode
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tools: gitignore nftables.service filetools/ | +1 | 0 replies | |
| 2/5 | monitor: Quote device names in chain declarations, toosrc/ | +1 | 0 replies | |
| 3/5 | mnl: Allow for updating devices on existing inet ingress hook chainssrc/ src/ | +6 | 4 replies | |
| 4/5 | monitor: Inform JSON printer when reporting an object delete eventinclude/ src/ src/ +1 more | +21 | 2 replies | |
| 5/5 | tests: monitor: Extend testcases a bittests/ tests/ tests/ | +68 | 1 reply |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Pablo Neira Ayuso |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | R-b |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [nft PATCH 0/5] Fixes (and fallout) from running tests/monitor in JSON mode
The reported problem of object deletion notifications with bogus data is resolved in patch four. It seems only object notifications were affected. Patch 6 extends test suite coverage for tables and chains a bit.
Patch one is an unrelated trivial fix, patches two and three cover for oddities noticed while working on the actual problem.
Phil Sutter (5):
tools: gitignore nftables.service file
monitor: Quote device names in chain declarations, too
mnl: Allow for updating devices on existing inet ingress hook chains
monitor: Inform JSON printer when reporting an object delete event
tests: monitor: Extend testcases a bit
include/json.h | 5 +-- src/evaluate.c | 6 ++-- src/json.c | 18 ++++++---- src/mnl.c | 2 ++ src/monitor.c | 2 +- src/rule.c | 2 +- tests/monitor/testcases/chain.t | 41 ++++++++++++++++++++++ tests/monitor/testcases/flowtable-simple.t | 12 +++++++ tests/monitor/testcases/object.t | 10 +++--- tests/monitor/testcases/table.t | 15 ++++++++ tools/.gitignore | 1 + 11 files changed, 97 insertions(+), 17 deletions(-) create mode 100644 tests/monitor/testcases/chain.t create mode 100644 tests/monitor/testcases/table.t create mode 100644 tools/.gitignore
Signature · 1 line
2.51.0