瀏覽代碼

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
共有 3 個文件被更改,包括 1 次插入7 次删除
  1. 1 0
      Build/constants/phishing-score-source.ts
  2. 0 2
      Build/lib/create-file.ts
  3. 0 5
      Source/non_ip/my_direct.conf

+ 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