On Thu, Oct 18, 2007 at 06:35:13PM -0500, Luis Rodrigo Gallardo Cruz wrote:
On Thu, Oct 18, 2007 at 03:00:56PM -0700, Ben Hartshorne wrote:
[*] I was actually impressed at how easy this was. Aside from having to write my own /etc/init.d/ scripts to start the client and server
Do you mean scripts to start/stop stunnel? If so, could you tell me how the Debian scripts could be improved to support your use?
The stunnel4 package has start/stop scripts, but the stunnel 3 package doesn't. This actually makes sense, because rather than using a config file, you specify the arguments on the command line, which isn't particularly well suited to a start script. I wrote two, stunnel-client and stunnel-server (since you might want to run both to aggregate connections) and put all the relevant variables (destination hostnames, port numbers, etc.) in /etc/default/.
I can send them to you off-list if you like, but I don't imagine the stunnel 3 packages will be maintained much longer, so it might not be worth the effort.
-ben