Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2000 22:08:21 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        stunnel-users@mike.daewoo.com.pl, freebsd-questions@FreeBSD.ORG (FreeBSD Questions)
Subject:   stunnel Works in Foreground, Not in BG
Message-ID:  <200001160308.WAA53820@cc942873-a.ewndsr1.nj.home.com>

next in thread | raw e-mail | index | archive | help
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




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