Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#602 closed Bug / Defect (notabug)

Buffer size bug

Reported by: kxmp Owned by:
Priority: major Milestone:
Component: Networking Version: OpenVPN 2.3.8 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: buffer siez limit
Cc:

Description

On linux I can't set buffer by set sndbuf/rcvbuf in config file, and it just use my system's setting.
I set sndbuf 10485760 on server and got
Tue Sep 1 15:26:09 2015 Socket Buffers: R=[6250000->6250000] S=[6250000->6250000]
Is it can't bigger than system's buffer?
And on win7 I can't set buffer > 999999.

Change History (2)

comment:1 Changed 3 years ago by Gert Döring

Resolution: notabug
Status: newclosed

these are limits imposed by the operating system. OpenVPN asks for a larger buffer, but the OS will only accept 6250000 or 999999 - most likely there are sysctl values to increase this limit, but this is outside OpenVPNs control - and you shouldn't need more than 6 MB of socket buffer anyway, typical sizes are in the 32kbyte to 128kbyte ballpark.

comment:2 Changed 3 years ago by ValdikSS

Fixed in 2.3.9

Note: See TracTickets for help on using tickets.