
net-speeder
项目已迁移至: https://github.com/snooda/net-speeder
A program to speed up single thread download upon long delay and unstable network
在高延迟不稳定链路上优化单线程下载速度
运行时依赖的库:libnet, libpcap
debian/ubuntu安装libnet:apt-get install libnet1
安装libpcap: apt-get install libpcap0.8
编译需要安装libnet和libpcap对应的dev包 debian/ubuntu安装libnet-dev:apt-get install libnet1-dev
安装libpcap-dev: apt-get install libpcap0.8-dev
centos安装: 下载epel:https://fedoraproject.org/wiki/EPEL/zh-cn 例:CentOS6 64位:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
如果是centos5,则在epel/5/下
然后安装epel:rpm -ivh epel-release-X-Y.noarch.rpm
然后即可使用yum安装:yum install libnet libpcap libnet-devel libpcap-devel
编译:
Linux Cooked interface使用编译(venetX,OpenVZ): sh build.sh -DCOOKED 已测试
普通网卡使用编译(Xen,KVM,物理机): sh build.sh 待测试
使用方法(需要root权限启动):
参数:./net_speeder 网卡名 加速规则(bpf规则)
最简单用法:
./net_speeder venet0 "ip"
加速所有ip协议数据
Project Information
The project was created on Mar 24, 2013.
- License: GNU GPL v2
- 44 stars
- svn-based source control
Labels:
Networking