HomeFreeBSD

pf: duplicate frames only once when using dup-to pf rule

Description

pf: duplicate frames only once when using dup-to pf rule

When using DUP-TO rule, frames are duplicated 3 times on both output
interfaces and duplication interface. Add a flag to not duplicate a
duplicated frame.

Inspired by a patch from MiƂosz Kaniewski milosz.kaniewski at gmail.com
https://lists.freebsd.org/pipermail/freebsd-pf/2015-November/007886.html

Reviewed by: kp@
Differential Revision: https://reviews.freebsd.org/D27018

Details

Provenance
yannis.planus_alstomgroup.comAuthored on Jan 28 2021, 1:59 PM
kpCommitted on Jan 28 2021, 3:46 PM
Differential Revision
D27018: Duplicate frames only once when using dup-to pf rule
Parents
rGd386f3a3c32f: Bump __FreeBSD_version for multiple LinuxKPI updates conflicting
Branches
Unknown
Tags
Unknown