Skip to content

Add support for ttl translation

Shivani Bhardwaj netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iptables: nft-ipv4: Add ip ttl to the bufferiptables/nft-ipv4.c+3 -00 replies
2/2extensions: libipt_ttl: Add translation to nftextensions/libipt_ttl.c+28 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Add support for ttl translation

This patchset adds ttl translation to nftables by adding ip ttl to the buffer everytime a ttl match is hit as it is necessary to mention the protocol version with ttl, that is,

$ sudo nft .. ttl 3 ..             won't work but
$ sudo nft .. ip ttl 3 ..          would work.
Also, since adding ip to the buffer in the code for ttl won't look
suitable, some amendments have been done in the nft-ipv4 code.

Shivani Bhardwaj (2):
iptables: nft-ipv4: Add ip ttl to the buffer
extensions: libipt_ttl: Add translation to nft

 extensions/libipt_ttl.c | 28 ++++++++++++++++++++++++++++
 iptables/nft-ipv4.c     |  3 +++
 2 files changed, 31 insertions(+)
Signature · 1 line
1.9.1