ソースを参照

Whitelist `backblazeb2.com` in phishing & Other minor changes

Seriously, why don't fucking Backblaze request Public Suffix? It is the
whole reason your main domain getting blocked.
SukkaW 2 週間 前
コミット
f65c8fa326

+ 1 - 0
Build/constants/phishing-score-source.ts

@@ -45,6 +45,7 @@ export const WHITELIST_MAIN_DOMAINS = new Set([
   'windows.net', // Microsoft refuses to add web.core.windows.net to the Public Suffix List
   'myqcloud.com', // curben phishing-filter contains many entries
   'surge.sh', // caused by phishing-filter, also no public suffix
+  'backblazeb2.com', // phishing-filter, no publicsuffix, too much abuse
 
   'pages.dev',
   'workers.dev'

+ 0 - 2
Build/lib/create-file.ts

@@ -33,8 +33,6 @@ export async function compareAndWriteFile(span: Span, linesA: string[], filePath
   return span.traceChildAsync<void>(`writing ${filePath}`, async () => {
     const linesALen = linesA.length;
 
-    console.log('writing', { linesA: fastStringArrayJoin(linesA, '\n').slice(-100) });
-
     // The default highwater mark is normally 16384,
     // So we make sure direct write to file if the content is
     // most likely less than 250 lines

+ 0 - 5
Source/non_ip/my_direct.conf

@@ -1,9 +1,4 @@
 # $ meta_title Sukka's Ruleset - Direct
 
-DOMAIN-SUFFIX,torrentmac.net
-DOMAIN-SUFFIX,download.555mac.com
-DOMAIN-KEYWORD,mac-torrent-download
 DOMAIN-SUFFIX,engage.cloudflareclient.com
-
-PROCESS-NAME,AdGuardHome
 PROCESS-NAME,nmap