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
F132432478: D32571.id.diff
Thu, Oct 16, 9:45 PM
Unknown Object (File)
Thu, Oct 16, 7:33 PM
Unknown Object (File)
Thu, Oct 16, 1:08 AM
Unknown Object (File)
Thu, Oct 16, 1:08 AM
Unknown Object (File)
Wed, Oct 15, 2:28 PM
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

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