mirror of
https://github.com/containers/netavark.git
synced 2026-02-05 06:45:56 +01:00
Minor documentation and style fixes
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
This commit is contained in:
@@ -18,7 +18,7 @@ There is also a dedicated firewalld driver in Netavark.
|
||||
This driver uses the firewalld DBus API to natively interact with firewalld.
|
||||
It can be enabled by setting `firewall_driver` to `firewalld` in `containers.conf`.
|
||||
The native firewalld driver offers better integration with firewalld, but presently suffers from several limitations.
|
||||
It does not support isolation (the `--opt isolate=` option to `podman network create`.
|
||||
It does not support isolation (the `--opt isolate=` option to `podman network create`).
|
||||
Connections to ports forwarded by a container on the same host can only be made through the IPv4 localhost IP (`127.0.0.1`).
|
||||
Using other IPs on the host will not work, unless the connection comes from a separate host.
|
||||
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
## Running tests
|
||||
|
||||
To run the tests locally in your sandbox, you can use one of these methods:
|
||||
* bats ./test/001-basic.bats # runs just the specified test
|
||||
* bats ./test/ # runs all
|
||||
* bats ./test-dhcp/001-basic.bats # runs just the specified test
|
||||
* bats ./test-dhcp/ # runs all
|
||||
|
||||
## Requirements
|
||||
- bats
|
||||
- jq
|
||||
- dnsmasq
|
||||
|
||||
@@ -386,7 +386,7 @@ function setup() {
|
||||
function strict_port_forwarding_enabled_should_deny_port_forwarding() {
|
||||
local fw_driver="$1"
|
||||
if [ -z "$fw_driver" ]; then
|
||||
echo "Error: No fw_driver provided." >&2
|
||||
echo "Error: No fw_driver provided." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
@@ -402,7 +402,7 @@ function strict_port_forwarding_enabled_should_deny_port_forwarding() {
|
||||
function strict_port_forwarding_disabled_should_allow_port_forwarding() {
|
||||
local fw_driver="$1"
|
||||
if [ -z "$fw_driver" ]; then
|
||||
echo "Error: No fw_driver provided." >&2
|
||||
echo "Error: No fw_driver provided." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
@@ -421,7 +421,7 @@ function strict_port_forwarding_disabled_should_allow_port_forwarding() {
|
||||
function strict_port_forwarding_invalid_value_should_warn_and_allow_port_forwarding() {
|
||||
local fw_driver="$1"
|
||||
if [ -z "$fw_driver" ]; then
|
||||
echo "Error: No fw_driver provided." >&2
|
||||
echo "Error: No fw_driver provided." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user