Skip to content

Commit a286b7b

Browse files
authored
fix: replace accounts.googl.com with accounts.google.com in SNI pool (#92)
The googl.com shortener domain is NOT in Google's GFE certificate SAN list — verified via `openssl s_client -verify_hostname accounts.googl.com` returning hostname mismatch. Every Nth connection where the rotation landed on this entry was failing cert validation with `verify_ssl=true`. Replaced with accounts.google.com which is covered by *.google.com wildcard.
1 parent d66f957 commit a286b7b

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

‎src/domain_fronter.rs‎

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,15 +1161,14 @@ pub const DEFAULT_GOOGLE_SNI_POOL: &[&str] = &[
11611161
"drive.google.com",
11621162
"docs.google.com",
11631163
"calendar.google.com",
1164-
// accounts.googl.com is a Google-owned alias (googl.com redirects
1165-
// to Google properties) whose cert is served off the same GFE IP
1166-
// pool. Reported in issue #42 as passing DPI on Samantel / MCI
1167-
// (Iranian carriers) specifically, where some of the longer
1168-
// `*.google.com` names are selectively SNI-blocked. Rotation-only
1169-
// use: we never actually HTTP-to it, just present it in the TLS
1170-
// handshake.
1171-
"accounts.googl.com",
1172-
// scholar.google.com — same logic as accounts.googl.com, reported
1164+
// accounts.google.com — standard Google account service, covered by
1165+
// the *.google.com wildcard cert. Previously listed as
1166+
// accounts.googl.com (issue #42), but googl.com is NOT in the SAN
1167+
// list of Google's GFE certificate — connections with verify_ssl=true
1168+
// fail with "certificate not valid for name" when the round-robin
1169+
// lands on it.
1170+
"accounts.google.com",
1171+
// scholar.google.com — reported
11731172
// in #47 as a DPI-passing SNI on MCI / Samantel. Covered by the
11741173
// core *.google.com cert so it handshakes normally against
11751174
// google_ip:443.

0 commit comments

Comments
 (0)