Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75955 - [nginx-mod-naxsi] nginx-mod-naxsi causes nginx not to start

Attached to Project: Community Packages
Opened by Deon Spengler (deons) - Tuesday, 20 September 2022, 07:41 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Wednesday, 21 September 2022, 15:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

With nginx-mod-naxsi(1.3-6) installed and configured for nginx(1.22.0-2), it wont start and gives the following error.

nginx [emerg] Naxsi-Config: Incorrect line MainRule rx:select|union|update|delete|insert|table|from|ascii|hex|unhex|drop|load_file|substr|group_concat|dumpfile (../naxsi-1.3/naxsi_src/naxsi_skeleton.c/891)... in /etc/nginx/naxsi_core.rules:23

Here is the link to the bug upstream
https://github.com/nbs-system/naxsi/issues/593

The bug was solved with https://github.com/wargio/naxsi/commit/9e06c5f53b2e393e40e9df7746a7b8bc4c2abfa4
but this commit did far more than just resolving the bug, so I have created a patch based on that commit that only deals with the bug.

I have attached the patch that I use in the event that it might be useful.
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Wednesday, 21 September 2022, 15:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  nginx-mod-naxsi-1.3-7

Loading...