LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2003, 05:35 PM   #1
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Rep: Reputation: 15
proftp confusion


I've been using my ftp server for a while and it works well. The problem is some people (all windows xp users) cannot access my ftp server. I didn't believe them at first because it works well on my local network, from my school, from UIUC, at a friends home who is also running xp, and from my aunt's house in texas. I went to a friend's home and tried to figure out what they were doing wrong. Both Opera and IE timed out when I tried to access my ftp server. I tried using the console version of ftp and it let me log in, but it crashed when I tried to issue any data request type command (ls, pwd, etc). This friend has a router and a firewall. Another friend of mine on dial-up with no firewall also had similar problems. What is causing this problem? Is it something on my end or theirs? How would I fix this?

Here is my config:

# This is a basic ProFTPD configuration file.
# It establishes a single server and a single anonymous login.
# It assumes that you have a user/group "nobody" and "ftp"
# for normal/anonymous operation.
ServerName"ProFTPD Default Installation"
#ServerTypestandalone
ServerTypeinetd
DefaultServeron
# Port 21 is the standard FTP port.
Port21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances5
# Set the user and group that the server normally runs at.
Usernobody
Groupnogroup
# This next option is required for NIS or NIS+ to work properly:
#PersistentPasswd off
SystemLog/var/log/proftpd.log
TransferLog/var/log/xferlog
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwriteon
</Directory>
# A basic anonymous FTP server configuration.
# To enable this, remove the user ftp from /etc/ftpusers.
<Anonymous ~ftp/pub>
RequireValidShelloff
Userftp
Groupftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAliasanonymous ftp
# Limit the maximum number of anonymous logins
MaxClients5
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLoginwelcome.msg
DisplayFirstChdir.message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory upload/>
<Limit READ RMD DELE MKD>
DenyAll
</Limit>
<Limit STOR CWD>
AllowAll
</Limit>
</Directory>
</Anonymous>
 
Old 08-17-2003, 06:37 AM   #2
jisse
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: rh/debian
Posts: 43

Rep: Reputation: 15
My guess is this has something to do with the difference between Passive and Active FTP. In short, Active FTP is used by most stand-alone FTP clients while Passive FTP is used in browsers. Check if /var/log/proftpd.log is showing something about a passive connection being refused. If it does try inserting this line in the <Global> section:
"PassivePorts 51000 51999"
Ah, you don't have a <Global> section. Just insert it in the first part of your config file.

More on:
http://proftpd.linux.co.uk/docs/dire...iguration.html
 
Old 08-17-2003, 09:01 PM   #3
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Original Poster
Rep: Reputation: 15
No, my /var/log/proftpd.log file doesn't say anything about passive connections being refused.
 
Old 08-18-2003, 12:27 PM   #4
jisse
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: rh/debian
Posts: 43

Rep: Reputation: 15
Does it say anything at all? Any errors?

Please let us know if you can ftp from your local machine to your local ftp server - both with command-line and browser.
 
Old 08-18-2003, 05:35 PM   #5
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Original Poster
Rep: Reputation: 15
I see this in lots of places, but nothing else suspicious.

FTP no transfer timeout, disconnected

Yes I can ftp to it locally with the command line and the browser.
Thanks.
 
Old 08-20-2003, 03:00 AM   #6
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Original Poster
Rep: Reputation: 15
Ummmm... one of my friends can now access the ftp server and I changed nothing. I'm still waiting to hear from the other one. This is weird.
 
  


Reply



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
proftp onelung02 Slackware 5 05-15-2005 05:42 PM
proftp Orion Pax Mandriva 1 11-01-2003 12:57 AM
ProFtp bnumark Linux - Software 5 06-28-2003 03:36 PM
proftp spate Linux - Software 2 01-09-2003 03:17 PM
ProFTP KillerCheeto Linux - Newbie 6 11-10-2002 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:02 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