mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-09-17 20:54:33 +08:00
Compare commits
5 Commits
20170813.0
...
20170816.0
Author | SHA1 | Date | |
---|---|---|---|
|
a7e31940a0 | ||
|
244f28cb1d | ||
|
39231d7939 | ||
|
e16d993c2e | ||
|
47ae2d94e7 |
@@ -1,6 +1,6 @@
|
|||||||
# UDPspeeder
|
# UDPspeeder
|
||||||

|

|
||||||
UDP加速工具,降低丢包率,配合vpn可以加速任何协议,尤其适用于加速游戏和网页打开速度;同时也是一个UDP连接的调试和统计工具。
|
UDP双边加速工具,降低丢包率,配合vpn可以加速任何协议,尤其适用于加速游戏和网页打开速度;同时也是一个UDP连接的调试和统计工具。
|
||||||
|
|
||||||
这个是我自己稳定用了一个月的项目,用来加速美服的Brawl Stars和亚服的Mobile Legend,效果不错。加速前卡得几乎没法玩,加速后就没怎么卡过了。
|
这个是我自己稳定用了一个月的项目,用来加速美服的Brawl Stars和亚服的Mobile Legend,效果不错。加速前卡得几乎没法玩,加速后就没怎么卡过了。
|
||||||
#### 效果
|
#### 效果
|
||||||
@@ -26,7 +26,7 @@ UDP加速工具,降低丢包率,配合vpn可以加速任何协议,尤其
|
|||||||
|
|
||||||
client支持多个udp连接,server也支持多个client
|
client支持多个udp连接,server也支持多个client
|
||||||
|
|
||||||
目前有amd64,x86,ar71xx的binary
|
目前有amd64,x86,ar71xx,树莓派armv7的binary
|
||||||
|
|
||||||
如果你需要绕过UDP屏蔽/QoS,或者需要连接复用/连接保持功能,或者是加密。解决方案在另一个repo(可以跟UDPspeeder一起使用):
|
如果你需要绕过UDP屏蔽/QoS,或者需要连接复用/连接保持功能,或者是加密。解决方案在另一个repo(可以跟UDPspeeder一起使用):
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ https://github.com/wangyu-/udp2raw-tunnel
|
|||||||
# 简明操作说明
|
# 简明操作说明
|
||||||
|
|
||||||
### 环境要求
|
### 环境要求
|
||||||
Linux主机,可以使是openwrt路由器,也可以是树莓派。在windows和mac上可以开虚拟机(桥接模式测试可用)。
|
Linux主机,可以使是openwrt路由器,也可以是树莓派。在windows和mac上配合虚拟机可以稳定使用(speeder跑在Linux里,其他应用照常跑在window里,桥接模式测试可用)。
|
||||||
|
|
||||||
### 安装
|
### 安装
|
||||||
下载编译好的二进制文件,解压到本地和服务器的任意目录。
|
下载编译好的二进制文件,解压到本地和服务器的任意目录。
|
||||||
@@ -115,7 +115,7 @@ other options:
|
|||||||
##### --random-drop 选项
|
##### --random-drop 选项
|
||||||
随机丢包。模拟恶劣的网络环境时使用。
|
随机丢包。模拟恶劣的网络环境时使用。
|
||||||
|
|
||||||
# 包接收选项,两端设置可以不同。只影响本地包接受
|
### 包接收选项,两端设置可以不同。只影响本地包接受
|
||||||
##### --disable-filter
|
##### --disable-filter
|
||||||
关闭重复包过滤器。这样配合-d 选项可以模拟有重复包的网络环境。
|
关闭重复包过滤器。这样配合-d 选项可以模拟有重复包的网络环境。
|
||||||
|
|
||||||
|
8
makefile
8
makefile
@@ -2,10 +2,11 @@ cc_cross=/home/wangyu/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-
|
|||||||
cc_local=g++
|
cc_local=g++
|
||||||
cc_ar71xx=/home/wangyu/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-g++
|
cc_ar71xx=/home/wangyu/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-g++
|
||||||
cc_bcm2708=/home/wangyu/raspberry/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++
|
cc_bcm2708=/home/wangyu/raspberry/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++
|
||||||
|
cc_arm=/home/wangyu/Desktop/arm-2014.05/bin/arm-none-linux-gnueabi-g++
|
||||||
FLAGS= -std=c++11 -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter
|
FLAGS= -std=c++11 -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter
|
||||||
SOURCES=main.cpp log.cpp common.cpp
|
SOURCES=main.cpp log.cpp common.cpp
|
||||||
NAME=speeder
|
NAME=speeder
|
||||||
TAR=${NAME}_binaries.tar.gz ${NAME}_amd64 ${NAME}_x86 ${NAME}_ar71xx ${NAME}_bcm2708
|
TAR=${NAME}_binaries.tar.gz ${NAME}_amd64 ${NAME}_x86 ${NAME}_ar71xx ${NAME}_bcm2708 ${NAME}_arm
|
||||||
|
|
||||||
all:
|
all:
|
||||||
rm -f ${NAME}
|
rm -f ${NAME}
|
||||||
@@ -25,6 +26,8 @@ amd64:
|
|||||||
${cc_local} -o ${NAME}_amd64 -I. ${SOURCES} ${FLAGS} -lrt -static -O3
|
${cc_local} -o ${NAME}_amd64 -I. ${SOURCES} ${FLAGS} -lrt -static -O3
|
||||||
x86:
|
x86:
|
||||||
${cc_local} -o ${NAME}_x86 -I. ${SOURCES} ${FLAGS} -lrt -m32 -static -O3
|
${cc_local} -o ${NAME}_x86 -I. ${SOURCES} ${FLAGS} -lrt -m32 -static -O3
|
||||||
|
arm:
|
||||||
|
${cc_arm} -o ${NAME}_arm -I. ${SOURCES} ${FLAGS} -lrt -static -O3
|
||||||
|
|
||||||
cross:
|
cross:
|
||||||
${cc_cross} -o ${NAME}_cross -I. ${SOURCES} ${FLAGS} -lrt -O3
|
${cc_cross} -o ${NAME}_cross -I. ${SOURCES} ${FLAGS} -lrt -O3
|
||||||
@@ -33,9 +36,10 @@ cross2:
|
|||||||
${cc_cross} -o ${NAME}_cross -I. ${SOURCES} ${FLAGS} -lrt -static -lgcc_eh -O3
|
${cc_cross} -o ${NAME}_cross -I. ${SOURCES} ${FLAGS} -lrt -static -lgcc_eh -O3
|
||||||
|
|
||||||
|
|
||||||
release: amd64 x86 ar71xx bcm2708
|
release: amd64 x86 ar71xx bcm2708 arm
|
||||||
tar -zcvf ${TAR}
|
tar -zcvf ${TAR}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f ${TAR}
|
rm -f ${TAR}
|
||||||
|
rm -f ${NAME}_cross ${NAME}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user