HomeFreeBSD

pfctl: fix incorrect mask on dynamic address

Description

pfctl: fix incorrect mask on dynamic address

A PF rule using an IPv4 address followed by an IPv6 address and then a
dynamic address, e.g. "pass from {192.0.2.1 2001:db8::1} to (pppoe0)",
will have an incorrect /32 mask applied to the dynamic address.

MFC after: 3 weeks
Obtained from: OpenBSD
See also: https://ftp.openbsd.org/pub/OpenBSD/patches/5.6/common/007_pfctl.patch.sig
Sponsored by: Rubicon Communications, LLC ("Netgate")
Event: Oslo Hackathon at Modirum

Details

Provenance
kpAuthored on Oct 6 2023, 12:20 PM
Parents
rGa5bebe4359ef: geom.4: Document kern.geom.notaste sysctl
Branches
Unknown
Tags
Unknown