Skip to content

Commit

Permalink
mod_evasive config correction
Browse files Browse the repository at this point in the history
  • Loading branch information
ctot-nondef committed Feb 7, 2024
1 parent 8df9a31 commit 3a370bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions local/config/vufind/httpd-vufind.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ AliasMatch ^/resources/themes/([0-9a-zA-Z-_]*)/js/(.*)$ /usr/local/vufind/themes
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10 ## Dauer der Blockade der einzelnen IP-Addresse in Sekunden
DOSBlockingPeriod 10
#DOSSystemCommand "echo +%s > /proc/net/xt_recent/badguys" oder "su root -c '/sbin/iptables -A INPUT -s %s -j DROP'" ## Befehl an das System -> %s ist die SourceIP des Angreifers
DOSLogDir "/var/log/mod_evasive" ## Log-Verzeichnis
DOSLogDir "/var/log/mod_evasive"
#DOSEmailNotify root@localhost ## E-Mail-Adresse für Benachrichtigungen
DOSWhitelist 127.0.0.1 ## Lokale Anfragen zulassen. Hier kann man auch einzelne IP-Adressen ausschließen.
DOSWhitelist 127.0.0.1
</ifmodule>

<Directory ~ "^/usr/local/vufind/themes/([0-9a-zA-Z-_]*)/(css|images|js)/">
Expand Down

0 comments on commit 3a370bf

Please sign in to comment.