[stunnel-users] stunnel with libwrap does not disconnect from terminal

Michal Trojnara Michal.Trojnara at mobi-com.net
Mon Mar 2 13:35:54 CET 2009


Rodrigo Gallardo <rodrigo at debian.org> wrote:
> +            if (!options.option.foreground) {
> +              /* Detach from terminal. */
> +              close(0);
> +              close(1);
> +              close(2);
> +            }

Thank you.  The functionality of this patch is implemented upstream.  The
next version of stunnel is scheduled to be released this week.

BTW: Checking for options.option.foreground is not required, as the libwrap
helper process is not supposed to interact with stdin/stdout/stderr anyway.

Best regards,
    Mike



More information about the stunnel-users mailing list