You are not logged in.
On the Nftables Wiki page (https://wiki.archlinux.org/index.php/Nftables) there's this line in the "Simple_stateful_firewall" section:
`nft add rule inet filter input counter reject with icmp type prot-unreachable`
I'm wondering, is it correct, ("protocol unreachable") or should it end with "port-unreachable" instead?
Offline
This is obviously a typo. If you search the article for "port-unreachable", you'll see that this is used more frequently.
Also the official nftables wiki would have cleared this up.
Feel free to correct the typo.
Oops. I was too quick to judge this.
prot-unreachable is actually used for protocol unreachable.
I think that it's used corretly in the Wiki.
Probably the nftables devs wanted to troll the users with this, since protocol is more commonly abbreviated as "proto", which would circumvent any possible confusion.
Last edited by schard (2019-10-16 10:47:07)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Yeah, because I did see "prot-unreachable" in other sources as well, but much less frequently than "port-unreachable". So I wondered whether it's a typo which is just being copied from example to example. But now it looks like it isn't. Thanks.
Offline