From owner-freebsd-questions Sun Jun 30 2: 0:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 425A837B400 for ; Sun, 30 Jun 2002 02:00:11 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C286D43E09 for ; Sun, 30 Jun 2002 02:00:09 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.4/8.12.4) with ESMTP id g5U907tD039208; Sun, 30 Jun 2002 10:00:07 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.4/8.12.4/Submit) id g5U902Fb039207; Sun, 30 Jun 2002 10:00:02 +0100 (BST) Date: Sun, 30 Jun 2002 10:00:02 +0100 From: Matthew Seaman To: Darren Pilgrim Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Why does PrivSep+Compression work in openssh 3.3p1, but not 3.4p1? Message-ID: <20020630090002.GA39130@happy-idiot-talk.infracaninophi> References: <3D1E62DC.F7EA30FF@pantherdragon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D1E62DC.F7EA30FF@pantherdragon.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jun 29, 2002 at 06:46:04PM -0700, Darren Pilgrim wrote: > When I upgraded openssh to v3.3p1 using the openssh-portable port, I > was able to use PrivelegeSeperation and Compression together without > problems (verified by negotiating zlib compression, logging in, and > using ps to see the chrooted subdaemon). But when I upgraded to > v3.4p1, I could no longer use them together. Does anyone know the > reason for this loss of functionality? There was a flaw in the configure script for OpenSSH portable that caused it to fail to detect that FreeBSD had perfectly competent support for the mmap(2) call. You need this patch: --- configure.old Wed Jun 26 22:57:33 2002 +++ configure Wed Jun 26 22:53:31 2002 @@ -6541,6 +6541,7 @@ #include "confdefs.h" #include +#include #include #if !defined(MAP_ANON) && defined(MAP_ANONYMOUS) #define MAP_ANON MAP_ANONYMOUS or just recvsup your ports tree and update to openssh-portable-3.4p1_1 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message