小弟發現我的apache2似乎會監聽ipv6的請求,但是仔細一看,好像全部的tcp請求都變成了ipv6這是正常的嗎?我需要移除ipv6的協定嘛?
以下是小弟netstat -nap的結果
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2120/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1676/portmap
tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 2064/inetd
tcp 0 0 0.0.0.0:754 0.0.0.0:* LISTEN 2268/rpc.statd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2255/master
tcp6 0 0 :::80 :::* LISTEN 14572/apache2
tcp6 0 0 :::22 :::* LISTEN 2264/sshd
tcp6 0 0 :::25 :::* LISTEN 2255/master
tcp6 0 27588 ::ffff:220.134.39.21:80 ::ffff:221.125.55.:2378 ESTABLISHED14577/apache2
tcp6 0 72114 ::ffff:220.134.39.21:80 ::ffff:61.224.103.:3853 ESTABLISHED14593/apache2
tcp6 0 260 ::ffff:220.134.39.21:22 ::ffff:220.140.81.:2155 ESTABLISHED14547/sshd: nansen