In /etc/pf.conf I currently have:
However, I thought maybe it would be prudent to tighten up the IPv6 rule a bit, so I changed it to:
(^^ edited to fix typo as pointed out by facedebouc )
However, that gave terrible results for the web server on https://internet.nl (failed both the IPv6 and HTTPS tests). So, it seems that was too restrictive.
What would be the required
Code:
icmp_types = "{ echoreq unreach }"
...
pass inet proto icmp icmp-type $icmp_types
pass inet6 proto icmp6
However, I thought maybe it would be prudent to tighten up the IPv6 rule a bit, so I changed it to:
Code:
icmp_types = "{ echoreq unreach }"
icmp6_types = "{ echoreq unreach timex paramprob routeradv routersol neighbrsol }"
...
pass inet proto icmp icmp-type $icmp_types
pass inet6 proto icmp6 icmp6-type $icmp6_types
However, that gave terrible results for the web server on https://internet.nl (failed both the IPv6 and HTTPS tests). So, it seems that was too restrictive.
What would be the required
icmp6-types
in this case? Or, is there any harm in just allowing all of them?