如何在 debian 上消除已建立状态的 tcp6 连接?

运行时

netstat -pnat

我看到一些我想杀死的活动连接:

=> 图像 Terminal running netstat -pnat

|原型 |接收-Q |发送-Q |本地地址 |国外地址 |状态 | PID/程序名称|

| tcp6 | 0 | 0 |:::5000 | :::* |听 | 5029/节点/root/mar |tcp6 |0 | 0 |xx.xx.xx.xx:5000 | 80.82.77.240:64344 |已建立 |5029/node /root/mar | |tcp6 | 0 | 0 |xx.xx.xx.xx:5000 | 104.152.52.36:50667 |已建立 5029/node /root/mar | tcp6 | 0 | 0 |xx.xx.xx.xx:5000 | 104.152.52.39:51372 |已建立 |5029/node /root/mar tcp6 | 0 | 0 xx.xx.xx.xx:5000 | 104.152.52.31:59004 |已建立 |5029/node /root/mar

这些命令没有帮助:

iptables -A OUTPUT -p tcp --dport 5000 -j DROP

iptables -A output -p tcp --destination-port 5000 -j DROP

iptables -A INPUT -s 1.15.148.215/24 -j DROP
xiaoheige2008 回答:如何在 debian 上消除已建立状态的 tcp6 连接?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/856.html

大家都在问