728x90
반응형
Apache Evasive Maneuvers Module
APACHE v1.3
-----------
AddModule mod_evasive.c
APACHE v2.0
-----------
LoadModule evasive20_module modules/mod_evasive20.so
APACHE v1.3
-----------
<IfModule mod_evasive.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
</IfModule>
APACHE v2.0
-----------
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
</IfModule>
- DOSPageCount : 같은 페이지( or URI) 요청수 임계값
- DOSSiteCount : 총 요청수 임계값
- DOSPageInterval : 페이지 수 임계값 간격 ( 기본값 1초)
- DOSSiteInterval : 사이트 수 임계값 간격 ( 기본값 1초)
- DOSBlockingPeriod : 차단 기간
Optionally you can also add the following directives:
DOSEmailNotify you@yourdomain.com
DOSSystemCommand "su - someuser -c '/sbin/... %s ...'"
DOSLogDir "/var/lock/mod_evasive"
To whitelist an address (or range) add an entry to the Apache configuration
in the following fashion:
DOSWhitelist 127.0.0.1
DOSWhitelist 127.0.0.*
728x90
반응형
'2022' 카테고리의 다른 글
Amazon RDS for MySQL의 파라미터 구성 모범 사례, 1부: 성능 관련 파라미터 (0) | 2022.08.04 |
---|---|
NHN Cloud LoadBalancer 리스너 방식에 따른 Apache Log 설정 (NAVER Cloud, AWS ELB 참조) (0) | 2022.05.31 |
통신사별 DNS 서버 아이피 주소 ( KT, SK, LG, 구글, 기타) (0) | 2022.03.18 |
끊김없이 네임서버 이전(교체)하기 (0) | 2022.03.18 |
Python Simple HTTP Server (0) | 2022.03.18 |