Forums
제 컴퓨터에 APM을 설치하고 nmap로 스캔 해봤어요.
localhost:/# nmap localhost
Starting Nmap 4.62 ( http://nmap.org ) at 2009-07-04 11:02 KST
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
Interesting ports on localhost (127.0.0.1): Not shown: 1711 closed
ports PORT STATE SERVICE
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.114 seconds
그리고 /usr/local/apache/logs에 가서 access_log파일을 열어봤어요.
127.0.0.1 - - [04/Jul/2009:10:23:00 +0900] "GET / HTTP/1.1" 200 44
127.0.0.1 - - [04/Jul/2009:10:23:42 +0900] "GET /test.php HTTP/1.1" 200 17
127.0.0.1 - - [04/Jul/2009:10:23:53 +0900] "GET /test.php HTTP/1.1" 200 18
127.0.0.1 - - [04/Jul/2009:10:23:54 +0900] "GET /test.php HTTP/1.1" 304 -
127.0.0.1 - - [04/Jul/2009:10:35:43 +0900] "GET /test.php HTTP/1.1" 200 50304
127.0.0.1 - - [04/Jul/2009:10:35:43 +0900] "GET /test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2524
127.0.0.1 - - [04/Jul/2009:10:35:43 +0900] "GET /test.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146
127.0.0.1 - - [04/Jul/2009:10:37:06 +0900] "GET /test.php HTTP/1.1" 200 49687
127.0.0.1 - - [04/Jul/2009:10:37:06 +0900] "GET /test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2524
127.0.0.1 - - [04/Jul/2009:10:37:06 +0900] "GET /test.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146
127.0.0.1 - - [04/Jul/2009:10:37:56 +0900] "\x16\x03\x01" 200 44
그런데, 10번도 넘게 nmap로 스캔하는데도 로그 기록이 업데이트가 안되네요.
왜 로그 기록이 남지 않을까요?
요청없이 연결을 끊어서..
wireshark 같은 프로그램으로 확인해 보세요.