After a boot/reboot pf filter doesn't take into account ipv6 addresses (except link local), which seems to be due by network_ipv6 not being run before pf startup script
for example the pf.conf file contains the following rule:
pass in proto tcp from any to net0 port http
which is translated into (as shown by pcftl -s rules)
pass in on net0 inet6 proto tcp from any to fe80::21c:c0ff:fe52:1234 port = http flags S/SA keep state
pass in inet proto tcp from any to 192.168.2.2 port = http flags S/SA keep state
pass in inet proto tcp from any to 192.168.1.2 port = http flags S/SA keep state
the following ipv6 line is missing
(with ipv6_ifconfig_net0="2001:1234:1234:1234::1/56" in rc.conf):
pass in inet6 proto tcp from any to 2001:1234:1234:1234::1 port = http flags S/SA keep state
after boot, manually running: /etc/rc.d/pf restart
How-To-Repeat: Enable ipv6 and pf, configure ipv6 on network interface (net0 for example), add pf rule in pf.conf for net0. After boot/reboot pfctl -s rules won't show the corresponding rule for ipv6
Over to maintainer(s).
Gert Doering had complained about this back in November on freebsd-rc:
Bjoern A. Zeeb The greatest risk is not taking one.
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped