Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 78317 invoked from network); 28 Oct 2008 23:18:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2008 23:18:44 -0000 Received: (qmail 69404 invoked by uid 500); 28 Oct 2008 23:18:49 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 69227 invoked by uid 500); 28 Oct 2008 23:18:48 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 69216 invoked by uid 99); 28 Oct 2008 23:18:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 16:18:48 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.135.220.15] (HELO mx2.suse.de) (195.135.220.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 23:17:30 +0000 Received: from Relay2.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 63A9446439 for ; Wed, 29 Oct 2008 00:17:09 +0100 (CET) Date: Wed, 29 Oct 2008 00:17:09 +0100 From: Peter Poeml To: modules-dev@httpd.apache.org Subject: Re: How can i decrypt a cookie in a module Message-ID: <20081028231708.GL1443@suse.de> Mail-Followup-To: modules-dev@httpd.apache.org References: <20081028124314.GG1443@suse.de> <87ABD590-61CA-4B07-8CEB-AFCFD341B3FA@novareto.de> <20081028133040.GH1443@suse.de> <4DC4E624-4640-44BF-A573-D7F37479D3E0@novareto.de> <20081028124314.GG1443@suse.de> <87ABD590-61CA-4B07-8CEB-AFCFD341B3FA@novareto.de> <20081028133040.GH1443@suse.de> <4DC4E624-4640-44BF-A573-D7F37479D3E0@novareto.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AEwMo+oSrT/VEsTd" Content-Disposition: inline In-Reply-To: <4DC4E624-4640-44BF-A573-D7F37479D3E0@novareto.de> X-Useless-Header: If you read this, say 'honk'! User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Peter Poeml X-Virus-Checked: Checked by ClamAV on apache.org --AEwMo+oSrT/VEsTd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Christian, On Tue, Oct 28, 2008 at 02:45:05PM +0100, Christian Klinger wrote: > now i have the -lssl and -lcrypt in the gcc command but i alwas get =20 > the same error again. With the same error, you mean the same symbol is still missing when you run Apache and use the modules functionality? > make [...] > Libraries have been installed in: > /opt/apache/server/modules [...] The output of your make command looks fine anyway. >=20 > I have added the LoadFile with all possibilitys of libcrypto Just to not be misunderstood: You need only one of the two means - either linking to all needed libraries, and letting the runtime linker do the work -- or use the LoadFile directive to take care. > I=B4ve included all versions of the libcrypto lib. >=20 > LoadFile /usr/lib/libcrypto.so.0.9.8 > LoadFile /usr/lib/libcrypto.so.0.9.7 > LoadFile /usr/lib/libcrypto Btw, doing this with different version of a library is maybe not a good idea, because their symbols could clash. > but with no success.... >=20 > Any Ideas left.... >=20 > Christian On Tue, Oct 28, 2008 at 03:40:12PM +0100, Christian Klinger wrote: > Hi again, >=20 > ldd mod_auth_tkt.so > linux-gate.so.1 =3D> (0xffffe000) > libssl.so.0.9.8 =3D> /usr/lib/libssl.so.0.9.8 (0xb7f6f000) > libcrypto.so.0.9.8 =3D> /usr/lib/libcrypto.so.0.9.8 (0xb7e29000) > libc.so.6 =3D> /lib/libc.so.6 (0xb7cf6000) > libdl.so.2 =3D> /lib/libdl.so.2 (0xb7cf2000) > libz.so.1 =3D> /lib/libz.so.1 (0xb7cde000) > /lib/ld-linux.so.2 (0x80000000) >=20 > is this ok? Or do I need something special for blowfish.h? You could check if your libcrypto actually contains the symbol you were missing -- after all it might be possible that your OpenSSL is compiled without blowfish support? Does strings /usr/lib/libcrypto.so.0.9.8 | grep BF_Decrypt print something? If all else fails, check if you have some kind of mess from previous build attempts which causes Apache to load other objects than you might think. lsof -p $pid_of_parent_apache_proxy can be a valuable tool to double check. Peter --=20 Contact: admin@opensuse.org (a.k.a. ftpadmin@suse.com) #opensuse-mirrors on freenode.net Info: http://en.opensuse.org/Mirror_Infrastructure =20 SUSE LINUX Products GmbH Research & Development --AEwMo+oSrT/VEsTd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFJB51092K4Je+2lOoRAtRRAJ40QejKIuev9/EHrE98E2q0G3rhXQCcCNZE /hOXi+yHS/ZuQzcHBvNeYG4= =DjTf -----END PGP SIGNATURE----- --AEwMo+oSrT/VEsTd--