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

fix: device name always eth0 in iptable network attack partition #252

Merged

Conversation

yuriscott
Copy link
Contributor

In some scenarios, eth0 does not exist, but eno1 set through network attack partition will been replaced eth0 in Iptables.

In some scenarios, eth0 does not exist, but eno1 set through network attack cannot be set in Iptables and it been changed to eth0.

Signed-off-by: yuri.yin <yincc8@chinatelecom.cn>
@yuriscott yuriscott force-pushed the fix-network-attack-device-nofound branch from 9d9e90c to c997f3a Compare November 22, 2023 03:30
@g1eny0ung g1eny0ung changed the title Fix: fix device name always eth0 in iptable network attack partition fix: device name always eth0 in iptable network attack partition Mar 10, 2024
@g1eny0ung g1eny0ung self-assigned this Mar 10, 2024
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
Copy link
Member

@g1eny0ung g1eny0ung left a comment

Choose a reason for hiding this comment

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

Hi @yuriscott, sorry for the late reply. I saw this PR in the Slack channel because someone mentioned it. It's LGTM.

But I would like to know if you have tested this PR in a real environment? like servers or local development environments. I will merge this PR within 1 day as I want to test it as well.

@chaotic-prow
Copy link

chaotic-prow bot commented Mar 10, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: g1eny0ung

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@g1eny0ung g1eny0ung merged commit c31ee82 into chaos-mesh:main Mar 13, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants