|
If you have to ask, yes.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
what is said in the forest, stays in the forest!
... until you apologize, only then will she let you back in.
|
|
|
|
|
See my sig.
Software Zen: delete this;
|
|
|
|
|
My HOSTS file is 465k...
Silver lining - I see virtually NO ads on any web site.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
How's the lookup performance? Although I suppose it's not much of a concern these days...unless you're dealing with very old/sluggish systems.
I used to have a huge hosts file to block ads. Last year or so I switched to Pi-Hole. I run it on a tiny Linux VM running 24/7 (it was designed for--obviously enough--a Raspberry Pi), and only have to set the DNS on my networked machines router to point to it.
Couple of benefits over maintaining a huge hosts file:
- Getting the updates maintained by the community is a one-liner (you can of course maintain your own blacklist/whitelist)
- No need to duplicate the file on all your machines every time there's an update
- Being done in one common location, it also blocks ads on devices that don't otherwise easily let you edit a hosts file or equivalent, like iOS/Android-based phones/tablets
- If you really need to, you can temporarily disable the whole thing
- Extensive logs and stats (this is where you find out the extent to which Windows 10 is chatty).
I'm not affiliated with that project in any way, shape or form. I only became an instant fan.
|
|
|
|
|
I went to the pi-hole web site and browsed to a few of their cited ad-heavy web sites, and didn't see a single ad (using a hosts file). Rendering was almost instantaneous in all cases.
I can see the benefit of having the single source of redirects, and am now curious to see if I can setup something of my own here at home on my network...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Requirements are so modest I wouldn't even recommend dedicating a physical machine to it. If you have any machine you're already leaving on 24/7 that can handle a VM with half a gig of RAM, that's all you need (if you don't have any other use for a Linux VM).
I run mine under Debian 9.5, and its task manager shows I'm using just a bit over 300MB of RAM right now, so I could reduce it even further if I wanted to.
I have an old out of date Android tablet sitting on my desk I use to display its dashboard page (hosted in a browser) just to watch its real-time stats. Not that it's needed--it's pretty much set-and-forget. I only log into the VM once a month or so just to bring the OS up to date.
|
|
|
|
|
dandy72 wrote: so I switched to Pi-Hole.
Does it block Windows updates?
Hmmm, perhaps? (From their discourse page: Commonly Whitelisted Domains - FAQs - Pi-hole Userspace )
pihole -w settings-win.data.microsoft.com
pihole -w v10.vortex-win.data.microsoft.com
and v20.vortex-win.data.microsoft.com
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
No. Microsoft has arranged it so that the hosts file does not prevent access to microsoft sites.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Marc Clifton wrote: pihole -w settings-win.data.microsoft.com
pihole -w v10.vortex-win.data.microsoft.com
and v20.vortex-win.data.microsoft.com
All addresses I recognize as often being at the top of Pi-Hole's log.
I also use WSUS in a VM, and none of my systems talk directly to MS to get updates. Only those updates I approve (when I approve them) find their way in. Bonus: updates are only downloaded once.
|
|
|
|
|
I tried the first few pi-hole sites using my standard in browser ad blocker + Privacy Badger pairs. In Firefox ABP passed with flying colors. In Chrome with uBlockOrigin one of the sites sprung a few leaks (sleeping should be easy); OTOH because I mostly use chrome in the office for work related sites not general browsing it could just be down to Privacy Badger being much less trained not uBO being less effective. If I remember I'll repeat the test from home tonight where I've got a very well trained Privacy Badger paired with some flavor of uBlock in a chromish browser.
I used to use various out of browser options, both a host list and many years ago and on PC proxy application, but ultimately switched to in browser tools because when things break it was much easier to troubleshoot and repair.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: when things break it was much easier to troubleshoot and repair.
On the few occasions "things break" with Pi-Hole, I just disable it for 5 minutes and do whatever I need during that time period. It's so rare I don't spend the time to try to figure out what went wrong and add it to the whitelist.
|
|
|
|
|
Is Pi-Hole something you download and run? If so, how do you update the blacklisted domain list?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Full installation on a Linux VM consists of:
curl -sSL https://install.pi-hole.net | bash
The community edits get downloaded on their own - I don't think I ever looked at the frequency at which those edits are made. I do know it gets updates from multiple lists. Updating the software itself to the latest version is also a one-liner:
pihole -up
If you want to add to your own blacklist/whitelist, Pi-hole has an HTML dashboard you can make your edits through with a browser. Though I've never looked into it, I have to imagine there's a way to import from a plain-text hosts file.
|
|
|
|
|
But then the next time you visit that site, you have to turn it off again, which means that it's advertiscum gets to track you every time.
Adding a targeted exception - generally moving some domain from block entirely to only block tracking in Privacy Badger (most adblock related problems are self-inflicted from non-ad related crap blocking rules I manually add affecting something unintended on the site after a redesign) - means that after the single fix they still can't maliciously track me. Also, in the 90% of cases where only the adblocker or privacy badger means that while I'm fixing it only a small minority of the avertiscum are able to get through, not all of them.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: But then the next time you visit that site, you have to turn it off again, which means that it's advertiscum gets to track you every time.
A site I frequently visit that requires advertiser whitelisting will soon turn into a site I no longer frequently visit.
Frankly - it never happens. Maybe that's just my own surfing habits.
|
|
|
|
|
Mine is 620K and it works really well.
|
|
|
|
|
I recently ran into some ad sites that seem to be ignored by the hosts file.
deals.slashdot.org
tracking.deltadefense.com
Happens on both windows and linux boxes.
I even tried clearing the browser cache and (for linux) restarting the network-manager service.
EDIT ======================
Sneaky bastages - I had to view the page's source to get the actual URL of the ad site. Once I did that, and added the domain to the hosts file, it cleared the ads.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 16-Sep-18 13:41pm.
|
|
|
|
|
I do that a lot. It makes for more peaceful surfing.
|
|
|
|
|
I've been using an ad blocker, but I think I'll give the hosts file approach a go.
|
|
|
|
|
someone mentioned pi-hole as another solution.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Here[^]'s something to get you started
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
That's where I get my hosts file.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I was going to kill "Useless IoT item of the weekend" after it's hugely successful tour of two items - but then I found this: The World's First Connected Iron.[^]
Ignoring the website design where the text colour fades into the background, and just hope it's the World's Last as well.
Then you get to the price: "more than $1000". Oh, good grief.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Ya see? This kinda crap is why we're running out of IPV4 addresses...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|