Page MenuHomeFreeBSD

pf: send ICMP destination unreachable fragmentation needed when appropriate
ClosedPublic

Authored by kp on Mon, Feb 3, 10:51 AM.
Tags
None
Referenced Files
F109791601: D48805.diff
Sun, Feb 9, 2:15 PM
Unknown Object (File)
Fri, Feb 7, 6:08 PM
Unknown Object (File)
Fri, Feb 7, 12:57 AM
Unknown Object (File)
Tue, Feb 4, 10:16 PM
Unknown Object (File)
Tue, Feb 4, 4:03 PM
Unknown Object (File)
Tue, Feb 4, 1:21 PM
Unknown Object (File)
Tue, Feb 4, 5:50 AM
Unknown Object (File)
Tue, Feb 4, 2:08 AM

Details

Summary

Just like we do for IPv6, generate an ICMP fragmentation needed packet if we're
going to need fragmenation for IPv4 as well (i.e. DF is set). Do so before full
processing, so we generate it with pre-NAT addreses, just as we do for IPv6.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62216
Build 59100: arc lint + arc unit

Event Timeline

kp requested review of this revision.Mon, Feb 3, 10:51 AM

Maybe commit changes to ip_output.c and ip_fastfwd.c separately? Cause they are a generic change, not something specific to ICMP.

Split off network stack changes

Maybe commit changes to ip_output.c and ip_fastfwd.c separately? Cause they are a generic change, not something specific to ICMP.

Yeah, that's a good idea. See D48824 for those.

This revision was not accepted when it landed; it landed in state Needs Review.Tue, Feb 4, 9:14 PM
This revision was automatically updated to reflect the committed changes.