tinyfecVPN icon indicating copy to clipboard operation
tinyfecVPN copied to clipboard

关于无限制版server

Open thankeyes opened this issue 6 years ago • 16 comments

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就可以了?

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

thankeyes avatar Oct 15 '18 21:10 thankeyes

tun_dev.h中增加宏

#define NOLIMIT

就可以了

luodaoyi avatar Jan 21 '19 05:01 luodaoyi

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)

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

dahubi avatar Mar 05 '19 11:03 dahubi

增加宏 #define NOLIMIT

然后编译就可以了

luodaoyi avatar Mar 05 '19 11:03 luodaoyi

增加宏 #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#

然后就停止了,请问怎么解决啊?

GitorNothing avatar Apr 26 '19 16:04 GitorNothing

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

tdsparrow avatar May 23 '19 02:05 tdsparrow

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

还是出现呢个。。

Adagior avatar Jul 03 '19 11:07 Adagior

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

Adagior avatar Jul 03 '19 12:07 Adagior

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

Adagior avatar Jul 03 '19 13:07 Adagior

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

y8d4w1 avatar Jan 19 '20 02:01 y8d4w1

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

GouGoGoal avatar Jun 05 '20 06:06 GouGoGoal

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

dodois avatar Oct 31 '20 08:10 dodois

有人有无限制版吗?能不能传我一个[email protected]

MikeISL avatar Sep 10 '23 08:09 MikeISL

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

Whichbfj28 avatar Dec 07 '23 07:12 Whichbfj28

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

lovelypp777 avatar Apr 10 '24 14:04 lovelypp777