Re: [Openvpn-devel] [PATCH v2] Add connect-freq-initial option to limit initial connection responses

2023-01-09 Thread Frank Lichtenheld
On Fri, Jan 06, 2023 at 03:38:41PM +0100, Arne Schwabe wrote: > This limits the nubmer of packets OpenVPN will respond to. This avoid > OpenVPN server being abused for refelection attacks in a large scale > as we gotten a lot more efficient with the cookie approach in our > initial connection appro

Re: [Openvpn-devel] [PATCH v2] Add connect-freq-initial option to limit initial connection responses

2023-01-09 Thread Gert Doering
Hi, On Fri, Jan 06, 2023 at 03:38:41PM +0100, Arne Schwabe wrote: > Patch v2: use strtol instead of atoi to be able to differentiate between > an error parsing and parsing 0. Use int64_t instead int to > avoid overflow errors. I find this easier to read, so thanks. This said.

[Openvpn-devel] [PATCH v2] Add connect-freq-initial option to limit initial connection responses

2023-01-06 Thread Arne Schwabe
This limits the nubmer of packets OpenVPN will respond to. This avoid OpenVPN server being abused for refelection attacks in a large scale as we gotten a lot more efficient with the cookie approach in our initial connection approach. The defaults of 100 attempts per 10s should work for most people