an error occurred while parsing Rule ID 31 (tag)

gnusys

Active member
I am getting the following error

# nginx -t
nginx: [error] Nemesida WAF: an error occurred while parsing Rule ID 31 (tag) in /etc/nginx/nwaf/conf/global/nwaf.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed

nginx -V
nginx version: nginx/1.23.3

# rpm -qa|grep nwaf
nwaf-dyn-1.23-5.1-2014.x86_64

The error go away if I comment out

nwaf_rules /etc/nginx/nwaf/rules.bin;

There is no error in a older version of the module and nginx
 
Hello!

Please, send us the following information:
1. OS Version;
2. Nginx was installed from the official repository or a custom build;
3. If a custom build, then with what parameters was it performed;
4. What version did you update from?
 
# strings /etc/nginx/modules/ngx_http_waf_module.so |grep "an error occurred while parsing Rule ID"
Nemesida WAF: an error occurred while parsing Rule ID %d
Nemesida WAF: an error occurred while parsing Rule ID %d (tag)
Nemesida WAF: an error occurred while parsing Rule ID %d (zone)

check with developer what tag is
 
Please specify the OS on which you installed Nginx and the nwaf-dyn package?
 
It was not letting me paste here as it was throwing a 403 error which is why I posted in the paste code links above

The OS is Almalinux8 with customBuild Nginx 1.23.3 and nwaf-dyn 1.23-5.1-2014
 
At the moment, we see that your custom build of Nginx does not support the required version of PCRE. In this case, we can recommended installing Nginx from the official repository or adding keys with PCRE2 support when compiling your custom Nginx build.
 
Back
Top