News for hackers. Stuff that matters.
Re:µBlock for Firefox by __Joker on Tuesday January 20, 2015 @06:22AM (#8916427)
Where do you get the filter list to modify /etc/host ? Or Is there a easier way to get the filter list from ABP or mu-block ?
Re:µBlock for Firefox by mih on Tuesday January 20, 2015 @07:04AM (#8916525)
Quite a few sources actually. Beware, some of them can be too restrictive. If the hosts file is too big, it can also impact performance.

http://winhelp2002.mvps.org/hosts.zip

(too restrictive) http://hosts-file.net/download/hosts.zip

(ad-servers n tracking only) http://hosts-file.net/ad_servers.asp

http://pgl.yoyo.org/as/serverlist.php?hostformat=hosts&showi...

http://sysctl.org/cameleon/hosts.win

http://www.malwaredomainlist.com/hostslist/hosts.txt

Re:µBlock for Firefox by edwintorok on Tuesday January 20, 2015 @07:26AM (#8916580)
http://adaway.org/hosts.txt

I also replace 127.0.0.1 with 0.0.0.0 and duplicate each entry to have it for IPV6 as well, as in this script except I don't do the iptables rules: https://gist.github.com/teffalump/7227752

Re:µBlock for Firefox by chippy on Tuesday January 20, 2015 @08:11AM (#8916735)
curious about the performance issue. Would the impact on performance be larger than a similarly sized block list in a browser plugin?

I have a netbook, so always want to keep an eye out on performance.

I wonder if there's a GUI application which enables these hosts sources to be tweaked, searched, whitelisted etc

Re:µBlock for Firefox by mih on Tuesday January 20, 2015 @08:30AM (#8916809)
I use this on Windows. For a large hosts file (several megabytes), I find the DNS client service hangs until it reads the whole file. Further, there is also a noticeable delay in the order of a few seconds until the hostname is resolved. For smaller files, I find there is no noticeable lag. Can't offer you any numbers though.

Hostsman (http://www.abelhadigital.com/hostsman) on windows is the my choice of a frontend for hosts management. It's free but not open source.

Re:µBlock for Firefox by marios on Tuesday January 20, 2015 @09:14AM (#8916977)
Slower DNS responses with big hosts file is something to be expected.

The solution is to feed the data to a DNS caching resolver such as unbound or dnsmasq, as I have explained in reply to UserRights.

Answering here also to point out I originally implemented this on a 5y old netbook (Atom CPU, 1GB RAM) because I tend to have a lot of tabs open in firefox, and ABP's memory usage quickly becomes noticeable, and then comes the swapping. Running unbound+nginx scales remarquably well, without hogging too much memory at startup. (Sorry, I don't have access to the netbook right now to report real numbers).

Re:µBlock for Firefox by Dosenpfand on Tuesday January 20, 2015 @06:30AM (#8916451)
I use this list and it works quite well: http://someonewhocares.org/hosts/