13 ms·
PiHole-Google: Completely Block Google and Its Services
- ravenstine 7y agoThis is a nice idea, but the one thing I haven't been able to divorce myself from is YouTube. I really hate how Google has allowed such a wealth of constant information that completely dwarfs alternative video hosting sites. As censorious as Google can be(now "up next" is always some video from CNN or Fox), blocking YouTube from my network would mean cutting myself off from a large portion of the world.
- ggg2 7y agopleroma (and i think maybe mastodon) provide media proxy that i think work for youtube. so when one person shares a video, one instance serves it to all the other users
- mkl 7y agoWouldn't that just be sharing a link to YouTube? I.e. not re-hosting the video (which would probably violate copyright).
- oil25 7y agoYouTube and Maps are one of the few Google services left which are still available over Tor. You can proxy youtube-dl and retain some of your privacy this way.
- morganvachon 7y agoI've been thinking of setting up a super-tiny (about $15/year) VPS as a youtube-dl proxy for a while now. It's the only Google service that still remains valuable to me; I enjoy channels like Bad Obsession Motorsports and various indie musician channels, and Vimeo just doesn't have enough of that type of content, sadly. I know proxying through a VPS that I pay for doesn't 100% divorce me from Google's watchful eye, but it's enough abstraction that hopefully they don't get enough info to build a profile of the real me.
- techsupporter 7y agoSeveral video creators who got their start on Youtube have branched out to making their own platform, Nebula, if you are interested: https://watchnebula.com/ https://watchnebula.com/
- southerndrift 7y agoUnfortunately, they won't succeed. The way their homepage is designed suggest that they believe that their reputation and brands are enough to make people subscribe. Why is it not possible to click on a channel image and have a sneak preview? Their landing page is only good for people who already made the decision to join, not to attract new viewers. In other words, they rely on youtube to expand their audience.
- whatshisface 7y agoThey aren't doomed offhandedly, plenty of original content streaming platforms make money. However they won't help with people getting crushed by YouTube; I can't just create an account and start uploading to their HBO/Netflix analog.
- loudtieblahblah 7y agoIMHO, the world is better off without YouTube. It's narcissism, the vids that should be blog posts for computer help, recipes, all sorts of stuff just drags out content to extract money out of it. Nevermond both its left and right wing culture are low brow and toxic.
- heartbreak 7y agoThis is Scott Wadsworth’s latest video. It’s not narcissism, it wouldn’t be better as a blog post, it doesn’t drag on to run more ads, and it isn’t low brow or toxic. There are billions of hours of content on YouTube. You haven’t seen a representative sample. https://youtu.be/cv6BdwMe560 https://youtu.be/cv6BdwMe560
- mrmonkeyman 7y agoYou just made me watch some random, surprisingly interesting crafting dude, use string. On things.
- mirimir 7y agoI don't have audio on this VM host. And CC is way too annoying. But based on several seconds of it, this ~19 minute video could be maybe 2K words plus ten images. Then I might actually read it.
- sho 7y agoI think it's safe to say that 99.999% of people do not share your bizarre youtube-watching setup. I think it's also safe to say that the 60s-ish master craftsman featured is never even going to attempt to cut down his demonstrative, highly visual content to fit in an inferior, limited blog post. I don't even know what your point is. How about you try not watching videos through a VM with no sound.
- mirimir 7y agoTrue. But even if I had sound, I'd pick text over video. I don't have the patience for unedited rambling. I don't have sound because it'd be a security vulnerability. Given that my wife has a mobile on 24/7.
- kalleboo 7y agoIt’s fascinating how differently the YouTube algorithm treats people. I've not once seen a Fox or CNN video recommended, I didn't even know they had a presence on YouTube
- whatshisface 7y agoPersonalization makes it incredibly hard to "watch the watchers," because everyone is getting a slightly different view of what Google is doing. I would like to see a program where users submitted data about their recommendations to researchers so that we could uncover Google's opinions. It would have a lot of financial value to YouTubers and would make it harder for Google to abuse their role as censor. I could imagine shadow-burning YouTubers without banning them by shrinking their recommendation audience. Further, it would be good for Google. Every little shift in the weather is going to get blamed on them whether they deserve it or not, now that it's common knowledge that they weild this power in more than zero cases. Google is about to discover why judges write opinions. Administering justice from secret meetings leads to popular dissent more than it leads to justice.
- distances 7y agoI clear my YouTube search and watch history about once a week. Partly because of privacy, but also because a single binge of, say, metal casting videos does not mean I want them recommend ever again in the future.
- Nextgrid 7y agoThey use browser fingerprinting and/or IP addresses as well. Even on a brand new browser session, doing something even slightly related to the previous session brings back its entire recommendation history.
- taneq 7y agoYeah, the fact that I can clear cookies, open a private browsing window with tracking protection turned on, go to YouTube, and be asked which of my two gmail accounts I want to log in with, is pretty creepy.
- citruspi 7y agoI've got Little Snitch configured to block Youtube (and most Google services) when my browsers request them, but if there's a YouTube video that's interesting enough to warrant the extra effort, I just switch to my terminal and use youtube-dl to grab it and play it back locally.
- zuron7 7y agoYou can always use YouTube through an alternate resource. Try invidio.us
- user234683 7y agoIf your concern is privacy, I've developed this project which routes everything through Tor except for the video file: https://github.com/user234683/youtube-local https://github.com/user234683/youtube-local There is also this project which is similar but much better, more polished, and with more features than what I have currently, but I haven't tried it to see if it supports a similar kind of selective proxying: https://github.com/omarroth/invidious https://github.com/omarroth/invidious Then there's Freetube, which supports proxying but I'm not sure of the details either. It doesn't scrape Youtube itself as far as I know; instead it consults with the main Invidous instance at invidio.us which provides an api: https://github.com/FreeTubeApp/FreeTube https://github.com/FreeTubeApp/FreeTube
- asveikau 7y agoMy experience is if you watch videos on a given topic, they try to show you more of the same topic. So they probably decided you like American cable news. It can get frustrating when it only recommends a single topic. I might go through a phase where I want to see videos about something specific. The recommendation algorithm will re-enforce that and prevent me from moving on to something else. I found that if I make some effort to watch a lot of videos about other topics, they appear. You can also manually edit your viewing history.
- mikeash 7y agoThe trouble is that they often take viewing a video as a sign that you’re obsessed with that topic. You click one Flat Earth video to see what the crazy sounds like, and for the next three months half of your recommendations are “Scientists don’t want you to know this!”
- ravenstine 7y agoI would rather that it would just play the next video by the current channel in reverse chron. Maybe if a channel made multiple videos in the last 24 hours, play that and then play other stuff. Instead, it immediately moves me to cable news if I am watching anything political, even though I never watch cable news voluntarily.
- novaleaf 7y agoWhat I do, and all the sites I visit (techie) are surprisingly not broken (aside from recaptcha spam): 1) use Firefox with multi-account containers, and disable 3rd party cookies. 2) put youtube in it's own "youtube" container. do not login to that container 3) put all other google stuff in it's own "google" container If you do that, and don't login to google except in the "google" container it makes it more difficult for google to know who you are on youtube or other non-google sites. But to make it so they REALLY don't know who you are, you need to do the above plus use a VPN. In my own usage I've discovered that youtube will recommend you videos based on your IP address's recent views if your not logged in.
- CreatedForThis 7y agoVideo-hosting website alternatives as YouTube are indeed, pretty difficult to use in hope to replace entirely that service. I’ll say that peertube is going into a great way, but if it actually continues to gain success, it will surely take too many longs. You can however, if its mainly for telemetry purposes, use something else like invidio.us which i’ve been using alongside it, since i’ve deleted my Google account.
- 7ewis 7y agoUp next for me is great, always suggests videos of people I usually watch but haven't yet seen - or similar videos it thinks it might like. Very rarely have any news outlet.
- trickstra 7y agoTry invidio.us - it hooks directly to the video feed of youtube, which means no ads, no tracking, reddit comments, your own subscriptions with rss which don't require "hitting the bell" and I just tested it works even when youtube hostname is redirected to localhost in /etc/hosts
- MrMember 7y agoI set up a daily script to download new videos from channels I like using youtube-dl. It works really well, I rarely visit the actual YouTube site anymore.
- ggg2 7y agothis will not help much as some google products use IPs (4 and 6) directly too.
- dredmorbius 7y agoCIDR blocks are your friend, at the firewall.
- jakeogh 7y agoKnow of a lib to manage them?
- dredmorbius 7y agoNot offhand. The Routeviews project is a useful way to turn them up, though. http://www.routeviews.org/routeviews/ http://www.routeviews.org/routeviews/ Particularly reverse DNS queries.
- julianlam 7y agoI find Google Container to be an excellent plugin to segregate my Google account from the rest of my browsing. It's not an official plugin from Mozilla, but it is forked from the Facebook container plugin.
- jedberg 7y agoI just use Firefox containers. It puts every site into its own container. Then I made a "Google" container so that at least my login will hold across the various Google services.
- BuckRogers 7y agoCheck into Containerise. You can setup wildcards and get the same effect with a lot more bad actors. Facebook properties are the worst in my opinion, with Google being a close second.
- mattlondon 7y agoSame here - been using Google Container for 6+ months now and very happy with it. Highly recommended - you can do this yourself with just normal containers in Firefox, but this comes preconfigured with all the non-obvious domains you might not know about. No connection - just a satisfied user. https://addons.mozilla.org/en-US/firefox/addon/google-container/ https://addons.mozilla.org/en-US/firefox/addon/google-contai... Only problem with it is now reCAPTCHA sites are a huge pain to use since you have to answer about 15 challenges before you can get (since you look totally unknown to Google outside of the container). It is often better to just ignore these sites now, but it is not always possible.
- kyrra 7y agoIf you don't mind blocking everything hosted on GCP as well: > dig TXT +short _netblocks{,2,3}.google.com | tr ' ' '\n' | egrep "(ip4:|ip6:)" Gives you a full list of all of Google's IP blocks. You can just blackhole those.
- oil25 7y agoThis is far from a complete list - I got only 8 netblocks with that command. Try this one instead which queries Merit RADb: whois -h whois.radb.net '!gAS15169'
- fnord77 7y agohow come this seems to only work with ".google.com" tld? I tried .apple.com, .yahoo.com, etc. and got nothing.
- jedberg 7y agoIt's not a shortcut or anything, those are just Google's SPF records (which as noted above are drastically incomplete, they are only the IPs from which Google sends email).
- jedberg 7y agoThat's just their SPF record. It's only a list of IPs that google.com email might come from (or any domain that imports those records)
- _wmd 7y agoIt's in SPF format, but it's also everything. See e.g. https://cloud.google.com/appengine/kb/ https://cloud.google.com/appengine/kb/ Another method is using GeoIP's ASN database, but they also run many ASNs so it would require a little effort to ensure you have them all
- deleted 7y ago[deleted]
- oil25 7y agoNice idea, but you're better off accomplishing it with TLD wildcards or AXFR transfers than a hosts list, since new sub-domains are always being created and rotated.
- jedberg 7y agoHas anyone actually used this? Does the web become completely unusable? I suspect blocking their fonts and their CDN for jquery would be enough to make most of the web unusable.
- toastal 7y agoYou can use the Decentraleyes add-on to deal with jQuery on a CDN
- jedberg 7y agoI can, but getting my whole house to use it including the iPhones may be a bit tough (this is a Pi-hole add on so it needs to work without device changes)
- toastal 7y agoI get that. Using uMatrix, it becomes really obvious how many websites are reliant on jQuery and likely don't really need it.
- CreatedForThis 7y agoWell, myself actually. What i habitually do in those case, when this is really not usable, I just usually temporary whitelist them only for this specific domain i’m trying to access. This break obviously the purpose of the filter list partially tho.
- zeckalpha 7y agoHosted by Microsoft, suggests blocking Microsoft, too.
- CreatedForThis 7y agoI´ve proposed the idea to move it elsewhere. Either from an alternative service like on gitlab, or even on a self-hosted gittea instance.
- tomatotomato37 7y agoHow does this deal with recaptcha? That thing is the bane of my web browsing experience, but at least with my current umatrix setup I can toggle it back on in 30 seconds if I need to pass the challenge; if I need to remote into the DNS everytime I hit a challenge it is a no go for me
- deleted 7y ago[deleted]
- jedberg 7y agoIt says at the bottom that you might want to whilelist recaptcha
- waltwalther 7y agoI have run a Pi-Hole server in my home for almost a year and have never had an issue with recaptcha. Anything that is blocked is SUPER quick and easy to resolve through the web GUI (but recaptcha has ever been an issue). It seems to be smart enough that I rarely have to access it to unblock anything.
- cortesoft 7y agoIf you block AWS, Google Cloud, and Azure... that is pretty much the whole internet.
- CreatedForThis 7y agoBut that isn’t the point of this blocklist tho.
- waltwalther 7y agoI have been running a pi-hole server at my home for almost a year. We have, at times, around thirty devices on our network, (thermostat (non-nest), several Google Home devices, numerous phones, 4 desktops, 4 laptops, 3 ipads, 1 TV, a chromecast/roku/firestick, a few smart receptacles, and a Xfinity modem) and sometimes the traffic is pretty neat to examine. Its interesting to see which devices phone home. Whenever a necessary site is blocked it only takes a few seconds to whitelist it. I can also easily blacklist sites. The GUI is very easy to access and use. We have never had an issue with YouTube (YT premium) or anything else really, but occasionally a link will be blocked because of Google or other ad traffic. This has never happened with YT or any other streaming services. One thing to remember is VPN traffic ignores the Pi-Hole server. Even when the router/computer/device DNS is set to use it. This has never been an issue for us, as only a handful of devices here are using VPN, but I suppose it could be under the right circumstances, but easily fixable.
- 3xblah 7y agoAnother approach is whitelisting. Like a default firewall rule of "block all" and a set of specific exceptions, I find this approach can be easier to manage. Probably not going to work for everyone but works for me. Figure out what domains I need to access for the content I am after[1] and just allow those. "Block" everything else. For example, I might need something like .googlevideo.com once in a while but I will never need something like googletagmanager.net. 1. To do this, I just go through the logs of a local authoritative nameserver that I run solely for this purpose, i.e. collecting lists of needed domains. Then I add the necessary DNS data to /etc/hosts or another local authoritative server, e.g., tinydns. I believe unbound or pdns_recursor can serve static data as well. Does the author mention avoiding using Google as a third party DNS service. In the beginning, PiHole, i.e., preconfigured dnsmasq, was pointed at some third party DNS service, maybe Google. Not sure what the default configuration is today. If it was Google, then is there any irony in that a project designed to blocks ads is by default having its users send their IP and ISP location to an advertising company probably hundreds if not thousands of times over in a single day of web use.
- jasode 7y ago>Another approach is whitelisting. Like a default firewall rule of "block all" and a set of specific exceptions, I find this approach can be easier to manage. I tried the whitelisting approach but quickly found out this breaks many websites with shopping cart and credit-card checkouts because they use payments api gateways. Because the url for the card processing gateway is a different company from the ecommerce site you're visiting, it has a totally different spelling so you can't predict what to put in a whitelist beforehand. In turn, if you do whitelist the payment gateway url, you might then find out it makes another api call to a fraud detection url which is another totally different url that you didn't know you had to whitelist. Whitelisting DNS entries is workable for use inside of a single virtual machine that deliberately restricts a web browser to access a few websites like youtube. However, I don't see how it's possible to use the whitelisting strategy on a PiHole that globally filters the entire family accessing it with multiple desktops and smartphones. It's not easy to tell if a spinning hourglass or beachball is happening because the a website is slow or whether the whitelist is missing some url entries. The family members would constantly be visiting new and legitimate urls so it seems very cumbersome to try and keep up with adding new whitelist entries for everybody.
- godelski 7y agoThis makes me think of the "Cutting the Big 5" article [0] that was on here a few months back. While I agree with a lot of the sentiment here it seems that a complete block is actually impractical. Instead I would love to see these kinds of projects not just blanket cover all of FAMG, but rather target the most nefarious ones. I definitely don't know if this is even possible. But is there a way to use services but cut out a significant portion of the tracking? Those are the curated lists I'd love to see. [0] https://gizmodo.com/i-cut-the-big-five-tech-giants-from-my-life-it-was-hel-1831304194 https://gizmodo.com/i-cut-the-big-five-tech-giants-from-my-l...
- tempodox 7y ago> Simply go into to your blocklist settings Whatever does that mean? Is that a browser thing or a firewall thing or something else entirely?
- arnarbi 7y agoPresumably it's a setting on Pi-Hole: https://pi-hole.net/ https://pi-hole.net/
- leovander 7y ago>GAFAM Never seen it listed out like that, I thought it was FAANG. Or is FAANG only used in reference to top salaries in the Bay Area?
- Nextgrid 7y agoGAFA is the french-speaking equivalent of FAANG (although they all seem to omit Amazon and Netflix).
- michaelbazos 7y agoGAFA(M) omits Netflix but not Amazon, since it stands for Google Amazon Facebook Apple (Microsoft)
- Nextgrid 7y agoYes I understand - I was talking more about the ordering of them. English-speaking websites tend to use FA(A?)NG while French-speaking ones tend to use GAFA(M?).
- CreatedForThis 7y agoYeah, It's due to myself being french, so I proposed including this in the readme.md as GAFAM, as other more ¨international¨ depiction of these group were less prominent. If you think that FAANG is a better acronym, i’ll change it.
- geokon 7y agoThe problem is that JS Fonts and other CDNed stuff won't load and websites will hang or work weird - particularly Stackoverflow. Bc it's all over https you can't MITM it and inject your own with OpenWRT/piholes. Decentraleyes (a Firefox browser extension) fixes some of this, but not all. If anyone has any additional suggestions, please let me know (it makes life bearable in China without a VPN)
- tgragnato 7y agoI use a very similar setup (based on unbound): for Stackoverflow to properly work you need to whitelist ajax.googleapis.com. > it makes life bearable in China without a VPN If you're already a firefox user, you might try the "FoxyProxy Standard" extension to selectively bypass the GFW for the domains you need. Friends in China are reporting a varying degree of success with setting up forwarding on Apache (TLS1.3 with padding). Obvs, don't forget to set authentication. Once you're there you can add your own DoH to the mix.
- deleted 7y ago[deleted]
- Remed 7y agoYou can create a self-signed certificate for Google domains and trust it on your machines. Then you can MITM. This won't work well if you want to do it at a scale, with a number of 3rd party users, but if the only user is you or your family, it should do the trick.
- edf13 7y agoWon’t work for Google as their Cets are pinned
- Gregordinary 7y agoNot sure about other browsers, but Chrome will ignore certificate pins if the cert provided chains to local trust anchor. From: http://www.chromium.org/Home/chromium-security/security-faq#TOC-How-does-key-pinning-interact-with-local-proxies-and-filters- http://www.chromium.org/Home/chromium-security/security-faq#... "Chrome does not perform pin validation when the certificate chain chains up to a private trust anchor. A key result of this policy is that private trust anchors can be used to proxy (or MITM) connections, even to pinned sites. “Data loss prevention” appliances, firewalls, content filters, and malware can use this feature to defeat the protections of key pinning. We deem this acceptable because the proxy or MITM can only be effective if the client machine has already been configured to trust the proxy’s issuing certificate — that is, the client is already under the control of the person who controls the proxy (e.g. the enterprise’s IT administrator). If the client does not trust the private trust anchor, the proxy’s attempt to mediate the connection will fail as it should."
- bronlund 7y agoWhy is Apple at this list? What have they done?
- CreatedForThis 7y ago¨by their size, they are particularly influential on the American and European Internet both economically and politically and socially and are regularly the subject of criticism or prosecution on tax matters, abuses of dominant positions and the non-respect of Internet users' privacy.¨ To be short, that what it is. But we can pin point each cases one by one. This filter list only concentrate on Google tho for the moment.
- throw2016 7y agoAt the moment things like youtube, twitter have become culture and 'technical solutions' to both unrestrained greed, surveillance and this rich fabric of human communication seem to miss the big picture of their cultural value. The value of these platforms are not technical, they are entirely from the human element and everybody should be able to participate without opening themselves to surveillance and abuse. Like everything else to run a civilized society we need laws and its unfortunate that this basic first principle of organizing human society needs to be reiterated and debated right untill 2019 because of propaganda by Koch brothers and their ilk on a self serving libertarianism which is as fantastic as a disneyland version of reality.
- user17843 7y agoThis is overkill. A way simpler solution is to simply not have a registered account with those companies. That's where the problems start, when they tie certain browsing and telemetry data to your true identity. For everything else a good content blocker + the typical pihole list that include telemetry domains are enough protection. I am registered with Apple and Amazon, and there's no way for me to change that because there is simply no one else that delivers this kind of value. Long-term I could see the possibility of leaving Amazon, but there is a security-advantage when using amazon because otherwise I would leave all my personal data to countless small vendors who regularly get hacked, etc.
- zymhan 7y agoIt's folly to think an account is the only way for advertisers and retailers to identify and track you. Signing up for an account is just more explicitly forking over and sharing data. But you're being tracked by every possible method, and it is possible to piece together the remaining information.
- user17843 7y agoWhere is your evidence? Did you even read my comment? The typical pihole lists already include tracking domains. What you imply is that if I visit youtube.com with tracking disabled, they still create a profile of me. Then tell me, what unique identifier do they use?
- dmitriid 7y agoBrowser fingerprint, referrers, available cookies, IP address immediately come to mind.
- user17843 7y agoOK, but how do you account for changing IP-Addresses? You would need to take one identifier that never changes. Maybe they have machine learning which combines a couple of factors and then create long-term profiles based on the likelihood of some data belonging to the same person. That would be illegal though.
- madads 7y agoI would like to simply block irrelevant YouTube ads while my toddler indulges in ‘Land before time’ episodes. Is that possible? Last time I checked they use some randomised domains to load ads...
- mrich 7y agoWould that be worth €11.99/month to you? (YouTube Premium)
- Anarch157a 7y agoFirefox with uBlock Origin takes care of that. I haven't seen an Youtube ad in years. Yes, they use randomised hostnames, but there are other parts of the URL that are not. If you don't want to use a browser extension for pattern matching the whole URL, you're gonna need a transparent proxy in your networks gateway.
- AFascistWorld 7y agoA router with dnsmasq, it supports wilcards, but devices can only use your router as DNS for it to work.
- fileoffset 7y agoTry the YouTube Enhancer addon in Firefox
- idlewords 7y agoI like that this site punts on reCAPTCHA. The web is not usable without Google services, which fact is useful in talking about the impossibility of consent as a model for regulating Google.
- CreatedForThis 7y agoAlternative exists. It might not be usable entirely without them, but it can on a certain point. We’ve separated the list into multiple categories, so that way, this could be easier to block some majors parts of their services only. And well, We´ve indicated the domain to whitelist in case you have issues with reCaptcha´s.
- idlewords 7y agoMy issues with recaptcha don't matter. I can't use a large part of the web without enabling recaptcha.