Category Archives: Development

톰켓 가상호스트

  톰캣에서 하나의 IP로 여러개의 웹사이트를 운영하는 방법은 2가지가 있다. 1. 가상 호스트(Virtual Host)를 이용하는 방법 설치 환경은 다음과 같다. * O/S : Windows XP * Tomcat 6.0.10 설명의 편의를 위해 톰캣의 설치 디렉토리는 ‘TOMCAT_HOME’ 으로 표기할 것이다. 참고로 내 … Continue reading

Posted in WEB/WAS | Tagged , , | Leave a comment

svn:ignore

  1.2.3.3. svn:ignore svn:ignore 속성은 어떤 종류의 Subversion 조작이 무시한다 파일 패턴의 리스트를 포함하고 있습니다. 아마 가장 자주(잘) 이용된다 특수 속성으로, global-ignores 실행시 설정 옵션과 함께 이용됩니다.. 그것을 사용해, 버전화되어 있지 않은 파일과 디렉토리를 svn status와 같은 커멘드의 대상으로부터 제외합니다. … Continue reading

Posted in SCM/ITS | Tagged , , | Leave a comment

Sendmail 에러 코드 표

  R.Code S.Code Explain Comment 553 5.1.3 Syntax illegal for recipient addresses Special case error msg. User Address required @speedup.amail.co.kr Hostname required Speedupamail.co.kr@ Colon illegal in host name part Speedup@amail:co.kr Invalid route address Speedup@amail@amail.co.kr Invalid route address Speedup@amail~co.kr 5.1.2 Invalid … Continue reading

Posted in System | Tagged , , | Leave a comment

NOQUEUE: [xxx.xxx.xxx.xxx] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

  로그내용 : Jul 5 15:53:46 www sendmail[25566]: NOQUEUE: [xxx.xxx.xxx.xxx] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA 로그분석 : connection은 이루어 졌으나 아무런 data 전송이 발생하지 않을 경우 남는 메세지로, 접속후 패킷이 다운 되었다는 내용임. (가장 많이 보는 센드메일 … Continue reading

Posted in System | Tagged , | Leave a comment

로그분석 및 사이트 통계

  많은 관리자들이 로그분석및 사이트 통계를 위한 많은 분석툴이 있읍니다. 물론 그러한 툴을 이용한 방법으로 사이트및 시스템을 쳬계적이고 효율적으로 분석있습니다. 그런데 APACHE LOG 파일을 보면 access_log 파일과 error_log파일이 있읍니다. 이중에서 acess_log파일을 가지고 간단한 카운터를 하는 방법을 적고자 합니다. 물론 한곳에서 … Continue reading

Posted in System, WEB/WAS | Tagged , , , , , | Leave a comment

SSH-brute-force

  Notice : 해당 자료가 저작권등에 의해서 문제가 있다면 바로 삭제하겠습니다. 연구목적으로 사용하지 않고 악의적인 목적으로 이용할 경우 발생할 수 있는 법적은 책임은 모두 본인에게 있습니다. SSH Brute-force 공격 분석 최근 들어서 리눅스 서버의 secure 로그나 Abuse 메일들을 확인해 보면 … Continue reading

Posted in C/C++, Security/Hacking, Util/Tools | Tagged , , , , , | Leave a comment

SSH port scan Script

  Notice : 해당 자료가 저작권등에 의해서 문제가 있다면 바로 삭제하겠습니다. 연구목적으로 사용하지 않고 악의적인 목적으로 이용할 경우 발생할 수 있는 법적은 책임은 모두 본인에게 있습니다. ssh port scan 소스 중 일부이다. 해킹당한 고객사 서버 점검 중 발견..(하여간 보안에 제발 … Continue reading

Posted in Python/Ruby/Perl, Security/Hacking | Tagged , , | Leave a comment

SSH 무작위 로그인 scan시도 차단 스크립트

  지겨운놈들.. 계속 공격 시도중… 경로 위치는 /usr/local/service/ ]# vi denyip.sh #!/bin/bash # Script by Yunkiman # Modified by icworld # Second Modified by dksniper(http://blog.naver.com/dksniper) # Convert oops-firewall to hosts.deny days=`date +%d` nowdir=`pwd` savedir=”$nowdir/denylist” cleanfile=”$nowdir/hosts.dat” cnt=0 if [ -e /var/log/secure … Continue reading

Posted in Security/Hacking, System | Tagged , | Leave a comment

서버 공격!!!

  오늘 우연찮게 message 로그를 보게 되었는데.. 이런!!!! 이런 메세지들이 엄청나게 있는것이 아닌가?ㅡㅡ;;;; Aug 10 08:26:28 xxxxxxxx sshd(pam_unix)[31593]: check pass; user unknown Aug 10 08:26:28 xxxxxxxx sshd(pam_unix)[31593]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=hostpartner-32.open-path.net Aug 10 08:26:33 xxxxxxxx sshd(pam_unix)[31594]: … Continue reading

Posted in Security/Hacking | Leave a comment