mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-18 11:14:39 -05:00
By default, PS doesn't have very many tools for dealing with ban evaders on proxies - most of the main server's protection is in private code. This commit adds a basic IP evaluator to PS. It categorizes IPs into residential, mobile, and proxy (and a few other determinations), and locks proxy IPs by default. DNSBL entries remain semilocked. This behavior can, as always, be customized via hostfilter. Detect `user.locked === '#hostfilter'` for the proxy IP lock, which you can just set `user.locked = null` to disable. Fixes #5239 |
||
|---|---|---|
| .. | ||
| chat-plugins | ||
| static | ||
| tournaments | ||
| chat-commands.js | ||
| chat-formatter.ts | ||
| chat.js | ||
| global.d.ts | ||
| globals.ts | ||
| index.js | ||
| ip-tools.ts | ||
| ladders-local.ts | ||
| ladders-remote.ts | ||
| ladders.js | ||
| loginserver.ts | ||
| monitor.js | ||
| punishments.js | ||
| room-battle.js | ||
| room-game.js | ||
| roomlogs.js | ||
| rooms.js | ||
| sockets.js | ||
| team-validator-async.js | ||
| users.js | ||
| verifier.ts | ||