Page MenuHomeFreeBSD

pf: ensure we have the correct source/destination IP address in ICMP errors
ClosedPublic

Authored by kp on Oct 20 2021, 8:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 3:15 AM
Unknown Object (File)
Tue, Oct 7, 6:46 AM
Unknown Object (File)
Sep 9 2025, 4:11 PM
Unknown Object (File)
Aug 14 2025, 10:29 PM
Unknown Object (File)
Aug 7 2025, 2:29 PM
Unknown Object (File)
Jul 12 2025, 8:29 AM
Unknown Object (File)
Jul 5 2025, 11:19 PM
Unknown Object (File)
Jul 1 2025, 6:25 PM

Details

Summary

When we route-to a packet that later turns out to not fit in the
outbound interface MTU we generate an ICMP error.
However, if we've already changed those (i.e. we've passed through a NAT
rule) we have to undo the transformation first.

Obtained from: pfSense
MFC after: 3 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable