Git Product home page Git Product logo

Comments (6)

chaosblade-bot avatar chaosblade-bot commented on May 23, 2024

Hi @wulixiaobo, we detect non-English characters in the issue. This comment is an auto translation from @chaosblade-bot to help other users to understand this issue.
We encourage you to describe your issue in English which is more friendly to other users.

Under sudo, execute blade create network drop [], can't really destroy [Linux]

cmd

sudo ./blade create network drop --service-port 8888

response

{"code":200,"success":true,"result":"2b3bf570994e859e"}

Check that the drop configuration has been added to the iptables. After the interface is tested, the configuration takes effect.

cmd

sudo ./blade destroy 2b3bf570994e859e

After the interface test, the configuration still exists. Check the iptables rules and find that the configuration is not cleared.

Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8888
2 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:8888

from chaosblade.

xcaspar avatar xcaspar commented on May 23, 2024

cmd

sudo ./blade create network drop --service-port 8888

response

{"code":200,"success":true,"result":"2b3bf570994e859e"}

查看iptables下已新增drop配置,接口测试后发现配置生效

cmd

sudo ./blade destroy 2b3bf570994e859e

接口测试后发现配置依然存在,查看iptables rules发现未被清除

Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8888
2 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:8888

Please provide the blade version by ./blade version command and os version,thank you. @wulixiaobo

from chaosblade.

wulixiaobo avatar wulixiaobo commented on May 23, 2024

cmd

sudo ./blade create network drop --service-port 8888

response

{"code":200,"success":true,"result":"2b3bf570994e859e"}

查看iptables下已新增drop配置,接口测试后发现配置生效
cmd

sudo ./blade destroy 2b3bf570994e859e

接口测试后发现配置依然存在,查看iptables rules发现未被清除

Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8888
2 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:8888

Please provide the blade version by ./blade version command and os version,thank you. @wulixiaobo

version: 0.0.1

from chaosblade.

wulixiaobo avatar wulixiaobo commented on May 23, 2024

try below cmd:
not work: ./blade create jvm tce
do work: ./blade create jvm throwCustomException
result:tce can not effect

from chaosblade.

xcaspar avatar xcaspar commented on May 23, 2024

@wulixiaobo I'm very sorry to replay so late. The first question I have fixed it and the second question I didn't reappear it. Can you provide your os version?

from chaosblade.

xcaspar avatar xcaspar commented on May 23, 2024

@wulixiaobo 0.0.2 version has been released, please use the version to retry. Reopen it if your problem has not been solved. Thank you :-)

from chaosblade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.