From: Oliver <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH] [RFC] Add hash:net,net ipset for storage of v4/v6 CIDR pairs.
Date: Fri, 23 Aug 2013 06:15:02 +0200 [thread overview]
Message-ID: <1377231303-6926-1-git-send-email-oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa> (raw)
I'm sending the following patch for feedback - it's something I created out
of a need to restrict access to various subnets pairs in a form more convenient
than a huge ugly iptables chain.
There's a wee bit of code duplication for the CIDR add/del but I felt
that copying the functions to handle a second CIDR was less invasive
than reworking it and having to change code for the existing sets, but
I'm open to ideas if anyone feels it's not suitable.
next reply other threads:[~2013-08-23 4:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-23 4:15 Oliver [this message]
2013-08-23 4:15 ` [PATCH] Add hash:net,net ipset for storage of v4/v6 CIDR pairs Oliver
2013-08-25 20:01 ` Jozsef Kadlecsik
2013-08-30 0:56 ` Oliver
2013-08-30 1:20 ` [PATCH v2] " Oliver
2013-09-02 19:46 ` Jozsef Kadlecsik
2013-09-02 23:25 ` Oliver
2013-09-03 8:56 ` Jozsef Kadlecsik
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=1377231303-6926-1-git-send-email-oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa \
--to=oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa \
--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).