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, Jul 24, 2:06 PM
Unknown Object (File)
Tue, Jul 21, 3:15 AM
Unknown Object (File)
Mon, Jul 20, 7:43 AM
Unknown Object (File)
Sun, Jul 19, 10:35 PM
Unknown Object (File)
Sat, Jul 4, 7:24 AM
Unknown Object (File)
Jun 27 2026, 9:27 AM
Unknown Object (File)
Jun 25 2026, 1:44 PM
Unknown Object (File)
Jun 21 2026, 11:48 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