Skip to content

Add matcher interface for domains filtering #742

Merged
Choraden merged 2 commits intomainfrom
hg/regexp_matcher_int
Mar 7, 2024
Merged

Add matcher interface for domains filtering #742
Choraden merged 2 commits intomainfrom
hg/regexp_matcher_int

Conversation

@Choraden
Copy link
Contributor

@Choraden Choraden commented Mar 7, 2024

The Matcher interface replaces RegexpMatcher in forwarder's config.
This allows specifying custom match logic for mitm, deny, and direct domains.

Choraden added 2 commits March 7, 2024 15:20
The Matcher interface will replace RegexpMatcher in forwarder's config.
This allows specifying custom match logic.

This patch also adds a MatchFunc - helper for satisfying Matcher interface with functions.
This allows specifying custom match functions.
@mmatczuk
Copy link
Contributor

mmatczuk commented Mar 7, 2024

LGTM

@mmatczuk mmatczuk self-requested a review March 7, 2024 14:27
@Choraden Choraden merged commit 4eec720 into main Mar 7, 2024
@Choraden Choraden deleted the hg/regexp_matcher_int branch March 7, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants