LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-21-2006, 05:45 PM   #1
belliott4488
Member
 
Registered: Oct 2003
Location: Ellicott City, MD, US
Distribution: Fedora 11
Posts: 67

Rep: Reputation: 15
having trouble using ftp on Fedora C3


I'm running Fedora Core 3, including SELinux. Today I attempted to upload some files to a web server for the first time, but I couldn't quite do it.

(Actually, my 'put' command seemed to succeed in blowing away the file I was trying to upate, since the web site I'd just agreed to try and maintain for someone stopped responding - I was updating the index.html file. I had to boot up my Win2K machine just to do the ftp.)

I can establish the connection and log on, but any command that uses the data port seems to fail. Here's a simple example session:

Code:
[bruce@localhost ~]$ ftp -d users.XXXX.net
Connected to users.XXXX.net.
220 www2.XXXX.net FTP server (Version wu-2.8.0-prerelease(1) Tue Dec 6 22:11:18 PST 2005) ready.
---> AUTH GSSAPI
500 AUTH command not supported.
---> AUTH KERBEROS_V4
500 AUTH command not supported.
KERBEROS_V4 rejected as an authentication type
Name (users.megapathdsl.net:bruce): ZZZZZZ
---> USER ZZZZZZ
331 Password required for ZZZZZZ.
Password:
---> PASS XXXX
230 User ZZZZZZ logged in.
---> SYST
215 UNIX Type: L8
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
ftp: setsockopt (ignored): Permission denied
---> PASV
227 Entering Passive Mode (XX,80,60,21,108,140)

receive aborted
waiting for remote to finish abort
ftp>
(I've x'd out the server and username.)
The session just hangs after the "Entering Passive Mode ..." message. If I wait long enough, it just times out; this time I CTRL-C'd out of it. I get the same response if I do a "put" or a "get".

I was able to ftp successfully from the same machine after I rebooted in Win2K, so I'm guessing this has something to do with the firewall on the Linux side.

What should I do?

thanks,
Bruce

Last edited by belliott4488; 01-23-2006 at 06:35 PM.
 
Old 01-22-2006, 04:46 PM   #2
belliott4488
Member
 
Registered: Oct 2003
Location: Ellicott City, MD, US
Distribution: Fedora 11
Posts: 67

Original Poster
Rep: Reputation: 15
Correction: I'm actually using Fedora Core 4.

Also, I've found out that the server I was trying to connect to does not allow passive mode transfers. So, I what I think I need to know is how to configure my firewall to allow active mode ftp, at least temporarily.

Any suggestions?

thanks,
Bruce
 
  


Reply


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
FTP Trouble. boardinglaxplr Debian 2 10-01-2004 09:34 PM
ftp trouble mvanadel Linux - Networking 2 06-30-2004 05:30 PM
Trouble with FTP RaistlnMjr Linux - Newbie 15 10-13-2002 11:30 PM
FTP trouble bripage Linux - Networking 51 04-17-2002 11:43 AM
FTP trouble eweborg Linux - Networking 2 03-04-2002 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:11 PM.

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