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

BUG: 特定domain路由会导致打不开谷歌 #1265

Open
daoistyoudao opened this issue Apr 18, 2024 · 0 comments
Open

BUG: 特定domain路由会导致打不开谷歌 #1265

daoistyoudao opened this issue Apr 18, 2024 · 0 comments

Comments

@daoistyoudao
Copy link

发现一个奇怪的BUG:
在Simple Route下Domain规则中的Direct里添加domain:le.com,会导致google.com走直连,导致打不开谷歌。
附上日志:
INFO[0030] [3174149386 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:5338 INFO[0030] [3174149386 1ms] inbound/mixed[mixed-in]: inbound connection to optimizationguide-pa.googleapis.com:443 DEBUG[0030] [3174149386 2ms] router: sniffed protocol: tls, domain: optimizationguide-pa.googleapis.com INFO[0030] [3174149386 2ms] outbound/socks[proxy]: outbound connection to optimizationguide-pa.googleapis.com:443 [0418/195055.366:INFO:naive_connection.cc(273)] Connection 1 to optimizationguide-pa.googleapis.com:443 INFO[0030] [1863846221 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:5340 INFO[0030] [1863846221 0ms] inbound/mixed[mixed-in]: inbound connection to google.com:443 DEBUG[0030] [1863846221 1ms] router: sniffed protocol: tls, domain: google.com DEBUG[0030] [1863846221 1ms] router: match[1] domainSuffix=le.com => bypass INFO[0030] [1863846221 1ms] outbound/direct[bypass]: outbound connection to google.com:443 DEBUG[0030] [1863846221 1ms] dns: lookup domain google.com DEBUG[0030] [1863846221 1ms] dns: match[0] domain=gameplatform.linkpc.net domainSuffix=le.com => dns-direct DEBUG[0030] dns: exchanged google.com NOERROR 40 INFO[0030] dns: exchanged google.com SOA google.com. 40 IN SOA ns1.google.com. dns-admin.google.com. 625619408 900 900 1800 60 DEBUG[0030] dns: exchanged google.com NOERROR 189 INFO[0030] dns: exchanged google.com A google.com. 189 IN A 142.251.42.238 INFO[0030] dns: exchanged google.com NS google.com. 189 IN NS ns4.google.com. INFO[0030] dns: exchanged google.com NS google.com. 189 IN NS ns1.google.com. INFO[0030] dns: exchanged google.com NS google.com. 189 IN NS ns3.google.com. INFO[0030] dns: exchanged google.com NS google.com. 189 IN NS ns2.google.com. INFO[0030] dns: exchanged google.com A ns1.google.com. 189 IN A 216.239.32.10 INFO[0030] dns: exchanged google.com A ns2.google.com. 189 IN A 216.239.34.10 INFO[0030] dns: exchanged google.com A ns3.google.com. 189 IN A 216.239.36.10 INFO[0030] dns: exchanged google.com A ns4.google.com. 189 IN A 216.239.38.10 INFO[0030] dns: exchanged google.com AAAA ns1.google.com. 189 IN AAAA 2001:4860:4802:32::a INFO[0030] dns: exchanged google.com AAAA ns2.google.com. 189 IN AAAA 2001:4860:4802:34::a INFO[0030] dns: exchanged google.com AAAA ns3.google.com. 189 IN AAAA 2001:4860:4802:36::a INFO[0030] dns: exchanged google.com AAAA ns4.google.com. 189 IN AAAA 2001:4860:4802:38::a DEBUG[0030] [1863846221 7ms] dns: lookup succeed for google.com: 142.251.42.238 [0418/195055.926:INFO:naive_proxy_delegate.cc(137)] [https://gameplatform.linkpc.net:443] negotiated padding type: Variant1 INFO[0033] [4094298121 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:5343 INFO[0033] [4094298121 0ms] inbound/mixed[mixed-in]: inbound connection to google.com:443 DEBUG[0033] [4094298121 1ms] router: sniffed protocol: tls, domain: google.com DEBUG[0033] [4094298121 1ms] router: match[1] domainSuffix=le.com => bypass INFO[0033] [4094298121 2ms] outbound/direct[bypass]: outbound connection to google.com:443 DEBUG[0033] [4094298121 2ms] dns: lookup domain google.com DEBUG[0033] [4094298121 2ms] dns: match[0] domain=gameplatform.linkpc.net domainSuffix=le.com => dns-direct DEBUG[0033] [4094298121 2ms] dns: lookup succeed for google.com: 142.251.42.238 DEBUG[0035] [1863846221 5.1s] inbound/mixed[mixed-in]: connection closed: process connection from 127.0.0.1:5340: dial tcp 142.251.42.238:443: i/o timeout INFO[0035] [4255371464 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:5345 INFO[0035] [4255371464 1ms] inbound/mixed[mixed-in]: inbound connection to google.com:443 DEBUG[0035] [4255371464 2ms] router: sniffed protocol: tls, domain: google.com DEBUG[0035] [4255371464 2ms] router: match[1] domainSuffix=le.com => bypass INFO[0035] [4255371464 2ms] outbound/direct[bypass]: outbound connection to google.com:443 DEBUG[0035] [4255371464 2ms] dns: lookup domain google.com DEBUG[0035] [4255371464 2ms] dns: match[0] domain=gameplatform.linkpc.net domainSuffix=le.com => dns-direct DEBUG[0035] [4255371464 2ms] dns: lookup succeed for google.com: 142.251.42.238 INFO[0036] [354640856 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:5347 INFO[0036] [354640856 0ms] inbound/mixed[mixed-in]: inbound connection to google.com:80 DEBUG[0036] [354640856 1ms] router: sniffed protocol: http, domain: google.com DEBUG[0036] [354640856 2ms] router: match[1] domainSuffix=le.com => bypass INFO[0036] [354640856 2ms] outbound/direct[bypass]: outbound connection to google.com:80 DEBUG[0036] [354640856 2ms] dns: lookup domain google.com DEBUG[0036] [354640856 2ms] dns: match[0] domain=gameplatform.linkpc.net domainSuffix=le.com => dns-direct DEBUG[0036] [354640856 3ms] dns: lookup succeed for google.com: 142.251.42.238 DEBUG[0038] [4094298121 5.1s] inbound/mixed[mixed-in]: connection closed: process connection from 127.0.0.1:5343: dial tcp 142.251.42.238:443: i/o timeout INFO[0038] [1900140946 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:5349 INFO[0038] [1900140946 0ms] inbound/mixed[mixed-in]: inbound connection to google.com:443 DEBUG[0038] [1900140946 3ms] router: sniffed protocol: tls, domain: google.com DEBUG[0038] [1900140946 3ms] router: match[1] domainSuffix=le.com => bypass INFO[0038] [1900140946 3ms] outbound/direct[bypass]: outbound connection to google.com:443 DEBUG[0038] [1900140946 3ms] dns: lookup domain google.com DEBUG[0038] [1900140946 3ms] dns: match[0] domain=gameplatform.linkpc.net domainSuffix=le.com => dns-direct DEBUG[0038] [1900140946 3ms] dns: lookup succeed for google.com: 142.251.42.238 DEBUG[0040] [4255371464 5.1s] inbound/mixed[mixed-in]: connection closed: process connection from 127.0.0.1:5345: dial tcp 142.251.42.238:443: i/o timeout DEBUG[0041] [354640856 5.0s] inbound/mixed[mixed-in]: connection closed: process connection from 127.0.0.1:5347: dial tcp 142.251.42.238:80: i/o timeout INFO[0042] [94345726 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:5351 INFO[0042] [94345726 0ms] inbound/mixed[mixed-in]: inbound connection to addon.dnslytics.net:443 DEBUG[0042] [94345726 4ms] router: sniffed protocol: tls, domain: addon.dnslytics.net INFO[0042] [94345726 4ms] outbound/socks[proxy]: outbound connection to addon.dnslytics.net:443 [0418/195106.670:INFO:naive_connection.cc(273)] Connection 2 to addon.dnslytics.net:443 INFO[0042] [2559729599 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:5353 INFO[0042] [2559729599 0ms] inbound/mixed[mixed-in]: inbound connection to google.com:80 DEBUG[0042] [2559729599 1ms] router: sniffed protocol: http, domain: google.com DEBUG[0042] [2559729599 1ms] router: match[1] domainSuffix=le.com => bypass INFO[0042] [2559729599 1ms] outbound/direct[bypass]: outbound connection to google.com:80 DEBUG[0042] [2559729599 1ms] dns: lookup domain google.com DEBUG[0042] [2559729599 1ms] dns: match[0] domain=gameplatform.linkpc.net domainSuffix=le.com => dns-direct DEBUG[0042] [2559729599 1ms] dns: lookup succeed for google.com: 142.251.42.238 DEBUG[0043] [1900140946 5.1s] inbound/mixed[mixed-in]: connection closed: process connection from 127.0.0.1:5349: dial tcp 142.251.42.238:443: i/o timeout DEBUG[0048] [2559729599 5.1s] inbound/mixed[mixed-in]: connection closed: process connection from 127.0.0.1:5353: dial tcp 142.251.42.238:80: i/o timeout INFO[0053] [2206196736 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:5355 INFO[0053] [2206196736 0ms] inbound/mixed[mixed-in]: inbound connection to google.com:80 DEBUG[0053] [2206196736 0ms] router: sniffed protocol: http, domain: google.com DEBUG[0053] [2206196736 0ms] router: match[1] domainSuffix=le.com => bypass INFO[0053] [2206196736 0ms] outbound/direct[bypass]: outbound connection to google.com:80 DEBUG[0053] [2206196736 0ms] dns: lookup domain google.com DEBUG[0053] [2206196736 1ms] dns: match[0] domain=gameplatform.linkpc.net domainSuffix=le.com => dns-direct DEBUG[0053] [2206196736 1ms] dns: lookup succeed for google.com: 142.251.42.238

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

No branches or pull requests

1 participant