From owner-freebsd-security Mon Jan 17 8: 3:19 2000 Delivered-To: freebsd-security@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 621C614EC1 for ; Mon, 17 Jan 2000 08:03:12 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id LAA62360 for freebsd-security@freebsd.org; Mon, 17 Jan 2000 11:07:48 -0500 (EST) (envelope-from cjc) Date: Mon, 17 Jan 2000 11:07:48 -0500 From: "Crist J. Clark" 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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" ----- From: "Crist J. Clark" 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