opnsense-src/sys/netpfil
Kristof Provost 5a79138b38 pf: fix quoted ip packet length for af-to
With address family translation, the ip length of the quoted ip
packet within the icmp error packet was wrong.  Fix this by using
the pd2.tot_len of the inner packet and substract the old header's
length.
OK mikeb@ henning@

Obtained from:	OpenBSD, bluhm <bluhm@openbsd.org>, 3d0247e0e8
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-02-06 15:00:05 +01:00
..
ipfilter/netinet tcp: add TH_AE capabilities to ppp and pf 2024-11-29 10:04:31 +01:00
ipfw ip_fw: address lock order reversal 2024-12-19 16:37:38 +01:00
pf pf: fix quoted ip packet length for af-to 2025-02-06 15:00:05 +01:00