HomeFreeBSD

Add net.inet.ip.source_address_validation

Description

Add net.inet.ip.source_address_validation

Drop packets arriving from the network that have our source IP
address. If maliciously crafted they can create evil effects
like an RST exchange between two of our listening TCP ports.
Such packets just can't be legitimate. Enable the tunable
by default. Long time due for a modern Internet host.

Reviewed by: donner, melifaro
Differential revision: https://reviews.freebsd.org/D32914

Details

Provenance
glebiusAuthored on Nov 12 2021, 5:00 PM
Reviewer
donner
Differential Revision
D32914: Add net.inet.ip.source_address_validation
Parents
rG9c89392f12d7: Add in_localip_fib(), in6_localip_fib().
Branches
Unknown
Tags
Unknown