Author Topic: FTP Site-to-Site Transfer?  (Read 5736 times)

jsmaage

  • Calf
  • *
  • Posts: 6
FTP Site-to-Site Transfer?
« on: June 22, 2009, 11:32:14 AM »
   

Hi, I am attempting to transfer files between two Linkstation Pro Duo's and am getting the following error;

 

[L] 500 Illegal PORT command
Site to Site Transfer Failed!

 

Any ideas?


JoshC

  • Big Bull
  • *****
  • Posts: 1110
Re: FTP Site-to-Site Transfer?
« Reply #1 on: June 22, 2009, 02:43:48 PM »

Per the Guidelines we will need more information.

 

1)Include the model number of your product. Buffalotech has a variety ofLinkstations.

2) Include the firmware revision.

3) Include information about your computer, network, etc.

4) More details are better than less details for people trying to help solve your issue.

 


jsmaage

  • Calf
  • *
  • Posts: 6
Re: FTP Site-to-Site Transfer?
« Reply #2 on: June 22, 2009, 03:06:01 PM »
   

Both Linkstations are "LS-W2.0TGL/R1-V3". Both are running firmware v3.09.

 

Tried using FlashFXP, WS_FTP, as well as many other clients with the same result.

 

Connecting to both Linkstations works fine. Can upload/download files easily to and from a single computer. It only gives the error when attempting to transfer files between the two (site to site).


PCPiranha

  • Big Bull
  • *****
  • Posts: 2209
Re: FTP Site-to-Site Transfer?
« Reply #3 on: June 22, 2009, 03:23:40 PM »
Did you forward the correct ports (20, 21)?

jsmaage

  • Calf
  • *
  • Posts: 6
Re: FTP Site-to-Site Transfer?
« Reply #4 on: June 22, 2009, 03:30:07 PM »
   Yep, all ports are open.

jsmaage

  • Calf
  • *
  • Posts: 6
Re: FTP Site-to-Site Transfer?
« Reply #5 on: June 22, 2009, 03:37:07 PM »
   I've also attempted to transfer the files with both PASV on and off.

Colin137

  • Big Bull
  • *****
  • Posts: 1125
Re: FTP Site-to-Site Transfer?
« Reply #6 on: June 22, 2009, 06:21:58 PM »

jsmaage,

I believe site to site transfers are not supported by the Linkstation. Please post the commands that your FTP client is using that causes the error in your first post. Most FTP clients will give a list of the commands issues to the remote server.


jsmaage

  • Calf
  • *
  • Posts: 6
Re: FTP Site-to-Site Transfer?
« Reply #7 on: June 23, 2009, 02:27:18 PM »
   

Here is the log;

 

[R] 257 "/array1/Backup/Utilities" is current directory.
[R] PASV
[R] 227 Entering Passive Mode (##,##,##,###,##,##).
[R] Opening data connection IP: ##.##.##.### PORT: ####
[R] LIST -al
[R] 150 Opening ASCII mode data connection for file list
[R] 226 Transfer complete.
[R] List Complete: 492 bytes in 0.17 seconds (2.8 KB/s)
[L] TYPE I
[L] 200 Type set to I
[R] TYPE I
[R] 200 Type set to I
[L] PASV
[L] 227 Entering Passive Mode (##,##,##,##,##,##).
[R] PORT ##,##,##,##,##
[R] 500 Illegal PORT command
Site to Site Transfer Failed! (Attempting alternative method)
[R] PASV
[R] 227 Entering Passive Mode (##,##,##,##,##).
[L] PORT ##,##,##,##,##
[L] 500 Illegal PORT command
Site to Site Transfer Failed!
[R] Transfer Failed!
[L] TYPE A
[L] 200 Type set to A
[L] PASV
[L] 227 Entering Passive Mode (##,##,##,##,##,##).
[L] Opening data connection IP: ###.###.###.### PORT: ####
[L] LIST -al
[L] 150 Opening ASCII mode data connection for file list
[L] 226 Transfer complete.


Colin137

  • Big Bull
  • *****
  • Posts: 1125
Re: FTP Site-to-Site Transfer?
« Reply #8 on: June 23, 2009, 07:25:02 PM »
I had a feeling that's what was going on. The Linkstation's FTP server will prohibit PORT commands addressed to anything but the server itself. This is to prevent exploits of a common vulnerability in the FTP protocol called an FTP bounce attack. Most FTP server configurations are set up this way.

jsmaage

  • Calf
  • *
  • Posts: 6
Re: FTP Site-to-Site Transfer?
« Reply #9 on: June 24, 2009, 08:48:15 AM »
   

Is this a feature that could be requested for future firmware versions? I know there aren't a lot of people that have two NAS devices, but in my case it would help immensely. It's just a lot easier to transfer files as well being able to see the speed and progress as opposed to going through Windows Explorer, etc.

 

Make a simple box under the FTP service heading that allows you to enable or disable the bounce attack. Although 99% of the FTP servers have this disabled by default when setting them up, I know of quite a few now that have the option to allow it.