|
1589 | 1589 | encryption: 'none', |
1590 | 1590 | security: 'tls', |
1591 | 1591 | sni: workerDomain, |
1592 | | - fp: 'chrome', |
1593 | | - alpn: 'h3,h2,http/1.1', |
1594 | | - insecure: '1', |
1595 | | - allowInsecure: '1', |
| 1592 | + fp: 'randomized', |
1596 | 1593 | type: 'ws', |
1597 | 1594 | host: workerDomain, |
1598 | 1595 | path: wsPath |
|
1671 | 1668 | security: 'tls', |
1672 | 1669 | sni: workerDomain, |
1673 | 1670 | fp: 'chrome', |
1674 | | - alpn: 'h3,h2,http/1.1', |
1675 | | - insecure: '1', |
1676 | | - allowInsecure: '1', |
1677 | 1671 | type: 'ws', |
1678 | 1672 | host: workerDomain, |
1679 | 1673 | path: wsPath |
|
3577 | 3571 | document.getElementById('ev').checked = config.ev !== 'no'; |
3578 | 3572 | document.getElementById('et').checked = config.et === 'yes'; |
3579 | 3573 | document.getElementById('ex').checked = config.ex === 'yes'; |
3580 | | - document.getElementById('ech').checked = config.ech !== 'no'; |
| 3574 | + document.getElementById('ech').checked = config.ech === 'yes'; |
3581 | 3575 | document.getElementById('tp').value = config.tp || ''; |
3582 | 3576 | document.getElementById('scu').value = config.scu || ''; |
3583 | 3577 | document.getElementById('epd').checked = config.epd !== 'no'; |
|
5302 | 5296 | if (CF_HTTPS_PORTS.includes(port)) { |
5303 | 5297 |
|
5304 | 5298 | const wsNodeName = `${nodeName}-${port}-WS-TLS`; |
5305 | | - let link = `${proto}://${user}@${item.ip}:${port}?encryption=none&security=tls&sni=${workerDomain}&fp=chrome&alpn=h3%2Ch2%2Chttp%2F1.1&insecure=1&allowInsecure=1&type=ws&host=${workerDomain}&path=${wsPath}`; |
| 5299 | + let link = `${proto}://${user}@${item.ip}:${port}?encryption=none&security=tls&sni=${workerDomain}&fp=randomized&type=ws&host=${workerDomain}&path=${wsPath}`; |
5306 | 5300 |
|
5307 | 5301 | // 如果启用了ECH且有ECH配置,添加ech参数 |
5308 | 5302 | if (enableECH && echConfig) { |
|
5321 | 5315 | } else { |
5322 | 5316 |
|
5323 | 5317 | const wsNodeName = `${nodeName}-${port}-WS-TLS`; |
5324 | | - let link = `${proto}://${user}@${item.ip}:${port}?encryption=none&security=tls&sni=${workerDomain}&fp=chrome&alpn=h3%2Ch2%2Chttp%2F1.1&insecure=1&allowInsecure=1&type=ws&host=${workerDomain}&path=${wsPath}`; |
| 5318 | + let link = `${proto}://${user}@${item.ip}:${port}?encryption=none&security=tls&sni=${workerDomain}&fp=randomized&type=ws&host=${workerDomain}&path=${wsPath}`; |
5325 | 5319 |
|
5326 | 5320 | // 如果启用了ECH且有ECH配置,添加ech参数 |
5327 | 5321 | if (enableECH && echConfig) { |
|
5353 | 5347 | security: 'tls', |
5354 | 5348 | sni: workerDomain, |
5355 | 5349 | fp: 'chrome', |
5356 | | - alpn: 'h3,h2,http/1.1', |
5357 | | - insecure: '1', |
5358 | | - allowInsecure: '1', |
5359 | 5350 | type: 'xhttp', |
5360 | 5351 | host: workerDomain, |
5361 | 5352 | path: `/${nodePath}`, |
|
5390 | 5381 | if (CF_HTTPS_PORTS.includes(port)) { |
5391 | 5382 |
|
5392 | 5383 | const wsNodeName = `${nodeName}-${port}-${atob('VHJvamFu')}-WS-TLS`; |
5393 | | - let link = `${atob('dHJvamFuOi8v')}${password}@${item.ip}:${port}?security=tls&sni=${workerDomain}&fp=chrome&alpn=h3%2Ch2%2Chttp%2F1.1&insecure=1&allowInsecure=1&type=ws&host=${workerDomain}&path=${wsPath}`; |
| 5384 | + let link = `${atob('dHJvamFuOi8v')}${password}@${item.ip}:${port}?security=tls&sni=${workerDomain}&fp=chrome&type=ws&host=${workerDomain}&path=${wsPath}`; |
5394 | 5385 |
|
5395 | 5386 | // 如果启用了ECH且有ECH配置,添加ech参数 |
5396 | 5387 | if (enableECH && echConfig) { |
|
5409 | 5400 | } else { |
5410 | 5401 |
|
5411 | 5402 | const wsNodeName = `${nodeName}-${port}-${atob('VHJvamFu')}-WS-TLS`; |
5412 | | - let link = `${atob('dHJvamFuOi8v')}${password}@${item.ip}:${port}?security=tls&sni=${workerDomain}&fp=chrome&alpn=h3%2Ch2%2Chttp%2F1.1&insecure=1&allowInsecure=1&type=ws&host=${workerDomain}&path=${wsPath}`; |
| 5403 | + let link = `${atob('dHJvamFuOi8v')}${password}@${item.ip}:${port}?security=tls&sni=${workerDomain}&fp=chrome&type=ws&host=${workerDomain}&path=${wsPath}`; |
5413 | 5404 |
|
5414 | 5405 | // 如果启用了ECH且有ECH配置,添加ech参数 |
5415 | 5406 | if (enableECH && echConfig) { |
|
0 commit comments