Skip to content

payload mangling support

Patrick McHardy netfilter-devel 3 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 0 repliesNew
  2. v2 posting 1/21 patch 0 repliesSuperseded
  3. v11 patch 0 repliesSuperseded

Changes in v2 from the cover letter

* set checksum type
* generate protocol dependencies for payload expression in statement (f.i. ether saddr set 00:00:00:00:00:00 => meta iiftype ether)

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2proto: add checksum key information to struct proto_descinclude/proto.h src/proto.c+7 -00 replies
2/2payload: add payload statementinclude/linux/netfilter/nf_tables.h include/statement.h src/evaluate.c +4 more+167 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 nft 0/2] payload mangling support

The following patches add support for payload mangling to nft.

Changes since v1:

* set checksum type
* generate protocol dependencies for payload expression in statement (f.i. ether saddr set 00:00:00:00:00:00 => meta iiftype ether)

Patrick McHardy (2):
proto: add checksum key information to struct proto_desc
payload: add payload statement

 include/linux/netfilter/nf_tables.h | 17 ++++++++++++++
 include/proto.h                     |  2 ++
 include/statement.h                 | 11 +++++++++
 src/evaluate.c                      | 25 ++++++++++++++++++--
 src/netlink_delinearize.c           | 46 ++++++++++++++++++++++++++++++++++---
 src/netlink_linearize.c             | 40 ++++++++++++++++++++++++++++++++
 src/parser_bison.y                  |  9 ++++++++
 src/payload.c                       | 24 +++++++++++++++++++
 src/proto.c                         |  5 ++++
 9 files changed, 174 insertions(+), 5 deletions(-)
Signature · 1 line
2.5.0