Package Details: libmodsecurity-git v3.0.14.r191.gc3e31de-2

Git Clone URL: https://aur.archlinux.org/libmodsecurity-git.git (read-only, click to copy)
Package Base: libmodsecurity-git
Description: A cross platform web application firewall engine for Apache, IIS and Nginx, git HEAD
Upstream URL: https://github.com/SpiderLabs/ModSecurity
Licenses: Apache-2.0
Provides: libmodsecurity
Submitter: marcool04
Maintainer: marcool04
Last Packager: marcool04
Votes: 4
Popularity: 0.000000
First Submitted: 2023-12-06 07:28 (UTC)
Last Updated: 2026-03-10 14:12 (UTC)

Latest Comments

1 2 Next › Last »

marcool04 commented on 2026-03-10 12:04 (UTC)

Thanks @Strykar for the comment. I must admit I hadn't been maintaining this at all since I use apache mostly, and for apache the libmodsecurity v3 connector is not ready yet, it's only recommended for nginx [1].

But I've tried to get this cleaned up and running. I'll also add a note here and in an .install file that this requires pairing with modsecurity-nginx to work. Let me know if you have any issues.

[1] https://github.com/owasp-modsecurity/ModSecurity-apache/issues/89

Strykar commented on 2026-03-10 10:16 (UTC) (edited on 2026-03-10 10:16 (UTC) by Strykar)

Patch needs updating:

Submodule path 'test/test-cases/secrules-language-tests': checked out 'a3d4405e5a2c90488c387e589c5534974575e35b' patching file src/modsecurity.cc patching file src/request_body_processor/xml.h Hunk #1 FAILED at 16. 1 out of 1 hunk FAILED -- saving rejects to file src/request_body_processor/xml.h.rej ==> ERROR: A failure occurred in prepare(). Aborting...

thorko commented on 2022-06-24 20:43 (UTC)

This means the sha256sums didn't match one of the source files. Download the source files and do a sha256sum on them to check it.

Cvar1984 commented on 2022-06-24 05:48 (UTC)

im getting this error

==> Making package: modsecurity 3.0.7-1 (Jum 24 Jun 2022 12:47:47 )
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading modsecurity-v3.0.7.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 3255k  100 3255k    0     0  2757k      0  0:00:01  0:00:01 --:--:-- 2757k
  -> Downloading modsecurity-v3.0.7.tar.gz.asc...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   833  100   833    0     0    856      0 --:--:-- --:--:-- --:--:--   856
==> Validating source files with sha256sums...
    modsecurity-v3.0.7.tar.gz ... FAILED
    modsecurity-v3.0.7.tar.gz.asc ... Skipped
==> ERROR: One or more files did not pass the validity check!

thorko commented on 2020-09-01 15:12 (UTC)

I'm getting this error when compiling modsecurity

engine/lua.cc: In member function ‘int modsecurity::engine::Lua::run(modsecurity::Transaction*, const string&)’:
engine/lua.cc:159:18: 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 (UTC)

@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 (UTC)

@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 (UTC)

great package, I've uploaded it to Parabola GNU/Linux-libre https://www.parabola.nu/packages/?q=modsecurity 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. https://git.parabola.nu/abslibre.git/tree/pcr/modsecurity/PKGBUILD#n9

mrvik commented on 2017-07-23 19:35 (UTC)

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