juliansoares
(usa Debian)
Enviado em 11/10/2011 - 14:06h
segue a saída dos comandos:
dark ~ # ps -aux | grep apache2
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
root 7935 0.0 0.0 71588 3008 ? Ss 13:42 0:00 /usr/sbin/apache2 -k start
www-data 7938 0.0 0.0 71320 2060 ? S 13:42 0:00 /usr/sbin/apache2 -k start
www-data 7941 0.0 0.0 295016 2484 ? Sl 13:42 0:00 /usr/sbin/apache2 -k start
www-data 7942 0.0 0.0 295016 2488 ? Sl 13:42 0:00 /usr/sbin/apache2 -k start
root 14391 0.0 0.0 7792 860 pts/0 S+ 14:00 0:00 grep --color=auto apache2
dark ~ # telnet 127.0.0.1 80
Trying 127.0.0.1...
não sai disso.
dark ~ # tcpdump -nnq -i eth0 host 127.0.0.1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
14:07:37.629738 IP 10.0.0.61.54803 > 127.0.0.1.80: tcp 0
14:07:37.891254 IP 10.0.0.61.54805 > 127.0.0.1.80: tcp 0
14:07:40.630195 IP 10.0.0.61.54803 > 127.0.0.1.80: tcp 0
14:07:40.894156 IP 10.0.0.61.54805 > 127.0.0.1.80: tcp 0
14:07:46.646194 IP 10.0.0.61.54803 > 127.0.0.1.80: tcp 0
14:07:46.902180 IP 10.0.0.61.54805 > 127.0.0.1.80: tcp 0
14:07:58.662201 IP 10.0.0.61.54803 > 127.0.0.1.80: tcp 0
14:07:58.918210 IP 10.0.0.61.54805 > 127.0.0.1.80: tcp 0
/etc/apache2/ports.conf = listen 80 e 443
dark ~ # cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 dark
10.0.0.1 server
10.0.0.3 lucia