Wish/idea: blocking in /etc/hosts

Suggest improvements and new features for Gargoyle.

Moderator: Moderators

Post Reply
hook
Posts: 8
Joined: Tue Jul 26, 2011 4:52 pm

Wish/idea: blocking in /etc/hosts

Post by hook »

I just stumbled upon this:
http://someonewhocares.org/hosts/

and though it'd be nice to have something like that on the router in a idiot-proof way. Think AdBlock subscriptions, only subscribing to such 'hosts' files like the one mentioned here and a nice interface to edit or add custom lines.

I tried the "zero"/0.0.0.0 version on my Gargoyle-powered Linksys WRT160NL and it works just fine :]

hook
Posts: 8
Joined: Tue Jul 26, 2011 4:52 pm

Shameless Bump

Post by hook »

Is no-one apart from me interested in this idea?

User avatar
KREAT0R
Posts: 39
Joined: Wed Sep 05, 2012 2:27 am
Location: Argentina

Re: Wish/idea: blocking in /etc/hosts

Post by KREAT0R »

I always use Hosts MVPS + SpyBot S&D. Works perfect, blocking ads and malware / spyware etc..
Router test: wr841nd v5

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Wish/idea: blocking in /etc/hosts

Post by DoesItMatter »

I copied that hosts file from someonewhocares.org

I saved a copy and transferred it to my router in /etc/hosts

rebooted the router and it worked

Not sure how you would do this through menu

But it stayed when I upgraded the firmware and kept old config

Not sure how much it would slow the network, but the hosts
file that I am using is about 310Kb in size.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Wish/idea: blocking in /etc/hosts

Post by ispyisail »

One feature I do miss for the "Robin Mesh Firmware" is custom scripts

You put a script on a web site then users can put the URL link in robin/gargoyle and its done.

dirtmover
Posts: 7
Joined: Sat Feb 11, 2012 10:28 pm

Re: Wish/idea: blocking in /etc/hosts

Post by dirtmover »

DoesItMatter wrote:Not sure how much it would slow the network, but the hosts file that I am using is about 310Kb in size.
The overhead of the extra local lookup is probably small compared to the DNS lookups and downloading that would have been required to support the content that gets blocked. I think you'll probably see an improvement.

Post Reply