Results 1 to 3 of 3
Here is the problem that I'm having, I've got a RHEL3 box that has vsftpd installed and I just upgraded to kernel 2.4.21-57.EL, was running 2.4.21-50.EL issue has been on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-15-2008 #1
ftp woes on RHEL3
Here is the problem that I'm having, I've got a RHEL3 box that has vsftpd installed and I just upgraded to kernel 2.4.21-57.EL, was running 2.4.21-50.EL issue has been on both versions. When I login via ftp I authenticate fine, I can switch to passive mode, but when I try to download a file or pull up an directory listing the client freezes. I've tried this on multiple clients, and it always ends the same way.
lftp rack@x.x.x.x:~> ls
---- Connecting to x.x.x.x (x.x.x.x) port 21
<--- 220 (vsFTPd 1.2.1)
---> FEAT
<--- 530 Please login with USER and PASS.
---> AUTH TLS
<--- 530 Please login with USER and PASS.
---> USER rack
<--- 331 Please specify the password.
---> PASS XXXX
<--- 230 Login successful.
---> FEAT
<--- 211-Features:
<--- MDTM
<--- REST STREAM
<--- SIZE
<--- 211 End
---> PWD
<--- 257 "/home/rack"
---> PASV
<--- 227 Entering Passive Mode (x,x,x,x,225,109)
---- Connecting data socket to (x.x.x.x) port 57709
---- Data connection established
---> LIST
<--- 150 Here comes the directory listing.
<--- 226 Directory send OK.
**this is where it stops, it accepts that there is a directory being sent, but it never receives it**
I've uninstalled and reinstalled vsftpd, so it is up to date and has a clean config file. At this point I'm pretty sure this is system related, but I don't know where to go from here.
- 05-15-2008 #2
update
Yo guys,
I'm still testing this and found that I could login to ftp from localhost and I was successful in downloading a file:
lftp sample@localhost:~> debug
lftp sample@localhost:~> ls
---- Connecting to localhost (127.0.0.1) port 21
<--- 220 (vsFTPd 1.2.1)
---> AUTH TLS
<--- 530 Please login with USER and PASS.
---> USER sample
<--- 331 Please specify the password.
---> PASS XXXX
<--- 230 Login successful.
---> PWD
<--- 257 "/home/sample"
---> PASV
<--- 227 Entering Passive Mode (127,0,0,1,136,207)
---- Connecting data socket to (127.0.0.1) port 35023
---> LIST
---- Closing data socket
<--- 150 Here comes the directory listing.
<--- 226 Directory send OK.
---> CWD /etc
<--- 250 Directory successfully changed.
---> PASV
<--- 227 Entering Passive Mode (127,0,0,1,253,83)
---- Connecting data socket to (127.0.0.1) port 64851
---> LIST
<--- 150 Here comes the directory listing.
<--- 226 Directory send OK.
---- Closing data socket
lftp sample@localhost:~> get /etc/passwd
---> CWD /home/sample
<--- 250 Directory successfully changed.
---> TYPE I
<--- 200 Switching to Binary mode.
---> SIZE /etc/passwd
<--- 213 5158
---> MDTM /etc/passwd
<--- 213 20080515153421
---> PASV
<--- 227 Entering Passive Mode (127,0,0,1,214,51)
---- Connecting data socket to (127.0.0.1) port 54835
---> RETR /etc/passwd
<--- 150 Opening BINARY mode data connection for /etc/passwd (5158 bytes).
<--- 226 File send OK.
---- Closing data socket
5158 bytes transferred
lftp rack@localhost:~> ls
---> TYPE A
<--- 200 Switching to ASCII mode.
---> PASV
<--- 227 Entering Passive Mode (127,0,0,1,184,113)
---- Connecting data socket to (127.0.0.1) port 47217
---> LIST
<--- 150 Here comes the directory listing.
<--- 226 Directory send OK.
---- Closing data socket
-rw-r--r-- 1 0 0 5158 May 15 15:34 passwd
lftp sample@localhost:~> quit
Maybe this is something networking related, but I'm stumpled.
:drown:
- 05-15-2008 #3
Solved
I ended up updating the kernel to the latest patch, and it now seems to be working fine.


Reply With Quote
