[stunnel-users] Understanding communication

Claudia Porta claudia.porta at bancaakros.it
Wed Apr 15 14:51:07 CEST 2015


I connect to a server X through stunnel.

Then with a socket I send a logon message to the server, and I don’t receive
any error neither answer.


What I need to understand is:  client manage communication with stunnel ,
does the server need  to do the same?

I can send socket message through stunnel to a server that doesn’t use

Client (stunnel) ---à server


Below my config file ans stunnel log.


My config file is:

CApath = C:\programm files\

cert = xxx.pem


; Some performance tunings

socket = l:TCP_NODELAY=1

socket = r:TCP_NODELAY=1


; Some debugging stuff useful for troubleshooting

debug = 7


; Use it for client mode

client = yes



accept =akros ip

connect = Server ip port

sslVersion = all

options = NO_SSLv2

options = NO_SSLv3


And the stunnel log told me:

2015.04.15 14:33:51 LOG5[10080]: Reading configuration from file

2015.04.15 14:33:51 LOG5[10080]: UTF-8 byte order mark not detected

2015.04.15 14:33:51 LOG5[10080]: FIPS mode disabled

2015.04.15 14:33:51 LOG7[10080]: Compression disabled

2015.04.15 14:33:51 LOG7[10080]: Snagged 64 random bytes from C:/.rnd

2015.04.15 14:33:51 LOG7[10080]: Wrote 1024 new random bytes to C:/.rnd

2015.04.15 14:33:51 LOG7[10080]: PRNG seeded successfully

2015.04.15 14:33:51 LOG6[10080]: Initializing service [xxx]

2015.04.15 14:33:51 LOG6[10080]: Loading cert from file: xxx.pem

2015.04.15 14:33:51 LOG6[10080]: Loading key from file: xxx.pem

2015.04.15 14:33:51 LOG7[10080]: Private key check succeeded

2015.04.15 14:33:51 LOG7[10080]: SSL options: 0x03000004 (+0x03000000,

2015.04.15 14:33:51 LOG5[10080]: Configuration successful

2015.04.15 14:33:51 LOG7[10080]: Listening file descriptor created (FD=548)

2015.04.15 14:33:51 LOG7[10080]: Service [xxxPR] (FD=548) bound to
xxx.xxx.xxx.xx (my ip)



Thanks in advance,




This e-mail is for the sole use of the intended recipient and any file transmitted with it may contain material that is confidential and privileged. If you are not the intended recipient of this e-mail, please do not read this e-mail and delete this message and any file attached from your system and then notify us immediately by reply e-mail or by telephone. You should not copy or use this message and any file attached for any purpose, disclose the contents of the same to any other person or forward them without express permission by us.  Considering the means of transmission, we do not undertake any liability with respect to the secrecy and confidentiality of the information contained in this e-mail and in its attachments.

Il presente messaggio di posta elettronica e' ad esclusivo utilizzo del destinatario indicato in indirizzo e gli eventuali documenti allegati potrebbero
  avere carattere riservato. Qualora non foste il destinatario del presente messaggio Vi preghiamo non leggerlo, di cancellarlo dal Vostro sistema assieme ad ogni documento ad esso allegato e di volerci avvertire immediatamente tramite posta elettronica o telefonicamente. E' vietata la duplicazione o l'utilizzo per qualunque fine del presente messaggio e di ogni documento ad esso allegato cosi' come la relativa divulgazione, distribuzione o inoltro a terzi senza l'espressa autorizzazione del mittente.  Il mittente, in ragione del mezzo di trasmissione utilizzato, non assume alcuna responsabilita' in merito alla segretezza e riservatezza delle informazioni contenute nel presente messaggio e nei relativi allegati.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20150415/69a9ea90/attachment.html>

More information about the stunnel-users mailing list