]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: Prevent integer overflow in PF when calculating the adaptive timeout.
authorKristof Provost <kp@FreeBSD.org>
Tue, 11 Dec 2018 21:44:39 +0000 (21:44 +0000)
committerKristof Provost <kp@FreeBSD.org>
Tue, 11 Dec 2018 21:44:39 +0000 (21:44 +0000)
commit5b551954ab0c94bd17a4405183a5a3dfd4370751
treeed5c16dd66d8f5a23a1996645cc0687a3f5c3439
parent7984cba7d7824b6f2b22be135e06a32ed1e27140
pf: Prevent integer overflow in PF when calculating the adaptive timeout.

Mainly states of established TCP connections would be affected resulting
in immediate state removal once the number of states is bigger than
adaptive.start.  Disabling adaptive timeouts is a workaround to avoid this bug.
Issue found and initial diff by Mathieu Blanc (mathieu.blanc at cea dot fr)

Reported by: Andreas Longwitz <longwitz AT incore.de>
Obtained from:  OpenBSD
MFC after: 2 weeks
sys/netpfil/pf/pf.c