Package Details: modsecurity 3.0.4-1

Git Clone URL: (read-only, click to copy)
Package Base: modsecurity
Description: A cross platform web application firewall engine for Apache, IIS and Nginx
Upstream URL:
Keywords: apache firewall nginx
Licenses: Apache
Provides: modsecurity=3.0.4
Submitter: julbrygd
Maintainer: None
Last Packager: TheGoliath
Votes: 2
Popularity: 0.000000
First Submitted: 2015-10-04 22:31
Last Updated: 2020-05-13 13:04

Latest Comments

1 2 Next › Last »

thorko commented on 2020-09-01 15:12

I'm getting this error when compiling modsecurity

engine/ In member function ‘int modsecurity::engine::Lua::run(modsecurity::Transaction*, const string&)’:
engine/ error: ‘LUA_ERRGCMM’ was not declared in this scope; did you mean ‘LUA_ERRMEM’?
  159 |             case LUA_ERRGCMM:
      |                  ^~~~~~~~~~~
      |                  LUA_ERRMEM
make[3]: *** [Makefile:2789: engine/libmodsecurity_la-lua.lo] Error 1

Any clue why this happens

AlfredoRamos commented on 2018-03-03 21:58

@kewl modsecurity v3 has been for some time in the Arch repositories, use that instead as this package is specifically to install v2.

Unflagged as out-of-date.

AlfredoRamos commented on 2017-08-21 18:10

@Megver83 I don't use any ARM device, so I won't add an architecture I won't test, the user can edit the PKGBUILD.

Megver83 commented on 2017-08-20 03:26

great package, I've uploaded it to Parabola GNU/Linux-libre

It's also for ARMv7h, although ARM pkgs do not appear in the Parabola web, you could put it in the PKGBUILD like I did.

mrvik commented on 2017-07-23 19:35


Thx for the patch, it's full working ;)

AlfredoRamos commented on 2017-07-22 23:28

@mrvik I added a patch that reverses the LUA check order, so the build should check for LUA 5.3 first.

Then you should load instead of in your httpd.conf file

AlfredoRamos commented on 2017-07-21 16:54

No, it should build against Lua 5.3, I'll check it as soon as possible.

mrvik commented on 2017-07-21 12:02


Add lua51 as dep, otherwise apache fails like this:
jul 21 13:30:48 mrvik-pc systemd[1]: Started Apache Web Server.
jul 21 13:30:48 mrvik-pc httpd[820]: httpd: Syntax error on line 124 of /etc/httpd/conf/httpd.conf: Cannot load modules/ into server: cannot open shared object file: No such file or directory
jul 21 13:30:48 mrvik-pc systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
jul 21 13:30:48 mrvik-pc systemd[1]: httpd.service: Unit entered failed state.
jul 21 13:30:48 mrvik-pc systemd[1]: httpd.service: Failed with result 'exit-code'.

AlfredoRamos commented on 2017-02-14 21:00

Package adopted and fixed.

Now the tarball is verified with GPG, so you'll need to add Felipe's signature in order to install or update to the new version.

gpg --recv-keys E6DFB08CE8B11277

neuralfrequency commented on 2016-06-25 08:06

Failed to build with:

msc_lua.c:114:5: error: too many arguments to function 'lua_dump'
lua_dump(L, dump_writer, &dump, 0);

Looks like this is because of the patch file being applied. When I removed the patch from the PKGBUILD, it built successfully so you may want to just remove it.