LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pure-ftpd seem that has a bug (https://www.linuxquestions.org/questions/linux-newbie-8/pure-ftpd-seem-that-has-a-bug-254052/)

dominant 11-12-2004 12:05 PM

pure-ftpd seem that has a bug
 
I run a pure-ftpd server.

Every client can connect to that server but when he gives LS or DIR he cannot see anything.

Code:

ftp> bin
200 TYPE is now 8-bit binary
ftp> put wc
local: wc remote: wc
229 Extended Passive mode OK (|||27180|)
......and then hangs


Do you know if this is a know problem or something?

btmiller 11-12-2004 05:02 PM

Are you trying to connect go through a NAT firewall? FTP has problems with that (I made a post on this a month or so ago -- if you search, you can probably find it). If so, try using the pasv command (or however you enter passive mode) into your FTP client.

dominant 11-13-2004 06:46 AM

No there is not NAT in the firewall of the server.
Could be a passive or active handling of the connection on the server side or client side respectively?

How can turn to the PASSIVE when i use the DOS ftp client or something?

btmiller 11-13-2004 01:12 PM

I think you just type "passive" in the DOS FTP client. If there's no NAT between client and server, it's possible that a firewall on the client and server is causing this difficulty, which seems to occur when FTP tries to open a second connection (the protocol uses two connections, one for commands and the other for data) and is unable to do so.

dominant 11-14-2004 04:44 AM

Server's firewall has 20 and 21 port opened. Is that what you mean?

dominant 11-15-2004 10:20 AM

I flushed all the server's firewall rules and then i could ftp the server properly.

So what should i add to my iptables script and let the passive mode of ftp?

Thanks in advance

Neochubbz 11-20-2004 10:25 AM

Yeah, I'm having the same problem, except I'm using a TLS encryption layer over the communication port. For a client, I'm using SmartFTP, which was recommended on the pure-ftpd site. I have problems when it successfully connects and then the server times out when the client issues a LIST command.
Thank you in advance.

-Chubbz

dominant 11-20-2004 11:49 AM

You must turn on the Active Mode, on your ftp client.


All times are GMT -5. The time now is 06:22 PM.