Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #63894
| From | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| Newsgroups | alt.os.linux |
| Subject | Re: how much tracking is going on in your browser? |
| Date | 2020-03-22 23:49 +0100 |
| Organization | Decebal Computing |
| Message-ID | <87r1xkatur.fsf@munus.decebal.nl> (permalink) |
| References | <63abd247-475d-41a8-b610-39d14905b8e9@googlegroups.com> <skre7fl4fess8butfhru77ebu4vpqvkvq5@net.com> <87v9mwb5ji.fsf@munus.decebal.nl> <op.0hwb8knia3w0dxdave@hodgins.homeip.net> |
"David W. Hodgins" <dwhodgins@nomail.afraid.org> writes:
> On Sun, 22 Mar 2020 14:36:33 -0400, Cecil Westerhof <Cecil@decebal.nl> wrote:
>
>> Yrrah <Yrrah-aol@aol.invalid> writes:
>>> Do you use uBlock Origin and a good hosts file?
>> What should you put in your hosts file?
>
> Depends on your usage model. Rather then a hosts file, I run a local dns server
> using the package bind.
>
> As I don't use either facebook or twitter, I have those blocked which removes
> a lot of ads, and speeds up the loading of those many sites that include their
> tracking scripts.
>
> $ grep -e twitt -e faceb /var/named/adblock.conf|sort
> zone "ads.ak.facebook.com" { type master; notify no; file "db.adblock"; };
> zone "connect.facebook.net" { type master; notify no; file "db.adblock"; };
> zone "facebook.com" { type master; notify no; file "db.adblock"; };
> zone "twitter.com" { type master; notify no; file "db.adblock"; };
> zone "www.facebook.com" { type master; notify no; file "db.adblock"; };
>
> With google, there are some of their sites that cannot be blocked without
> breaking the sites that load their scripts, but a lot of it can be blocked ...
> $ grep -e goog /var/named/adblock.conf|sort
> zone "googleadservices.com" { type master; notify no; file "db.adblock"; };
> zone "google-analytics.com" { type master; notify no; file "db.adblock"; };
> zone "googlesyndication.com" { type master; notify no; file "db.adblock"; };
> zone "pagead2.googlesyndication.com" { type master; notify no; file "db.adblock"; };
> zone "pagead.l.google.com" { type master; notify no; file "db.adblock"; };
> zone "video-stats.video.google.com" { type master; notify no; file "db.adblock"; };
> zone "wintricksbanner.googlepages.com" { type master; notify no; file "db.adblock"; };
> zone "www-google-analytics.l.google.com" { type master; notify no; file "db.adblock"; };
>
> $ grep ^zone /var/named/adblock.conf|wc -l
> 2606
>
> I started with one of the files from https://pgl.yoyo.org/adservers/ converted
> it from hosts format to a format suitable for use with named, removed names that
> prevented sites I use from working, and added others over the years.
>
> I use named rather then a hosts file, as the hosts file is not designed to be
> used with thousands of names. With so many names in the list, it slows down
> every dns lookup very noticeably. The named program is much more efficient.
> Using a local dns server actually speeds up most dns lookups, not just those
> that result in being blocked. It also helps to have a local http/https server
> running so that the loading of ads results in a 404 not found status immediately,
> instead of waiting for the load to timeout.
>
> Just search on adblock with the dns server of your choice for config settings.
Thanks, I am going to look into that.
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how much tracking is going on in your browser? Pedro Valdez <pedro1492@lycos.com> - 2020-03-20 19:36 -0700
Re: how much tracking is going on in your browser? Paul <nospam@needed.invalid> - 2020-03-21 00:02 -0400
Re: how much tracking is going on in your browser? John Hasler <jhasler@newsguy.com> - 2020-03-21 08:36 -0500
Re: how much tracking is going on in your browser? Yrrah <Yrrah-aol@aol.invalid> - 2020-03-22 15:00 +0100
Re: how much tracking is going on in your browser? Cecil Westerhof <Cecil@decebal.nl> - 2020-03-22 19:36 +0100
Re: how much tracking is going on in your browser? "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2020-03-22 15:54 -0400
Re: how much tracking is going on in your browser? F Russell <fr@random.info> - 2020-03-22 22:52 +0000
Re: how much tracking is going on in your browser? Cecil Westerhof <Cecil@decebal.nl> - 2020-03-22 23:49 +0100
Re: how much tracking is going on in your browser? Bit Twister <BitTwister@mouse-potato.com> - 2020-03-22 18:25 -0500
Re: how much tracking is going on in your browser? Melzzzzz <Melzzzzz@zzzzz.com> - 2020-03-23 05:13 +0000
Re: how much tracking is going on in your browser? Yrrah <Yrrah-aol@aol.invalid> - 2020-03-22 23:47 +0100
csiph-web