Skip to content

Commit ec0b4f9

Browse files
authored
Merge pull request #477 from l0rd/iptables-rm
Remove references to iptables
2 parents 2371269 + 5de348f commit ec0b4f9

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

common/docs/containers.conf.5.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ Logging driver for the container. Currently available options are k8s-file, jour
298298

299299
**log_path**=""
300300

301-
Default path for container logs to be stored in. When empty, logs will be stored
301+
Default path for container logs to be stored in. When empty, logs will be stored
302302
in the container's default storage and removed when the container is removed.
303-
A subdirectory named with the container ID will be created under the specified
303+
A subdirectory named with the container ID will be created under the specified
304304
path, and the log file will have the default name `ctr.log` within that directory.
305305
This option can be overridden by the `--log-opt` flag.
306306

@@ -429,7 +429,7 @@ The default value is empty which means that it will automatically choose CNI or
429429
already containers/images or CNI networks preset it will choose CNI.
430430

431431
Before changing this value all containers must be stopped otherwise it is likely that
432-
iptables rules and network interfaces might leak on the host. A reboot will fix this.
432+
firewall rules and network interfaces might leak on the host. A reboot will fix this.
433433

434434
**cni_plugin_dirs**=[]
435435

@@ -510,7 +510,7 @@ and "$graphroot/networks" as rootless.
510510

511511
The firewall driver to be used by netavark.
512512
The default is empty which means netavark will pick one accordingly. Current supported
513-
drivers are "iptables", "nftables", "none" (no firewall rules will be created) and "firewalld" (firewalld is
513+
drivers are "nftables", "none" (no firewall rules will be created) and "firewalld" (firewalld is
514514
experimental at the moment and not recommend outside of testing).
515515

516516
**dns_bind_port**=53

common/libnetwork/netavark/run_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ var _ = Describe("run netavark", func() {
9999
_ = netns.UnmountNS(netNSContainer.Path())
100100
_ = netNSContainer.Close()
101101
})
102-
// Force iptables driver, firewalld is broken inside the extra
102+
// Force nftables driver, firewalld is broken inside the extra
103103
// namespace because it still connects to firewalld on the host.
104-
t.Setenv("NETAVARK_FW", "iptables")
104+
t.Setenv("NETAVARK_FW", "nftables")
105105
})
106106

107107
JustBeforeEach(func() {

common/pkg/config/containers.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,12 @@ default_sysctls = [
216216
#
217217
#log_driver = "k8s-file"
218218

219-
# Default path for container logs to be stored in. When empty, logs will be stored
219+
# Default path for container logs to be stored in. When empty, logs will be stored
220220
# in the container's default storage and removed when the container is removed.
221-
# A subdirectory named with the container ID will be created under the specified
221+
# A subdirectory named with the container ID will be created under the specified
222222
# path, and the log file will have the default name `ctr.log` within that directory.
223223
# This option can be overridden by the `--log-opt` flag.
224-
#
224+
#
225225
#log_path = ""
226226

227227
# Maximum size allowed for the container log file. Negative numbers indicate
@@ -359,7 +359,7 @@ default_sysctls = [
359359
# already containers/images or CNI networks preset it will choose CNI.
360360
#
361361
# Before changing this value all containers must be stopped otherwise it is likely that
362-
# iptables rules and network interfaces might leak on the host. A reboot will fix this.
362+
# firewall rules and network interfaces might leak on the host. A reboot will fix this.
363363
#
364364
#network_backend = ""
365365

@@ -384,7 +384,7 @@ default_sysctls = [
384384

385385
# The firewall driver to be used by netavark.
386386
# The default is empty which means netavark will pick one accordingly. Current supported
387-
# drivers are "iptables", "nftables", "none" (no firewall rules will be created) and "firewalld" (firewalld is
387+
# drivers are "nftables", "none" (no firewall rules will be created) and "firewalld" (firewalld is
388388
# experimental at the moment and not recommend outside of testing).
389389
#
390390
#firewall_driver = ""

0 commit comments

Comments
 (0)