- 论坛徽章:
- 0
|
原帖由 blueswxs 于 2010-1-27 17:58 发表 ![]()
pasv_address 100.100.100.100
增加一条。
pasv_address=100.100.100.100
增加上去之后,外面仍然连接不上,而且内网也无法ftp登录了,只能tennet 21端口
从外面连接只能得到3个包就没下文了(更改前后一样)
09:47:39.611027 IP 58.82.185.101.31581 > 192.168.1.100.21: S 436391716:436391716(0) win 65535 <mss 1452,nop,nop,sackOK>
09:47:42.543175 IP 58.82.185.101.31581 > 192.168.1.100.21: S 436391716:436391716(0) win 65535 <mss 1460,nop,nop,sackOK>
09:47:48.542132 IP 58.82.185.101.31581 > 192.168.1.100.21: S 436391716:436391716(0) win 65535 <mss 1460,nop,nop,sackOK>
从内网连接(更改后)
10:04:05.321935 IP 192.168.1.100.ssh > 192.168.1.213.netview-aix-1: P 1:21(20) ack 1 win 5840
10:04:05.322356 IP 192.168.1.213.netview-aix-1 > 192.168.1.100.ssh: P 1:23(22) ack 21 win 65515
10:04:05.322362 IP 192.168.1.213.netview-aix-1 > 192.168.1.100.ssh: F 23:23(0) ack 21 win 65515
10:04:05.322412 IP 192.168.1.100.ssh > 192.168.1.213.netview-aix-1: . ack 23 win 5840
10:04:05.323733 IP 192.168.1.213 > 192.168.1.100: ICMP echo request, id 37855, seq 1, length 56
10:04:05.323757 IP 192.168.1.100 > 192.168.1.213: ICMP echo reply, id 37855, seq 1, length 56
10:04:05.324825 IP 192.168.1.100.ssh > 192.168.1.213.netview-aix-1: P 21:725(704) ack 24 win 5840
10:04:05.324984 IP 192.168.1.213.netview-aix-1 > 192.168.1.100.ssh: R 24:24(0) ack 725 win 0
10:04:05.325973 IP 192.168.1.213.netview-aix-4 > 192.168.1.100.ncube-lm: S 2631785209:2631785209(0) win 65535 <mss 1460,nop,nop,sackOK>
10:04:05.325998 IP 192.168.1.100.ncube-lm > 192.168.1.213.netview-aix-4: S 259303729:259303729(0) ack 2631785210 win 5840 <mss 1460,nop,nop,sackOK>
10:04:05.326103 IP 192.168.1.213.netview-aix-4 > 192.168.1.100.ncube-lm: . ack 1 win 65535
10:04:05.326353 IP 192.168.1.213.netview-aix-4 > 192.168.1.100.ncube-lm: F 1:1(0) ack 1 win 65535
10:04:05.326623 IP 192.168.1.100.ncube-lm > 192.168.1.213.netview-aix-4: F 1:1(0) ack 2 win 5840
10:04:05.326730 IP 192.168.1.213.netview-aix-4 > 192.168.1.100.ncube-lm: . ack 2 win 65535
10:05:21.409139 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: S 2136658590:2136658590(0) win 65535 <mss 1460,nop,nop,sackOK>
10:05:21.409175 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: S 338893208:338893208(0) ack 2136658591 win 5840 <mss 1460,nop,nop,sackOK>
10:05:21.409256 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: . ack 1 win 65535
10:05:21.414342 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 1:21(20) ack 1 win 5840
10:05:21.414509 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: P 1:17(16) ack 21 win 65515
10:05:21.414532 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: . ack 17 win 5840
10:05:21.414783 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 21:55(34) ack 17 win 5840
10:05:21.414879 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: P 17:31(14) ack 55 win 65481
10:05:21.416920 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 55:78(23) ack 31 win 5840
10:05:21.417127 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: P 31:45(14) ack 78 win 65458
10:05:21.417679 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 78:106(2 ack 45 win 5840
10:05:21.417756 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: P 45:51(6) ack 106 win 65430
10:05:21.418016 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 106:125(19) ack 51 win 5840
10:05:21.418132 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: P 51:62(11) ack 125 win 65411
10:05:21.419451 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 125:149(24) ack 62 win 5840
10:05:21.419624 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: P 62:67(5) ack 149 win 65387
10:05:21.419975 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 149:158(9) ack 67 win 5840
10:05:21.492335 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: P 67:73(6) ack 158 win 65378
10:05:21.492564 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 158:172(14) ack 73 win 5840
10:05:21.493333 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: P 73:80(7) ack 172 win 65364
10:05:21.493483 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 172:209(37) ack 80 win 5840
10:05:21.494959 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: P 80:88( ack 209 win 65327
10:05:21.495093 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 209:239(30) ack 88 win 5840
10:05:21.495462 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: P 88:94(6) ack 239 win 65297
10:05:21.495742 IP 192.168.1.100.ftp > 192.168.1.213.nsjtp-ctrl: P 239:291(52) ack 94 win 5840
10:05:21.623260 IP 192.168.1.213.nsjtp-ctrl > 192.168.1.100.ftp: . ack 291 win 65245
正常情况下1.100会打开一个50000-50005中的一个端口,但是这里没有。
下面是不增加pasv_address=100.100.100.100,内网连接的情况
10:12:31.492898 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: S 1147194628:1147194 628(0) win 65535 <mss 1460,nop,nop,sackOK>
10:12:31.509232 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: S 790867202:79086720 2(0) ack 1147194629 win 5840 <mss 1460,nop,nop,sackOK>
10:12:31.492943 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: . ack 1 win 65535
10:12:31.496348 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 1:21(20) ack 1 win 5840
10:12:31.496565 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 1:17(16) ack 21 wi n 65515
10:12:31.496588 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: . ack 17 win 5840
10:12:31.496649 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 21:55(34) ack 17 w in 5840
10:12:31.496814 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 17:31(14) ack 55 w in 65481
10:12:31.499826 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 55:78(23) ack 31 w in 5840
10:12:31.500144 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 31:45(14) ack 78 w in 65458
10:12:31.508159 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 78:106(2 ack 45 win 5840
10:12:31.508314 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 45:51(6) ack 106 w in 65430
10:12:31.509451 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 106:125(19) ack 51 win 5840
10:12:31.509563 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 51:62(11) ack 125 win 65411
10:12:31.509731 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 125:149(24) ack 62 win 5840
10:12:31.509820 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 62:67(5) ack 149 w in 65387
10:12:31.509929 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 149:158(9) ack 67 win 5840
10:12:31.581517 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 67:73(6) ack 158 w in 65378
10:12:31.581581 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 158:172(14) ack 73 win 5840
10:12:31.582265 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 73:80(7) ack 172 w in 65364
10:12:31.582399 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 172:209(37) ack 80 win 5840
10:12:31.583889 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 80:88( ack 209 w in 65327
10:12:31.584001 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 209:239(30) ack 88 win 5840
10:12:31.584389 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 88:94(6) ack 239 w in 65297
10:12:31.584613 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 239:289(50) ack 94 win 5840
10:12:31.584767 IP 192.168.1.213.cft-4 > 192.168.1.100.50001: S 413786419:413786 419(0) win 65535 <mss 1460,nop,nop,sackOK>
10:12:31.584794 IP 192.168.1.100.50001 > 192.168.1.213.cft-4: S 789023524:789023 524(0) ack 413786420 win 5840 <mss 1460,nop,nop,sackOK>
10:12:31.584891 IP 192.168.1.213.cft-4 > 192.168.1.100.50001: . ack 1 win 65535
10:12:31.584896 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: P 94:100(6) ack 289 win 65247
10:12:31.585161 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 289:328(39) ack 10 0 win 5840
10:12:31.585472 IP 192.168.1.100.50001 > 192.168.1.213.cft-4: P 1:62(61) ack 1 w in 5840
10:12:31.585500 IP 192.168.1.100.50001 > 192.168.1.213.cft-4: F 62:62(0) ack 1 w in 5840
10:12:31.585643 IP 192.168.1.213.cft-4 > 192.168.1.100.50001: . ack 63 win 65474
10:12:31.585650 IP 192.168.1.213.cft-4 > 192.168.1.100.50001: F 1:1(0) ack 63 wi n 65474
10:12:31.585684 IP 192.168.1.100.50001 > 192.168.1.213.cft-4: . ack 2 win 5840
10:12:31.585708 IP 192.168.1.100.ftp > 192.168.1.213.cft-3: P 328:352(24) ack 10 0 win 5840
10:12:31.585766 IP 192.168.1.213.cft-3 > 192.168.1.100.ftp: . ack 352 win 65184
以前没有弄过VSFTP,配置不是太熟悉,是不是还有什么地方设置不正确。 |
|