Help: Extending an add on module

2008-10-28 Thread Christian Klinger
Hi, i try to extend an already existing apache module mod_auth_tkt! mod_auth_tkt reads from a cookie login information and additional user data. The login-information in cookie is a md5 hash. The additional data are in plain text. Now i set the additional data in the cookie as a blowfish

How can i decrypt a cookie in a module

2008-10-28 Thread Christian Klinger
Hello, how can i decrypt a blowfish sigend cookie in an module. I have tried to do this so far: mod_auth_tkt is the module which should decrypt the cookie. I have included openssl/blowfish in the mod_auth_tkt.c #include openssl/blowfish.h I try to get my key config with this command:

Re: Help: Extending an add on module

2008-10-28 Thread Christian Klinger
Nick Kew schrieb: On Tue, 28 Oct 2008 12:08:57 +0100 Christian Klinger [EMAIL PROTECTED] wrote: Cannot load /opt/apache/server/modules/mod_auth_tkt.so into server: /opt/apache/server/modules/mod_auth_tkt.so: undefined symbol: BF_Decrypt See the LoadFile directive. Use it to load

Re: How can i decrypt a cookie in a module

2008-10-28 Thread Christian Klinger
The symbol BF_Decrypt is probably to be found in libcrypto from OpenSSL. When mod_auth_tkt was compiled, it was not linked with that library. So either you need to add -lcrypto to the compile command, or you can alternatively start Apache with the LoadFile directive, which will cause

Re: How can i decrypt a cookie in a module

2008-10-28 Thread Christian Klinger
Am 28.10.2008 um 14:30 schrieb Peter Poeml: On Tue, Oct 28, 2008 at 02:12:26PM +0100, Christian Klinger wrote: The symbol BF_Decrypt is probably to be found in libcrypto from OpenSSL. When mod_auth_tkt was compiled, it was not linked with that library. So either you need to add -lcrypto

mod_xmlrpc_auth

2006-04-18 Thread Christian Klinger
Hello Apache Users, does anyone uses mod_xmlrpc_auth. http://www.feep.net/Apache/mod_xmlrpc_auth/ I run into troubles if i install the module i got the following error. -- linux:/tmp/APT/mod_xmlrpc_auth-0.1 # make gcc -I. -I. -I/usr/local/include

Re: mod_xmlrpc_auth

2006-04-18 Thread Christian Klinger
Graham Dumpleton schrieb: On 18/04/2006, at 9:49 PM, Graham Dumpleton wrote: On 18/04/2006, at 9:41 PM, Christian Klinger wrote: Hello Apache Users, does anyone uses mod_xmlrpc_auth. http://www.feep.net/Apache/mod_xmlrpc_auth/ I run into troubles if i install the module i got

Re: mod_xmlrpc_auth

2006-04-18 Thread Christian Klinger
Christian Klinger schrieb: Graham Dumpleton schrieb: On 18/04/2006, at 9:49 PM, Graham Dumpleton wrote: On 18/04/2006, at 9:41 PM, Christian Klinger wrote: Hello Apache Users, does anyone uses mod_xmlrpc_auth. http://www.feep.net/Apache/mod_xmlrpc_auth/ I run into troubles if i install