From: Florian Westphal <fw@strlen.de>
To: harald@a-little-linux-box.at
Cc: netfilter@vger.kernel.org
Subject: Re: usings sets as input to sets
Date: Wed, 29 Jul 2020 14:17:12 +0200 [thread overview]
Message-ID: <20200729121712.GA5271@breakpoint.cc> (raw)
In-Reply-To: <20200728092724.677EC40A2A@i-am.a-little-linux-box.at>
harald@a-little-linux-box.at <harald@a-little-linux-box.at> wrote:
[..]
> table inet portknock {
> set port2 {
> type inet_service
[..]
> set candidates {
> type ipv4_addr . inet_service
> flags timeout
> }
[..]
> tcp dport 12345 add @candidates {ip saddr . @port2 timeout 10s}
What is that supposed to do?
@candidate expects ip address + port.
> So my question is is this even supposed to work or not? If not then maybe somebody could tell me why and if it is supposed to work why doesn't it?
Its not possible to add a set to a set, if thats what you are asking.
I suspect you already found
https://wiki.nftables.org/wiki-nftables/index.php/Port_knocking_example ?
next prev parent reply other threads:[~2020-07-29 12:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-28 9:27 usings sets as input to sets harald
2020-07-29 12:17 ` Florian Westphal [this message]
2020-07-29 14:26 ` harald
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=20200729121712.GA5271@breakpoint.cc \
--to=fw@strlen.de \
--cc=harald@a-little-linux-box.at \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.