maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5+M6] [Announce] Give Mee No Ads! - script to easy up /etc/hosts adblocking (https://talk.maemo.org/showthread.php?t=93485)

xes 2014-07-23 11:48

Re: [Announce] Give Mee No Ads! - script to easy up /etc/hosts adblocking
 
I have just tried the dnsmasq way to add a custom hosts file without change /etc/hosts and it works fine. Probably this would be the best option to avoid configuration dialogs or changes to users previous customizations.

marmistrz 2014-07-23 13:32

Re: [Announce] Give Mee No Ads! - script to easy up /etc/hosts adblocking
 
Well, /etc/hosts always worked just fine for me, so I always sticked with it.

Halftux 2014-07-25 12:44

Re: [Announce] Give Mee No Ads! - script to easy up /etc/hosts adblocking
 
Quote:

Originally Posted by peterleinchen (Post 1433652)
@halftux
I think this is a huge list, or?

Yes it is a huge list but it doesn't matter so much like the ip blacklist which is working with iptables rules instead to have a file for dnsmasq.

With too many iptable rules the speed and memory decrease.
A huge file for look up will also decrease the speed but noot so much.

And there is no big difference to save hosts in /etc/hosts or in a dnsmasq related file only that services who also look in /etc/hosts are faster and you can have a personal /etc/hosts file and the blocking in a different file. In my eyes it is more structured, clean and save that nothing get over written in /etc/hosts.:)


All times are GMT. The time now is 13:09.

vBulletin® Version 3.8.8