Welcome! Log In Create A New Profile

Advanced

Re: nginx Segmentation fault

Andrei Belov
June 04, 2014 11:14AM
Hi,

there is a lot of open issues with ModSecurity and nginx:
https://github.com/SpiderLabs/ModSecurity/issues?labels=Platform+-+Nginx&state=open

Some of them have been already fixed in nginx_refactoring branch:
https://github.com/SpiderLabs/ModSecurity/tree/nginx_refactoring

I spent some time experimenting with this branch locally,
and added a number of improvements to the code:
https://github.com/defanator/ModSecurity/tree/nginx_refactoring

A number of patches were already imported into SpiderLabs/nginx_refactoring
repository, others are under review and testing.

Please feel free to try - any feedback will be greatly appreciated!

Cheers,


Andrei Belov
http://nginx.com/


On 04 Jun 2014, at 17:17, Godinho <nginx-forum@nginx.us> wrote:

> I needed to use modsecurity so I compiled nginx and modsecurity.
>
> Modsecurity was compiled with options: ./configure
> --enable-standalone-module
>
> nginx with: ./configure
> --add-module=../modsecurity-2.8.0/nginx/modsecurity/
>
> When I try to test my configuration I have this:
>
> [root@nginx1 nginx]# /usr/local/nginx/sbin/nginx -t
> Segmentation fault
>
> from message logs:
> Jun 4 13:57:43 nginx1 kernel: nginx[12229]: segfault at 410 ip
> 00007f9088569a32 sp 00007fffc90ccf58 error 4 in
> libc-2.12.so[7f90884e0000+18b000]
> Jun 4 13:57:44 nginx1 kernel: nginx[12230]: segfault at 410 ip
> 00007f6626c93a32 sp 00007fff4fdd7cf8 error 4 in
> libc-2.12.so[7f6626c0a000+18b000]
>
> Update: it seams it a modsecurity problem, copiled without it (./configure
> --with-http_ssl_module) work just fine...
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250629,250629#msg-250629
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx Segmentation fault

Godinho June 04, 2014 09:17AM

Re: nginx Segmentation fault

x64architecture June 04, 2014 09:28AM

Re: nginx Segmentation fault

Robert Paprocki June 04, 2014 11:02AM

Re: nginx Segmentation fault

kyprizel June 04, 2014 11:06AM

Re: nginx Segmentation fault

Andrei Belov June 04, 2014 11:14AM

Re: nginx Segmentation fault

kyprizel June 04, 2014 12:00PM

Re: nginx Segmentation fault

Andrei Belov June 04, 2014 12:16PM

Re: nginx Segmentation fault

kyprizel June 05, 2014 05:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready