LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vsftp problem... Linux clients locked out (https://www.linuxquestions.org/questions/linux-software-2/vsftp-problem-linux-clients-locked-out-121455/)

CaptainInsane 11-30-2003 10:21 PM

vsftp problem... Linux clients locked out
 
Having a strange problem with 3 vsftp servers I setup this month.
Got anon off, using vsftpd_user_configs.

I can connect fine with IE 5.5 on Win98, or via the ftp command at a
DOS prompt. But I cant connect from any of my Linux clients.
Logs in ok, but any attempt at data transfer, even an ls or dir, and the
ftp just stalls out until I hit ctrl-c. If I try to send a file, an empty
file with the correct name is created, but then it stalls the same way.

Know its not a permissions or login issue as I can upload/download
fine using the same login from my 98 boxes.

WS_ftp and dreamweaver fail to connect from the same 98 machine
that ftp or IE connect fine with....

Same results on all three servers for both internal and external
connections. (got 2 DSL lines.)

Any ideas ? Let me know if you want to see a conf file or need more
info.

donchron 12-01-2003 10:00 AM

My vsftpd server won't accept passive connections, which is the default for some ftp clients. When I connect with a passive ftp client, the server log shows a successful connection, but I can't send or receive data (except 0-byte files as you described).

Are you using active or passive ftp on the client side? Are you allowing active and passive in vsftpd? What do your ftp logs show?

-don

CaptainInsane 12-01-2003 11:57 PM

You put me on the right track.

Seems to be working now. Was trying to allow both active and passive, and had the
pasv_min_port and pasv_max_port specified.

Turns out it was iptables. I got my firewall locked pretty tight, and although the ftp
port was enabled, had no rule for the port range I selected for pasv_min/max.

Added one, and it is fixed. Time to go do an iptables-save I think....

Scott


All times are GMT -5. The time now is 07:14 AM.