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)
Dec 9 2024, 1:41 PM
Unknown Object (File)
Dec 5 2024, 4:43 PM
Unknown Object (File)
Nov 30 2024, 12:56 AM
Unknown Object (File)
Nov 24 2024, 11:37 PM
Unknown Object (File)
Nov 21 2024, 3:42 PM
Unknown Object (File)
Nov 21 2024, 11:29 AM
Unknown Object (File)
Nov 20 2024, 12:19 PM
Unknown Object (File)
Nov 19 2024, 11:52 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.