From 00899fdf618c6d9c7269cf80b05b0adb88e26730 Mon Sep 17 00:00:00 2001 From: itbane <39377549+itbane@users.noreply.github.com> Date: Wed, 26 Mar 2025 10:44:41 +0100 Subject: [PATCH] Change docs to use JSON source for Spamhaus DROP blocklist (#681) --- source/manual/how-tos/drop.rst | 44 ++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/source/manual/how-tos/drop.rst b/source/manual/how-tos/drop.rst index 2a0c9914..03e7b7c0 100644 --- a/source/manual/how-tos/drop.rst +++ b/source/manual/how-tos/drop.rst @@ -14,8 +14,8 @@ The Spamhaus Don't Route Or Peer Lists For this How-To we will use the Alias feature and a firewall block rule. The lists for this example are located here: - * `DROP list `__ - * `DROPv6 list `__ + * `DROP list `__ + * `DROPv6 list `__ ------------------------------------- @@ -26,29 +26,33 @@ top right corner of the form. Enter the following data: -+-----------------+-----------------------------------------+-----------------------------+ -| **Name** | spamhaus_drop | *Name of our alias* | -+-----------------+-----------------------------------------+-----------------------------+ -| **Description** | Spamhaus DROP | *Freely chosen description* | -+-----------------+-----------------------------------------+-----------------------------+ -| **Type** | URL Table (IPs) | *URL type* | -+-----------------+-----------------------------------------+-----------------------------+ -| **Content** | https://www.spamhaus.org/drop/drop.txt | *Don't Route Or Peer List* | -+-----------------+-----------------------------------------+-----------------------------+ ++---------------------+--------------------------------------------+-----------------------------+ +| **Name** | spamhaus_drop | *Name of our alias* | ++---------------------+--------------------------------------------+-----------------------------+ +| **Description** | Spamhaus DROP | *Freely chosen description* | ++---------------------+--------------------------------------------+-----------------------------+ +| **Type** | URL Table in JSON format (IPs) | *URL type* | ++---------------------+--------------------------------------------+-----------------------------+ +| **Content** | https://www.spamhaus.org/drop/drop_v4.json | *Don't Route Or Peer List* | ++---------------------+--------------------------------------------+-----------------------------+ +| **Path expression** | cidr | *JSON field to be used* | ++---------------------+--------------------------------------------+-----------------------------+ Set the refresh frequency to 1 for each day. Press **Save** and then **Add a new alias**. -+-----------------+-----------------------------------------+-------------------------------------+ -| **Name** | spamhaus_dropv6 | *Name of our alias* | -+-----------------+-----------------------------------------+-------------------------------------+ -| **Description** | Spamhaus DROPv6 | *Freely chosen description* | -+-----------------+-----------------------------------------+-------------------------------------+ -| **Type** | URL Table (IPs) | *URL type* | -+-----------------+-----------------------------------------+-------------------------------------+ -| **Content** | https://www.spamhaus.org/drop/dropv6.txt | *Don't Route Or Peer List v6* | -+-----------------+-----------------------------------------+-------------------------------------+ ++---------------------+--------------------------------------------+-------------------------------+ +| **Name** | spamhaus_dropv6 | *Name of our alias* | ++---------------------+--------------------------------------------+-------------------------------+ +| **Description** | Spamhaus DROPv6 | *Freely chosen description* | ++---------------------+--------------------------------------------+-------------------------------+ +| **Type** | URL Table in JSON format (IPs) | *URL type* | ++---------------------+--------------------------------------------+-------------------------------+ +| **Content** | https://www.spamhaus.org/drop/drop_v6.json | *Don't Route Or Peer List v6* | ++---------------------+--------------------------------------------+-------------------------------+ +| **Path expression** | cidr | *JSON field to be used* | ++---------------------+--------------------------------------------+-------------------------------+ Set the refresh frequency to 1 for each day.