[iptables PATCH 0/4] Re-enable NFLOG tests

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

 



Some of the NFLOG tests were disabled when iptables-nft was changed to
use nft's nflog implementation, because nft doesn't support
`--nflog-range`.  This patch-set builds on Phil's recent work to support
different test results for -legacy and -nft in order to re-enable those
tests.

* Patch 1 renames a variable.
* Patches 2 & 3 add support for a new test result where the iptables
  command succeeds, but dumping the rule does not give the expected
  output.
* Patch 4 re-enables the tests.

Jeremy Sowden (4):
  tests: iptables-test: rename variable
  tests: add `NOMATCH` test result
  tests: support explicit variant test result
  tests: NFLOG: enable `--nflog-range` tests

 extensions/libxt_NFLOG.t | 12 +++----
 iptables-test.py         | 72 ++++++++++++++++++++++++++--------------
 2 files changed, 53 insertions(+), 31 deletions(-)

-- 
2.34.1




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

  Powered by Linux