>> Edit article
이름
제목
패스워드
조언 감사합니다. :-) 역시 저는 내공이 한참 부족... 제가 짬뽕한 걸로 access_log와 error_log다 해결되는데, 아주 가끔가다 GET /default.ida? 부분만 쏙 빠지고 X만 줄줄이 있는게 튀어나오는군요?!? : 제일 좋은 방법은 iptables 의 ipt_string 을 사용해서 : 패킷 자체를 원천적으로 막아 버리는 방법이 제일 좋지요 :-) : : iptables -A INPUT -p tcp --tcp-flags ACK ACK --dport 80 -m string : --string "default.ida?" -j REJECT --reject-with tcp-reset : : 과 같이 할수 있습니다. 단 -m string 을 사용하기 위해서는 : iptables 와 커널 컴파일이 필요하죠 ^^; : : ftp://mirror.oops.org 의 UPDATES 에 있는 iptables rpm package 를 : 받으시면 /usr/doc/iptables/README 또는 /usr/share/doc/iptables/README : 를 보시면 설명해 놓았습니다. ^^; 참고록 2.4.9 는 max/min 함수의 변화 : 때문에 제 ftp 의 커널 디렉토리에 있는 oops_patch 에서 ipt_string.patch : 를 받으셔서 패치하셔야 합니다. : : : oops.org에 있는 팁과 여기 올라온 팁을 합해보면... : : : : /etc/httpd/conf/httpd.conf 파일을 편집합니다. : : : : LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined : : LogFormat "%h %l %u %t "%r" %>s %b" common : : LogFormat "%{Referer}i -> %U" referer : : LogFormat "%{User-agent}i" agent : : : : 부분 다음에; : : : : SetEnvIf Request_URI .ida CodeRedII : : SetEnvIf Referer .ida CodeRedII : : : : 추가. : : : : CustomLog /var/log/httpd/access_log combined : : : : 줄에 추가해서; : : : : CustomLog /var/log/httpd/access_log combined env=!CodeRedII : : : : 로 만들고. : : : : # : : # Redirect allows you to tell clients about documents which used to exist in : : # your server's namespace, but do not anymore. This allows you to tell the : : # clients where to look for the relocated document. : : # Format: Redirect old-URI new-URL : : # : : : : 다음에; : : : : Redirect /default.ida http://www.microsoft.com/ : : : : 추가... : : 그리고, : : : : touch /var/www/html/default.ida : : : : 음... 고수들의 조언부탁드립니다. : : : : -- : : ICQ#: 103231199--ICQ#: 103231199
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved