LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-10-2005, 03:05 AM   #1
mithereal
Member
 
Registered: Jan 2005
Location: Noscut, Arizona
Distribution: Ubuntu 10.04
Posts: 83

Rep: Reputation: 15
ftp?


well i installed proftpd and it works fine for local only users across the net (remote) cannot connect or they connect but it just hangs and times out w/o askin for login info. i have a hardware firewall but ive alloewed both udp and tcp and still nada. also i tried vsftp and i can login remotely but when i pwd xpwd ls or use ne command it disconnects. pure-ftpd doesnt work at all. ne suggestions
 
Old 11-10-2005, 04:57 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
There are 2 communication channels in FTP. The CMD channel (usually on port 21) and the DATA channel.

The Data Channel can be configured in two ways : Passive or Active , mainly for security purposes.

When you login, you use only the CMD channel. If this does not work, it means that you have not well configured your PORT 21 inbound.
If the login does not show, it can also be a DNS problem (your server is trying to get your machine name , corresponding to the IP), but it should try for 30s or 1mn maximum. If after 1mn you have nothing, then check your firewall

When you ls, you send the cmd by the CMD channel and the server responds on the DATA channel.

If the first (login) does work, but not the latter (ls), then you have to open specific ports (depending on Active/Passive mode of your ftp server/client).


For active/passive FTP:

http://slacksite.com/other/ftp.html



ps: udp is not used for ftp

Last edited by nx5000; 11-10-2005 at 05:00 AM.
 
  


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 server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 06:11 AM
Urgent Help: Perl FTP Script Using NET::FTP xboxter Programming 8 05-16-2005 07:57 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 03:07 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:40 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration