[nft PATCH 0/5] Fixes (and fallout) from running tests/monitor in JSON mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
2.51.0





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux