在使用长连接的过程中,如果有的长连接一直连着,想要杀掉这条连接可以使用tcpkill命令
安装tcpkill , tcpkill使用dsniff的一个小工具
apt install dsniff
使用过程:
比如连接服务端8082端口的这条连接
杀掉连接, 过滤规则类似tcpdump
tcpkill -i any -9 host 49.7.40.205
连接成功被杀掉
tcpkill -i any -9 host ip地址
tcpkill -i any -9 port 端口
最新评论
我这边UI界面用React重写了,地址是 https://vps.kkwen.cn,有需要可以提供给你
Thankfulness to my father who told me concerning this webpage, this web site is genuinely remarkable