[stunnel-users] Stunnel on openwrt

Markus Mauch markus.mauch at gmail.com
Sat Jul 16 00:24:49 CEST 2005


I'm using stunnel on a asus router with a openwrt like linux on it.
The Idea is to secure traffic from and to a thttpd web server which is
running on that box as well. Problem is that stunnel only seems to be
able to handle one connection at a time. Whenever it has to cope with
more than one it crashes. Unfortunatelly this happens all the time
because usually a web browser opens several tcp connections in order
to speed things up. So whenever I browse to a web page on the router
through stunnel I get only the text. The rest (e.g. the images) which
is loaded via different tcp connections does not appear and stunnel
won't respond to any further requests until it is restarted. My
explanation to this is that the very first request is processed
normally but as soon as one other connection causes stunnel to create
a second process the whole thing goes to the dogs. ps reveals that
there are always two instances of stunnel running after such an
experiment, both hanging, of course. So my question is what could I do
to keep stunnel from creating new processes when a client tries to
communicate over more than one tcp connection or - better - what
chould I do in the first place to prevent stunnel from hanging in such
a case? Any help would be very apreciated...

More information about the stunnel-users mailing list