Changing the interface name through ifconfig is not reflected in pf

Rumko rumcic at gmail.com
Tue Oct 20 01:38:16 PDT 2009


When you change a netif name through ifconfig (e.g. ifconfig emx0 name lan0),
ifconfig does show the new name when listing the interfaces, but pf rules do
not work for that interface (lan0).

After changing the name back to emx0 (through ifconfig and in pf.conf) the
rules seem to work normally.

e.g.: pass all works, but pass on lan0 all does not (but pass on emx0 all does
work when you rename the netif back to emx0)
-- 
Regards,
Rumko





More information about the Bugs mailing list