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)
Sat, May 23, 9:34 PM
Unknown Object (File)
May 12 2026, 11:46 PM
Unknown Object (File)
May 12 2026, 11:44 PM
Unknown Object (File)
May 12 2026, 11:42 PM
Unknown Object (File)
Apr 30 2026, 2:52 AM
Unknown Object (File)
Apr 28 2026, 5:58 AM
Unknown Object (File)
Apr 28 2026, 2:57 AM
Unknown Object (File)
Apr 26 2026, 2:20 AM

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