[multi-asic] Enhanced iptable default rules#6765
Merged
abdosi merged 7 commits intosonic-net:masterfrom Feb 25, 2021
Merged
Conversation
and also added ip6table rules. Signed-off-by: Abhishek Dosi <[email protected]>
Collaborator
|
is the test expect to fail? |
judyjoseph
reviewed
Feb 12, 2021
Signed-off-by: Abhishek Dosi <[email protected]>
Contributor
Author
|
@judyjoseph please review again. This has changes to NAT rules also as we discussed offline. Thanks @abdosi |
Signed-off-by: Abhishek Dosi <[email protected]>
Contributor
Author
@lguohan yes it should not fail. Fixed it. |
judyjoseph
reviewed
Feb 18, 2021
Signed-off-by: Abhishek Dosi <[email protected]>
Signed-off-by: Abhishek Dosi <[email protected]>
Signed-off-by: Abhishek Dosi <[email protected]>
Contributor
Author
|
will move below change to separate PR. this change has dependency with sonic-mgmt test case failure. would need to disable the test case/make the change/enable test case again.
|
Signed-off-by: Abhishek Dosi <[email protected]>
Contributor
Author
|
@judyjoseph can you please review again. |
judyjoseph
approved these changes
Feb 25, 2021
abdosi
added a commit
that referenced
this pull request
Feb 26, 2021
What I did:- For multi-asic platforms added iptable v4 rule to communicate on docker bridge ip For multi-asic platforms extend iptable v4 rule for iptable v6 also For multi-asic program made all internal rules applicable for all protocols (not filter based on tcp/udp). This is done to be consistent same as local host rule For multi-asic platforms made nat rule (to forward traffic from namespace to host) generic for all protocols and also use Source IP if present for matching
abdosi
added a commit
to sonic-net/sonic-mgmt
that referenced
this pull request
Mar 2, 2021
Enhanced test_cacl_application.py for multi-asic platforms. Also it adds new test case to cover all multi-asic specific changes as done in PR's:- sonic-net/sonic-buildimage#5022 sonic-net/sonic-buildimage#5420 sonic-net/sonic-buildimage#5364 sonic-net/sonic-buildimage#6765 Also fix some of API in common/devices.py and bug in config_facts
qiluo-msft
pushed a commit
that referenced
this pull request
May 24, 2021
What I did:- For multi-asic platforms added iptable v4 rule to communicate on docker bridge ip For multi-asic platforms extend iptable v4 rule for iptable v6 also For multi-asic program made all internal rules applicable for all protocols (not filter based on tcp/udp). This is done to be consistent same as local host rule For multi-asic platforms made nat rule (to forward traffic from namespace to host) generic for all protocols and also use Source IP if present for matching
carl-nokia
pushed a commit
to carl-nokia/sonic-buildimage
that referenced
this pull request
Aug 7, 2021
What I did:- For multi-asic platforms added iptable v4 rule to communicate on docker bridge ip For multi-asic platforms extend iptable v4 rule for iptable v6 also For multi-asic program made all internal rules applicable for all protocols (not filter based on tcp/udp). This is done to be consistent same as local host rule For multi-asic platforms made nat rule (to forward traffic from namespace to host) generic for all protocols and also use Source IP if present for matching
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did:-
Why I did:
host docker syslog is sent with both source and destination ip as docker bridge ip
How I verify:
Verified on single and multi-asic platforms