[stunnel-users] STunnel Connection closed: 150 byte(s) sent to SSL, 0 byte(s) sent to socket

Michal Trojnara Michal.Trojnara at mirt.net
Mon Oct 6 13:47:38 CEST 2014


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

Hi Vivek,

I tried connecting fix-md-ate.lmaxtrader.com:443 with s_client:
$ openssl s_client -connect fix-md-ate.lmaxtrader.com:443 -tls1

The service behaves the same way as with stunnel: it negotiates TLS,
and then disconnects the TCP session without sending any data.  I
cannot see any stunnel error here.

Another example:
$ curl -1 https://fix-md-ate.lmaxtrader.com
curl: (52) Empty reply from server

Mike

Vivek Gupta wrote:
> Hi
> 
> I am using sTunnel for communication betweem my TCP client and a
> remote SERVER but I am getting error as always-
> 
> Signal pipe is empty Service [LMAX-fix-tunnel-DEMO-MktData]
> accepted (FD=348) from 127.0.0.1:55919 2014.10.06 :34:56
> LOG7[4220]: Creating a new thread New thread created Service
> [LMAX-fix-tunnel-DEMO-MktData] started Service
> [LMAX-fix-tunnel-DEMO-MktData] accepted connection from 
> 127.0.0.1:55919 s_connect: connecting 91.215.165.69:443 s_connect:
> s_poll_wait 91.215.165.69:443: waiting 10 seconds s_connect:
> connected 91.215.165.69:443 Service [LMAX-fix-tunnel-DEMO-MktData]
> connected remote server from 192.168.1.5:55920 Remote socket
> (FD=352) initialized SNI: sending servername:
> fix-md-ate.lmaxtrader.com SSL state (connect): before/connect
> initialization SSL state (connect): SSLv3 write client hello A SSL
> state (connect): SSLv3 read server hello A SSL state (connect):
> SSLv3 read server certificate A SSL state (connect): SSLv3 read
> server done A SSL state (connect): SSLv3 write client key exchange
> A SSL state (connect): SSLv3 write change cipher spec A SSL state
> (connect): SSLv3 write finished A SSL state (connect): SSLv3 flush
> data SSL state (connect): SSLv3 read finished A 1 items in the
> session cache 1 client connects (SSL_connect()) 1 client connects
> that finished 0 client renegotiations requested 0 server connects
> (SSL_accept()) 0 server connects that finished 0 server
> renegotiations requested 0 session cache hits 0 external session
> cache hits 0 session cache misses 0 session cache timeouts Peer
> certificate was cached (3944 bytes) SSL connected: new session
> negotiated Negotiated TLSv1/SSLv3 ciphersuite: AES128-SHA (128-bit
> encryption) Compression: null, expansion: null SSL_read returned
> WANT_READ: retrying SSL socket closed (SSL_read) Sent socket write
> shutdown Connection closed: 150 byte(s) sent to SSL, 0 byte(s) sent
> to socket Remote socket (FD=352) closed Local socket (FD=348)
> closed Service [LMAX-fix-tunnel-DEMO-MktData] finished (0 left)
> 
> Please suggest. _______________________________________________ 
> stunnel-users mailing list stunnel-users at stunnel.org 
> https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlQygVoACgkQ/NU+nXTHMtHRAQCeP6yfrYGrP4bBt1T2CnNR8lhK
abQAoKeGCx2RqhefgIoVDdrInjK6TxUx
=MHiJ
-----END PGP SIGNATURE-----



More information about the stunnel-users mailing list