From owner-freebsd-questions Mon Jan 22 1:48:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.thpoon.com (cr103675-a.bloor1.on.wave.home.com [24.42.106.79]) by hub.freebsd.org (Postfix) with SMTP id C091137B400 for ; Mon, 22 Jan 2001 01:48:32 -0800 (PST) Received: (qmail 185 invoked from network); 22 Jan 2001 09:48:31 -0000 Received: from unknown (HELO tea.thpoon.com) (mail@192.168.1.2) by cr103675-a.bloor1.on.wave.home.com with SMTP; 22 Jan 2001 09:48:31 -0000 Received: from antipode by tea.thpoon.com with local (Exim 3.12 #1 (Debian)) id 14KdaQ-0005BU-00; Mon, 22 Jan 2001 04:48:30 -0500 To: freebsd-questions@FreeBSD.ORG, cjclark@alum.mit.edu Subject: Re: stunnel configuration (-l option) References: <874rys45pu.fsf@tea.thpoon.com> <20010121214404.G10761@rfx-216-196-73-168.users.reflex> From: Arcady Genkin X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: thpoon.com Mail-Copies-To: never Date: 22 Jan 2001 04:48:30 -0500 In-Reply-To: <20010121214404.G10761@rfx-216-196-73-168.users.reflex> Message-ID: <87puhf29zl.fsf@tea.thpoon.com> Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Crist J. Clark" writes: > # stunnel -d 993 -l /usr/local/libexec/imapd -- imapd > > Doesn't work? Once someone connects, a separate stunnel should fork > leaving the listener bound on 993/tcp. Shouldn't I be seeing one extra child of stunnel per every imapd process? If I understand correctly, there should be one parent stunnel, spawning two children for each connection: one more stunnel to do the decryptiong magic, and one to exec the actual server to pipe the decrypted stream to. Am I right? Now I only see one stunnel process in "ps aux", and one imapd process. But I think that already this should be two stunnels and one imapd. -- Arcady Genkin Don't read everything you believe. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message