summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_firewall.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-15 16:40:13 +0200
committerGitHub <noreply@github.com>2024-04-15 16:40:13 +0200
commitf3d45223da40ea615d8b4ea73ec902462e3cebb4 (patch)
tree3d3bc8355dc1ba88286c34e1dc8c6be15523a1a6 /smoketest/scripts/cli/test_firewall.py
parent8528764c97a5dd91ece7d3df5646fdacd648a588 (diff)
parent76dcecafca977b640dd16d8e68c4a050ca1af4fb (diff)
downloadvyos-1x-f3d45223da40ea615d8b4ea73ec902462e3cebb4.tar.gz
vyos-1x-f3d45223da40ea615d8b4ea73ec902462e3cebb4.zip
Merge pull request #3309 from nicolas-fort/T5535
T5535: firewall: migrate command <set system ip disable-directed-broadcast> to firewall global-optinos
Diffstat (limited to 'smoketest/scripts/cli/test_firewall.py')
-rwxr-xr-xsmoketest/scripts/cli/test_firewall.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_firewall.py b/smoketest/scripts/cli/test_firewall.py
index fe6977252..c47562714 100755
--- a/smoketest/scripts/cli/test_firewall.py
+++ b/smoketest/scripts/cli/test_firewall.py
@@ -27,6 +27,7 @@ from vyos.utils.process import run
sysfs_config = {
'all_ping': {'sysfs': '/proc/sys/net/ipv4/icmp_echo_ignore_all', 'default': '0', 'test_value': 'disable'},
'broadcast_ping': {'sysfs': '/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts', 'default': '1', 'test_value': 'enable'},
+ 'directed_broadcast': {'sysfs': '/proc/sys/net/ipv4/conf/all/bc_forwarding', 'default': '1', 'test_value': 'disable'},
'ip_src_route': {'sysfs': '/proc/sys/net/ipv4/conf/*/accept_source_route', 'default': '0', 'test_value': 'enable'},
'ipv6_receive_redirects': {'sysfs': '/proc/sys/net/ipv6/conf/*/accept_redirects', 'default': '0', 'test_value': 'enable'},
'ipv6_src_route': {'sysfs': '/proc/sys/net/ipv6/conf/*/accept_source_route', 'default': '-1', 'test_value': 'enable'},