Annika
c2e97aaaed
Use optional chaining in more places ( #8063 )
2021-02-22 11:42:05 -08:00
Mia
76c10841ea
Lib: Add an index file for all exports ( #7972 )
2021-01-31 18:00:19 -08:00
Mia
c12108fa72
Fix spinlock in /nomarkshared view ( #7821 )
2020-12-18 13:16:02 -08:00
Annika
34cab27a74
Properly type Promises ( #7712 )
2020-11-19 23:19:42 -08:00
Annika
1f239664c7
IPTools: Check proxy IPs before other host types ( #7414 )
2020-09-24 09:30:47 -07:00
Annika
bece58ee93
Fixes for /unrangelock ( #7266 )
2020-08-26 22:48:00 -07:00
Annika
05065dbdb8
IPTools: Support wildcards in string ranges ( #7223 )
2020-08-18 13:37:58 -07:00
Kris Johnson
7fc3cd516e
Add /nomarkshared ( #7201 )
2020-08-12 16:21:00 -07:00
Annika
7df8ad12a9
Hosts: Fix bug with /ipranges widen ( #7202 )
2020-08-12 10:03:08 -07:00
Annika
ce8a1dd975
IPTools: Remove '-nohost' suffix and make minor improvements ( #7108 )
2020-08-07 14:47:18 -07:00
Annika
cd85cd7a9d
Hosts & IPTools: Refactor to remove hardcoded ranges ( #7078 )
2020-07-29 23:04:50 -07:00
Annika
e0c18e8e0b
Refactor IPTools and add a host management chat plugin ( #7061 )
2020-07-26 12:41:27 -07:00
Kirk Scheibelhut
25eca28c30
Extract singleIPOpenProxies into a Set
2020-07-24 21:03:53 -07:00
Lusamine
41ece9d418
Update datacenters & ip-tools ( #6903 )
2020-06-22 07:18:40 -07:00
asgdf
2a570291e1
Remove incorrect host classification ( #6893 )
...
A large portion of the IPs with that hostname are static broadband connections.
2020-06-21 19:22:22 -04:00
Marty-D
f0753192a4
Update datacenters
2020-06-08 11:59:42 -04:00
Lusamine
8d910a2ad4
Update datacenters & IP-tools ( #6708 )
2020-05-16 18:28:06 -07:00
Lusamine
b8885dd360
Update datacenters & ip-tools ( #6619 )
2020-04-25 17:00:21 -07:00
asgdf
31cb98bebe
Improve hosttype detection for special case ( #6577 )
2020-04-14 15:26:16 -07:00
asgdf
85b621f0f2
Update datacenters ( #6547 )
2020-04-09 11:55:25 -07:00
Lusamine
2283b28afc
Update datacenters & ip-tools ( #6459 )
2020-03-14 11:27:26 -04:00
Guangcong Luo
b21c9047e2
Migrate to typescript-eslint ( #6342 )
2020-03-05 08:33:06 -08:00
Lusamine
7e8f5ddc36
Update datacenters & ip-tools ( #6406 )
2020-03-01 03:27:04 -08:00
Lusamine
39545c581d
Update datacenters and IP-tools ( #6355 )
2020-02-09 16:11:33 -08:00
Lusamine
9e699ff8d7
Update datacenters & ip-tools ( #6300 )
2020-02-01 22:01:11 -08:00
Lusamine
eed30c3759
Update datacenters ( #6294 )
...
* Update datacenters and ip-tools
* Clean up DET/Host1Plus/Heficed ranges
2020-01-18 22:26:42 -07:00
asgdf
b352ab8e3e
Update datacenters ( #6202 )
2019-12-22 05:21:28 +09:00
Lusamine
68c0634a5b
Update datacenters & ip-tools ( #5937 )
2019-11-07 17:41:10 +10:30
Lusamine
a1fe7d3fc9
Update datacenters and IP-tools ( #5915 )
2019-10-27 16:25:24 -04:00
Waleed Hassan
28e870c4fb
Server: Use readonly where appropriate ( #5902 )
2019-10-21 16:12:32 +10:30
Lusamine
6785111e32
Update datacenters & ip-tools ( #5901 )
2019-10-20 20:42:45 +10:30
Lusamine
4497dce723
Update datacenters & IP-tools ( #5880 )
2019-10-13 19:28:35 -04:00
Lusamine
3c8ced43af
Update datacenters and IP-tools ( #5849 )
2019-10-05 14:53:21 +10:00
Guangcong Luo
cc42db1b5c
Improve workaround for TypeScript Promise.all bug
2019-10-03 23:02:36 +10:00
HoeenHero
b055697237
Fix more typing in preperation for TS 3.7.0
2019-10-01 21:44:09 -04:00
Lusamine
bab655fbf6
Update datacenters and IP-tools ( #5823 )
2019-09-27 17:00:52 +09:30
Lusamine
ba1a7cdee7
Update datacenters and ip-tools ( #5801 )
2019-09-21 12:06:17 +09:30
Marty-D
6d48520345
IPTools: Update proxies
2019-09-15 15:15:54 -04:00
whales
52a5312550
Fix bug in IPTools#testConnection ( #5763 )
2019-09-07 02:03:09 -05:00
Lusamine
b69a7800d4
Update IPTools and datacenters ( #5762 )
2019-09-06 20:33:51 -04:00
Ben Davies
166efd79d9
Fix typo in IPTools
2019-08-28 19:20:01 -03:00
Marty-D
3ab1db925c
IPTools: Update proxy list
2019-08-04 11:42:05 -04:00
Guangcong Luo
cb858bce1b
Add sonic.net to residential ISP list
2019-07-15 00:23:07 -04:00
Marty-D
80da1aa377
IPTools: Update proxy lists
2019-07-14 21:29:53 -04:00
Ben Davies
d4c479686c
Use dns.lookup over dns.resolve4 in IPTools.dnsblQuery
...
This helps prevent DNS poisoning attacks if the platform supports DNSSEC
since dns.resolve4 uses c-ares, which doesn't support DNSSEC.
2019-07-08 21:39:44 -03:00
Kirk Scheibelhut
0941b9b546
Fix lint error in server/ip-tools.ts
2019-06-29 07:28:58 -07:00
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
Guangcong Luo
e1c364fb79
Refactor DNSBL -> IPTools
...
This is mostly a TypeScript refactor, but it does come with several
renames:
Dnsbl -> IPTools
Dnsbl.query -> IPTools.queryDnsbl
Dnsbl.reverse -> IPTools.getHost
2019-05-14 10:57:08 +10:00