Comments (6)
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.
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.
cmd
sudo ./blade create network drop --service-port 8888
response
{"code":200,"success":true,"result":"2b3bf570994e859e"}
查看iptables下已新增drop配置,接口测试后发现配置生效
cmdsudo ./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:8888Please provide the blade version by
./blade version
command and os version,thank you. @wulixiaobo
version: 0.0.1
from chaosblade.
try below cmd:
not work: ./blade create jvm tce
do work: ./blade create jvm throwCustomException
result:tce can not effect
from chaosblade.
@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.
@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)
- chaosblade-box-agent编译报错
- Chaosblade jvm-sandbox support for JDK17
- “blade create file append” 命令的 date 属性无法正常输出系统时间 HOT 1
- Exception when jvm return value to false
- 1.7.3版本里面blade server的命令是删除了吗 HOT 4
- chaosblade-exec-cplus build failed on `darwin/arm64`
- Some problem wiht version1.7.3
- illegal `path` parameter value: `/path-not-on-host`. it must be a directory
- undefined: channel.OsChannel HOT 2
- 有计划什么时候可以支持go语言注入能力吗? HOT 1
- [Bug] Chaos blade server: script-content base64中包含+或者=时,注入脚本失败
- Does CHAOSBLADE support CGROUP V2?
- 请问对于1.7.3版本的blade,使用yaml形式对内存进行限制参数如何设置呢?
- 对elasticsearch 7.4.2注入JVM故障报错
- How to use chaosblade for java jvm under k8s environment?
- Does chaosblade support for drill weblogic java ee application ?
- operator invokes daemonset no set uid HOT 1
- 请教一个问题,给kubernetes pod里面的java 模拟类方法抛自定义异常,如果用chaosblade-box 界面,还需要挂载Java Agent?如何挂载? HOT 3
- chaosblade无法识别重启或新建的Pod
- chaosblade为什么不能同时对目标IP+远程端口的条件做故障注入不生效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chaosblade.