From owner-freebsd-questions Mon Jan 22 22:38:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id B4BA137B401 for ; Mon, 22 Jan 2001 22:38:30 -0800 (PST) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Mon, 22 Jan 2001 22:35:59 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.0) id f0N6bhN37060; Mon, 22 Jan 2001 22:37:43 -0800 (PST) (envelope-from cjc) Date: Mon, 22 Jan 2001 22:37:42 -0800 From: "Crist J. Clark" To: Arcady Genkin Cc: freebsd-questions@FreeBSD.ORG, cjclark@alum.mit.edu Subject: Re: stunnel configuration (-l option) Message-ID: <20010122223742.Q10761@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: <874rys45pu.fsf@tea.thpoon.com> <20010121214404.G10761@rfx-216-196-73-168.users.reflex> <87puhf29zl.fsf@tea.thpoon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <87puhf29zl.fsf@tea.thpoon.com>; from antipode@thpoon.com on Mon, Jan 22, 2001 at 04:48:30AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 22, 2001 at 04:48:30AM -0500, Arcady Genkin wrote: > "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. I do not remember for sure, but I don't think it spawns two new stunnel's per connection. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message