57 lines
2.9 KiB
Diff
57 lines
2.9 KiB
Diff
From d48ffab0a49db8c937bbd62b0b8b755b3dbca4a8 Mon Sep 17 00:00:00 2001
|
|
From: Eric Garver <eric@garver.life>
|
|
Date: Tue, 23 Jun 2020 13:39:49 -0400
|
|
Subject: [PATCH 32/45] docs: replace occurrences of the term blacklist with
|
|
denylist
|
|
|
|
(cherry picked from commit af3f7cd074f737c584a42cf1028f18e6fa597204)
|
|
(cherry picked from commit 621916b2dbb4cb04da4a0babc3b741202fd709b4)
|
|
---
|
|
doc/xml/firewalld.direct.xml | 12 ++++++------
|
|
src/firewall-config.glade | 2 +-
|
|
2 files changed, 7 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/doc/xml/firewalld.direct.xml b/doc/xml/firewalld.direct.xml
|
|
index de7b5973dd7f..d65b66f74513 100644
|
|
--- a/doc/xml/firewalld.direct.xml
|
|
+++ b/doc/xml/firewalld.direct.xml
|
|
@@ -273,16 +273,16 @@
|
|
<title>Example</title>
|
|
|
|
<para>
|
|
- Blacklisting of the networks 192.168.1.0/24 and 192.168.5.0/24 with logging and dropping early in the raw table:
|
|
+ Denylisting of the networks 192.168.1.0/24 and 192.168.5.0/24 with logging and dropping early in the raw table:
|
|
|
|
<programlisting>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<direct>
|
|
- <chain ipv="ipv4" table="raw" chain="blacklist"/>
|
|
- <rule ipv="ipv4" table="raw" chain="PREROUTING" priority="0">-s 192.168.1.0/24 -j blacklist</rule>
|
|
- <rule ipv="ipv4" table="raw" chain="PREROUTING" priority="1">-s 192.168.5.0/24 -j blacklist</rule>
|
|
- <rule ipv="ipv4" table="raw" chain="blacklist" priority="0">-m limit --limit 1/min -j LOG --log-prefix "blacklisted: "</rule>
|
|
- <rule ipv="ipv4" table="raw" chain="blacklist" priority="1">-j DROP</rule>
|
|
+ <chain ipv="ipv4" table="raw" chain="denylist"/>
|
|
+ <rule ipv="ipv4" table="raw" chain="PREROUTING" priority="0">-s 192.168.1.0/24 -j denylist</rule>
|
|
+ <rule ipv="ipv4" table="raw" chain="PREROUTING" priority="1">-s 192.168.5.0/24 -j denylist</rule>
|
|
+ <rule ipv="ipv4" table="raw" chain="denylist" priority="0">-m limit --limit 1/min -j LOG --log-prefix "denylisted: "</rule>
|
|
+ <rule ipv="ipv4" table="raw" chain="denylist" priority="1">-j DROP</rule>
|
|
</direct>
|
|
</programlisting>
|
|
|
|
diff --git a/src/firewall-config.glade b/src/firewall-config.glade
|
|
index 689433c47eca..6c057f66f401 100644
|
|
--- a/src/firewall-config.glade
|
|
+++ b/src/firewall-config.glade
|
|
@@ -9761,7 +9761,7 @@
|
|
<object class="GtkLabel" id="label38">
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">start</property>
|
|
- <property name="label" translatable="yes">For host or network white or blacklisting deactivate the element.</property>
|
|
+ <property name="label" translatable="yes">For host or network allow or denylisting deactivate the element.</property>
|
|
<property name="wrap">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="yalign">0</property>
|
|
--
|
|
2.27.0
|
|
|