netstat output: server:~# netstat -tulp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:mysql *:* LISTEN 14399/mysqld tcp 0 0 server.domain.:www *:* LISTEN 13109/apache2 tcp 0 0 *:ssh *:* LISTEN 1376/sshd tcp 0 0 *:afs3-fileserver *:* LISTEN 14626/haproxy tcp 0 0 localhost:11000 *:* LISTEN 14537/ruby tcp 0 0 localhost:11001 *:* LISTEN 14540/ruby tcp 0 0 *:smtp *:* LISTEN 2146/master tcp 0 0 localhost:11002 *:* LISTEN 14543/ruby tcp 0 0 *:2812 *:* LISTEN 24723/monit tcp6 0 0 [::]:ftp [::]:* LISTEN 26779/proftpd <--tcp6 tcp6 0 0 [::]:ssh [::]:* LISTEN 1376/sshd <--tcp6 udp 0 0 *:41746 *:* 14626/haproxy udp 0 0 *:45110 *:* 833/collectd
I have not configure tcp6 in my box but as you can see above proftd and sshd are listening using proto tcp6. Why? lsof -i output: server:~# lsof -i |grep LISTEN sshd 1376 root 3u IPv6 2946 TCP *:ssh (LISTEN) <--tcp6 sshd 1376 root 4u IPv4 2948 TCP *:ssh (LISTEN) master 2146 root 12u IPv4 4842 TCP *:smtp (LISTEN) apache2 13109 root 3u IPv4 4049895 TCP server.domain:www (LISTEN) apache2 13117 www-data 3u IPv4 4049895 TCP server.domain:www (LISTEN) apache2 13118 www-data 3u IPv4 4049895 TCP server.domain:www (LISTEN) apache2 13119 www-data 3u IPv4 4049895 TCP server.domain:www (LISTEN) apache2 13120 www-data 3u IPv4 4049895 TCP server.domain:www (LISTEN) apache2 13121 www-data 3u IPv4 4049895 TCP server.domain:www (LISTEN) apache2 13122 www-data 3u IPv4 4049895 TCP server.domain:www (LISTEN) apache2 13123 www-data 3u IPv4 4049895 TCP server.domain:www (LISTEN) mysqld 14399 mysql 14u IPv4 2525508 TCP *:mysql (LISTEN) mongrel_r 14537 deploy 3u IPv4 2526431 TCP localhost:11000 (LISTEN) mongrel_r 14540 deploy 3u IPv4 2526438 TCP localhost:11001 (LISTEN) mongrel_r 14543 deploy 3u IPv4 2526445 TCP localhost:11002 (LISTEN) haproxy 14626 haproxy 4u IPv4 2526911 TCP *:afs3-fileserver (LISTEN) monit 24723 root 4u IPv4 1269944 TCP *:2812 (LISTEN) proftpd 26779 proftpd 1u IPv6 363248 TCP *:ftp (LISTEN) <--tcp6 apache2 31724 www-data 3u IPv4 4049895 TCP server.domain:www (LISTEN) apache2 31725 www-data 3u IPv4 4049895 TCP server.domain:www (LISTEN) apache2 31726 www-data 3u IPv4 4049895 TCP server.domain:www (LISTEN) -- Regards; Israel Garcia -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org