Koozali.org: home of the SME Server

Can't get RateReadBPS to work on the FTP server.

Jan van Haarst

Can't get RateReadBPS to work on the FTP server.
« on: October 11, 2000, 02:14:54 AM »
Hi,
I'm having trouble to get RateReadBPS to work on our FTP server.
I need it to limit the maximum bandwith anonymous users who are on their way to suck up most of our bandwidth:-)
According to http://www.proftpd.net/docs/configuration.html#RateReadBPS it should be possible to do this:
                                                                                     
    User public                                                                                                                    
    Group public                                                                                                                    
    UserAlias anonymous public                                                                                                      
    UserAlias ftp public                                                                                                            
    AnonRequirePassword off                                                                                                        
    UseFtpUsers on                                                                                                                  
    MaxClients 10    
RateReadBPS 10000                                                                                                              
    DisplayLogin welcome.msg                                                                                                        
    DisplayFirstChdir .message                                                                                                      
                                                                                                                     
        AllowAll                                                                                                                    
   
                                                                                                                       
                                                                                                                     
                                                                                                                     
            DenyAll                                                                                                                
       
                                                                                                                   
   
                                                                                                                   
     

But as I do that, proftp dies with  Fatal: unknown configuration directive 'RateReadBPS' in the logs...

Time for an update ?
Any ideas for a painless transition ?
Is there a setback on just updating the server with a new RPM ?

Anyway, help is appreciated.

Bye, Jan

Jan van Haarst

RE: Can't get RateReadBPS to work on the FTP serve
« Reply #1 on: October 18, 2000, 01:15:20 AM »
I solved it myself by installing the last version of proftpd.
Hope it isn't needed soon, but who knows what a publication in a magazine may offer...
Bye, Jan