为什么 Chromium 在启动时会连接到 Google?

为什么 Chromium 在启动时会连接到 Google?

我从官方存储库在 Ubuntu 上安装了 Chromium。我

  • 禁用“隐私”部分的所有内容
  • 尚未登录
  • 将我的默认搜索设置为 duckduckgo
  • 将我的第一页设置为空白标签

然后我关闭了 Chromium,启动了 Wireshark,开始捕获并再次打开 Chromium。几秒钟后,我看到了到 173.194.40.83 的 https 连接,这是一个 Google IP。

为什么 Chromium 每次启动时都会连接到 Google?不幸的是,这是一个 SSL 连接,所以我看不到正在发送的内容。有没有办法查看该流量的未加密内容?

答案1

这一页搜索域名检查返回您首选的 Google 域名。对我来说,访问它会https://www.google.com/正常返回,但https://www.google.com.py/会处于临时配置文件和隐身模式。

这是它的主要功能,尽管我不明白如果你不使用 Google 搜索引擎,为什么需要它。为了实现这一点,Chromium 必须发送你的 Google cookie。

请求搜索域名检查GoogleURL跟踪器类,其评论中说:

// This object is responsible for checking the Google URL once per network
// change, and if necessary prompting the user to see if they want to change to
// using it.  The current and last prompted values are saved to prefs.

例如,通过函数可以检测到“网络变化” OnIPAddressChanged()

我拼命地尝试不在这里表现得像锡箔纸一样,但这听起来像是一种将跟踪 cookie 与 IP 地址关联起来的廉价方法。

根据Chromium 命令行开关列表,命令行开关--google-search-domain-check-url应该能够停止这种行为。

尝试按如下方式调用 Chromium:

chromium-browser --google-search-domain-check-url=localhost

相关内容