Proftpd Ratio Config
I am trying to set up an ftp server on my slackware box using proftpd. I have edited the config file to my specifications, which at this point are real simple, but I am having problems with the mod ratios. This is what a snippet of my config file looks like--
# ratio fileserver <Anonymous ~ftp> AnonRequirePassword on RequireValidShell off User joe Group joe #AuthAliasOnly on <Directory /home/ftp/> Ratios on UserRatio joe 1 0 1 0 #GroupRatio proftpd SaveRatios on RatioFile /home/ftp/ratios/ratios RatioTempFile /home/ftp/ratios/tmpratios CwdRatioMsg "please Upload" FileRatioErrMsg "Come on, gimme a lil more.." ByteRatioErrMsg "bitten off more than you can chew" </Directory> # Limit the maximum number of anonymous logins MaxClients 50 # MaxClientsPerUser 1 # We want 'welcome.msg' displayed at login, and '.message' displayed # in each newly chdired directory. DisplayLogin welcome.msg DisplayFirstChdir .message # Limit WRITE everywhere in the anonymous chroot <Directory /ftp/full_albums/shares/*> <Limit READ> AllowAll </Limit> <Limit RETR> AllowAll </Limit> </Directory> <Directory /home/ftp/ratios/> <Limit ALL> Deny ALL </Limit> HideNoAccess on </Directory> # An upload directory that allows storing files but not retrieving # or creating directories. <Directory /home/ftp/uploads/*> <Limit WRITE CWD> AllowAll </Limit> <Limit READ RMD DELE> DenyAll </Limit> </Directory> </Anonymous> --------------------------------- I KNOW ITS MESSY! Basically the problem is that when the user logs in the ratio feature does not seem to be enabled and they can download whatever they want without uploading. Anyone with experience writing a ratio enabled proftpd.config please save me from my mess! |
replying to my own post
sometimes asking the question helps you to answer it yourself i just needed to put the "ratios on" line in the global directives and everything now appears peachy anyone wanna give me some other ideas for making my config file more sane feel free anyone wanna make fun of my you are also alllowed |
All times are GMT -5. The time now is 07:34 AM. |