code.fastix.org

Dateiansicht:

Datei:Projekte -> Apache,mod_evasive,iptables:Helfer-Skripte zum (zeitweisen) Blockieren von IP-Adressen -> evasive.conf.example
md5:cdf61dd9361c5e89f66811935f6ddcd7
sha1:f8fd7063a9c39980e4f054937c45f177e602cb9b
Download-Link:Download
  1. ## Example for file: /etc/apache2/mods-available/evasive.conf
  2. <IfModule mod_evasive20.c>
  3.     DOSHashTableSize    3097
  4.     DOSPageCount        2
  5.     DOSSiteCount        50
  6.     DOSPageInterval     1
  7.     DOSSiteInterval     1
  8.     DOSBlockingPeriod   600
  9.  
  10.     #DOSEmailNotify     mail@example.com
  11.     DOSSystemCommand    "sudo /usr/sbin/fwblock4time %s 10"
  12.     DOSLogDir           "/tmp"
  13.    
  14.     #DOSWhitelist               127.0.0.*
  15.     #DOSWhitelist               192.168.0.*
  16. </IfModule>
  17.