Is ICMP stateful?
-
If I allow all outbound ICMP, do I need to allow incoming ICMP for say Echo Reply in order to get a response?
-
No, you don't.
-
ICMP the protocol is not stateful, however, pf does keep state on ICMP in a timed fashion the same way it does for UDP (also stateless at the protocol level)
As dhatz mentioned, you don't have to worry about the replies in rules, the state table will handle that.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy