Re: [Proftpd-user] ProFTPD 1.3.7a : Various BanOnEve nt ClientConnectRate rules in server config section

"TJ Saunders" <[email protected]> Fri, 18 Jun 2021 18:45:57 -0700
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
> Question: could it be made possible to configure different BanOnEvent 
> ClientConnectRate rules for different Classes ?
> 
> Lets say:
> 
> <Class manyconnects>
>          From xxx.yyyy.zzzz.cccc
> </Class>
> 
> <Class lessconnects>
>          From xxx.yyyy.zzzz.cccc
> </Class>

This should work -- assuming your different classes use different IP ranges, so that a given client only matches one of the defined classes.  Your example above uses the same IP ranges/DNS names, so it's hard to tell if that is what you are actually using.

When a client connect, you should see the matching class found for it, if any, in the ProFTPD logs.

> I think, now only the first rule is configured.

What behavior are you observing, to indicate that perhaps only the first class is being matched, perhaps unexpectedly?

Cheers,
TJ


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html