Stop discourse blocking CIDR blocks

(Wasim Khamlichi) #1

I find that Discourse starts automatically blocking CIDR blocks instead of individual IP addresses when it starts seeing a pattern in spammy IP addresses. This results in many genuine users being blocked from using the system. I keep deleting the blocks but they reappear soon after.

Is it possible to stop discourse automatically blocking CIDR blocks?

(Régis Hanol) #2

You can change the min_ban_entries_for_roll_up site setting to a much higher value.

(Wasim Khamlichi) #3

Cool thanks, I found it in the Settings -> Spam section.

(Régis Hanol) #4