tinyfecVPN
tinyfecVPN copied to clipboard
关于无限制版server
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就可以了?
测试结果就是这样,删了就可以了
在tun_dev.h
中增加宏
#define NOLIMIT
就可以了
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)
大哥们,到底用什么办法?
增加宏 #define NOLIMIT
然后编译就可以了
增加宏 #define NOLIMIT
然后编译就可以了
老哥能给个教程吗? 我按照你说的方法试了,在ubuntu上,显示错误:
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#
然后就停止了,请问怎么解决啊?
你机器上没有ARM的工具链,X86_64的应该已经编好了
我安装了arm arm-linux-gcc -v显示正常。。。
还是出现呢个。。
把makefile里的cc_arm改一下试试-。-
cc1plus: error: unrecognized command line option "-std=c++11"
请问下,怎么去搭建编译环境啊?或者做个伸手党,有没有编译好的呢?
https://yi9.me/index.php/archives/11/
可以试试这个 https://github.com/dodois/dosvpn
有人有无限制版吗?能不能传我一个[email protected]
构建后。。不知道怎么用。。
在代码中没有找到关于NOLIMIT的相关代码,是新版本已经去掉了吗?