Hi stunnel-users
I run stunnel4 in docker with the following config file: --- /etc/stunnel/stunnel.conf -------------- sslVersion = SSLv3
pid = /var/lib/stunnel4/stunnel4.pid
socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1
verify = 2 CApath = /etc/ssl/certs
debug = notice output = /var/log/stunnel.log
client = yes foreground = yes
[foo] accept = 1234 connect = 127.0.0.1:2345 TIMEOUTclose = 3 ---------------------------------------------------------
When I run stunnel and pipe stdout and stderr to /dev/null, I still get output:
root@849b7eb3bbd0:/# /usr/bin/stunnel4 /etc/stunnel/stunnel.conf 2>/dev/null >/dev/null stunnel: LOG5[258:140421949949696]: stunnel 4.53 on x86_64-pc-linux-gnu platform stunnel: LOG5[258:140421949949696]: Compiled/running with OpenSSL 1.0.1e 11 Feb 2013 stunnel: LOG5[258:140421949949696]: Threading:PTHREAD SSL:+ENGINE+OCSP Auth:LIBWRAP Sockets:POLL+IPv6 stunnel: LOG5[258:140421949949696]: Reading configuration from file /etc/stunnel/stunnel.conf stunnel: LOG5[258:140421949949696]: Configuration successful ^Cstunnel: LOG3[258:140421949949696]: Received signal 2; terminating
Complete shell output is attached.
Any hints on what's happening?
Kindly,