[stunnel-users] Help please - debug and random file

Michal Trojnara Michal.Trojnara at mobi-com.net
Sun Oct 1 19:16:09 CEST 2006


On Friday 29 September 2006 23:01, Eric S. Eberhard wrote:
> I am AIX 4.3.3 and I compiled with xlc and the only option I used
> that was not default was to not link in the wrappers.  I did get a
> ton of warnings that the "-pthreaded" option was not valid ... but it
> executes and responds so I am not sure that matters?  Or should I do
> something (what?) about that?

IMHO it doesn't matter.  Did you upgrade your OpenSSL library as well?

> I have two problems (for now :-) ):
>          1) No matter what I do it seems that at least some debug is 
> coming back through the socket, and no debug is going to my debug file

Very strange.  What about logging to stdout with "foreground=yes"?

>          2) The debug I am getting is very strange -- the first time 
> it says "Snagged 64 from bytes from stunnel.rnd"  The second time it 
> says "Unable to retrieve any random data from stunnel.rnd"  When I 
> examine the file it has a current date and zero bytes.  If I copy 
> back my old (2000) stunnel.rnd it always reads once, and then writes 
> it back out with zero bytes.

"RNDoverwrite = no" should help.

> My configuration files for the service (visanet) is:
>
> output = /tmp/stunnel.log
> debug = 7
> RNDfile = /visanet/ssl/stunnel.rnd
> [visanet]
> client = yes
> connect = ssllab.pgs.wcom.net:443
> sslVersion = SSLv2
> protocol = smtp
> cert = /viasanet/ssl/stunnel.pem

Strange.  There's no "accept" option in your configuration.

Best regards,
    Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20061001/5e2c4a7a/attachment.sig>


More information about the stunnel-users mailing list