From: Shivani Bhardwaj <shivanib134@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH 0/2] Add support for ttl translation
Date: Mon, 4 Jan 2016 22:49:10 +0530 [thread overview]
Message-ID: <cover.1451927507.git.shivanib134@gmail.com> (raw)
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
next reply other threads:[~2016-01-04 17:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-04 17:19 Shivani Bhardwaj [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1451927507.git.shivanib134@gmail.com \
--to=shivanib134@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).