Skip to content

Commit 530bbd8

Browse files
committed
Minor tweaks
1 parent 5531219 commit 530bbd8

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

Xray-config/MITM-DomainFronting.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77

88

9-
"remarks": "MITM-DomainFronting_v17",
9+
"remarks": "MITM-DomainFronting_v18",
1010

1111
"version": {
1212
"min": "26.2.6"
@@ -32,7 +32,7 @@
3232
"vercel-sites.redirect": "nextjs.org",
3333
"fastly.redirect": "github.githubassets.com",
3434
"amazon-cloudfront.redirect": "kubernetes.io",
35-
"github-com.redirect": "github.com",
35+
"github-com.redirect": "www.github.com",
3636
"github-com-2.redirect": "collector.github.com",
3737
"github-alive.redirect": "alive.github.com",
3838
"pubmed.redirect": "pubmed.ncbi.nlm.nih.gov"
@@ -163,7 +163,7 @@
163163
"security": "tls",
164164
"tlsSettings": {
165165
"serverName": "fromMitM",
166-
"verifyPeerCertByName": "fromMitM,github.com,www.github.com",
166+
"verifyPeerCertByName": "fromMitM,github.com,www.github.com,api.github.com",
167167
"alpn": ["fromMitM"],
168168
"fingerprint": "chrome"
169169
},
@@ -309,7 +309,7 @@
309309
"streamSettings": {
310310
"security": "tls",
311311
"tlsSettings": {
312-
"serverName": "github.com",
312+
"serverName": "www.github.com",
313313
"verifyPeerCertByName": "fromMitM,github.com,www.github.com",
314314
"alpn": ["fromMitM"],
315315
"fingerprint": "chrome"
@@ -478,13 +478,18 @@
478478
"inboundTag": ["tls-decrypt-h211"]
479479
},
480480
{
481-
"outboundTag": "tls-repack-github-null",
482-
"domain": ["domain:gist.github.com"],
481+
"outboundTag": "tls-repack-frommitm",
482+
"domain": ["domain:api.github.com"],
483+
"inboundTag": ["tls-decrypt-h211"]
484+
},
485+
{
486+
"outboundTag": "tls-repack-github-com",
487+
"domain": ["domain:gist.github.com", "domain:www.github.com", "full:github.com"],
483488
"inboundTag": ["tls-decrypt-h211"]
484489
},
485490
{
486491
"outboundTag": "tls-repack-github-com-2",
487-
"domain": ["domain:objects-origin.githubusercontent.com", "domain:api.individual.githubcopilot.com", "domain:glb-db52c2cf8be544.github.com", "domain:api.githubcopilot.com"],
492+
"domain": ["domain:objects-origin.githubusercontent.com", "domain:api.individual.githubcopilot.com", "domain:glb-db52c2cf8be544.github.com", "domain:api.githubcopilot.com", "domain:collector.github.com", "domain:central.github.com"],
488493
"inboundTag": ["tls-decrypt-h211"]
489494
},
490495
{

0 commit comments

Comments
 (0)