You cannot see this page without javascript.

Apache httpd mod_evasive compile

Linux 조회 수 245 추천 수 0 2016.08.22 16:00:08

cd /usr/src

git clone https://github.com/shivaas/mod_evasive

cd mod_evasive

$APACHE_ROOT/bin/apxs -i -a -c mod_evasive24.c

 

아파치 환경설정에 모듈 추가 확인

LoadModule evasive20_module   modules/mod_evasive24.so

 

아파치 환경설정에 추가

<IfModule evasive24_module>
DOSHashTableSize 3097
DOSPageCount 3
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
DOSEmailNotify knightsd@tocup.net
DOSLogDir "/apm/server/apache/httpd/logs/mod_evasive.log"
#DOSSystemCommand "su - someuser -c '/sbin/... %s ...'"
</IfModule>

 

아파치 재시작

엮인글 :
List of Articles
번호 제목 글쓴이 날짜 조회 수sort

XE Login