Browse Source

Update Reject Hosts

SukkaW 2 years ago
parent
commit
cb85ca0f4d
2 changed files with 43 additions and 18 deletions
  1. 14 7
      Build/build-reject-domainset.ts
  2. 29 11
      Source/non_ip/reject.conf

+ 14 - 7
Build/build-reject-domainset.ts

@@ -150,15 +150,22 @@ export const buildRejectDomainSet = task(import.meta.path, async (span) => {
   // Create reject stats
   const rejectDomainsStats: Array<[string, number]> = span
     .traceChild('create reject stats')
-    .traceSyncFn(() => Object.entries(
-      dudupedDominArray.reduce<Record<string, number>>((acc, cur) => {
-        const suffix = tldts.getDomain(cur, { allowPrivateDomains: false, detectIp: false, validateHostname: false });
-        if (suffix) {
-          acc[suffix] = (acc[suffix] || 0) + 1;
+    .traceSyncFn(() => {
+      const tldtsOpt = { allowPrivateDomains: false, detectIp: false, validateHostname: false };
+      const statMap = dudupedDominArray.reduce<Map<string, number>>((acc, cur) => {
+        const suffix = tldts.getDomain(cur, tldtsOpt);
+        if (!suffix) return acc;
+
+        if (acc.has(suffix)) {
+          acc.set(suffix, acc.get(suffix)! + 1);
+        } else {
+          acc.set(suffix, 1);
         }
         return acc;
-      }, {})
-    ).filter(a => a[1] > 5).sort((a, b) => (b[1] - a[1]) || a[0].localeCompare(b[0])));
+      }, new Map());
+
+      return Array.from(statMap.entries()).filter(a => a[1] > 9).sort((a, b) => (b[1] - a[1]));
+    });
 
   const description = [
     ...SHARED_DESCRIPTION,

+ 29 - 11
Source/non_ip/reject.conf

@@ -49,36 +49,50 @@ DOMAIN-KEYWORD,.nimiq.
 DOMAIN-KEYWORD,anybest.
 DOMAIN-KEYWORD,dubester.
 
-# >> duckdns.org (way too many abuse)
+# >> Way too many abuse
+# free ddns
 DOMAIN-SUFFIX,duckdns.org
-# >> yolasite.com (way too many abuse)
+# cheap web hosting with free subdomain
+DOMAIN-SUFFIX,webcindario.com
+# online d'n'd website builder
 DOMAIN-SUFFIX,yolasite.com
-# >> webwave.dev (way too many abuse)
+# online d'n'd website builder
 DOMAIN-SUFFIX,webwave.dev
-# >> weeblysite.com (way too many abuse)
+# online d'n'd website builder
 DOMAIN-SUFFIX,weeblysite.com
 DOMAIN-SUFFIX,square.site
-# >> crabdance.com (a freedns.afraid.org subdomain, way too many abuse)
+# freedns.afraid.org subdomain
 DOMAIN-SUFFIX,crabdance.com
-# >> strangled.net (a freedns.afraid.org subdomain, way too many abuse)
+# freedns.afraid.org subdomain
 DOMAIN-SUFFIX,strangled.net
-# >> cprapid.com (A domain-to-ip mapping maintained by cPanel, that has way too many abuse)
+# A domain-to-ip mapping maintained by cPanel
 DOMAIN-SUFFIX,cprapid.com
-# >> plesk.page (A domain-to-ip mapping maintained by Plesk, that has way too many abuse)
+# A domain-to-ip mapping maintained by Plesk
 DOMAIN-SUFFIX,plesk.page
-# >> 000webhostapp.com (way too many abuse)
+# cheap web hosting with free subdomain
 DOMAIN-SUFFIX,000webhostapp.com
-# >> pantheonsite.io (way too many abuse)
+# online d'n'd website builder
 DOMAIN-SUFFIX,pantheonsite.io
-# >> sitebeat.crazydomains.com (way too many abuse)
+# cheap web hosting with free subdomain
 DOMAIN-SUFFIX,sitebeat.crazydomains.com
+# online d'n'd website builder (https://www.infonline.de/)
+DOMAIN-SUFFIX,apps.iocnt.de
+
 # >> Snowplow Analytics (publicsuffix)
 DOMAIN-SUFFIX,try-snowplow.com
+
 # >> Mozilla Telemetry (Enforcing)
 DOMAIN-SUFFIX,telemetry-coverage.mozilla.org
 DOMAIN-SUFFIX,telemetry.mozilla.org
 DOMAIN-SUFFIX,incoming-telemetry.thunderbird.net
 
+# >> CNAME Tracking
+DOMAIN-SUFFIX,b2bmktg.com
+DOMAIN-SUFFIX,treker.fun
+DOMAIN-SUFFIX,trekkww.fun
+DOMAIN-SUFFIX,trekkww.space
+DOMAIN-SUFFIX,trekkeeee.space
+
 # >> Phishing
 DOMAIN-SUFFIX,gofenews.com
 DOMAIN-SUFFIX,jemonews.com
@@ -115,12 +129,16 @@ DOMAIN-SUFFIX,tarungdrajatsiokalama.com
 DOMAIN-SUFFIX,cetusinvestmentsbtc.com
 DOMAIN-SUFFIX,proenergy-engenharia.com
 DOMAIN-SUFFIX,pages.net.br
+DOMAIN-SUFFIX,myenotice.com
+DOMAIN-SUFFIX,eu5.net
+
 # --- End of Blacklist Section
 
 # --- AD Block ---
 
 # >> General
 
+DOMAIN-SUFFIX,p2l.info
 DOMAIN-KEYWORD,track.tiara
 # DOMAIN-KEYWORD,adservice # conflict with @@://www.googleadservices.com^|
 DOMAIN-KEYWORD,umeng