]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: allow defer timeout to be configured
authorKristof Provost <kp@FreeBSD.org>
Mon, 19 Jun 2023 14:37:19 +0000 (16:37 +0200)
committerKristof Provost <kp@FreeBSD.org>
Tue, 20 Jun 2023 09:20:26 +0000 (11:20 +0200)
commit6983b986e194d409344c0d3b1540610648df4d25
treefad89975e96f1609da2bb05ab2cd2eb85770093e
parent0daf5f02cfaf08a7fad75d934bbea50242c98ab3
pf: allow defer timeout to be configured

Add the net.pfsync.defer_delay sysctl to allow the defer timeout (i.e.
how long pf holds onto packets waiting for the peer to ack the new
state) to be changed.

This is intended to make testing of the defer code more robust, by
allowing longer timeouts to mitigate scheduling/measurement jitter.

Sponsored by: Rubicon Communications, LLC ("Netgate")
sys/netpfil/pf/if_pfsync.c