Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-30-2003, 10:21 PM   #1
Registered: Nov 2003
Location: Peoria
Distribution: Fedora 8
Posts: 92

Rep: Reputation: 15
Question 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
Old 12-01-2003, 10:00 AM   #2
LQ Newbie
Registered: May 2003
Location: Boston
Distribution: Fedora, SLES 8.2/UnitedLinux 1.0, RH9
Posts: 6

Rep: Reputation: 0
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?

Old 12-01-2003, 11:57 PM   #3
Registered: Nov 2003
Location: Peoria
Distribution: Fedora 8
Posts: 92

Original Poster
Rep: Reputation: 15
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....



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp problem dsf767 Linux - Networking 3 02-03-2005 03:05 AM
problem - locked by another application. stefdaniels Linux - Software 0 08-16-2004 11:07 AM
Linux DNS - Windows clients problem tommynet Linux - Networking 4 08-13-2003 12:33 PM
i am facing problem regarding locked cdrom drive in mandrake linux 8.2 ps_tks Member Success Stories 2 08-04-2003 01:14 PM
Problem with locked screen... BorisW Linux - Newbie 0 04-08-2003 04:27 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration