You are not logged in.

#1 2010-06-25 19:41:11

binskipy2u
Banned
Registered: 2009-09-14
Posts: 212

does linux/Arch benefit from a HOSTS file? to keep ads away..

along with adblock plus for firefox? I got a huge host file, I remember the difference it made in windows years back..here's the site I got it from..
http://someonewhocares.org/hosts/

and wrote it to /etc/HOSTS

i was wondering is there anything else I have to do? to do what wonders it did for windows?
i notice a speed enhancement right away in browsing..

jsut wondering if anyone has any more info.. or experiences.
thanks


"Sometimes you comfort the afflicted, other times you AFFLICT the COMFORTABLE"

Offline

#2 2010-06-25 20:52:42

sisco311
Member
From: Romania
Registered: 2008-05-23
Posts: 112

Re: does linux/Arch benefit from a HOSTS file? to keep ads away..

I'm using a script to update my hosts file periodically.

http://hostsfile.mine.nu.nyud.net/
http://hostsfile.mine.nu/downloads/

Last edited by sisco311 (2010-06-25 20:54:16)


don't drink unwashed fruit juice.
i never make predictions, especially about the future.

Offline

#3 2010-06-25 22:17:46

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: does linux/Arch benefit from a HOSTS file? to keep ads away..

care to share the script smile

Offline

#4 2010-06-25 22:23:25

sisco311
Member
From: Romania
Registered: 2008-05-23
Posts: 112

Re: does linux/Arch benefit from a HOSTS file? to keep ads away..

gazj wrote:

care to share the script smile

Click the second link from my first post... smile

Bah, here is a direct link: http://hostsfile.mine.nu/downloads/updatehosts.sh.txt


don't drink unwashed fruit juice.
i never make predictions, especially about the future.

Offline

#5 2010-06-25 22:26:11

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: does linux/Arch benefit from a HOSTS file? to keep ads away..

Sorry, it's late here.  Thank you

Offline

#6 2010-06-25 22:55:40

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: does linux/Arch benefit from a HOSTS file? to keep ads away..

so is there any advantage in using a hosts file over adblock+? that hosts file above has 87000+ lines that (i assume) need to be checked on every single lookup?


ᶘ ᵒᴥᵒᶅ

Offline

#7 2010-06-25 23:21:12

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: does linux/Arch benefit from a HOSTS file? to keep ads away..

litemotiv wrote:

so is there any advantage in using a hosts file over adblock+? that hosts file above has 87000+ lines that (i assume) need to be checked on every single lookup?

yes, there might be a slight delay when going through hosts, but the benefit is no connection is made to whichever hosts is listed in the file.  i believe adblock/noscript/et al do a similar thing, but from what i've seen (in firefox) a connection is still attempted, though not completed. with hosts that connection goes straight to localhost and never leaves your network.

sisco311 wrote:

I'm using a script to update my hosts file periodically.

http://hostsfile.mine.nu.nyud.net/
http://hostsfile.mine.nu/downloads/

Thanks! my hosts file was about half the size of the one you liked, and this one has a lot more google stuff than the one i had big_smile

Last edited by toxygen (2010-06-25 23:22:07)


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#8 2010-06-25 23:59:24

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: does linux/Arch benefit from a HOSTS file? to keep ads away..

toxygen wrote:
sisco311 wrote:

I'm using a script to update my hosts file periodically.

http://hostsfile.mine.nu.nyud.net/
http://hostsfile.mine.nu/downloads/

Thanks! my hosts file was about half the size of the one you liked, and this one has a lot more google stuff than the one i had big_smile

Wow, mine was like a tenth of that size!

Just a question I only just now thought to ask, do I need a separate hosts file for a 32bit chroot, or since all internet connections go through the same interface it doesn't matter?

Offline

Board footer

Powered by FluxBB