Welcome! Log In Create A New Profile

Advanced

Re: NAXSI directive for fixing this error

November 09, 2015 05:41AM
Hello.

2015-11-07 20:42 GMT+09:00 Anoop Alias <anoopalias01@gmail.com>:
> #####################
> nginx: [emerg] could not build the wlr_url_hash, you should increase
> wlr_url_hash_bucket_size: 512
> nginx: [emerg] $URL hashtable init failed in /etc/nginx/nginx.conf:87
> nginx: [emerg] WhiteList Hash building failed in /etc/nginx/nginx.conf:87
> nginx: configuration file /etc/nginx/nginx.conf test failed
> #######################
>
> Cant seem to find the directive to increase this wlr_url_hash_bucket_size .

Maybe wlr_url_hash_bucket_size is not a directive but the size of a hash table named wlr_url_hash and implemented on naxsi.


refs -> http://hg.nginx.org/nginx/file/tip/src/core/ngx_hash.c#l273


As far as seen the source code, the bucket size of wlr_url_hash is hard-coded as 512.

https://github.com/nbs-system/naxsi/blob/master/naxsi_src/naxsi_utils.c#L569-#L573
https://github.com/nbs-system/naxsi/blob/master/naxsi_src/naxsi_utils.c#L591-#L598

Why don't you try increase this?
Subject Author Posted

NAXSI directive for fixing this error

Anoop Alias November 07, 2015 06:44AM

Re: NAXSI directive for fixing this error

cubicdaiya November 09, 2015 05:41AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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