ccsexyz / kcptun-asio Goto Github PK
View Code? Open in Web Editor NEWA kcptun based on c++11/asio, compatible with kcptun(golang)
License: GNU General Public License v3.0
A kcptun based on c++11/asio, compatible with kcptun(golang)
License: GNU General Public License v3.0
strip之后还有3M多,不适合路由器
make[3]: *** No rule to make target gflags/libgflags_nothreads.a', needed by
kcptun_client'. Stop.
make[2]: *** [CMakeFiles/kcptun_client.dir/all] Error 2
make[1]: *** [CMakeFiles/kcptun_client.dir/rule] Error 2
你好!
我在使用 kcptun_asio_windows_x86 进行HTTP加速发现不能建立连接,
server 192.168.1.1
client 192.168.1.2
client 发起http请求 <--> sock5-client <--> kcptun_client <--> 服务端 kcptun_server <--> sock5-server
HTTP客户端代理使用的是 privoxy, IE设置LAN代理为 127.0.0.1:8123
privoxy配置文件 -- 把HTTP协议转换成sock5
listen-address 127.0.0.1:8123
show-on-task-bar 0
activity-animation 0
forward-socks5 / 127.0.0.1:1080 .
hide-console
kcptun_client -l :1080 -t 192.168.1.1:1899 --key password --crypt aes --mtu 1200 --ds 20 --ps 10 --nocomp
kcptun_server -l :1899 -t 127.0.0.1:1088 --key password --crypt aes --mtu 1200 --ds 20 --ps 10 --nocomp
socks5_server IP端口 127.0.0.1:1088
直接测试
privoxy->socks5_server 可以上网,添加了 kcptun 就不能访问网站了
This program need zlib. But It's not contained in the project.
And in windows10 vs2015, we should add ZLIB_WINAPI before include zlib.h.
If not, this will produce link error "can not found _crc32 to link"
more info: https://zlib.net/DLL_FAQ.txt
#define ZLIB_WINAPI
#include "zlib.h"
我在windows 下编译成功,貌似不能正常通信,请问这个测试过了吗?另外我对这个挺感兴趣,是否可以加入这个项目?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.