资 源 简 介
项目已迁移至: 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
待测试