Chinaunix

标题: vsftpd 好像被别人黑了,怎么成这样? [打印本页]

作者: kacacn    时间: 2006-06-08 09:14
标题: vsftpd 好像被别人黑了,怎么成这样?
# ftp localhost
ftp: connect to address 216.92.3.101: Connection refused
Trying 216.92.3.102...
ftp: connect: Connection refused
ftp>


怎么会出来一个美国的IP?那位大侠帮说说是那出了问题?
作者: wolfg    时间: 2006-06-08 10:15
先看看/etc/hosts文件的内容
作者: kacacn    时间: 2006-06-08 10:59
# Do not remove the following line, or various programs
# that require network functionality will fail.
59.36.98.240    kaca.cn


是这个文件吗,应没啥问题,以前好好的,就昨天在装ZO,不知怎么就连不上了?
作者: kacacn    时间: 2006-06-08 11:29
好了,谢班主了.先kill掉all ftp pid 再restart 就好了
作者: kacacn    时间: 2006-06-08 11:31
是能用了,但这个问题还是如此!纳闷啊
# ftp localhost
ftp: connect to address 216.92.3.101: Connection refused
Trying 216.92.3.102...
ftp: connect: Connection refused
ftp>
ftp> quit
作者: wolfg    时间: 2006-06-08 13:16
ping localhost
什么结果?
你的是什么系统?
作者: kacacn    时间: 2006-06-08 14:04
ping localhost
PING localhost.cn (216.92.3.101) 56(84) bytes of data.
64 bytes from url1.pairnic.net (216.92.3.101): icmp_seq=0 ttl=46 time=1131 ms
64 bytes from url1.pairnic.net (216.92.3.101): icmp_seq=1 ttl=46 time=1131 ms
64 bytes from url1.pairnic.net (216.92.3.101): icmp_seq=2 ttl=46 time=1138 ms
64 bytes from url1.pairnic.net (216.92.3.101): icmp_seq=3 ttl=46 time=1129 ms
64 bytes from url1.pairnic.net (216.92.3.101): icmp_seq=4 ttl=46 time=1131 ms
64 bytes from url1.pairnic.net (216.92.3.101): icmp_seq=5 ttl=46 time=1131 ms
64 bytes from url1.pairnic.net (216.92.3.101): icmp_seq=6 ttl=46 time=1133 ms
64 bytes from url1.pairnic.net (216.92.3.101): icmp_seq=7 ttl=46 time=1131 ms

--- localhost.cn ping statistics ---

是否真的被老美给黑了?url1.pairnic.net (216.92.3.101) 美国的IP啊!   
FC4 版
作者: kacacn    时间: 2006-06-08 14:10
原来如此!
[查询结果]  您的查询: [域名] www.localhost.cn => 216.92.3.102
·本站主数据: 美国
·本站辅数据: 还没人提交数据
·参考数据一: 美国/加拿大  
·参考数据二: 美国  


那我怎么设置才能 ping localhost 是 127.0.0.1?
作者: wolfg    时间: 2006-06-09 09:40
原帖由 kacacn 于 2006-6-8 14:10 发表
那我怎么设置才能 ping localhost 是 127.0.0.1?


/etc/hosts文件里加入
127.0.0.1 localhost.localdomain localhost

这行应该默认就有,不该删掉

再把/etc/resolv.conf和/etc/nsswitch.conf的内容贴出来看看
作者: lvDbing    时间: 2006-06-09 17:56
待看中
作者: kacacn    时间: 2006-06-10 15:06
etc/hosts文件里加入
127.0.0.1 localhost.localdomain localhost



如此就好了!谢各位了!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2