Page MenuHomeFreeBSD

pf: Make ':0' ignore link-local v6 addresses too
ClosedPublic

Authored by kp on Oct 21 2018, 12:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 2, 6:42 PM
Unknown Object (File)
Sun, Nov 2, 11:09 AM
Unknown Object (File)
Sat, Nov 1, 5:35 AM
Unknown Object (File)
Sat, Nov 1, 2:43 AM
Unknown Object (File)
Sat, Nov 1, 1:38 AM
Unknown Object (File)
Tue, Oct 28, 5:31 AM
Unknown Object (File)
Mon, Oct 27, 3:12 AM
Unknown Object (File)
Thu, Oct 23, 10:55 PM

Details

Summary

When users mark an interface to not use aliases they likely also don't
want to use the link-local v6 address there.

PR: 201695
Submitted by: Russell Yount <Russell.Yount AT gmail.com>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bcr added a subscriber: bcr.

OK from manpages. Can you bump the .Dd to the date of the commit for this content change? Thanks.

This revision is now accepted and ready to land.Oct 21 2018, 12:44 AM

"if:0" and "(if:0)" have separate implementations. the one for "if:0" is missing, see ifa_lookup() in sbin/pfctl/pfctl_parser.c

This revision now requires changes to proceed.Oct 21 2018, 4:16 PM

Make :0 work without ()

franco_opnsense.org added inline comments.
sbin/pfctl/pfctl_parser.c
1369 ↗(On Diff #49411)

Implementations of kernel and userland seem to diverge for PFI_AFLAG_NETWORK due to other reason. Just a comment, no issue for this particular fix. Thanks!

This revision is now accepted and ready to land.Oct 24 2018, 5:34 AM
This revision was automatically updated to reflect the committed changes.