News for hackers. Stuff that matters.
Re:I added a real-time chat to my blog, people used it to at... by JSR_FDED on Thursday August 06, 2026 @10:30AM (#49197192)
I’d suggest one additional heuristic: once your bad word detector has triggered, shut down the chat for 10 minutes. That way waves of assholes don’t monopolize the chat, and when they move on to the next target the functionality returns to your site automatically.
Re:I added a real-time chat to my blog, people used it to at... by operation_moose on Thursday August 06, 2026 @10:43AM (#49197403)
Great way to get someone to create a bot that swears in the chat every 10 minutes and 1 second to permanently shut it down.
Re:I added a real-time chat to my blog, people used it to at... by phoghed on Thursday August 06, 2026 @10:38AM (#49197303)
But then one asshole can denial of service your chat very easily
Re:I added a real-time chat to my blog, people used it to at... by dylan604 on Thursday August 06, 2026 @10:46AM (#49197466)
Yeah, shutting down to that specific browser fingerprint would be the better way. Sometimes, being able to recognize a user has it's benefits for good /s
Re:I added a real-time chat to my blog, people used it to at... by Retr0id on Thursday August 06, 2026 @11:05AM (#49197726)
But don't let them know they've been shut down, use a shadowban.
Re:I added a real-time chat to my blog, people used it to at... by nickthegreek on Thursday August 06, 2026 @12:30PM (#49198930)
Agreed. I'd just have 2 chat pools, once you break rules, you get moved to the rule breaker pool with the other like minded individuals. Well behaved individuals wouldn't even know or care about the separation.
Re:I added a real-time chat to my blog, people used it to at... by lesostep on Thursday August 06, 2026 @11:04AM (#49197718)
Or just drop websocket connection to them.

Refreshing pages to establish connection again is semi easy for someone who made a honest mistake (and Could make them more cautious), but if someone wants to trigger web-socket disconnect all the time, it would become cumbersome.

Add something like fail2ban, and you're set enough against passing trollers, but not interesting enough to draw attention from people that like the challenge.