A Discourse forum administrator, thangngoc89, reported a surge in spam registrations exploiting Gmail’s dot and plus addressing tricks (e.g., user.name@gmail.com or user+tag@gmail.com). Community members like tiagocc0 and markersocial noted that spammers use these tricks to bypass IP bans and create thousands of accounts rapidly, even with Cloudflare and IP restrictions in place. codinghorror suggested CAPTCHAs as a more effective deterrent than blocking specific email characters, since spammers are increasingly human-operated and sophisticated. markersocial shared success using Cloudflare’s “I’m under attack” mode and ASN/user-agent blocking to disrupt spam, while acknowledging that no single defense is foolproof — layered, resource-intensive countermeasures are key. sam initially implemented a site setting enforce_canonical_emails to block duplicate registrations via Gmail’s tricks, but later reverted it after realizing legitimate users rely on plus addressing for testing and organization. Instead, sam introduced a smarter default: if an email like evil.person+77@gmail.com is blocked, the canonical form evilperson@gmail.com is also blocked, preventing variants from slipping through. This change solves the original issue without disrupting legitimate use. The discussion concluded that while plugins can offer stricter email controls, core Discourse should prioritize usability and only enhance existing blocking logic. neounix offered cybersecurity advice, emphasizing detection as an art and the OODA loop (Observe-Orient-Decide-Act) for staying ahead of attackers. The feature was marked complete with the improved email blocking logic.
Hum, I’m using Cloudflare for CDN, and discourse only see Cloudflare, not user’s IP. (in Wordpress, Cloudflare has an plugin to pass the user IP to website)
At vB we used to get literally thousands of bot “seed” accounts like
aliasg.maila.ccount
alia.sgmai.laccount
ali.asg.mailacco.unt
alias.g.m.ailaccount
al.iasgmai.lacc.ount
… etc. ad nauseum
We eventually had a plugin written to deal with them
You really need to get IP passed through correctly otherwise you are really screwed. That’s about the only effective way to stop spammers, if they are clever.
While in this case banning the IP is the right thing to do, I think there is merit in being able to stop user.name@gmail.com and username@gmail.com from being both registered as two different users at any given discourse forum.
No sane administrator should allow this behaviour (from gmail) and maybe we could have an option to extend this prohibition to other email providers as well.
It would need a simple list like ‘@gmail.com’, ‘@anotherprovidder.com’ and then it would check for registered users by removing the dot or any other relevant character (could have a list as well) to avoid users that want to have two or more accounts.
Maybe a plugin with this functionality would be the best solution.
これは、ニッチ、トラフィック量、そして彼らの直接反応型スパムキャンペーンに適しているかどうかによって大きく異なります。投稿リストの上位に投稿を維持できるスパマーは、実質的に極めて安価で素晴らしい広告スペースを手に入れていることになります。トップページのアbove the fold(画面内上部)の広告スペースは、ニッチやトラフィック量によって、1 日あたり数百ドルから数千ドルの価値があることが非常に一般的です。