Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2019 06:00:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 242606] Low capacity of Variable "IPSEC_MANUAL_REQID_MAX" crashes StrongSwan IPSec/IKEV2 VPN Server
Message-ID:  <bug-242606-7501-SfAMr0tMkt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242606-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242606-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242606

--- Comment #5 from Conrad Meyer <cem@freebsd.org> ---
Anyway, the comment in the header is clear enough: REQIDs over 0x3fff are
reserved for the kernel.  Linux uses this range for the kernel as well (see
net/key/af_key.c#L1915, gen_reqid()). They simply ignore bogus user requests
for higher numbers:

https://github.com/torvalds/linux/blob/master/net/key/af_key.c#L1959

                if (t->reqid > IPSEC_MANUAL_REQID_MAX)
                        t->reqid =3D 0;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242606-7501-SfAMr0tMkt>