What are the best ways of stopping flooding/spamming in a forum by people who use alternate accounts?

Are there any ways of banning someone permanently on a forum, other than banning their IP, MAC address, etc...?

I have a problem with flooding/spamming on my forum, and I can't ban this person because his IP keeps changing, and he can change his MAC address within minutes. I don't want to ban an entire domain or ISP, cause it will cause others from accessing the forum.

Dani AI

Generated

described repeated flooding from rapidly created alternate accounts, and pointed out that single checks are easy to evade. A layered, evidence-driven approach works best: combine low-friction front-line defenses, behavior/rate controls, and stronger escalation only for accounts that keep returning.

Start with low-friction barriers you can deploy quickly:

  • Use a CDN/WAF that can present JS challenges and adaptive rate limits to suspicious traffic. This drops most automated attackers before they hit your app ().
  • Add a simple invisible-honeypot field and require basic JS execution for posting; bots that auto-fill hidden fields or do not run JS will self-identify.
  • Apply short-term rate limits (per-account, per-session, and per-source fingerprint) so a flood becomes ineffective rather than outright blocking legitimate users. Example NGINX snippet (tweak values to fit traffic patterns):
limit_req_zone $binary_remote_addr zone=forum:10m rate=30r/m;

server {
  location /post {
    limit_req zone=forum burst=10 nodelay;
  }
}

If abuse continues, add layered detection and escalation:

  • Browser/device fingerprinting (e.g., FingerprintJS) and TLS/JA3 fingerprints help tie sessions together even when IPs rotate; use them for scoring, not immediate bans (FingerprintJS, JA3).
  • Block or challenge known anonymity/proxy/Tor exit nodes using public lists (Tor exit list) and commercial proxy-detection feeds when necessary.
  • Route new accounts or low-trust accounts into a moderation/queue or enforce progressive friction (CAPTCHA, SMS/phone verification) only when behavior looks risky.

Operational tips: log enriched signals (fingerprint, ASN, user-agent, timing patterns), tune thresholds on real traffic, and prefer shadowbanning or throttling over heavy-handed network blocks to avoid collateral damage. Be mindful of privacy and legal tradeoffs when fingerprinting or requiring phone verification.

A pragmatic rollout: enable WAF + honeypot → add rate-limits → enable scoring/fingerprinting → escalate to targeted challenges/phone verification for persistent offenders. This raises attacker cost and typically ends repeated flooding without breaking normal users.

Recommended Answers

All 3 Replies

Unfortunately I don't know of a way around proxy servers. Do you requite email confirmation for newly registered members? If you have someone's email and their IP address, you may be able to get their ISP to take action if they are being abusive.

Actually, I was wondering if there is anyway to maybe restrict the forum to users NOT using a proxy server, or a way to stop IP spoofing, and flooding.

Not that I know of. Of course you can detect the IP address and resolve the hostname of your visitors on the fly (although it might slow down page loading times) but I don't think it would be possible to foolproof detect whether that hostname is a proxy or not??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.