From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 19:35:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABAB5106568C for ; Wed, 15 Oct 2008 19:35:44 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id 549D68FC28 for ; Wed, 15 Oct 2008 19:35:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA08.westchester.pa.mail.comcast.net with comcast id T1PY1a0031HzFnQ587bdRV; Wed, 15 Oct 2008 19:35:37 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id T7bi1a0022P6wsM3a7biSY; Wed, 15 Oct 2008 19:35:43 +0000 X-Authority-Analysis: v=1.0 c=1 a=ar0thLs_cGMA:10 a=5p311MEep0gA:10 a=QycZ5dHgAAAA:8 a=s-ObfbHkE7I-GYRtqfAA:9 a=3QxFxuF13VG_Y1ZY2NwA:7 a=DXqVu2W4kkcpaseGhnGBDAOMkWcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id E9E81C9419; Wed, 15 Oct 2008 12:35:41 -0700 (PDT) Date: Wed, 15 Oct 2008 12:35:41 -0700 From: Jeremy Chadwick To: Matthew Seaman Message-ID: <20081015193541.GA85764@icarus.home.lan> References: <48F62774.2060609@k18.ch> <20081015185509.GB84864@icarus.home.lan> <48F643D1.3020500@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F643D1.3020500@infracaninophile.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Alain Wolf , freebsd-questions@freebsd.org Subject: Re: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 19:35:44 -0000 On Wed, Oct 15, 2008 at 08:26:09PM +0100, Matthew Seaman wrote: > Jeremy Chadwick wrote: > >> Suhosin is not an extension you load in extensions.ini; it's a patch >> applied to the core of PHP. > > % grep suhosin /usr/local/etc/php/extensions.ini > extension=suhosin.so > > It's both a set of patches to the PHP core, and a loadable module. > > Cheers, > > Matthew Are you sure? # find /usr/local/lib/php -name "*suhosin*" -ls # # grep -i suhosin /var/db/ports/php5/options WITH_SUHOSIN=true # grep -i suhosin /usr/local/etc/php/extensions.ini # # pkg_version -v | grep php5 php5-5.2.6_2 = up-to-date with port php5-extensions-1.1 = up-to-date with port php5-mysql-5.2.6_2 = up-to-date with port php5-pcre-5.2.6_2 = up-to-date with port php5-simplexml-5.2.6_2 = up-to-date with port # grep -i php5 /usr/local/etc/apache22/httpd.conf LoadModule php5_module libexec/apache22/libphp5.so # php -i | grep -i suhosin This server is protected with the Suhosin Patch 0.9.6.2 suhosin.log.phpscript => 0 => 0 suhosin.log.phpscript.is_safe => Off => Off suhosin.log.phpscript.name => no value => no value suhosin.log.sapi => no value => no value suhosin.log.script => no value => no value suhosin.log.script.name => no value => no value suhosin.log.syslog => no value => no value suhosin.log.syslog.facility => no value => no value suhosin.log.syslog.priority => no value => no value suhosin.log.use-x-forwarded-for => Off => Off :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |