freebsd-dev/sys/netpfil/pf
Kristof Provost 81ef217ad4 pf: Improve route-to handling of pfsync'd states
When a state if pfsync’d to a different host it doesn’t get all of the
expected pointers, including the pointer to the struct pfi_kif / struct
ifnet rt_kif pointer. (I.e. the interface to route out on).

That in turn means that pf_route() ends up dropping the packet.

Use the rule's struct pfi_kif pointer so we can still route out of the
expected interface.

MFC after:	2 weeks
Sponsored by:	Orange Business Services
2022-06-04 14:23:17 +02:00
..
if_pflog.c if_pflog: fix packet length 2021-12-04 08:42:55 +01:00
if_pfsync.c pfsync: NULL check before dereference 2022-04-21 17:59:45 +02:00
in4_cksum.c
pf_altq.h pf: qid and pqid can be uint16_t 2021-09-10 17:07:57 +02:00
pf_if.c pf: remove pointless NULL check 2022-04-21 17:59:45 +02:00
pf_ioctl.c pf: fix more syncookie memory leaks 2022-06-02 20:17:25 +02:00
pf_lb.c pf: protect the rpool from races 2022-01-14 10:30:33 +01:00
pf_mtag.h pf: tag dummynet'd route-to packets with their real destination 2022-05-12 21:50:10 +02:00
pf_norm.c pf: remove unused variables 2021-11-23 16:44:37 +01:00
pf_nv.c pf: Add per-rule timestamps for rule and eth_rule 2022-04-22 19:53:20 +02:00
pf_nv.h pf: Initial Ethernet level filtering code 2022-03-02 17:00:03 +01: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: add anchor support for ether rules 2022-03-02 17:00:07 +01:00
pf_syncookies.c pf: fix more syncookie memory leaks 2022-06-02 20:17:25 +02:00
pf_table.c pf: counter argument to pfr_pool_get() may never be NULL 2022-04-21 17:59:45 +02:00
pf.c pf: Improve route-to handling of pfsync'd states 2022-06-04 14:23:17 +02:00
pf.h pf: import pf_set_protostate() from OpenBSD 2021-09-01 12:02:19 +02:00