Skip to content

Commit 00899fd

Browse files
authored
Change docs to use JSON source for Spamhaus DROP blocklist (opnsense#681)
1 parent 4d7f35d commit 00899fd

File tree

1 file changed

+24
-20
lines changed

1 file changed

+24
-20
lines changed

source/manual/how-tos/drop.rst

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ The Spamhaus Don't Route Or Peer Lists
1414
For this How-To we will use the Alias feature and a firewall block rule.
1515
The lists for this example are located here:
1616

17-
* `DROP list <https://www.spamhaus.org/drop/drop.txt>`__
18-
* `DROPv6 list <https://www.spamhaus.org/drop/dropv6.txt>`__
17+
* `DROP list <https://www.spamhaus.org/drop/drop_v4.json>`__
18+
* `DROPv6 list <https://www.spamhaus.org/drop/drop_v6.json>`__
1919

2020

2121
-------------------------------------
@@ -26,29 +26,33 @@ top right corner of the form.
2626

2727
Enter the following data:
2828

29-
+-----------------+-----------------------------------------+-----------------------------+
30-
| **Name** | spamhaus_drop | *Name of our alias* |
31-
+-----------------+-----------------------------------------+-----------------------------+
32-
| **Description** | Spamhaus DROP | *Freely chosen description* |
33-
+-----------------+-----------------------------------------+-----------------------------+
34-
| **Type** | URL Table (IPs) | *URL type* |
35-
+-----------------+-----------------------------------------+-----------------------------+
36-
| **Content** | https://www.spamhaus.org/drop/drop.txt | *Don't Route Or Peer List* |
37-
+-----------------+-----------------------------------------+-----------------------------+
29+
+---------------------+--------------------------------------------+-----------------------------+
30+
| **Name** | spamhaus_drop | *Name of our alias* |
31+
+---------------------+--------------------------------------------+-----------------------------+
32+
| **Description** | Spamhaus DROP | *Freely chosen description* |
33+
+---------------------+--------------------------------------------+-----------------------------+
34+
| **Type** | URL Table in JSON format (IPs) | *URL type* |
35+
+---------------------+--------------------------------------------+-----------------------------+
36+
| **Content** | https://www.spamhaus.org/drop/drop_v4.json | *Don't Route Or Peer List* |
37+
+---------------------+--------------------------------------------+-----------------------------+
38+
| **Path expression** | cidr | *JSON field to be used* |
39+
+---------------------+--------------------------------------------+-----------------------------+
3840

3941
Set the refresh frequency to 1 for each day.
4042

4143
Press **Save** and then **Add a new alias**.
4244

43-
+-----------------+-----------------------------------------+-------------------------------------+
44-
| **Name** | spamhaus_dropv6 | *Name of our alias* |
45-
+-----------------+-----------------------------------------+-------------------------------------+
46-
| **Description** | Spamhaus DROPv6 | *Freely chosen description* |
47-
+-----------------+-----------------------------------------+-------------------------------------+
48-
| **Type** | URL Table (IPs) | *URL type* |
49-
+-----------------+-----------------------------------------+-------------------------------------+
50-
| **Content** | https://www.spamhaus.org/drop/dropv6.txt | *Don't Route Or Peer List v6* |
51-
+-----------------+-----------------------------------------+-------------------------------------+
45+
+---------------------+--------------------------------------------+-------------------------------+
46+
| **Name** | spamhaus_dropv6 | *Name of our alias* |
47+
+---------------------+--------------------------------------------+-------------------------------+
48+
| **Description** | Spamhaus DROPv6 | *Freely chosen description* |
49+
+---------------------+--------------------------------------------+-------------------------------+
50+
| **Type** | URL Table in JSON format (IPs) | *URL type* |
51+
+---------------------+--------------------------------------------+-------------------------------+
52+
| **Content** | https://www.spamhaus.org/drop/drop_v6.json | *Don't Route Or Peer List v6* |
53+
+---------------------+--------------------------------------------+-------------------------------+
54+
| **Path expression** | cidr | *JSON field to be used* |
55+
+---------------------+--------------------------------------------+-------------------------------+
5256

5357
Set the refresh frequency to 1 for each day.
5458

0 commit comments

Comments
 (0)