code.fastix.org

Dateiansicht:

Datei:Projekte -> Apache,mod_evasive,iptables:Helfer-Skripte zum (zeitweisen) Blockieren von IP-Adressen -> evasive.conf.example
md5:2d2a77c80ce8ee3d6806c8f306202753
sha1:3e1e519387197490967caca6fcb4daf1d996d027
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/local/sbin/fwblock4time %s 10"
  12.     DOSLogDir           "/tmp"
  13.    
  14.     #DOSWhitelist               127.*
  15.     #DOSWhitelist               192.168.0.*
  16. </IfModule>
  17.