[Mod_ftpd] clarification needed on manual.html instructions

Edward Rudd urkle at outoforder.cc
Tue Apr 19 00:10:02 EST 2005


On Mon, 2005-04-18 at 20:53, Kamin Whitehouse wrote:
> I've got mod_ftpd compiled and installed, but the
> server never gives me a username/password prompt. 
> After "gmake install", all I did is copy the sample
> configuration from the manual.html file directly into
> my httpd.conf file (after fixing a few typos).  Then,
> I restarted apache and tried:
> "$ ftp myserver.com"
> 
> but there is no response from the server.  A few other
> people on the gentoo forums seem to be having the same
> problem.  I've opened my firewall and have no problems
> with other ftp servers like vsftpd.  

Did you try running apache at LogLevel debug (add LogLevel debug to your
httpd.conf file)

Also try telneting directly to the FTP port

telnet myserver 21

and you should get back
>220 192.168.1.1 FTP server ready (mod_ftpd/0.13.1)

then type 
  user anonymous
and 
  pass guest@

and see if it works..

Also make sure you are using the latest release from outoforder.cc


> does anybody know what the problem is, or have more
> specific installation instructions?  In particular,
> there were a few things in the instructions that I
> wasn't sure about:
> 
> 1.  am I supposed to change the <VirtualHost *:21>
> directive to have a hostname directive?

*:21 will bind to all ips that are told to listen on port 21, whereas
hostname:21 will only bind on that hostname.

> 2.  what are the modules/mod_ftpd_dbm.so,
> modules/mod_ftpd_dbi.so,  and    
> modules/mod_ftpd_fail.so modules for?

They are optional modules that can be loaded to add extra functionality
in controlling a "chroot" style method, where user "jdoe" will be moved
into a different directory on the file system when they login. (ie. to
lock user "jdoe" to their home directory, or webroot)

> 3.  what are the PASV ports?

To support FTP Passive mode.  Passive mode is where the client makes
another connection to the server to actually push or pull the file. As
opposed to Active mode where the server connects to the client to push
or pull the file.

This just sets the range of ports that are allowed to be used by the FTP
server for pasv connections.

> 4.  what are all these directives: 
> anonymous_authoritative, AuthAuthoritative,
> Anonymous_NoUserID, Anonymous anonymous, AuthName ftp?
>    In particular, does one of these turn
> authentication on/off?  What would the correct
> settings be for anonymous and password/anonymous
> only/password only?

They are configuring the standard apache authentication mechanisms.

> 
> 5.  is there a way to define a filesystem path for a
> <Location> directive?  For example, subversion's
> mod_dav_svn allows you to declare:
> 
> <Location /mydir>
> DAV svn
> SVNPath /local/fs/dir/name
> ....

currently mod_ftpd can only use a "REAL" filesystem on the disk, it
can't use a virtual filesystem like Subversion at the moment. It is a
planned feature.

> Any help getting this to work would be great...
> mod_ftpd is *exactly* what I need because it uses
> apache authentication.  My configuration uses apache
> 2.0.52 with RH9, but I've also tried with an updated
> gentoo machine.

I have personally tested mod_ftpd on RH 7.3 (original development box)
and RHEL3 (a close sibling to RH9) and Fedora Core 3 (amd64). My friend
has tested it on an older gentoo and on freebsd.

> I should be suscribed to this list, but haven't gotten
> a confirmation email yet, so please cc me directly in
> your response just in case.
> Thanks,
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Make Yahoo! your home page 
> http://www.yahoo.com/r/hs
> _______________________________________________
> Download the latest version at http://www.outoforder.cc/projects/apache/mod_ftpd/
> 
> To unsubscribe send an e-mail to 
mod_ftpd-unsubscribe at lists.outoforder.cc
-- 
Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_ftpd/attachments/20050419/a3cd8d57/attachment.bin


More information about the Mod_ftpd mailing list