Skip to content

Conversation

h3llix
Copy link
Contributor

@h3llix h3llix commented Mar 16, 2021

Fixes : #15270

Bugtool now dumps iptables-legacy and iptables-nft .

Signed-off-by: Gaurav Genani h3llix.pvt@gmail.com

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Mar 16, 2021
@h3llix h3llix force-pushed the dumpLegacyIptables branch from 03f85ed to 3e4c119 Compare March 16, 2021 14:29
@pchaigno pchaigno added area/bugtool Impacts gathering of data for debugging purposes. gsoc Potential GSoC project or pull request related to GSoC release-note/misc This PR makes changes that have no direct user impact. labels Mar 17, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Mar 17, 2021
@h3llix h3llix marked this pull request as ready for review March 17, 2021 11:28
@h3llix h3llix requested a review from a team as a code owner March 17, 2021 11:28
@h3llix h3llix requested a review from twpayne March 17, 2021 11:28
Copy link
Contributor

@twpayne twpayne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you :)

Copy link
Member

@pchaigno pchaigno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One potential concern here is the size of the dump since we'll have iptables, iptables-legacy, and iptables-nft so there will be some duplicate files. I don't think that's a big concern given the bugtool report is most often compressed. It may also be a bit annoying to have to check which iptables is used to decide if we should look at iptables-legacy or iptables-nft.

@h3llix h3llix force-pushed the dumpLegacyIptables branch from 3e4c119 to c1486fa Compare March 17, 2021 17:30
Fixes : cilium#15270

Signed-off-by: Gaurav Genani <h3llix.pvt@gmail.com>
@h3llix h3llix force-pushed the dumpLegacyIptables branch from c1486fa to 9d12464 Compare March 17, 2021 17:42
@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Mar 17, 2021
@joestringer joestringer merged commit 9020c65 into cilium:master Mar 17, 2021
@tklauser
Copy link
Member

Marked this PR as a candidate for backports given that this is an improvement for a debug tool, see https://docs.cilium.io/en/latest/contributing/release/backports/#backport-criteria.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bugtool Impacts gathering of data for debugging purposes. gsoc Potential GSoC project or pull request related to GSoC ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bugtool: Dump iptables-legacy rules
7 participants