netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: ip(6)tables-save: Allow chain selection
Date: Sat, 01 Oct 2011 21:21:56 +0200	[thread overview]
Message-ID: <4E876854.8080708@nod.at> (raw)
In-Reply-To: <alpine.LNX.2.01.1110012107510.17567@frira.zrqbmnf.qr>

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

Am 01.10.2011 21:13, schrieb Jan Engelhardt:
> On Saturday 2011-10-01 17:19, Richard Weinberger wrote:
> 
>> This patch set adds a switch to iptables-save to select
>> a specific chain to be saved.
>>
>> Sometimes it's useful to save only one chain.
>> E.g. When some rules are added dynamically by daemons like
>> OpenVPN or strongSwan and the base rule set is generated by
>> a bash script.
>>
>> iptables-save -t filter -C DYN_OVPN > /tmp/dyn-rules
> 
> iptables -S can already select chains and even single rules. We are 
> getting to the point where things are implemented redundantly.. hm.

Hmm, good point.
Maybe it's time to drop iptables-save...

Thanks,
//richard


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

      reply	other threads:[~2011-10-01 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-01 15:19 ip(6)tables-save: Allow chain selection Richard Weinberger
2011-10-01 15:19 ` [PATCH 1/2] iptables-save: " Richard Weinberger
2011-10-01 15:19 ` [PATCH 2/2] ip6tables-save: " Richard Weinberger
2011-10-01 19:13 ` ip(6)tables-save: " Jan Engelhardt
2011-10-01 19:21   ` Richard Weinberger [this message]

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=4E876854.8080708@nod.at \
    --to=richard@nod.at \
    --cc=jengelh@medozas.de \
    --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).