Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2000 11:07:48 -0500
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        freebsd-security@freebsd.org
Subject:   [cjc@cc942873-a.ewndsr1.nj.home.com: stunnel Works in Foreground, Not in BG]
Message-ID:  <20000117110748.C62078@cc942873-a.ewndsr1.nj.home.com>

next in thread | raw e-mail | index | archive | help
I originally sent this to -questions, but after a deafening silence, I
thought someone here might have some experience with stunnel(8) and
have some idea of what might be going on.

Thanks.

----- Forwarded message from "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> -----
From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
Subject: stunnel Works in Foreground, Not in BG
To: stunnel-users@mike.daewoo.com.pl,
        freebsd-questions@FreeBSD.ORG (FreeBSD Questions)
Date: Sat, 15 Jan 2000 22:08:21 -0500 (EST)
Reply-To: cjclark@home.com

I'm having an odd problem with stunnel. I have just installed in on a
FreeBSD 2.2.8 machine. For testing, I am doing an IMAP connection. It
seems to work fine if I run stunnel in the foreground,

    # /usr/local/sbin/stunnel -f -d 993 -l /usr/local/libexec/imapd imapd
    LOG5[23152:0]: stunnel 3.4a on i386--freebsd2.2.8 FORK
    LOG5[23154:0]: imapd connected from 24.2.89.207:2775
    ^C

I can connect to the server and access everything fine. But if I run
it in the background, I get these in my server's syslog,

    Jan 15 21:37:20 newmail stunnel[23141]: stunnel 3.4a on i386--freebsd2.2.8 FORK
    Jan 15 21:37:35 newmail stunnel[23146]: imapd connected from 24.2.89.207:2772
    Jan 15 21:37:37 newmail stunnel[23146]: Connection closed: 56 bytes sent to SSL, 0 bytes sent to socket

And the IMAP client reports the server disconnected.

Only difference that I can tell is running in background versus
foreground... but why should that change things?

Thanks.
-- 
Crist J. Clark                           cjclark@home.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

----- End forwarded message -----
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000117110748.C62078>