Live data from Hacker News

Block Adware and Malware with /etc/hosts

github.com

1–10 of 79 posts

Re: Block Adware and Malware with /etc/hosts

#8
post #6

Didn’t work well for me last time I tried, I think entire IPv4 stopped for ~5min on each reboot with this.

To resolve in Windows 10[1]: Disable DNS Client by changing the value data for HKLM\SYSTEM\ControlSet001\Services\Dnscache\Start from 2 (automatic) to 4 (disabled) (recent versions of Windows 10 no longer allow disabling DNS Client via services.msc).

[1] https://tinyapps.org/blog/201809300700_large_hosts_file.html

Re: Block Adware and Malware with /etc/hosts

#9
post #5

https://github.com/Ultimate-Hosts-Blacklist/Ultimate.Hosts.B... Don't forget about hosts.deny (but you probably need it at your router if you are behind one).

Shell scripts that download more shell scripts. Kind of terrifying, no? I feel like I would personally rather take my chances getting scammed out of a CS skin than running these installers as root at will.

Re: Block Adware and Malware with /etc/hosts

#10
This is the default list used by the pihole project as well; it's a very good list.

FWIW, something like ublock origin is going to be better for in-browser blocking (for example, DNS poisoning won't work with youtube ads, which are served from youtube.com, but addins like UBO can remove them because they can hook into the actual traffic).

The ultimate adblocking solution is to use UBO in your browsers AND spin up a pihole to block ads on your entire network: https://pi-hole.net/

Post reply on HN