From: Matt <matt-nft@mailtower.de>
To: netfilter@vger.kernel.org, netfilter-owner@vger.kernel.org
Subject: minor change recommendation for https://wiki.nftables.org
Date: Fri, 04 Oct 2019 17:14:50 +0200 [thread overview]
Message-ID: <59f4e1f10b66ae00008608ec2290dc63@mailtower.de> (raw)
In-Reply-To: <20191004145813.GG13866@breakpoint.cc>
Dear nft team,
may i recommend a small change on the nft wiki on the page "Sets" ?
instead of
% nft add set filter saddrs {type ipv4_addr \; size 2 \;}
add the proto (valid ip or ip6)
% nft add set ip filter saddrs {type ipv4_addr \; size 2 \;}
because that had lead me into the below question
Cheers
Matt
On 2019-10-04 16:58, Florian Westphal wrote:
> Matt <matt-nft@mailtower.de> wrote:
>> However, doing the same with ipv6 doesn't work for me:
>> #nft add set filter_v6 my_drop \{type ipv6_addr \; flags timeout \;
>> elements=\{fda5:2c8a:af4c:a95e::64 timeout 60s\} \;\}
>
> Try:
> nft add set ip6 filter_v6 ...
next prev parent reply other threads:[~2019-10-04 15:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-04 14:55 Cannot add ip6 elements to a named set Matt
2019-10-04 14:58 ` Florian Westphal
2019-10-04 15:14 ` Matt [this message]
2019-11-14 19:40 ` One more application available for nftables Matt
2019-11-18 2:43 ` Trent W. Buck
2019-11-19 8:36 ` Alessandro Vesely
2019-11-20 16:41 ` zrm
2019-11-21 3:04 ` Trent W. Buck
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=59f4e1f10b66ae00008608ec2290dc63@mailtower.de \
--to=matt-nft@mailtower.de \
--cc=netfilter-owner@vger.kernel.org \
--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