netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Engelhardt <jengelh@inai.de>
To: Erik Skultety <eskultet@redhat.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [iptables PATCH] iptables: xshared: Ouptut '--' in the opt field in ipv6's fake mode
Date: Thu, 21 Jul 2022 09:22:44 +0200 (CEST)	[thread overview]
Message-ID: <n152onp7-6s5n-223p-84p0-37rpsp726831@vanv.qr> (raw)
In-Reply-To: <YtgzoIJngb5edrmu@nautilus.home.lan>


On Wednesday 2022-07-20 18:56, Erik Skultety wrote:
>> 
>> If you or jc is to parse anything, it must only be done with the
>> iptables -S output form.
>
>Well, that would be a problem because 'jc' iptables plugin doesn't understand
>the -S output (isn't -S considered deprecated or I'm just halucinating?).

iptables-save loops over all tables, and its output can be fed back to
iptables-restore. That has existed for a long time.

Then at some point, -S was added, which is a subset of save-style
output for just one table or chain, but otherwise unchanged. Another
way of looking at it is that the -S command is like -L, but in
re-parsable syntax.

If anything, -L would be deprecated.

  reply	other threads:[~2022-07-21  7:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-20 13:06 [iptables PATCH] iptables: xshared: Ouptut '--' in the opt field in ipv6's fake mode Erik Skultety
2022-07-20 14:20 ` Florian Westphal
2022-07-20 16:11   ` Erik Skultety
2022-07-23  9:47     ` Phil Sutter
2022-07-23 12:35       ` Florian Westphal
2022-07-20 16:07 ` Jan Engelhardt
2022-07-20 16:56   ` Erik Skultety
2022-07-21  7:22     ` Jan Engelhardt [this message]
2022-07-25 21:39 ` Florian Westphal
2022-07-26  6:55   ` Erik Skultety

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=n152onp7-6s5n-223p-84p0-37rpsp726831@vanv.qr \
    --to=jengelh@inai.de \
    --cc=eskultet@redhat.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).