- 论坛徽章:
- 0
|
centos4.3 vsftpd2.0.1
mt800 adsl猫,NAT 60021──60032 到内网FTP192.168.1.5:60021机子上,(mt800与FTP机子防火墙都关了)被动 模式PASV
pam_service_name=myftp
guest_enable=YES
guest_username=ftpuser
user_config_dir=/etc/vsftpd_user_conf
userlist_enable=NO
#enable for standalone mode
listen=YES
tcp_wrappers=YES
listen_port=60021
pasv_enable=YES
pasv_min_port=60022
pasv_max_port=60032
max_clients=20
本机ftp localhost 60021 好使
1)另一局内机子 :192.168.1.3 ──》192.168.168.5:60021 OK!
192.168.1.3──》MT800INTERNET外网地址:60021
NO!
连接拒绝,估计是 adsl猫没设置好吧???用IP过滤
设置吗??/
2)用外网INTERNET一台机子:──》 MT800INTERNET外网地址:60021
用的是浏览器打开的,好像能上来了,就是打不开文件夹?/
cat vsftpd.log:
Mon Apr 24 10:00:11 2006 [pid 3700] CONNECT: Client "218.62.100.150"
Mon Apr 24 10:00:11 2006 [pid 3700] FTP response: Client "218.62.100.150", "220 (vsFTPd 2.0.1)"
Mon Apr 24 10:00:15 2006 [pid 3700] FTP command: Client "218.62.100.150", "USER wqftp"
Mon Apr 24 10:00:15 2006 [pid 3700] [wqftp] FTP response: Client "218.62.100.150", "331 Please specify the password."
Mon Apr 24 10:00:17 2006 [pid 3700] [wqftp] FTP command: Client "218.62.100.150", " ASS <password>"
Mon Apr 24 10:00:19 2006 [pid 3699] [wqftp] FAIL LOGIN: Client "218.62.100.150"
Mon Apr 24 10:00:19 2006 [pid 3700] [wqftp] FTP response: Client "218.62.100.150", "530 Login incorrect."
Mon Apr 24 10:00:22 2006 [pid 3705] CONNECT: Client "218.62.100.150"
Mon Apr 24 10:00:22 2006 [pid 3705] FTP response: Client "218.62.100.150", "220 (vsFTPd 2.0.1)"
Mon Apr 24 10:00:22 2006 [pid 3705] FTP command: Client "218.62.100.150", "USER wqftp"
Mon Apr 24 10:00:22 2006 [pid 3705] [wqftp] FTP response: Client "218.62.100.150", "331 Please specify the password."
Mon Apr 24 10:00:23 2006 [pid 3705] [wqftp] FTP command: Client "218.62.100.150", " ASS <password>"
Mon Apr 24 10:00:26 2006 [pid 3704] [wqftp] FAIL LOGIN: Client "218.62.100.150"
Mon Apr 24 10:00:26 2006 [pid 3705] [wqftp] FTP response: Client "218.62.100.150", "530 Login incorrect."
Mon Apr 24 10:00:30 2006 [pid 3708] CONNECT: Client "218.62.100.150"
Mon Apr 24 10:00:30 2006 [pid 3708] FTP response: Client "218.62.100.150", "220 (vsFTPd 2.0.1)"
Mon Apr 24 10:00:31 2006 [pid 3708] FTP command: Client "218.62.100.150", "USER wqftp"
Mon Apr 24 10:00:31 2006 [pid 3708] [wqftp] FTP response: Client "218.62.100.150", "331 Please specify the password."
Mon Apr 24 10:00:33 2006 [pid 3708] [wqftp] FTP command: Client "218.62.100.150", " ASS <password>"
Mon Apr 24 10:00:36 2006 [pid 3707] [wqftp] FAIL LOGIN: Client "218.62.100.150"
Mon Apr 24 10:00:36 2006 [pid 3708] [wqftp] FTP response: Client "218.62.100.150", "530 Login incorrect."
Mon Apr 24 10:00:46 2006 [pid 3712] CONNECT: Client "218.62.100.150"
Mon Apr 24 10:00:46 2006 [pid 3712] FTP response: Client "218.62.100.150", "220 (vsFTPd 2.0.1)"
Mon Apr 24 10:00:47 2006 [pid 3712] FTP command: Client "218.62.100.150", "USER wqftp"
Mon Apr 24 10:00:47 2006 [pid 3712] [wqftp] FTP response: Client "218.62.100.150", "331 Please specify the password."
Mon Apr 24 10:00:47 2006 [pid 3712] [wqftp] FTP command: Client "218.62.100.150", " ASS <password>"
Mon Apr 24 10:00:48 2006 [pid 3711] [wqftp] OK LOGIN: Client "218.62.100.150"
Mon Apr 24 10:00:48 2006 [pid 3715] [wqftp] FTP response: Client "218.62.100.150", "230-???????????????WQCBS FTP???"
Mon Apr 24 10:00:48 2006 [pid 3715] [wqftp] FTP response: Client "218.62.100.150", "230-?????????????????????,???????????????????????????????????????!!!"
Mon Apr 24 10:00:48 2006 [pid 3715] [wqftp] FTP response: Client "218.62.100.150", "230-????????????!!!!"
Mon Apr 24 10:00:48 2006 [pid 3715] [wqftp] FTP response: Client "218.62.100.150", "230-"
Mon Apr 24 10:00:48 2006 [pid 3715] [wqftp] FTP response: Client "218.62.100.150", "230 Login successful."
Mon Apr 24 10:00:49 2006 [pid 3715] [wqftp] FTP command: Client "218.62.100.150", "OPTS utf8 on"
Mon Apr 24 10:00:49 2006 [pid 3715] [wqftp] FTP response: Client "218.62.100.150", "501 Option not understood."
Mon Apr 24 10:00:49 2006 [pid 3715] [wqftp] FTP command: Client "218.62.100.150", "SYST"
Mon Apr 24 10:00:49 2006 [pid 3715] [wqftp] FTP response: Client "218.62.100.150", "215 UNIX Type: L8"
Mon Apr 24 10:00:50 2006 [pid 3715] [wqftp] FTP command: Client "218.62.100.150", "SITE help"
Mon Apr 24 10:00:50 2006 [pid 3715] [wqftp] FTP response: Client "218.62.100.150", "550 Permission denied."
Mon Apr 24 10:00:51 2006 [pid 3717] CONNECT: Client "218.62.100.150"
Mon Apr 24 10:00:51 2006 [pid 3717] FTP response: Client "218.62.100.150", "220 (vsFTPd 2.0.1)"
Mon Apr 24 10:00:51 2006 [pid 3715] [wqftp] FTP command: Client "218.62.100.150", " WD"
Mon Apr 24 10:00:51 2006 [pid 3715] [wqftp] FTP response: Client "218.62.100.150", "257 "/""
Mon Apr 24 10:00:52 2006 [pid 3717] FTP command: Client "218.62.100.150", "USER wqftp"
Mon Apr 24 10:00:52 2006 [pid 3717] [wqftp] FTP response: Client "218.62.100.150", "331 Please specify the password."
Mon Apr 24 10:00:53 2006 [pid 3717] [wqftp] FTP command: Client "218.62.100.150", " ASS <password>"
Mon Apr 24 10:00:54 2006 [pid 3720] CONNECT: Client "218.62.100.150"
Mon Apr 24 10:00:54 2006 [pid 3720] FTP response: Client "218.62.100.150", "220 (vsFTPd 2.0.1)"
Mon Apr 24 10:00:55 2006 [pid 3720] FTP command: Client "218.62.100.150", "USER wqftp"
Mon Apr 24 10:00:55 2006 [pid 3720] [wqftp] FTP response: Client "218.62.100.150", "331 Please specify the password."
Mon Apr 24 10:00:55 2006 [pid 3716] [wqftp] FAIL LOGIN: Client "218.62.100.150"
Mon Apr 24 10:00:55 2006 [pid 3717] [wqftp] FTP response: Client "218.62.100.150", "530 Login incorrect."
Mon Apr 24 10:00:56 2006 [pid 3720] [wqftp] FTP command: Client "218.62.100.150", " ASS <password>"
Mon Apr 24 10:00:56 2006 [pid 3719] [wqftp] OK LOGIN: Client "218.62.100.150"
Mon Apr 24 10:00:56 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "230-???????????????WQCBS FTP???"
Mon Apr 24 10:00:56 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "230-?????????????????????,???????????????????????????????????????!!!"
Mon Apr 24 10:00:56 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "230-????????????!!!!"
Mon Apr 24 10:00:56 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "230-"
Mon Apr 24 10:00:56 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "230 Login successful."
Mon Apr 24 10:01:03 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "OPTS utf8 on"
Mon Apr 24 10:01:03 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "501 Option not understood."
Mon Apr 24 10:01:04 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "SYST"
Mon Apr 24 10:01:04 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "215 UNIX Type: L8"
Mon Apr 24 10:01:05 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "SITE help"
Mon Apr 24 10:01:05 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "550 Permission denied."
Mon Apr 24 10:01:06 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", " WD"
Mon Apr 24 10:01:06 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "257 "/""
Mon Apr 24 10:01:08 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "TYPE A"
Mon Apr 24 10:01:08 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "200 Switching to ASCII mode."
Mon Apr 24 10:01:08 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", " ASV"
Mon Apr 24 10:01:08 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "227 Entering Passive Mode (192,168,168,5,234,12 "
Mon Apr 24 10:01:39 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "NOOP"
Mon Apr 24 10:01:39 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "200 NOOP ok."
Mon Apr 24 10:01:41 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "CWD /"
Mon Apr 24 10:01:41 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "250 Directory successfully changed."
Mon Apr 24 10:01:42 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "TYPE A"
Mon Apr 24 10:01:42 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "200 Switching to ASCII mode."
Mon Apr 24 10:01:43 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", " ASV"
Mon Apr 24 10:01:43 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "227 Entering Passive Mode (192,168,168,5,234,127)"
Mon Apr 24 10:03:14 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "NOOP"
Mon Apr 24 10:03:14 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "200 NOOP ok."
Mon Apr 24 10:03:15 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "CWD /"
Mon Apr 24 10:03:15 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "250 Directory successfully changed."
Mon Apr 24 10:03:17 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "TYPE A"
Mon Apr 24 10:03:17 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "200 Switching to ASCII mode."
Mon Apr 24 10:03:19 2006 [pid 3723] [wqftp] FTP command: Client "218.62.100.150", "PASV"
Mon Apr 24 10:03:19 2006 [pid 3723] [wqftp] FTP response: Client "218.62.100.150", "227 Entering Passive Mode (192,168,168,5,234,127)"
Mon Apr 24 10:04:14 2006 [pid 3757] CONNECT: Client "218.62.100.150"
Mon Apr 24 10:04:14 2006 [pid 3757] FTP response: Client "218.62.100.150", "220 (vsFTPd 2.0.1)"
Mon Apr 24 10:04:15 2006 [pid 3757] FTP command: Client "218.62.100.150", "USER wqftp"
Mon Apr 24 10:04:15 2006 [pid 3757] [wqftp] FTP response: Client "218.62.100.150", "331 Please specify the password."
Mon Apr 24 10:04:16 2006 [pid 3757] [wqftp] FTP command: Client "218.62.100.150", "PASS <password>"
Mon Apr 24 10:04:16 2006 [pid 3756] [wqftp] OK LOGIN: Client "218.62.100.150"
Mon Apr 24 10:04:16 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "230-???????????????WQCBS FTP???"
Mon Apr 24 10:04:16 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "230-?????????????????????,???????????????????????????????????????!!!"
Mon Apr 24 10:04:16 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "230-????????????!!!!"
Mon Apr 24 10:04:16 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "230-"
Mon Apr 24 10:04:16 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "230 Login successful."
Mon Apr 24 10:04:18 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "OPTS utf8 on"
Mon Apr 24 10:04:18 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "501 Option not understood."
Mon Apr 24 10:04:19 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "PWD"
Mon Apr 24 10:04:19 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "257 "/""
Mon Apr 24 10:04:20 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "CWD /"
Mon Apr 24 10:04:20 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "250 Directory successfully changed."
Mon Apr 24 10:04:21 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "TYPE A"
Mon Apr 24 10:04:21 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "200 Switching to ASCII mode."
Mon Apr 24 10:04:22 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "PASV"
Mon Apr 24 10:04:22 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "227 Entering Passive Mode (192,168,168,5,234,125)"
Mon Apr 24 10:05:01 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "NOOP"
Mon Apr 24 10:05:01 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "200 NOOP ok."
Mon Apr 24 10:05:01 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "CWD /"
Mon Apr 24 10:05:01 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "250 Directory successfully changed."
Mon Apr 24 10:05:06 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "TYPE A"
Mon Apr 24 10:05:06 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "200 Switching to ASCII mode."
Mon Apr 24 10:05:07 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "PASV"
Mon Apr 24 10:05:07 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "227 Entering Passive Mode (192,168,168,5,234,120)"
Mon Apr 24 10:05:39 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "NOOP"
Mon Apr 24 10:05:39 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "200 NOOP ok."
Mon Apr 24 10:05:40 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "CWD /"
Mon Apr 24 10:05:40 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "250 Directory successfully changed."
Mon Apr 24 10:05:42 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "TYPE A"
Mon Apr 24 10:05:42 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "200 Switching to ASCII mode."
Mon Apr 24 10:05:44 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "PASV"
Mon Apr 24 10:05:44 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "227 Entering Passive Mode (192,168,168,5,234,121)"
Mon Apr 24 10:06:59 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "NOOP"
Mon Apr 24 10:06:59 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "200 NOOP ok."
Mon Apr 24 10:07:00 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "CWD /"
Mon Apr 24 10:07:00 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "250 Directory successfully changed."
Mon Apr 24 10:07:01 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "TYPE A"
Mon Apr 24 10:07:01 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "200 Switching to ASCII mode."
Mon Apr 24 10:07:02 2006 [pid 3760] [wqftp] FTP command: Client "218.62.100.150", "PASV"
Mon Apr 24 10:07:02 2006 [pid 3760] [wqftp] FTP response: Client "218.62.100.150", "227 Entering Passive Mode (192,168,168,5,234,126)"
?????????
能给指点一下,解决这两个问题吗??
[ 本帖最后由 权老实 于 2006-5-15 10:26 编辑 ] |
|