stunnel tips

I get this error in stunnel.log
my stunnel.conf file contains
here are some resources I have used to try and resolve the issue
from the manual these sockets are described in an example
stunnel manual
http://www.stunnel.org/faq/stunnel.html#options
stunnel -version
stunnel -sockets
gcc -v
uname
TCP_NODELAY option set on remote socket
my stunnel.conf file contains
- Code: Select all
; Some performance tunings
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
here are some resources I have used to try and resolve the issue
from the manual these sockets are described in an example
socket = a|l|r:option=value[:value]
Set an option on accept/local/remote socket
The values for linger option are l_onof:l_linger. The values for time are tv_sec:tv_usec.
Examples:
socket = l:SO_LINGER=1:60
set one minute timeout for closing local socket
socket = r:TCP_NODELAY=1
turn off the Nagle algorithm for remote sockets
socket = r:SO_OOBINLINE=1
place out-of-band data directly into the
receive data stream for remote sockets
socket = a:SO_REUSEADDR=0
disable address reuse (enabled by default)
socket = a:SO_BINDTODEVICE=lo
only accept connections on loopback interface
stunnel manual
http://www.stunnel.org/faq/stunnel.html#options
stunnel -version
stunnel 4.26 on i386-portbld-freebsd7.0 with OpenSSL 0.9.8e 23 Feb 2007
Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP
stunnel -sockets
Socket option defaults:
Option Accept Local Remote OS default
SO_DEBUG -- -- -- 0
SO_DONTROUTE -- -- -- 0
SO_KEEPALIVE -- -- -- 0
SO_LINGER -- -- -- 0:0
SO_OOBINLINE -- -- -- 0
SO_RCVBUF -- -- -- 65536
SO_SNDBUF -- -- -- 32768
SO_RCVLOWAT -- -- -- 1
SO_SNDLOWAT -- -- -- 2048
SO_RCVTIMEO -- -- -- 0:0
SO_SNDTIMEO -- -- -- 0:0
SO_REUSEADDR 1 -- -- 0
IP_TOS -- -- -- 0
IP_TTL -- -- -- 64
TCP_NODELAY -- -- -- 0
gcc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719 [FreeBSD]
uname
FreeBSD