diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-15 20:41:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 20:41:13 +0200 |
commit | d8bca084a1f050a52bef46f5e1b589cbf89ce54d (patch) | |
tree | 31aaf14c1cb55852d8fe13d5992e0c37ddddaa3e /src/conf_mode/firewall.py | |
parent | 131bb134ec7f527ade19557cce62877e824a34bb (diff) | |
parent | 67bc10841f088e4ccabc30b1442b43f8d5902f5e (diff) | |
download | vyos-1x-d8bca084a1f050a52bef46f5e1b589cbf89ce54d.tar.gz vyos-1x-d8bca084a1f050a52bef46f5e1b589cbf89ce54d.zip |
Merge pull request #3310 from vyos/mergify/bp/sagitta/pr-3309
T5535: firewall: migrate command <set system ip disable-directed-broadcast> to firewall global-optinos (backport #3309)
Diffstat (limited to 'src/conf_mode/firewall.py')
-rwxr-xr-x | src/conf_mode/firewall.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/firewall.py b/src/conf_mode/firewall.py index 3cf618363..e96e57154 100755 --- a/src/conf_mode/firewall.py +++ b/src/conf_mode/firewall.py @@ -44,6 +44,7 @@ nftables_conf = '/run/nftables.conf' sysfs_config = { 'all_ping': {'sysfs': '/proc/sys/net/ipv4/icmp_echo_ignore_all', 'enable': '0', 'disable': '1'}, 'broadcast_ping': {'sysfs': '/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts', 'enable': '0', 'disable': '1'}, + 'directed_broadcast' : {'sysfs': '/proc/sys/net/ipv4/conf/all/bc_forwarding', 'enable': '1', 'disable': '0'}, 'ip_src_route': {'sysfs': '/proc/sys/net/ipv4/conf/*/accept_source_route'}, 'ipv6_receive_redirects': {'sysfs': '/proc/sys/net/ipv6/conf/*/accept_redirects'}, 'ipv6_src_route': {'sysfs': '/proc/sys/net/ipv6/conf/*/accept_source_route', 'enable': '0', 'disable': '-1'}, |