HomeFreeBSD

Do not forward datagrams originated by link-local addresses

Description

Do not forward datagrams originated by link-local addresses

The current implement of ip_input() reject packets destined for
169.254.0.0/16, but not those original from 169.254.0.0/16 link-local
addresses.

Fix to fully respect RFC 3927 section 2.7.

PR: 255388
Reviewed by: donner, rgrimes, karels
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D29968

Details

Provenance
zleiAuthored on May 18 2021, 8:51 PM
donnerCommitted on May 18 2021, 8:59 PM
Reviewer
donner
Differential Revision
D30374: Restore RFC reference
Parents
rG63b6a08ce246: ng_parse: IP address parsing in netgraph eating too many characters
Branches
Unknown
Tags
Unknown