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)
Wed, Apr 24, 11:36 PM
Unknown Object (File)
Mar 31 2024, 12:05 PM
Unknown Object (File)
Mar 3 2024, 4:54 PM
Unknown Object (File)
Feb 3 2024, 8:17 PM
Unknown Object (File)
Dec 26 2023, 8:13 PM
Unknown Object (File)
Dec 13 2023, 12:09 PM
Unknown Object (File)
Dec 10 2023, 12:52 AM
Unknown Object (File)
Dec 10 2023, 12:42 AM

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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20316
Build 19771: arc lint + arc unit

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.