Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add matcher interface for domains filtering #742

Merged
merged 2 commits into from
Mar 7, 2024
Merged

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.

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
4 checks passed
@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.

None yet

2 participants