wangyu- / tinyfecVPN

A VPN Designed for Lossy Links, with Build-in Forward Error Correction(FEC) Support. Improves your Network Quality on a High-latency Lossy Link.
MIT License
2.28k stars 457 forks source link

关于无限制版server #71

Open thankeyes opened 5 years ago

thankeyes commented 5 years ago

For English speaking user: https://github.com/wangyu-/UDPspeeder/wiki/Issue-Guide

中文用户请看: https://github.com/wangyu-/UDPspeeder/wiki/发Issue前请看 (否则Issue可能被忽略,或被直接关掉)

是不是把tun_dev.cpp里#ifndef NOLIMIT----#endif里的if(program_mode==server_mode)的判断代码删了,然后make就可以了?

测试结果就是这样,删了就可以了

luodaoyi commented 5 years ago

tun_dev.h中增加宏

#define NOLIMIT

就可以了

dahubi commented 5 years ago

1.修改tun_dev.cpp中代码,删掉132~150行。 2.在tun_dev.h中增加宏

define NOLIMIT

3.tun_dev.cpp里#ifndef NOLIMIT----#endif里的if(program_mode==server_mode)的判断代码删了,然后make就可以了? 4.如果你需要去掉这个限制,可以自己编译(makefile里有相应的target)。 只需要自己编译server端,因为限制只存在于server端。 (自己编译请用 git clone --recursive而不是仅git clone,否则submodule不会被正常clone)

大哥们,到底用什么办法?

luodaoyi commented 5 years ago

增加宏

define NOLIMIT

然后编译就可以了

GitorNothing commented 5 years ago

增加宏

define NOLIMIT

然后编译就可以了

老哥能给个教程吗? 我按照你说的方法试了,在ubuntu上,显示错误:

:0:0: note: this is the location of the previous definition /toolchains/arm-2014.05/bin/arm-none-linux-gnueabi-g++ -o tinyvpn_arm -I. `ls UDPspeeder/*.cpp UDPspeeder/lib/*.cpp|grep -v main.cpp|grep -v tunnel.cpp` main.cpp tun_dev.cpp tun_dev_client.cpp tun_dev_server.cpp -std=c++11 -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers -ggdb -I. -IUDPspeeder -isystem UDPspeeder/libev -DNOLIMIT -lrt -static -O3 /bin/sh: 1: /toolchains/arm-2014.05/bin/arm-none-linux-gnueabi-g++: not found makefile:52: recipe for target 'arm' failed make[1]: *** [arm] Error 127 make[1]: Leaving directory '/root/newtinyfecVPN/tinyfecVPN' makefile:91: recipe for target 'nolimit_release' failed make: *** [nolimit_release] Error 2 root@ubuntu:~/newtinyfecVPN/tinyfecVPN# 然后就停止了,请问怎么解决啊?
tdsparrow commented 5 years ago

你机器上没有ARM的工具链,X86_64的应该已经编好了

Adagior commented 5 years ago

我安装了arm arm-linux-gcc -v显示正常。。。

还是出现呢个。。

Adagior commented 5 years ago

把makefile里的cc_arm改一下试试-。-

Adagior commented 5 years ago

cc1plus: error: unrecognized command line option "-std=c++11"

y8d4w1 commented 4 years ago

请问下,怎么去搭建编译环境啊?或者做个伸手党,有没有编译好的呢?

GouGoGoal commented 4 years ago

https://yi9.me/index.php/archives/11/

dodois commented 3 years ago

可以试试这个 https://github.com/dodois/dosvpn

MikeISL commented 10 months ago

有人有无限制版吗?能不能传我一个mikeem@126.com

Whichbfj28 commented 7 months ago

构建后。。不知道怎么用。。

lovelypp777 commented 3 months ago

在代码中没有找到关于NOLIMIT的相关代码,是新版本已经去掉了吗?

thisdk commented 1 month ago

在代码中没有找到关于NOLIMIT的相关代码,是新版本已经去掉了吗?

是的,你看最近倒数第三个提交 “disable limit/restriction by default” 把这个提交回滚

wangyu- commented 1 month ago

已经去掉了

现在人在国外 开发和release在国外 标准与国际接轨了