본문 바로가기

Network28

Apache DOS 보호 모듈 mod_evasive Apache Evasive Maneuvers Module APACHE v1.3 ----------- AddModulemod_evasive.c APACHE v2.0 ----------- LoadModule evasive20_module modules/mod_evasive20.so APACHE v1.3 ----------- DOSHashTableSize 3097 DOSPageCount 2 DOSSiteCount 50 DOSPageInterval 1 DOSSiteInterval 1 DOSBlockingPeriod 10 APACHE v2.0 ----------- DOSHashTableSize 3097 DOSPageCount 2 DOSSiteCount 50 DOSPageInterval 1 DOSSiteInterv.. 2022. 4. 4.
끊김없이 네임서버 이전(교체)하기 1. 서버이전 하루전에 전체 도메인 TTL값을 3600 로 설정 * TTL값 조정후 하루지난 후 TTL값이 3600으로 변경된 것 확인 후 작업 # nslookup > set debug > set querytype=SOA > google.com Server: 164.124.101.2 Address: 164.124.101.2#53 ------------ QUESTIONS: google.com, type = SOA, class = IN ANSWERS: -> google.com origin = ns1.google.com mail addr = dns-admin.google.com serial = 434999160 refresh = 900 retry = 900 expire = 1800 minimum = 60 tt.. 2022. 3. 18.
GeoIP GeoIP 란 MaxMind 에서 제공하는 웹에 접근하는 IP를 국가별로 확인할 수 있는 오픈소스 라이브러리로 이를 이용하여 서버에 접근 하는 IP를 국가별로 제한,허용 할 수 있습니다. 1. GeoIP C Library 설치 GeoIP C Library Source : http://geolite.maxmind.com/download/geoip/api/c/ # tar -xvfz GeoIP-1.4.8.tar.gz# cd GeoIP-1.4.8# ./configure --prefix=/usr/local/GeoIP# make && make install 2. mod_geoip 설치(apache가 DSO 모듈을 지원할 수 있다는 가정하에 설치) mod_geoip (apache 1.x용) : http://geoli.. 2013. 8. 5.
PHP Zend Guard Loader 설치 PHP 가속 모듈인 Zend Optimizer는 PHP-5.2.x 버전까지만 지원되며,PHP-5.3.x 버전부터는 Zend Guard Loader를 설치해야 합니다. Zend Guard Loader의 설치 방법을 알아 보겠습니다. 1. 소스 다운로드 및 압축 해제 아래의 링크에서 소스 다운 (Zend 사이트 로그인 필요) http://www.zend.com/en/products/guard/downloads # tar zxvf ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz 2. php 버전 확인 후 소스 폴더에서 버전에 맞는 모듈 파일을 복사 # /usr/local/php/bin/php -v # cp ZendGuardLoader-php-5.3-linux-glibc.. 2013. 8. 5.