Thai Duong wrote:
> Hello all,
> I had successfully chrooted my Apache 2 with mod_security, it run very
> smoothly until I installed phpldapadmin (http://www.phpldapadmin.com,
> a free LADP administrator's tool).
>
> When I tried to login into phpldapadmin, it didnt response anything,
> and when I looked at the error_log of httpd, it was something like
> below:
>
> [Mon Jan 10 18:53:23 2005] [notice] child pid 19339 exit signal
> Segmentation fault (11)
It's unlikely the crash has anything to do with modsecurity. It's
probably that phpldapadmin expects a file or device to always be
there and segfaults because the file is not available in the jail
(and there's no code to handle that eventuality).
You can probably find what file is causing the problems if you
strace the process as it crashes. When you do that you'll be able
to copy the file into jail to solve the problem.
I couldn't see from the web site whether phpldapadmin requires
some PHP extension to work with LDAP. Does it? If it does it's
probably the fault of the extension or the LDAP libraries it uses.
It's unlikely that a web-only application can cause a crash.
--
Ivan Ristic (http://www.modsecurity.org)
|