netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add support for ttl translation
@ 2016-01-04 17:19 Shivani Bhardwaj
  2016-01-04 17:19 ` [PATCH 1/2] iptables: nft-ipv4: Add ip ttl to the buffer Shivani Bhardwaj
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Shivani Bhardwaj @ 2016-01-04 17:19 UTC (permalink / raw)
  To: netfilter-devel

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(+)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-04 17:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-04 17:19 [PATCH 0/2] Add support for ttl translation Shivani Bhardwaj
2016-01-04 17:19 ` [PATCH 1/2] iptables: nft-ipv4: Add ip ttl to the buffer Shivani Bhardwaj
2016-01-04 17:20 ` [PATCH 2/2] extensions: libipt_ttl: Add translation to nft Shivani Bhardwaj
2016-01-04 17:40 ` [PATCH 0/2] Add support for ttl translation Pablo Neira Ayuso
2016-01-04 17:42   ` Shivani Bhardwaj
2016-01-04 17:44     ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).