Welcome! Log In Create A New Profile

Advanced

Re: Сборка 1.21.7 с модулем naxsi

May 30, 2022 07:02PM
Sergey Kandaurov Wrote:
> > Поиском попадалось, что это возможно из-за более раннего включения
> системных
> > заголовков, чем заголовки nginx
> > Но тут вроде все безопасно
> >
>
> Объяснение здесь:
> https://trac.nginx.org/nginx/ticket/2312#comment:4
> http://nginx.org/en/docs/dev/development_guide.html#include_files
>
> > В самом naxsi.h
> > #include "ext/libinjection/libinjection_sqli.h"
> > #include "ext/libinjection/libinjection_xss.h"
> > #include <ctype.h>
> > #include <nginx.h>
> > #include <ngx_config.h>
> > #include <ngx_core.h>
> > #include <ngx_event.h> <--- Вот тут и ломается
> > ...

Да, спасибо, именно это я и читал
И, естественно, менял порядок (выносил первые 3 вниз), не помогало
И в самом ../naxsi/naxsi_src/naxsi_runtime.c первым стоит #include "assert.h", его я тоже переносил и тоже не помогало

Но вот объединить оба действия как-то не догадался :-)
Еще раз спасибо
Subject Author Posted

Сборка 1.21.7 с модулем naxsi

oradba25 May 30, 2022 02:17AM

Re: Сборка 1.21.7 с модулем naxsi

Илья Шипицин May 30, 2022 05:20AM

Re: Сборка 1.21.7 с модулем naxsi

Sergey Kandaurov May 30, 2022 06:26AM

Re: Сборка 1.21.7 с модулем naxsi

oradba25 May 30, 2022 07:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
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