If stunnel is running in daemon mode, you can stop it simply by killing it. Service name is the name of service that was put in square brackets in nf. You must put entries in /etc/hosts.allow to specify which machines should be allowed access to stunnel. The configure program should be able to determine if the libwrap library ( -lwrap) and headers are available in standard locations. You can can compile in support for TCP wrappers when you compile stunnel itself. You do not need to use the tcpd binary to wrap stunnel (although you could). Stunnel configuration file needs at least the section name and accept option. Lets say we want to have stunnel listen on our machine on port 9999 to support a fictitious protocol called foobar.įirst we would add the following line to /etc/services: foobar 9999/tcp # The foobar service Daemon mode will not fork if you have stunnel compiled with threads.
0 Comments
Leave a Reply. |