[Rspamd-Users] ipmask as selector in ratelimit.conf

Mickaël Dequidt Mickael.Dequidt at ifremer.fr
Thu Oct 12 13:50:59 UTC 2023


Hello list,

I wonder if I might have your feedback on my use of the ipmask function 
as a selector for ratelimiting purposes. I could not find an example for 
this function, so I am unsure of whether I am using it right.

My issue is, I need to give specific rates for two ranges of IPs in a /* 
mask. Is this the right way to do so :

>    ip_partner = {
>       selector = 'ip.ipmask(1.2.3.4/25);ip.ipmask(4.3.2.1/28)';
>       bucket = {
>         [...]
>       }
>    }

Thanks,

-- 
Mickaël DEQUIDT
IFREMER - Service IRSI/RIC
Centre Ifremer Bretagne - ZI de la pointe du diable
CS 10070 - 29280 Plouzané
Tel : +33 (0)2 98 22 46 04 - Fax : +33 (0)2 98 22 46 47


More information about the Users mailing list