From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KNF1O4SS0WP4IgAAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 21:35:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KOcJAIWS0WNu0AAA9RJhRA (envelope-from ) for ; Wed, 25 Jan 2023 21:35:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8AA572DE20 for ; Wed, 25 Jan 2023 21:35:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKmUB-0007Fg-SS; Wed, 25 Jan 2023 15:35:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKmU8-0007EF-8V for guix-patches@gnu.org; Wed, 25 Jan 2023 15:35:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKmU2-0001f2-Mo for guix-patches@gnu.org; Wed, 25 Jan 2023 15:35:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKmU2-00051N-Fw for guix-patches@gnu.org; Wed, 25 Jan 2023 15:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60735] [PATCH v2 3/3] services: Add block-facebook-hosts-service-type. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Jan 2023 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60735 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 60735@debbugs.gnu.org Received: via spool by 60735-submit@debbugs.gnu.org id=B60735.167467885419239 (code B ref 60735); Wed, 25 Jan 2023 20:35:02 +0000 Received: (at 60735) by debbugs.gnu.org; 25 Jan 2023 20:34:14 +0000 Received: from localhost ([127.0.0.1]:60060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKmTF-00050F-PG for submit@debbugs.gnu.org; Wed, 25 Jan 2023 15:34:14 -0500 Received: from smtpmciv7.myservices.hosting ([185.26.106.202]:52152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKmTC-000506-Ho for 60735@debbugs.gnu.org; Wed, 25 Jan 2023 15:34:12 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv7.myservices.hosting (Postfix) with ESMTP id 808C320883; Wed, 25 Jan 2023 21:34:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 2BCB780097; Wed, 25 Jan 2023 21:34:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id MxZQIZxRt48K; Wed, 25 Jan 2023 21:34:08 +0100 (CET) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 4887280096; Wed, 25 Jan 2023 21:34:08 +0100 (CET) Message-ID: Date: Wed, 25 Jan 2023 20:34:07 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US References: <511996014cccd059f1d2ea701e5fe134ad2c4735.1674060851.git.mirai@makinata.eu> <87k01cyivf.fsf@gnu.org> From: Bruno Victal In-Reply-To: <87k01cyivf.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674678916; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=xS72hImQPQVdscZEz3T6nURJHGv08XoujA3/K7RhFec=; b=m/mfjdidNnPzo/ZKimpP0+csIn5xt/1BT3JgIBvWnc8A0ZetLGesffuvhFzHCuDPdtHlqb aey1O99B29sMPuaYLfrsv/yAoQosoMd8sxc439VNYk3KIqRNG53NEvur3wIvXUEQSXD68K hCzVHYz8ROk//y4OW4lMo5g9I+SU45NCaZUxKXHk9o5qxBDNpSvbiflDPm6mrlzqBIWHt2 b2GLUNFxVVM03SbdSqzKXqnv8bYvlRqUtUPXSZJan39UXwHFzxIB59a3NmZ/4+0qaFOHrL uBARhD5c4xcpU4Y2LXTM4/fJ+9k2+nWphBJV4rttbSHDo2UUgubDFChr65zfJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674678916; a=rsa-sha256; cv=none; b=ttZHPCOxXgY27lz2egSOlM8NCMzAzFg96AN2KQoMS/VGAEn/I628XyWIwCsLoF3jgcVwKn 7LjxaSjLD2op97lxjOJpfAC8axi7PxpsRFo9Ij+QvDsur+KX6RiI9vrrsaKqmDKkWPLBMU 1Vp8ousUKAMyL+DtwakM74E3gCKBIwA8Gijm7Viu0M2VCR86diAGvQ+kfVgRNDoXg23yZ9 m+soYJnzT6XhXNWInq0Jc+CIFdW9x0wuZmzuQQfxx8LwxNtJZWpW+A0WVbNxfBPv5wzIAE b3dxDNBCQyBHKj39adABaYoecLDYENhY7rqoui3DkRJ2fIFKMkHKWNYGaTUiXQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -3.08 X-Spam-Score: -3.08 X-Migadu-Queue-Id: 8AA572DE20 X-TUID: DYXfKGogBEpU On 2023-01-23 22:40, Ludovic Courtès wrote: > Bruno Victal skribis: > >> Deprecates %facebook-host-aliases in favour of using >> hosts-service-type service extensions. >> >> * gnu/services/networking.scm >> (block-facebook-hosts-service-type): New variable. >> (%facebook-host-aliases): Deprecate variable. >> * doc/guix.texi: Document it. > > [...] > >> -fe80::1%lo0 www.connect.facebook.net >> -fe80::1%lo0 apps.facebook.com\n") >> - >> + (let ((domains '("facebook.com" "www.facebook.com" >> + "login.facebook.com" "www.login.facebook.com" >> + "fbcdn.net" "www.fbcdn.net" "fbcdn.com" "www.fbcdn.com" >> + "static.ak.fbcdn.net" "static.ak.connect.facebook.com" >> + "connect.facebook.net" "www.connect.facebook.net" >> + "apps.facebook.com"))) >> + (append-map (lambda (name) >> + (map (lambda (addr) >> + (host addr name)) >> + (list "127.0.0.1" "::1"))) domains))) > > The IPv6 address is different, but now I’m not sure whether fe80::1%lo0 > made sense? It's a valid address though it's not really equivalent to [::1].