ProFTPD - dividing Maxclient totals by user account?

I'm not sure if it's possible, but I'm trying to figure out how to divide the "MaxClients" directive for a virtual server (40 in this case) between 2 (or more) user accounts that are allowed to connect to it.

Ex. Virtual Server 1.2.3.4, allows 'user1' and 'user2' account logins (high and low speed connections, respectively). I'd like to be able to have the server say that a maximum of up to 20 concurrent connections for each user login is allowed (with a total concurrent number of sessions being 40 for the whole virtual server). I also use the "MaxClientsPerHost 1" directive, too.

This is on a RedHat 7.3 (2.4.18smc) box running ProFTPD v. 1.2.7rc2.

The closest thing I can see that is like this is the "class" directive, but I need to limit by user login and not IP address/regex addresses.

I have additional IPs that I can use, so I know that I could make a separate virtual server for each account, but that seems like a waste of an IP to me and not very efficient (but maybe it's my only choice?).


Any help/info is much appreciated!!

 

 

 

 

Top