Transmission Block Xunlei:通过传输远程获取对端信息之后通过iptables限制迅雷的速度 源码

bridegroom_6810 2 0 ZIP 2021-04-21 19:04:22

变速箱挡块 通过传输远程获取对端信息之后通过iptables限制迅雷的速度 为什么要限速迅雷? P2P的精神在于分享,在于人人为我我为人人。今天我把文件分享给别人,是因为将来他们会把文件分享给更多的人。我。所以我要限制迅雷客户端的速度。 简单版脚本 这个最简化的脚本解释了基本原理。 #!/bin/bash ips=`transmission-remote 127.0.0.1:9091 --auth yourusername:yourpassword -t all --info-peers` echo "$ips" for client in Xunlei Thunder do echo -n "dealing $client: " # echo $ips 没有换行符,加引号才有 for i in `echo "$ips" | grep $client | cut

用户评论
请输入评论内容
评分:
暂无评论