Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T5535: firewall: migrate command <set system ip disable-directed-broadcast> to firewall global-optinos (backport #3309) #3310

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Apr 15, 2024

Change Summary

Migrate command to firewall global-optinos

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Related PR(s)

Component(s) name

firewall

Proposed changes

How to test

vyos@vyos# run show config comm | grep firewall
[edit]
vyos@vyos# sudo cat /proc/sys/net/ipv4/conf/all/bc_forwarding
1
[edit]
vyos@vyos# set firewall global-options directed-broadcast 
Possible completions:
   enable               Enable IPv4 directed broadcast forwarding on all interfaces (default)
   disable              Disable IPv4 directed broadcast forwarding on all interfaces
      
[edit]
vyos@vyos# set firewall global-options directed-broadcast disable 
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# sudo cat /proc/sys/net/ipv4/conf/all/bc_forwarding
0
[edit]
vyos@vyos# del firewall 
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# sudo cat /proc/sys/net/ipv4/conf/all/bc_forwarding
1
[edit]
vyos@vyos# 

Smoketest result

test_firewall.py -> OK
test_system_ip.py -> OK

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

This is an automatic backport of pull request #3309 done by [Mergify](https://mergify.com).

…dcast> to firewall global-optinos

(cherry picked from commit 76dceca)
@github-actions github-actions bot added the sagitta VyOS 1.4 LTS label Apr 15, 2024
@vyosbot vyosbot requested review from a team, dmbaturin, sarthurdev, zdc, jestabro, sever-sever and c-po and removed request for a team April 15, 2024 14:41
@c-po c-po merged commit d8bca08 into sagitta Apr 15, 2024
5 checks passed
@mergify mergify bot deleted the mergify/bp/sagitta/pr-3309 branch April 15, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sagitta VyOS 1.4 LTS
Development

Successfully merging this pull request may close these issues.

4 participants