|
6 | 6 | }, |
7 | 7 |
|
8 | 8 |
|
9 | | - "remarks": "MITM-DomainFronting_v2", |
| 9 | + "remarks": "MITM-DomainFronting_v3", |
10 | 10 |
|
11 | 11 | "version": { |
12 | 12 | "min": "26.2.6" |
|
29 | 29 | "hosts": { |
30 | 30 | "geosite:category-ads-all": "#3", |
31 | 31 | "google-main-services.redirect": "216.239.38.120", |
32 | | - "vercel-sites.redirect": "react.dev" |
| 32 | + "vercel-sites.redirect": "react.dev", |
| 33 | + "fastly.redirect": "www.python.org" |
33 | 34 | }, |
34 | 35 | "servers": [ |
35 | 36 | "fakedns", |
|
221 | 222 | } |
222 | 223 | } |
223 | 224 | } |
| 225 | + }, |
| 226 | + { |
| 227 | + "tag": "tls-repack-fastly", |
| 228 | + "protocol": "direct", |
| 229 | + "settings": { |
| 230 | + "redirect": "fastly.redirect:443" |
| 231 | + }, |
| 232 | + "streamSettings": { |
| 233 | + "security": "tls", |
| 234 | + "tlsSettings": { |
| 235 | + "serverName": "www.python.org", |
| 236 | + "verifyPeerCertByName": "fromMitM,www.python.org,pypi.org,fastly.com,www.fastly.com,developer.fastly.com,reddit.com,githubassets.com,github.com,github.io,githubusercontent.com", |
| 237 | + "alpn": ["fromMitM"], |
| 238 | + "fingerprint": "chrome" |
| 239 | + }, |
| 240 | + "sockopt": { |
| 241 | + "domainStrategy": "ForceIP", |
| 242 | + "happyEyeballs": { |
| 243 | + "tryDelayMs": 300, |
| 244 | + "prioritizeIPv6": false, |
| 245 | + "interleave": 2, |
| 246 | + "maxConcurrentTry": 20 |
| 247 | + } |
| 248 | + } |
| 249 | + } |
224 | 250 | } |
225 | 251 | ], |
226 | 252 |
|
227 | 253 | "routing": { |
228 | | - "domainStrategy": "AsIs", |
| 254 | + "domainStrategy": "IPOnDemand", |
229 | 255 | "rules": [ |
230 | 256 | { |
231 | 257 | "outboundTag": "block", |
|
243 | 269 | "outboundTag": "direct", |
244 | 270 | "domain": ["domain:ir", "geosite:private", "geosite:category-ir"] |
245 | 271 | }, |
246 | | - { |
247 | | - "outboundTag": "direct", |
248 | | - "ip": ["geoip:private", "geoip:ir"] |
249 | | - }, |
250 | 272 | { |
251 | 273 | "outboundTag": "tls-repack-googlevideo", |
252 | 274 | "domain": ["domain:googlevideo.com"], |
|
262 | 284 | "domain": ["geosite:vercel"], |
263 | 285 | "inboundTag": ["tls-decrypt-h211"] |
264 | 286 | }, |
| 287 | + { |
| 288 | + "outboundTag": "tls-repack-fastly", |
| 289 | + "domain": ["geosite:fastly", "geosite:reddit", "domain:githubassets.com", "domain:githubusercontent.com"], |
| 290 | + "inboundTag": ["tls-decrypt-h211"] |
| 291 | + }, |
| 292 | + { |
| 293 | + "outboundTag": "tls-repack-fastly", |
| 294 | + "ip": ["geoip:fastly"], |
| 295 | + "inboundTag": ["tls-decrypt-h211"] |
| 296 | + }, |
| 297 | + { |
| 298 | + "outboundTag": "block", |
| 299 | + "inboundTag": ["tls-decrypt-h211", "tls-decrypt-h11"] |
| 300 | + }, |
265 | 301 | { |
266 | 302 | "outboundTag": "redirect-out-h11", |
267 | 303 | "network": "tcp", |
|
272 | 308 | "outboundTag": "redirect-out-h211", |
273 | 309 | "network": "tcp", |
274 | 310 | "port": 443, |
275 | | - "domain": ["geosite:google"] |
| 311 | + "domain": ["geosite:google", "geosite:vercel", "geosite:fastly", "geosite:reddit", "domain:githubassets.com", "domain:githubusercontent.com"] |
| 312 | + }, |
| 313 | + { |
| 314 | + "outboundTag": "direct", |
| 315 | + "ip": ["geoip:private", "geoip:ir"] |
276 | 316 | }, |
277 | 317 | { |
278 | 318 | "outboundTag": "redirect-out-h211", |
279 | 319 | "network": "tcp", |
280 | 320 | "port": 443, |
281 | | - "domain": ["geosite:vercel"] |
| 321 | + "ip": ["geoip:fastly"] |
282 | 322 | }, |
283 | 323 | { |
284 | 324 | "outboundTag": "direct", |
|
0 commit comments