freebsd-dev/sys/netpfil/pf
Luiz Otavio O Souza ab238f1454 pf: ensure we have the correct source/destination IP address in ICMP errors
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")
Differential Revision:	https://reviews.freebsd.org/D32571
2021-10-22 09:52:17 +02:00
..
if_pflog.c pf: Split pfi_kif into a user and kernel space structure 2021-01-05 23:35:37 +01:00
if_pfsync.c pf: fix some cc --analyze warnings 2021-10-19 11:59:11 +00:00
in4_cksum.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
pf_altq.h pf: qid and pqid can be uint16_t 2021-09-10 17:07:57 +02:00
pf_if.c pf: switch kif counters to pf_counter_u64 2021-07-25 10:22:17 +02:00
pf_ioctl.c pf: fix some cc --analyze warnings 2021-10-19 11:59:11 +00:00
pf_lb.c pf: selecting pf_map_addr is not an error 2021-10-16 09:32:15 +02:00
pf_mtag.h pf: qid and pqid can be uint16_t 2021-09-10 17:07:57 +02:00
pf_norm.c pf: fix some cc --analyze warnings 2021-10-19 11:59:11 +00:00
pf_nv.c pf: Introduce pf_nvbool() 2021-10-13 12:01:09 +02:00
pf_nv.h pf: Introduce pf_nvbool() 2021-10-13 12:01:09 +02:00
pf_osfp.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
pf_ruleset.c pf: match keyword support 2021-07-17 12:01:08 +02:00
pf_syncookies.c pf: hook up adaptive mode configuration 2021-09-29 15:11:54 +02:00
pf_table.c pf: Remove unneeded NULL check 2021-07-08 10:32:33 +02:00
pf.c pf: ensure we have the correct source/destination IP address in ICMP errors 2021-10-22 09:52:17 +02:00
pf.h pf: import pf_set_protostate() from OpenBSD 2021-09-01 12:02:19 +02:00