View previous topic :: View next topic |
Author |
Message |
sobers_2002 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/83391048742c9f4cf11ba5.jpg)
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Wed May 05, 2004 3:56 pm Post subject: proftpd config |
|
|
hi all,
i was trying out proftpd and i am having some probs with my config file.
So i want to know how to make a config file which allows upload in a "upload" directory with 5MB/s speed and a universal download speed of 600KB/s, anonymous login and restricted to 3 users. My config file right now is like Code: |
ServerName "Dennis"
ServerType standalone
DefaultServer on
ServerIdent on "Paradise ftp server"
DeferWelcome on
Port 21
PassivePorts 30000 40000
Umask 022
TimeoutLogin 120
TimeoutIdle 240
TimeoutNoTransfer 300
TimeoutStalled 600
MaxInstances 3
DefaultRoot ~ !saurabh
DefaultRoot / abi
MaxHostsPerUser 2 "Sorry, large number of users."
MaxClientsPerHost 1 "Sorry, you may not connect more than one time."
MaxClientsPerUser 2 "Sorry, you may not connect more than one time."
#AllowFilter "./*[a-zA-Z0-9 ]+$"
<GLobal>
DisplayReadme README*
DisplayLogin welcome.msg
AccessGrantMsg "logged in as %u"
DisplayFirstChdir .message
#LoginPasswordPrompt off "Wibble"
TCPAccessFiles ~/my.allow ~/my.deny
</GLobal>
<Anonymous /home/ftp>
User ftp
Group nobody
RequireValidShell off
UserAlias anonymous ftp
MaxClients 2 "Sorry max users plz start a mirror and reduce the load"
AccessGrantMsg "logged in as %u"
AnonRequirePassword off
ListOptions "+R"
<Limit LOGIN>
Order deny,allow
Deny from 10.10. 10.11. 10.1. 10.12.
Allow from all
</Limit>
<Directory all>
TransferRate RETR 600:5120 group !saurabh
HideFiles (\.allow|deny|ftpaccess)$
</Directory>
<Limit WRITE>
DenyAll
</Limit>
<Limit READ DIRS>
IgnoreHidden on
</Limit>
<Directory incoming>
<Limit STOR MKD RMD XMKD XRMD>
AllowAll
IgnoreHidden on
</Limit>
</Directory>
</Anonymous>
|
with this config i am having a prob that i can;t login anonymously at all.[/code] _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Janne Pikkarainen Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/10433783463f526aba4144d.jpg)
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Wed May 05, 2004 6:47 pm Post subject: |
|
|
What do the logs say about the anonymous logins? _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sobers_2002 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/83391048742c9f4cf11ba5.jpg)
Joined: 16 Mar 2004 Posts: 1128
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Janne Pikkarainen Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/10433783463f526aba4144d.jpg)
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Wed May 05, 2004 7:21 pm Post subject: |
|
|
Maybe it goes to /var/log/messages? Try grep ftpd /var/log/* and see what happens. _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eltech Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19369419374313b606d447a.gif)
Joined: 05 Nov 2002 Posts: 582 Location: New York
|
Posted: Fri May 07, 2004 3:55 am Post subject: |
|
|
sobers_2002 wrote: | well........there is another problem then........there are no logs with proftpd name in /var/log :-/ |
add this to the config file maybe
ExtendedLog /var/log/ftp.log auth,all |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|