Fakten zu ModSecurityDefinition
Verarbeitungsphasen
Grundkonfiguration für ModSecurity
SecRuleEngine On
SecAuditEngine On
SecAuditLogType Serial
SecAuditLog logs/audit.log
SecAuditLogParts ABCFHZ
SecDebugLog logs/debug.log
SecDebugLogLevel 5
SecRule REQUEST_URI "/etc/passwd"
SecDefaultAction phase:2,log,auditlog,deny,status:403
Argumente von [SecAuditLogParts]
Geo IP verhindert Zugriffe auds manchen RegionenLoadModule geoip_module modules/mod_geoip.so LoadModule security_module modules/mod_security2.so GeoIPEnable On GeoIPDBFile /usr/tmp/GeoLiteCity.dat SecRuleEngine On SecGeoLookupDb /usr/tmp/GeoLiteCity.dat SecRule REMOTE_ADDR "@geoLookup" "chain,drop,msg:'Verbindungsversuch aus .CN!'" SecRule GEO:COUNTRY_CODE "@streq CN" "t:none" Weitere Informationen zu ModSecurity
|
Bookmarks
Ist die Seite nützlich? Dann bitte weiterempfehlen! Seiteninhalt
Bereichsinhalt
|
Stichwörter:
Kommentar hinzufügen