From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: proposal for more options in gnu/services/networking.scm for blocklist Date: Tue, 02 Feb 2016 14:21:05 +0100 Message-ID: <87wpqnfdtq.fsf@gnu.org> References: <8760y9v4kj.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQatM-0001Il-IZ for guix-devel@gnu.org; Tue, 02 Feb 2016 08:21:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQatJ-0001vf-BB for guix-devel@gnu.org; Tue, 02 Feb 2016 08:21:12 -0500 In-Reply-To: <8760y9v4kj.fsf@grrlz.net> (Nils Gillmann's message of "Sun, 31 Jan 2016 22:09:48 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Nils Gillmann Cc: guix-devel@gnu.org Nils Gillmann skribis: > A first version for google I just came up with starts like the attached > code. > > What do you think? I would use it! (Although I use Tor + Privoxy for most of my web browsing, so I would also need the black list there.) The only downside I see it having to maintain it. Do you know if anyone maintains a list of these hosts somewhere? If yes, we should put the URL as a comment and have a somewhat streamlined process to update the list. If there=E2=80=99s no publicly-maintained list of hosts, I think we won=E2= =80=99t go beyond Google, because that would easily become unmaintained, and people would be disappointed to get an incomplete/outdated host list. What do people think? > PS: For consistency with code and mailinglist I will use my legal name > now (etc, long reasoning and positions and pro/contra could follow but I > won't do this here) Your call! > (define %ads-google-host-aliases > ;; This is a list of known google services excluding google.com [...] > 127.0.0.1 mimageads*.googleadservices.com > 127.0.0.1 mpartner.googleadservices.com > 127.0.0.1 pagead*.googlesyndication.com Wildcards are not permitted here. > fe80::1%lo0affiliate.googleusercontent.com Missing space. > fe80::1%lo0 mimageads*.googleadservices.com > fe80::1%lo0 mpartner.googleadservices.com > fe80::1%lo0 pagead*.googlesyndication.com Wildcards. Would you like to turn this into a patch? See (not everything is applicable here, though.) Note that the manual also needs to be updated; =E2=80=98%ads-google-host-aliases=E2=80=99 can be documented just below =E2=80=98%facebook-host-aliases=E2=80=99. Thanks, Ludo=E2=80=99.