HomeFreeBSD

if_ovpn: clear mbuf flags on rx

Description

if_ovpn: clear mbuf flags on rx

When we receive a packet and remove the encapsulating layer we should
also clear out protocol flags and any mbuf tags.

If we do not we risk confusing firewalls filtering the tunneled packet.

See also: https://redmine.pfsense.org/issues/14682#change-69073
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Aug 22 2023, 3:39 PM
Parents
rG9d6049d5da8c: etc: remove leftover leading empty comments, blank lines
Branches
Unknown
Tags
Unknown