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 Do you know if this is a know problem or something? |
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.
|
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? |
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.
|
Server's firewall has 20 and 21 port opened. Is that what you mean?
|
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 |
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 |
You must turn on the Active Mode, on your ftp client.
|
All times are GMT -5. The time now is 06:22 PM. |