-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
2.xRelated to ModSecurity version 2.xRelated to ModSecurity version 2.xPlatform - Apacheworkaround availableThe issue has either a temporary or permanent workaround availableThe issue has either a temporary or permanent workaround available
Milestone
Description
[:notice] ModSecurity: APR compiled version="1.6.3"; loaded version="1.6.5"
[:warn] ModSecurity: Loaded APR do not match with compiled!
cat /var/log/apache2/error.log | grep ModSecurity
[Mon Jul 29 00:00:52.932188 2019] [:notice] [pid 32144] ModSecurity for Apache/2.9.3 (http://www.modsecurity.org/) configured.
[Mon Jul 29 00:00:52.932290 2019] [:notice] [pid 32144] ModSecurity: APR compiled version="1.6.3"; loaded version="1.6.5"
[Mon Jul 29 00:00:52.932296 2019] [:warn] [pid 32144] ModSecurity: Loaded APR do not match with compiled!
[Mon Jul 29 00:00:52.932309 2019] [:notice] [pid 32144] ModSecurity: PCRE compiled version="8.39 "; loaded version="8.39 2016-06-14"
[Mon Jul 29 00:00:52.932313 2019] [:notice] [pid 32144] ModSecurity: LUA compiled version="Lua 5.1"
[Mon Jul 29 00:00:52.932315 2019] [:notice] [pid 32144] ModSecurity: YAJL compiled version="2.1.0"
[Mon Jul 29 00:00:52.932318 2019] [:notice] [pid 32144] ModSecurity: LIBXML compiled version="2.9.4"
[Mon Jul 29 00:00:52.932321 2019] [:notice] [pid 32144] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Mon Jul 29 00:07:16.639181 2019] [:notice] [pid 32704] ModSecurity for Apache/2.9.3 (http://www.modsecurity.org/) configured.
[Mon Jul 29 00:07:16.639373 2019] [:notice] [pid 32704] ModSecurity: APR compiled version="1.6.3"; loaded version="1.6.5"
[Mon Jul 29 00:07:16.639381 2019] [:warn] [pid 32704] ModSecurity: Loaded APR do not match with compiled!
[Mon Jul 29 00:07:16.639383 2019] [:notice] [pid 32704] ModSecurity: PCRE compiled version="8.39 "; loaded version="8.39 2016-06-14"
[Mon Jul 29 00:07:16.639385 2019] [:notice] [pid 32704] ModSecurity: LUA compiled version="Lua 5.1"
[Mon Jul 29 00:07:16.639387 2019] [:notice] [pid 32704] ModSecurity: YAJL compiled version="2.1.0"
[Mon Jul 29 00:07:16.639388 2019] [:notice] [pid 32704] ModSecurity: LIBXML compiled version="2.9.4"
[Mon Jul 29 00:07:16.639430 2019] [:notice] [pid 32704] ModSecurity: StatusEngine call: "2.9.3,Apache/2.4.38,1.6.3/1.6.5,8.39/8.39 2016-06-14,Lua 5.1,2.9.4,46"
[Mon Jul 29 00:07:18.225043 2019] [:notice] [pid 32704] ModSecurity: StatusEngine call successfully sent. For more information visit: http://status.modsecurity.org/
I use Debian Stretch
deb http://debian.proxad.net/debian/ stretch main non-free contrib
deb http://deb.debian.org/debian/ sid main contrib non-free
deb http://deb.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free
deb http://deb.debian.org/debian/ buster main non-free contrib
deb-src http://deb.debian.org/debian/ buster main non-free contrib
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
# Installer le module mod_security :
sudo apt install libapache2-modsecurity
Paquets recommandés :
modsecurity-crs
Les NOUVEAUX paquets suivants seront installés :
libapache2-mod-security2 libapache2-modsecurity liblua5.1-0 libyajl2
# Vérifier que mod_security soit bien chargé par Apache2 :
sudo apachectl -M | grep --color sec
# Le module a été chargé ( OK )
# security2_module (shared)
sudo cp /etc/modsecurity/modsecurity.conf{-recommended,}
# Redémarrer Apache :
sudo systemctl restart apache2
Metadata
Metadata
Assignees
Labels
2.xRelated to ModSecurity version 2.xRelated to ModSecurity version 2.xPlatform - Apacheworkaround availableThe issue has either a temporary or permanent workaround availableThe issue has either a temporary or permanent workaround available