HomeFreeBSD

pf: Add code to enable filtering for locally delivered packets

Description

pf: Add code to enable filtering for locally delivered packets

This is disabled by default since it potentially changes the behavior of
existing filter rule sets. To enable this extra filter for packets being
delivered locally, use:

sysctl net.pf.filter_local=1
service pf restart

PR: 268717
Reviewed-by: kp
MFC-after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D40373

(cherry picked from commit 3a1f834b5228986a7c14fd60da13cf2700e80996)

Details

Provenance
dfrAuthored on Jun 20 2023, 1:01 PM
Differential Revision
D40373: pf: Add code to enable filtering for locally delivered packets
Parents
rGb22299c457b2: netinet*: Fix redirects for connections from localhost
Branches
Unknown
Tags
Unknown