[GH-ISSUE #253] SSL Exclude List #2: Logic #253

Open
opened 2026-03-03 19:49:27 +03:00 by kerem · 0 comments
Owner

Originally created by @NghiaTranUIT on GitHub (Jun 16, 2023).
Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/253

Originally assigned to: @kics223w1 on GitHub.

Acceptance Criteria

  • Make sure it doesn't remove all current SSL Proxying List users from -> It should migrate to the Include List
  • Wildcard for Exclude List is similar how Wildcard in Include List works
  • As soon as we add the Include / Exclude Entry -> Should close connection for this request -> Do not close all alive connection
  • Implement the Exclude List, which is similar to IncludeList -> It should have the following logic:
public excludeEntries: SSLEntry[];
private excludeEntriesMap: { [key: string]: number }; // id: index -> For fast-lookup

How to Exclude List Works

  • Basically, Exclude List means the list of domains/wildcards should NOT to be intercepted SSL. It works opposite with the Include List.
  1. Update this func shouldIntercept(host: string, port: number): boolean {},
  2. Before checking the Include List, we should check the Exclude List first
  3. If the entry is matched with Exclude List (Domain / Wildcard) -> Just return false
  4. If it doesn't match with the Exclude List -> Go to the Include List logic as usual
Originally created by @NghiaTranUIT on GitHub (Jun 16, 2023). Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/253 Originally assigned to: @kics223w1 on GitHub. ## Acceptance Criteria - Make sure it doesn't remove all current SSL Proxying List users from -> It should migrate to the Include List ✅ - Wildcard for Exclude List is similar how Wildcard in Include List works - As soon as we add the Include / Exclude Entry -> Should close connection for this request -> Do not close all alive connection - Implement the Exclude List, which is similar to IncludeList -> It should have the following logic: ```js public excludeEntries: SSLEntry[]; private excludeEntriesMap: { [key: string]: number }; // id: index -> For fast-lookup ``` ## How to Exclude List Works - Basically, Exclude List means the list of domains/wildcards should NOT to be intercepted SSL. It works opposite with the Include List. 1. Update this func `shouldIntercept(host: string, port: number): boolean {}`, 2. Before checking the Include List, we should check the Exclude List first 3. If the entry is matched with Exclude List (Domain / Wildcard) -> Just return `false` 4. If it doesn't match with the Exclude List -> Go to the Include List logic as usual
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxyman-windows-linux#253
No description provided.