Stunnel does not show up in processes after running it.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Stunnel does not show up in processes after running it.
I'm trying to set up a SSL-SOCKS server according to jestrix.net/tuts/sslsocks.html so I can use BitTorrent at my university. Unfortunately, I've run into a snag. When I get up to the point where I actually run stunnel, it says "command not found". Ok, so I do a search for "stunnel", find where the program is actually located, and run "./stunnel". Then it asks me for me passphrase, and then we're up and running, right? According to the KDE system guard, not so. I dont see any process called "stunnel" or ANY processes running under the user "stunnel" (The tutorial is set up so stunnel will run under the user "stunnel" in group "stunnel", yes, I did set those up.). This is the third time I've tried to do this set up (Under FreeBSD, FedoraC2, and now Suse 9.1), and it's done this every time. Can anyone please help me out here?
Stunnel tends to silently die if there is any error e.g. with the start-up parameters. Are you sure it is running?
Have you checked it as root from konsole? (ps -ax)
Are there any error messages in /var/log/messages?
Jul 23 17:56:46 linux stunnel[3504]: stunnel 4.05 on i686-pc-linux-gnu PTHREAD with OpenSSL 0.9.7d 17 Mar 2004
Jul 23 17:56:48 linux stunnel[3504]: Peer certificate location /trusted
Jul 23 17:56:48 linux stunnel[3504]: FD_SETSIZE=1024, file ulimit=1024 -> 500 clients allowed
Jul 23 17:56:48 linux stunnel[3504]: Error binding socks5 to 192.168.1.107:1080
Jul 23 17:56:48 linux stunnel[3504]: bind: Cannot assign requested address (99)
I'm not quite sure what ip address I have to use for stunnel, the tutorial is pretty vague on that. It just says "external" IP. Im not sure if that means "use the one you get from whatismyip.com" or the one assigned to the machine by my router.
Anyway, it should an existing IP address, assigned to an interface on the machine where stunnel and nylon are running.
Ifconfig will show you the interfaces and the IP addresses assigned to them.
Sorry, I was on holiday, and just now I see you are still having trouble with this setup.
This time I had a look at the tutorial and seeing the server config file options I think it uses a tricky setup: it chroots to the /var/tmp/stunnel directory, so any subsequent references to any other directories are relative to that directory.
This means that when you had a permission problem with the / directory ("cannot create /stunnel.pid"), you actually had a permission problem with /var/tmp/stunnel.
So, you should not specify any new location for the stunnel.pid file, just use the default one used in the tutorial, but check that the user running stunnel has permissions to create files in directory /var/tmp/stunnel
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.