Kristof Provost 0ab8643854 MFC r331436:
netpfil: Introduce PFIL_FWD flag

Forwarded packets passed through PFIL_OUT, which made it difficult for
firewalls to figure out if they were forwarding or producing packets. This in
turn is an issue for pf for IPv6 fragment handling: it needs to call
ip6_output() or ip6_forward() to handle the fragments. Figuring out which was
difficult (and until now, incorrect).
Having pfil distinguish the two removes an ugly piece of code from pf.

Introduce a new variant of the netpfil callbacks with a flags variable, which
has PFIL_FWD set for forwarded packets. This allows pf to reliably work out if
a packet is forwarded.
2018-04-15 15:22:28 +00:00
..
2017-11-17 09:14:18 +00:00
2017-11-17 09:14:18 +00:00
2018-03-19 03:28:24 +00:00
2018-04-06 18:23:42 +00:00
2018-04-15 15:22:28 +00:00
2018-03-31 05:17:28 +00:00
2018-04-09 01:02:32 +00:00
2017-11-17 09:14:18 +00:00
2017-11-17 09:14:18 +00:00
2017-11-17 09:14:18 +00:00
2018-01-07 00:31:45 +00:00
2018-04-04 20:29:55 +00:00
2017-08-05 16:44:31 +00:00