A very weird problem accessing from Linux..

Questions dealing with specific FTP clients and Cerberus FTP Server.
Post Reply
Starflyer98
Posts: 2
Joined: Sat Jun 04, 2005 6:48 pm

A very weird problem accessing from Linux..

Post by Starflyer98 » Sat Jun 04, 2005 7:01 pm

OK.. heres the deal.. my friend and I both use Cerberus to transfer files between us using winxp pro.. we both use the 2.1.5 kerio firewall and both have a linksys router. We have everything set up to work and it works fantastik..
However,
When I try to access the server from linux, in konqueror it shows me logging in then the message pops up , cannot connect to server, and I see no files. I tried KBear client and Kasablanca as well as Konqueror, all to no avail. The same thing happens on all three. And here is the strange part, when I open up a terminal and open midnight commander, I can not only see her files I can download from there as well. It works the same way it does in windows. But being a preferred graphical user, does anyone have any ideas on why this isnt working from the graphical programs in linux? I have three distros installed on my pc: Suse, Mandrake10.2 and PCLinuxOS. And it is the same in all three. Any ideas?
I never learned to write....

Starflyer98
Posts: 2
Joined: Sat Jun 04, 2005 6:48 pm

Re: Linux prob..

Post by Starflyer98 » Sat Jun 04, 2005 7:04 pm

As an addendum.... she sees me on cerberus on her end when i attempt to log on .. and she shows me as being connected.. seems to be after list that i get the message cannot connect to server..
I never learned to write....

User avatar
Serin
Site Administrator
Posts: 1785
Joined: Sat Jan 01, 2005 6:57 pm
Location: United States
Contact:

Post by Serin » Wed Jun 15, 2005 6:34 pm

I'm guessing the problem is with the linux clients connecting using PASV or Active mode whereas the default Windows clients are using the other mode. Can you post a log file? That would probably clear up the issue.

kitchenshark
Posts: 1
Joined: Mon Jun 27, 2005 1:53 am

Post by kitchenshark » Mon Jun 27, 2005 2:14 am

Okay, having a similar problem with a couple friends not able to connect to my Cerberus FTP server (2.31) while in linux.

The following logs were captured from one of the friends.

OS: Mandriva Linux LE 2005 (Mandrake 10.2)
FTP client: kbear

He saw: (user and psswd omitted)

syst
215 UNIX Type: L8
pwd
257 "/" is the current directory
cwd /
250 Change directory ok
type A
200 Type ASCII
eprt |1|192.168.*.***|32772|
502 Unrecognized or unsupported command
port 192,168,*,***,128,5
200 Port command received
list -a
425 Unable to open the data connection

I saw on the server:

Mon Jun 27 00:00:49 2005 24 Incoming connection request on interface 192.168.***.***
Mon Jun 27 00:00:49 2005 24 Connection request accepted from **.***.***.***
Mon Jun 27 00:00:50 2005 24 USER ------
Mon Jun 27 00:00:50 2005 24 331 User ------, password please
Mon Jun 27 00:00:50 2005 24 PASS ***********
Mon Jun 27 00:00:50 2005 24 230 Password Ok, User logged in
Mon Jun 27 00:00:50 2005 24 SYST
Mon Jun 27 00:00:50 2005 24 215 UNIX Type: L8
Mon Jun 27 00:00:50 2005 24 PWD
Mon Jun 27 00:00:50 2005 24 257 "/" is the current directory
Mon Jun 27 00:00:50 2005 24 CWD /
Mon Jun 27 00:00:50 2005 24 250 Change directory ok
Mon Jun 27 00:00:50 2005 24 TYPE A
Mon Jun 27 00:00:50 2005 24 200 Type ASCII
Mon Jun 27 00:00:51 2005 24 EPRT |1|192.168.*.***|32772|
Mon Jun 27 00:00:51 2005 24 502 Unrecognized or unsupported command
Mon Jun 27 00:00:51 2005 24 PORT 192,168,*,***,128,5
Mon Jun 27 00:00:51 2005 24 200 Port command received
Mon Jun 27 00:00:51 2005 24 LIST -a
Mon Jun 27 00:01:12 2005 24 A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Mon Jun 27 00:01:12 2005 24 425 Unable to open the data connection

On the server I see that it hangs on the 'LIST' command. Hope this helps, happens with the other friend on linux too, don't know his specs, he's not online right now to ask.

User avatar
Serin
Site Administrator
Posts: 1785
Joined: Sat Jan 01, 2005 6:57 pm
Location: United States
Contact:

Post by Serin » Mon Jun 27, 2005 12:23 pm

Hello,

The problem is that your friends are using active FTP (the PORT command) and the client they are using is sending their local IP address instead of their actual WAN address. The Cerberus FTP Server help file topic "Configuring for the Internet" explains the port setup procedures in detail. In short, you may want to tell your friends to use PASV FTP. Any FTP client should support PASV FTP. You then need to make sure you have configured your firewall to allow PASV FTP on the server side.

Post Reply