pokemon-showdown/server
Guangcong Luo 82e8dc6ea1 Add proxy IP detector to IPTools
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
2019-06-27 10:25:19 -07:00
..
chat-plugins Add proxy IP detector to IPTools 2019-06-27 10:25:19 -07:00
static
tournaments Fix crash in multi elim tours (#5516) 2019-06-02 00:17:57 -05:00
chat-commands.js Add proxy IP detector to IPTools 2019-06-27 10:25:19 -07:00
chat-formatter.ts toId -> toID 2019-05-12 17:53:01 -07:00
chat.js Add proxy IP detector to IPTools 2019-06-27 10:25:19 -07:00
global.d.ts Include a >version-origin hash if different from >version (#5542) 2019-06-16 13:24:11 +09:00
globals.ts Clear forcerename monitor names on namelock more completely (#5510) 2019-05-29 09:41:54 -05:00
index.js Remove import = and export = 2019-05-16 01:27:07 +04:00
ip-tools.ts Add proxy IP detector to IPTools 2019-06-27 10:25:19 -07:00
ladders-local.ts Remove import = and export = 2019-05-16 01:27:07 +04:00
ladders-remote.ts Remove import = and export = 2019-05-16 01:27:07 +04:00
ladders.js Ensure all desyced games are cleared (#5514) 2019-06-01 09:47:50 -05:00
loginserver.ts Remove import = and export = 2019-05-16 01:27:07 +04:00
monitor.js Remove import = and export = 2019-05-16 01:27:07 +04:00
punishments.js Add proxy IP detector to IPTools 2019-06-27 10:25:19 -07:00
room-battle.js Fix input logs (#5539) 2019-06-26 07:38:17 +09:00
room-game.js Fix input logs (#5539) 2019-06-26 07:38:17 +09:00
roomlogs.js toId -> toID 2019-05-12 17:53:01 -07:00
rooms.js Slightly improve groupchats (#5544) 2019-06-18 21:21:54 +02:00
sockets.js Remove import = and export = 2019-05-16 01:27:07 +04:00
team-validator-async.js Remove import = and export = 2019-05-16 01:27:07 +04:00
users.js Add proxy IP detector to IPTools 2019-06-27 10:25:19 -07:00
verifier.ts Typescript server/verifier.js (#5482) 2019-05-07 14:09:01 +09:30