Go Back   FlashFXP Forums > > > >

Bug Reports Report bugs here. (non-beta releases only)

 
 
Thread Tools Display Modes
Old 11-16-2001, 10:22 AM   #1
stat
Junior Member
 
Join Date: Nov 2001
Posts: 5
Default FXPing through a proxy

Hi there,

I'm not sure if I'll be wording this correctly, or making any sense for that matter, but here goes. Basically, I'm connecting to two ftp sites through a proxy server (winproxy). Everything works great, however when I want to FXP between two sites, it seems that the transfers are going from host 1, to the proxy, to host 2 rather than from host 1 to host 2. FlashFXP seems to be doing the port commands with my proxy ip rather than the ftp site's ip.

For Example:
Proxy: 10.0.0.5
Site 1: 10.0.1.0
Site 2: 10.0.2.0

Connecting to 10.0.1.0 via Proxy
Connected to Proxy 10.0.0.5 Port 69
220 WinProxy (Version 4.0 R1f) ready.
USER xxx@10.0.1.0
Connecting to 10.0.2.0 via Proxy
Connected to Proxy 10.0.0.5 Port 69
220 WinProxy (Version 4.0 R1f) ready.
USER yyy@10.0.2.0
331 Password required for xxx.
PASS (hidden)
230 User xxx logged in.
SYST
215 UNIX Type: L8
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
PWD
257 "/" is current directory.
TYPE A
200 Type set to A.
PASV
It seems fine here because it's just listing, so going through the proxy is how it should go..
227 Entering Passive Mode (10,0,0,5,6,177)
LIST -al
150 Opening ASCII mode data connection for file list
226-Transfer complete.
226 Quotas off
331 Password required for yyy.
PASS (hidden)
230 User yyy logged in.
SYST
215 UNIX Type: L8
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
PWD
257 "/" is current directory.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (10,0,0,5,6,180)
LIST -al
150 Opening ASCII mode data connection for file list
226-Transfer complete.
226 Quotas off
TYPE I
200 Type set to I.
TYPE I
200 Type set to I.
PASV
It seems like here, it should be doing pasv and port commands of 10.0.x.0 and not the proxy 10.0.0.5, thus slowing down the transfer since it's hopping through the proxy
227 Entering Passive Mode (10,0,0,5,6,188)
PORT 10,0,0,5,6,188
200 PORT command successful.
STOR testfile.txt
150 Opening BINARY mode data connection for testfile.txt.
RETR testfile.txt
150 Opening BINARY mode data connection for testfile.txt (1077219 bytes).
226 Transfer complete.
226 Transfer complete.
and so on.

The transfer works, but again, since it has to take that extra hop, it's slowing it greatly (since the proxy isn't as high speed as the other two sites are). If I bypass the proxy and send the files, then it works fine and the pasv and port commands work as they should and transfers are fast... perhaps it's a misconfiguration on my part?

Thanks for taking the time to read this.. hopefully someone can help me out

Cheers!
stat is offline  
Old 11-16-2001, 03:10 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

This is actually a feature of your ftp proxy. In order to get around this problem you will need to use another type of proxy, we recommend a SOCKS 5 proxy.
bigstar is offline  
Old 11-16-2001, 06:18 PM   #3
stat
Junior Member
 
Join Date: Nov 2001
Posts: 5
Default

Awsome works great. Thanks!
stat is offline  
 

Tags
mode, port, proxy, transfer, type

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:09 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)