deploy: 75e74827b579a766f8312091efe1df82fc03a0e4

This commit is contained in:
SukkaBot
2022-10-19 02:34:15 +00:00
parent 5ad8712c2d
commit 9be9d924f7
6 changed files with 5261 additions and 10396 deletions

View File

@@ -1,9 +1,6 @@
const Piscina = require('piscina'); const Piscina = require('piscina');
// pre check if fullset domain is starts with a "."
// This avoid calling chatCodeAt repeatedly
const { canExcludeFromDedupe } = require('../lib/parse-filter') const { canExcludeFromDedupe } = require('../lib/parse-filter')
// workerData is an array of string, sorted by length, short first
const fullsetDomainStartsWithADot = Piscina.workerData const fullsetDomainStartsWithADot = Piscina.workerData
const totalLen = fullsetDomainStartsWithADot.length; const totalLen = fullsetDomainStartsWithADot.length;
@@ -45,11 +42,8 @@ module.exports.dedupe = ({ chunk }) => {
break; break;
} }
} }
} } else if (domainFromInputLen > domainFromFullSetLen) {
// domainFromInput is now startsWith a "."
// domainFromInput is now startsWith a "."
if (domainFromInputLen >= domainFromFullSetLen) {
if (domainFromInput.endsWith(domainFromFullSet)) { if (domainFromInput.endsWith(domainFromFullSet)) {
outputToBeRemoved[i] = 1; outputToBeRemoved[i] = 1;
break; break;

File diff suppressed because it is too large Load Diff

View File

@@ -617,6 +617,7 @@ analytics.slashdotmedia.com
.collect.yinyuetai.com .collect.yinyuetai.com
.sdklog.uu.cc .sdklog.uu.cc
.tagtic.cn .tagtic.cn
sa.holopin.io
.adjust.io .adjust.io
.airbrake.io .airbrake.io

View File

@@ -1,7 +1,7 @@
############################ ############################
# Mainland China IPv4 CIDR # Mainland China IPv4 CIDR
# Data from misaka.io (misakaio @ GitHub) # Data from misaka.io (misakaio @ GitHub)
# Last Updated: 2022-10-18T12:53:07.654Z # Last Updated: 2022-10-19T02:31:17.319Z
# Routes: 4248 # Routes: 4248
############################ ############################
IP-CIDR,1.2.4.0/24 IP-CIDR,1.2.4.0/24
@@ -705,7 +705,7 @@ IP-CIDR,61.243.128.0/18
IP-CIDR,61.243.192.0/19 IP-CIDR,61.243.192.0/19
IP-CIDR,62.234.0.0/16 IP-CIDR,62.234.0.0/16
IP-CIDR,63.140.0.0/24 IP-CIDR,63.140.0.0/24
IP-CIDR,64.6.65.0/24 IP-CIDR,64.6.64.0/23
IP-CIDR,66.102.240.0/21 IP-CIDR,66.102.240.0/21
IP-CIDR,66.102.248.0/22 IP-CIDR,66.102.248.0/22
IP-CIDR,66.102.255.0/24 IP-CIDR,66.102.255.0/24
@@ -722,11 +722,13 @@ IP-CIDR,67.198.188.0/23
IP-CIDR,67.198.192.0/23 IP-CIDR,67.198.192.0/23
IP-CIDR,67.198.195.0/24 IP-CIDR,67.198.195.0/24
IP-CIDR,67.198.199.0/24 IP-CIDR,67.198.199.0/24
IP-CIDR,67.198.201.0/24
IP-CIDR,67.198.207.0/24 IP-CIDR,67.198.207.0/24
IP-CIDR,67.198.208.0/24 IP-CIDR,67.198.208.0/24
IP-CIDR,67.198.221.0/24 IP-CIDR,67.198.221.0/24
IP-CIDR,67.198.235.0/24 IP-CIDR,67.198.235.0/24
IP-CIDR,67.198.239.0/24 IP-CIDR,67.198.239.0/24
IP-CIDR,67.198.244.0/24
IP-CIDR,67.198.255.0/24 IP-CIDR,67.198.255.0/24
IP-CIDR,68.79.0.0/18 IP-CIDR,68.79.0.0/18
IP-CIDR,69.230.192.0/18 IP-CIDR,69.230.192.0/18
@@ -2672,9 +2674,7 @@ IP-CIDR,163.177.0.0/16
IP-CIDR,163.179.0.0/16 IP-CIDR,163.179.0.0/16
IP-CIDR,163.204.0.0/16 IP-CIDR,163.204.0.0/16
IP-CIDR,163.228.0.0/16 IP-CIDR,163.228.0.0/16
IP-CIDR,165.156.16.0/23 IP-CIDR,165.156.16.0/21
IP-CIDR,165.156.19.0/24
IP-CIDR,165.156.20.0/22
IP-CIDR,166.111.0.0/16 IP-CIDR,166.111.0.0/16
IP-CIDR,167.139.0.0/16 IP-CIDR,167.139.0.0/16
IP-CIDR,167.189.0.0/16 IP-CIDR,167.189.0.0/16

View File

@@ -35,6 +35,11 @@ DOMAIN-KEYWORD,49329d48d6c.
DOMAIN-KEYWORD,vsvevvcca DOMAIN-KEYWORD,vsvevvcca
DOMAIN-KEYWORD,envci. DOMAIN-KEYWORD,envci.
DOMAIN-KEYWORD,aarsenvs. DOMAIN-KEYWORD,aarsenvs.
DOMAIN-KEYWORD,.myjaas
DOMAIN-KEYWORD,eb.myja
DOMAIN-KEYWORD,eb.myje
DOMAIN-KEYWORD,eb.myjo
DOMAIN-KEYWORD,sb.myja
# --- End of Blacklist Section # --- End of Blacklist Section

View File

@@ -24,7 +24,7 @@
<main class="container"> <main class="container">
<h1>Sukka Surge Ruleset Server</h1> <h1>Sukka Surge Ruleset Server</h1>
<p>Made by <a href="https://skk.moe">Sukka</a> | <a href="https://github.com/SukkaW/Surge/">Source @ GitHub</a> | Licensed under <a href="https://github.com/SukkaW/Surge/blob/master/LICENSE" target="_blank">AGPL-3.0</a></p> <p>Made by <a href="https://skk.moe">Sukka</a> | <a href="https://github.com/SukkaW/Surge/">Source @ GitHub</a> | Licensed under <a href="https://github.com/SukkaW/Surge/blob/master/LICENSE" target="_blank">AGPL-3.0</a></p>
<p>Last Updated: 2022-10-18T12:56:00.047Z</p> <p>Last Updated: 2022-10-19T02:34:11.410Z</p>
<hr> <hr>
<br> <br>
<ul> <ul>