[stunnel-users] doubts with stunnel.conf

Gabriel Monnerat gabrielmonnerat at gmail.com
Tue Aug 9 17:38:09 CEST 2011


On 09-08-2011 11:35, Michal Trojnara wrote:
> Gabriel Monnerat wrote:
>> [varnish_SOFTINST-51]
>> accept = 10.0.235.44:26012
>> connect = [2a01:e34:ec03:*:*:*:*:*]:15000
> [cut]
>> 2011.08.09 00:19:59 LOG3[12724:140272018409232]: Error resolving
>> '[2a01:e34:ec03:*:*:*:*:*]': Neither nodename nor servname known
>> (EAI_NONAME)
> [cut]
>> Please, someone can help me? maybe I am doing stupid things..
>
> 1. Skip square brackets from IP address.
Yes. Thanks
> 2. Change "*" to numbers.  8-)
:)

Now I have this in log:

2011.08.09 11:56:18 LOG5[23690:139807064278800]: Service 
varnish_SOFTINST-51 accepted connection from 10.0.235.44:58876
2011.08.09 11:56:19 LOG5[23690:139807064278800]: connect_blocking: 
connected 2a01:e34:ec03:8610:*:*:*:*:15000
2011.08.09 11:56:19 LOG5[23690:139807064278800]: Service 
varnish_SOFTINST-51 connected remote server from 
2001:0:4137:9e76:0:134:4525:79a7:54770
2011.08.09 11:56:19 LOG5[23690:139807064278800]: Connection closed: 56 
bytes sent to SSL, 460 bytes sent to socket
2011.08.09 11:56:29 LOG5[23690:139807064278800]: Service 
varnish_SOFTINST-51 accepted connection from 10.0.235.44:58888
2011.08.09 11:56:29 LOG5[23690:139807064278800]: connect_blocking: 
connected 2a01:e34:ec03:8610:*:*:*:*:15000
2011.08.09 11:56:29 LOG5[23690:139807064278800]: Service 
varnish_SOFTINST-51 connected remote server from 
2001:0:4137:9e76:0:134:4525:79a7:54782
2011.08.09 11:56:30 LOG5[23690:139807064278800]: Connection closed: 56 
bytes sent to SSL, 460 bytes sent to socket

Is this a expected behaviour?

If I try access via browser I have this message...

/Bad Request

Your browser sent a request that this server could not understand /

Because in my case, my architecture is:

Apache > varnish > stunnel > backend

And the varnish have problems to access the stunnel

Thanks.
>
> Mike
> _______________________________________________
> stunnel-users mailing list
> stunnel-users at stunnel.org
> http://stunnel.mirt.net/mailman/listinfo/stunnel-users


-- 
Gabriel M. Monnerat

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


More information about the stunnel-users mailing list