ftp passive mode
From: Kevin (kevin_at_hotmail.com)
Date: 03/24/05
- Next message: Michael Fraser: "Re: ftp passive mode"
- Previous message: senthilS: "how to retrieve the header information from a html page ???"
- Next in thread: Michael Fraser: "Re: ftp passive mode"
- Reply: Michael Fraser: "Re: ftp passive mode"
- Reply: Barry Margolin: "Re: ftp passive mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 24 Mar 2005 21:09:50 +0000
I'm not sure that passive mode really changes in the behaviour of
an ftp client. I see that I connect using passive mode and I can
login etc.
However, commands such as ls and get don't work. I see my client
sending packets to the server on high ports and they are getting
dropped by the firewall.
66.242.33.151.21 > 64.109.151.192.4541: P 78:97(19) ack 37 win
1448 <nop,nop,timestamp 298195787 48978255>(DF)
64.109.151.192.4541 > 66.242.33.151.21: . ack 97 win 57456
<nop,nop,timestamp 48978267 298195787> (DF) [tos 0x10]
Until I log in, the communication is fine with samples of tcpdump
above. When I issue an ``ls''. This happens:
64.109.151.192.4541 > 66.242.33.151.21: P 37:43(6) ack 97 win
57456 <nop,nop,timestamp 48984892 298195787> (DF) [tos 0x10]
66.242.33.151.21 > 64.109.151.192.4541: P 97:145(48) ack 43 win
1448 <nop,nop,timestamp 298262183 48984892>(DF)
This is probably one of the packets telling which command is
beind issued (I guess, I don't know).
64.109.151.192.4542 > 66.242.33.151.16859: S
2977579832:2977579832(0) win 57344 <mss 1460,nop,wscale
0,nop,nop,timestamp 48984896 0> (DF)
Now my client is trying port 16859 which is probably getting
dropped by the firewall. The next packets are all similar to this
one... trying to get the other end to answer, until it times out.
My client is the usual ftp command. I'm running FreeBSD here. I
was wondering if this is something that I'm doing wrong here or
if the other end must change his firewall settings to make it
possible to connect and use FTP.
Can anyone help? Thank you.
- Next message: Michael Fraser: "Re: ftp passive mode"
- Previous message: senthilS: "how to retrieve the header information from a html page ???"
- Next in thread: Michael Fraser: "Re: ftp passive mode"
- Reply: Michael Fraser: "Re: ftp passive mode"
- Reply: Barry Margolin: "Re: ftp passive mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|