Page 1 of 1

ProFTP Anonymous Config

Posted: Mon Apr 03, 2006 5:02 pm
by Ezeran
Hi ^Rokker, Hi gilthanaz, hi everyone else. :D

I have a BIG Problem with my ftp-server. I don't get the Anonymous Login to work. Userlogin is working fine. I show you my config, maybe ^rooker have an idea. I've already spoken with gilthanaz, but he don't know a solution 'bout ftp. He also told me, that das-werkstatt works with SecureFTP, but i think it's the same config.

----------------------------------
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "Megatron"
ServerType standalone
DefaultServer on

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart on

# Port 21 is the standard FTP port.
Port 21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# 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).
MaxInstances 30

# Set the user and group under which the server will run.
User ftpadm
Group ftpuser

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite on

#Special Permissions
<Anonymous /opt/lampp/htdocs/upload>

User ftp
Group ftpuser

<Limit LOGIN>
AllowAll
</Limit>

RequireValidShell off
AnonRequirePassword off
MaxClients 10

<Limit WRITE>
DenyAll
</Limit>

<Directory *>
<Limit STOR>
AllowAll
</Limit>
</Directory>
</Anonymous>

--------------------------------------------------------

Thx for your help. :wink:

Posted: Mon Apr 03, 2006 5:04 pm
by Ezeran
The main Problem is, that he requires a Password when I try to login Anonymous. I don't understand that.

quick guess

Posted: Wed Apr 05, 2006 12:21 pm
by ^rooker
I'm just taking a quick guess here, but isn't it usually so that one provides at least "some" stinrg (e.g. an email address) as password for anonymous access?

But I'll have to take a close look at your config and ProFTPd in general in order to see if it's possible to go without any passwd at all.
(I'll check "AnonRequirePassword off" more closely)



BTW: we're using vsftpd. Gil's sometimes confusing all the different FTPd-names I sometimes throw at him. :)

Posted: Wed Apr 05, 2006 2:46 pm
by Ezeran
May he said vsftp, but i can't remember it. Whatever, thx for your help. I also tried to login with anonymous and and email adress through a browser, but this also don't work.