Displaying 2 results from an estimated 2 matches for "addr2mark".
Did you mean:
addamark
2020 Jun 06
0
[ANNOUNCE] nftables 0.9.5 release
....10.101 . 80 }
}
chain bar {
type filter hook prerouting priority filter; policy drop;
ip daddr . tcp dport @whitelist accept
}
}
You can also use typeof concatenations in maps:
table ip foo {
map addr2mark {
typeof ip saddr . tcp dport : meta mark
elements = { 192.168.10.35 . 80 : 0x00000001,
192.168.10.135 . 80 : 0x00000002 }
}
chain bar {
type filter hook prerouting priority filter; policy drop...
2020 Apr 01
0
[ANNOUNCE] nftables 0.9.4 release
...8.10.35, 192.168.10.101, 192.168.10.135 }
}
chain bar {
type filter hook prerouting priority filter; policy drop;
ip daddr @whitelist accept
}
}
You can also use typeof in maps:
table ip foo {
map addr2mark {
typeof ip saddr : meta mark
elements = { 192.168.10.35 : 0x00000001, 192.168.10.135 : 0x00000002 }
}
}
* NAT mappings with concatenations. This allows you to specify the address
and port to be used in the NAT mangling from maps, eg.
nft a...