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

Filter dnstype HTTPS based on response #7430

Open
3 tasks done
mikeS7 opened this issue Nov 11, 2024 · 3 comments
Open
3 tasks done

Filter dnstype HTTPS based on response #7430

mikeS7 opened this issue Nov 11, 2024 · 3 comments

Comments

@mikeS7
Copy link

mikeS7 commented Nov 11, 2024

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

The problem

In Russia I've got an issue with Cloudflare CDN HTTPS records. Cloudflare ECH is blocked.
https://developers.cloudflare.com/ssl/edge-certificates/ech/

I would like to filter dnstype=HTTPS response not a request for 'cloudflare-ech.com'. For the moment I should to completely block HTTPS request with filter
||*^$dnstype=HTTPS,dnsrewrite=NOERROR;;

Proposed solution

Add ability to overwrite or filter response for HTTPS dnstype.

Alternatives considered and additional information

No response

@bcookatpcsd
Copy link

bcookatpcsd commented Dec 23, 2024

||*^$dnstype=SOA,dnsrewrite=NOERROR;;

vs

||*^$dnstype=SOA,dnsrewrite=BLOCKED;;

or

||*^$dnstype=SOA,dnsrewrite=REFUSED;;

Change your dnstype from SOA to HTTPS.. does it work for you?

(NOERROR vs BLOCKED..)

NOTE: If a rule contains a modifier not listed in this document, the whole rule must be ignored. This way we avoid false-positives when people are trying to use unmodified browser ad blockers' filter lists like EasyList or EasyPrivacy.

@ainar-g
Copy link
Contributor

ainar-g commented Dec 24, 2024

@mikeS7
Copy link
Author

mikeS7 commented Dec 24, 2024

Change your dnstype from SOA to HTTPS.. does it work for you?

It works for request not for the answer. I need to block only response with particular ech. Also the answer is base64 encoded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants