add a option to override domain used to query https record #3421
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
cloudflare still didnt provide option to enable ech on free account. however if taking
echConfigfrom other domain which have ech in https record would just make ech works on your domain. because they are all usingcloudflare-ech.comfor outer ClientHello.this pr added a option to override the domain used to query for
echConfig. that means i dont need to updateechConfigmanually everytime ttl exceed.{ "log": { "error": { "level": "Debug", "type": "Console" }, "access": { "type": "None" } }, "outbounds": [ { "protocol": "vmess", "settings": { "address": "cf.ip", "port": 443, "uuid": "id" }, "streamSettings": { "transport": "httpupgrade", "transportSettings": { "host": "any.cf.domain", "path": "path" }, "security": "tls", "securitySettings": { "serverName": "any.cf.domain", "echDOHserver": "dohserver", "echQueryDomain": "cloudflare-ech.com", "nextProtocol": [ "http/1.1" ] } } } ], "inbounds": [ { "protocol": "socks", "settings": { "udpEnabled": false, "address": "127.0.0.1", "packetEncoding": "Packet" }, "port": 17794, "listen": "127.0.0.1" } ] }protoc version been bumped to make vprotogen able to run on my env. rebase to delete them if you want