Heyuri / kokonotsuba

Heyuri's BBS software
Other
19 stars 12 forks source link

Allow 1 thread creation per X seconds (Thread creation cooldown) #53

Closed kaguy4 closed 11 months ago

kaguy4 commented 11 months ago

Kokonotsuba is unfortunately quite vulnerable to bot spam. Here is how it looks when someone with a bot and infinite IPs floods the board: spam

As you can see it was all coming from different IPs, about 6~ threads per second. To fix this issue, when someone creates a thread, there should be a cooldown period where noone else can create a new thread. It should be configurable, but around 15-20 seconds would probably be good as the default.