Hello list,

I read in pf.conf(5),

bWhen the interface name is surrounded by parentheses, the rule is
automatically updated whenever the interface changes its address.b

I know this works well for IPv4 addresses, where b(sis0)b will resolve
to the addresses of sis0. However, I'm working on an IPv6 version of my
pf rules, which I started by bluntly copying my previous rules, and
changing the address family.

As expected when one does something bluntly, it doesn't work. I'm
suspecting that syntax b(interface)b in pf.conf only resolves to the
IPv4 addresses of the interface. Unfortunately, I haven't found anything
clarifying that in the manual.

Can somebody shed some light?

Additionally, in case this syntax only gives IPv4 addresses, what would
be an equivalent method to dynamically get an interface's IPv6 address?

Thanks.

--
Olivier Mehani <sht...@ssji.net>
PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE  F5F9 F012 A6E2 98C6 6655

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to