[stunnel-users] problem with buffering data on stunnel

Michal Trojnara Michal.Trojnara at mirt.net
Fri Jul 10 23:31:39 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10.07.2015 20:17, wujot/Adalbert wrote:
> But unencrypted session on path between Stunnel server and hi-speed
> end server (both in LAN) is using TcpWindowSize on level 64KB -
> 131KB

Did you consider also tuning SO_SNDBUF of the sending application?

> (in Windows 2008 or newer it is calculated automatically). So I
> steel have at least 64KB buffer in stunnel.

IMHO Windows is probably not the best server platform...

> Is there any possibility to force stunnel to use on faster part of 
> connection (LAN side) the value of TcpWindowSize similar to
> calculated on slower part (on WAN side)?

I don't think such tricks are possible with BSD sockets.

BTW: You can also change BUFFSIZE in common.h and rebuild stunnel.

Best regards,
	Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJVoDm6AAoJEC78f/DUFuAURJQQAM1ix6ZkSqOCa9iLiBDIFvrS
DajgeGDGeSE75WkyI+IQrPYjWJGNielOeXhCPjYdQh+5o/bddYPaRlQRsu0HlY6F
Nncj1kP8Xy0WNO4uxz1YWpnnJtE/Ph9VUVLqS/63tJgkrhmvXF1HODeu677JLzEb
wjOn0kv6SmPnzkFMpjbBmkRPt5GeSRc43POGoHcuqFKijeaTDGoqhBLo+tGLhtNV
ezYN+QFvyyzMVPe8tscWa+vyXYdbMzgLBXXCHFMbFmlpu6QKHKb0823Q7g7OgMCb
DYkVbw0a0ys6hdreBHejvAbgfG8fTKOtYfdOa7lnjCuivGpVKLa018yTk/1qjUbs
dmr08MFPGkkMSfV/sQ+PMgZ0Dxaoczt1yXanzURNDXC4eiUlgEXfs4S5J2NYxTOe
g4ZG7ZXQIHrux1AcQD9TQF+G9h7YxXeRMt0K29qA54dH+x+Xie920OJMXohMAZJ0
ddkblmt7SHO2XiEV6C2ie1VvB/roZ+aeqKQME4T8oZliy/kaDgXgs/eFLT2Kxw9B
WwlWt4r4pLHFkJfExJF/nMWe0qRt/tlVoqyvOFE1hnTxOGr5pGLnY0XOoHX13kr/
ow1TC0N0UPWV++Uydm2oJwXA+o7a/TRs8O+PEhhHTqLDi4O/apC7kL9fM6DjESGr
Zj+br1nUiaF+LscAiC/D
=kA2M
-----END PGP SIGNATURE-----



More information about the stunnel-users mailing list