You are here

Stunnel

3 posts / 0 new
Last post
schippie
Offline
Last seen: 9 years 6 months ago
Joined: 2014-09-04 09:34
Stunnel

I was wondering if anybody knows if its possible to make stunnel - https://www.stunnel.org/index.html portable. I use it very often to have the ability to send mails from my applications for testing purposes. And since i have all my development tools on my external SSD i was wondering if it would be possible to make stunnel portable to.

testplayer
Offline
Last seen: 1 month 3 days ago
Joined: 2015-01-12 05:47
I second this.

I second this.
sTunnel is quite useful to disguise an SSH/VPN connection as a normal HTTPS connection, which most ISP/firewall will not reject since it will disrupt almost all users way too much. sTunnel is open source under GPL, so could someone please make it portable? Thanks in advance!

foo_bar
Offline
Last seen: 3 years 10 months ago
Joined: 2020-05-17 04:01
Is it easy to portablize it?

The license of stunnel is GNU GPL: https://www.stunnel.org/COPYING.html.

I contacted the author asking about the portability of stunnel, and the author told me that stunnel is portable by design: the only Windows registry entry it uses is for the uninstaller. The installer creates a folder, copies files to this folder, and creates Windows menus and shortcuts. If I don't need the menus and shortcuts then I can simply take the folder and copy it to another computer.

And according to a post here https://www.portablefreeware.com/forums/viewtopic.php?t=21551,

The official installer can be (Uni)extracted -- it's built with NSIS, and all needed files will be inside the '_•€' folder -- and settings are kept in 'stunnel.conf' inside program folder.

So I gave it a try by running the installer with default settings, and after installing to the default directory C:\Program Files (x86)\stunnel\, I got the follow folder structure:

C:\Program Files (x86)\stunnel\
+ bin
  libcrypto-1_1-x64.dll
  libssl-1_1-x64.dll
  libssp-0.dll
  openssl.exe
  stunnel.exe
  tstunnel.exe
+ config
  ca-certs.pem
  openssl.cnf
  stunnel.conf
  stunnel.pem
+ doc
  stunnel.html
+ engines
  capi.dll
  padlock.dll
  pkcs11.dll
uninstall.exe

I'm wondering if John or someone else could portablize it trivially. Or if nobody is interested in it, could someone please let me know how much time do I need to spend to portablize it by myself using PortableApps.com Launcher (if it is trivial to do so)? Is there any easy to follow tutorial and where should I start?

Thanks in advance.

Log in or register to post comments