• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "http". Back to normal view
    1. Ubuntu sends http requests to Google cloud, here’s a fix

      Ubuntu has this package installed by default: network-manager-config-connectivity-ubuntu It's only purpose is to provide settings for NetworkManager to send requests to...

      Ubuntu has this package installed by default:
      network-manager-config-connectivity-ubuntu

      It's only purpose is to provide settings for NetworkManager to send requests to connectivity-check.ubuntu.com , and based on the result (AFAIK) detect redirection by captive portals and open an ISP's page (think public WiFi, or hotel rooms, where you need to authorize to access the net).

      Well, connectivity-check.ubuntu.com is hosted on Google cloud (you can check that by running:

      dig connectivity-check.ubuntu.com
      whois [the IP from previous query]
      

      ), so by default Ubuntu sends requests to a Google cloud page.
      I don't say Google counts daily active Ubuntu users (because many of those have the same IP), or that Google actively logs and analyzes that data. But some of you guys may not like that behavior.

      So what's the fix?

      Purge the package

      sudo apt purge network-manager-config-connectivity-ubuntu
      

      If you do need a captive portal detection, create your own config file to query some HTTP (not HTTPS) page of your choice, in the example below I have a Debian page used for the same purpose. Use your favorite text editor to create and edit /etc/NetworkManager/conf.d/90-connectivity-custom.conf :

      [connectivity]
      uri=http://network-test.debian.org/nm
      

      Restart NetworkManager

      sudo systemctl restart NetworkManager
      

      If you run an Ubuntu derivative, please report if you have network-manager-config-connectivity-ubuntu installed in the comments.

      11 votes
    2. Website Admin Question: How to Block Google?

      I have a personal website, and while I don't mind it showing up in SERPs for DuckDuckGo, Bing, etc. I do not want it showing up on Google at all. Google doesn't send traffic my way, I pay for my...

      I have a personal website, and while I don't mind it showing up in SERPs for DuckDuckGo, Bing, etc. I do not want it showing up on Google at all.

      Google doesn't send traffic my way, I pay for my site out of my salary from my day job instead of running ads, and preventing Google from indexing my site seems like the best form of nonviolent direct action I can take to protest their continuing dominance and their "embrace, extend, and extinguish" campaign against the Web.

      I figure the easiest way to do this is to add the following to my site's .htaccess file since I don't have access to the server config file:

      X-Robots-Tag: googlebot: none, noarchive, nosnippet, notranslate, noimageindex
      

      Are there any downsides that I should know about besides not showing up in Google results?

      11 votes