Displaying 1 result from an estimated 1 matches for "blocklistssh4_8".
2019 Mar 30
4
[Bug 1330] New: Parse error for importing set with netmask
...rdware: All
OS: All
Status: NEW
Severity: major
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
Reporter: email at cs-ware.de
Create the following rules:
# nft add table inet filter
# nft add set inet filter blocklistssh4_8 { type ipv4_addr\; }
# nft add element inet filter blocklistssh4_8 { 1.1.1.1 }
# nft add chain inet filter blocklistssh
# nft add inet filter blocklistssh ip saddr \& 255.0.0.0 @blocklistssh4_8
counter drop
Pipe into file:
# nft list ruleset > rules.nftables
Flush ruleset:
# nft flush rule...