[PATCH nft,v2 0/9] netmap support for nftables

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

 



Hi,

This is v2 of the netmap support for nftables, this round includes:

* Fix anonymous sets with more than one single element.
* Add tests/py and tests/shell.

Not directly related, but also included in this patch:

* Fix a crash in simple nat concatenation (no map).
* Restore --debug=netlink with sets.
* Remove bogus tests/py with service name range.

Pablo Neira Ayuso (9):
  src: NAT support for intervals in maps
  include: resync nf_nat.h kernel header
  src: add netmap support
  src: add STMT_NAT_F_CONCAT flag and use it
  evaluate: fix crash when handling concatenation without map
  tests: py: concatenation, netmap and nat mappings
  mnl: restore --debug=netlink output with sets
  tests: py: remove range test with service names
  tests: shell: add NAT mappings tests

 include/expression.h                          |  2 +
 include/linux/netfilter/nf_nat.h              | 15 ++++-
 include/statement.h                           |  8 ++-
 src/evaluate.c                                | 50 +++++++++++++-
 src/mnl.c                                     | 10 ++-
 src/netlink.c                                 | 66 ++++++++++++++++++-
 src/netlink_delinearize.                      |  0
 src/netlink_delinearize.c                     | 45 ++++++++++++-
 src/netlink_linearize.c                       | 14 +++-
 src/parser_bison.y                            | 53 ++++++++++++++-
 src/rule.c                                    |  3 +
 src/statement.c                               |  6 +-
 tests/py/inet/dccp.t                          |  1 -
 tests/py/ip/snat.t                            |  4 ++
 tests/py/ip/snat.t.payload                    | 27 ++++++++
 tests/shell/testcases/sets/0046netmap_0       | 14 ++++
 tests/shell/testcases/sets/0047nat_0          | 20 ++++++
 .../testcases/sets/dumps/0046netmap_0.nft     |  6 ++
 .../shell/testcases/sets/dumps/0047nat_0.nft  | 13 ++++
 19 files changed, 343 insertions(+), 14 deletions(-)
 create mode 100644 src/netlink_delinearize.
 create mode 100755 tests/shell/testcases/sets/0046netmap_0
 create mode 100755 tests/shell/testcases/sets/0047nat_0
 create mode 100644 tests/shell/testcases/sets/dumps/0046netmap_0.nft
 create mode 100644 tests/shell/testcases/sets/dumps/0047nat_0.nft

-- 
2.20.1




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

  Powered by Linux