From: Mr Dash Four <mr.dash.four@googlemail.com>
To: "'netfilter@vger.kernel.org'" <netfilter@vger.kernel.org>
Subject: ipset -R
Date: Wed, 23 Feb 2011 00:58:47 +0000 [thread overview]
Message-ID: <4D645BC7.7030306@googlemail.com> (raw)
When I execute 'ipset -R < some_file' ipset ignores lines with the '-D'
option specified. Is that intentional?
I am trying to execute a script file creating 'pinholes' in (previously
built) ipsets, but, as it stands, I have to execute a shell script
containing 'ipset -D' for every pinhole/range I am interested in, which
isn't very convenient. Ideally I'd like for ipset to honour the '-D'
option in a restore file.
The reason I need this is because I am defining ipset ranges coming from
the geoip database and later, with the '-D' option in a script, I am
trying to create the pinholes - more convenient since ipset has a very
nice feature to re-adjust the ipset ranges automatically after delete,
instead of me using endless '-A' statements adding the resulting ipset
sub-ranges.
next reply other threads:[~2011-02-23 0:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 0:58 Mr Dash Four [this message]
2011-02-23 19:20 ` ipset -R Jozsef Kadlecsik
2011-02-23 22:58 ` Mr Dash Four
2011-02-24 0:05 ` Pandu Poluan
2011-02-24 5:16 ` Pandu Poluan
2011-02-24 12:18 ` Mr Dash Four
2011-02-25 8:38 ` Jozsef Kadlecsik
2011-02-25 13:27 ` Mr Dash Four
2011-02-25 14:06 ` Jozsef Kadlecsik
2011-02-25 16:13 ` Mr Dash Four
2011-02-25 22:22 ` Jozsef Kadlecsik
2011-02-26 13:35 ` Mr Dash Four
2011-02-25 14:19 ` Pandu Poluan
2011-02-25 16:27 ` Mr Dash Four
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=4D645BC7.7030306@googlemail.com \
--to=mr.dash.four@googlemail.com \
--cc=netfilter@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).