From owner-freebsd-mozilla Mon Jan 15 15:10:20 2001 Delivered-To: freebsd-mozilla@freebsd.org Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by hub.freebsd.org (Postfix) with ESMTP id 803C037B6AC; Mon, 15 Jan 2001 15:10:01 -0800 (PST) Received: from medusa.kfu.com (medusa.kfu.com [205.178.90.222]) by quack.kfu.com (8.11.1/8.11.1) with ESMTP id f0FNA0718127; Mon, 15 Jan 2001 15:10:00 -0800 (PST) (envelope-from nsayer@medusa.kfu.com) Received: (from nsayer@localhost) by medusa.kfu.com (8.11.1/8.11.0) id f0FNA0o15077; Mon, 15 Jan 2001 15:10:00 -0800 (PST) (envelope-from nsayer) Date: Mon, 15 Jan 2001 15:10:00 -0800 (PST) From: Nick Sayer Message-Id: <200101152310.f0FNA0o15077@medusa.kfu.com> To: freebsd-mozilla@freebsd.org, freebsd-ports@freebsd.org Subject: mozilla 0.7 + PSM Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I believe I may have found out why the psm doesn't work on the mozilla port. This isn't a fix, by any means, but it may help those more familiar with mozilla and the PSM to fix the problem. In security/psm/server/servutil.c in SSM_OpenPort(), this section of code consistently fails: /* Bind to PSM port on loopback address: connections from non-localhosts * will be disallowed */ status = PR_InitializeNetAddr(PR_IpAddrLoopback, 0, &servaddr); if (status != PR_SUCCESS) goto loser; status = PR_Bind(datasocket, &servaddr); if (status != PR_SUCCESS) goto loser; if I #if 0 this section of code, the psm build appears to work and result in a fully functional PSM. I don't recommend that anyone actually _do_ this, however, since it doesn't result in the mini http daemon's port being restricted to localhost. The ramifications of this are unknown to me. But maybe someone smarter than me can figure out what's wrong with these two routines. Good luck. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message