ztgreat / proxy Goto Github PK
View Code? Open in Web Editor NEW:bulb: 基于netty的tcp代理工具,可以借助公网服务器,访问内网主机tcp服务,类似花生壳
License: MIT License
:bulb: 基于netty的tcp代理工具,可以借助公网服务器,访问内网主机tcp服务,类似花生壳
License: MIT License
这个 这个配置文件有点不懂 ,不知道 这么去入手测试
大佬你好,请问可以根据在代理服务器和代理客户端之间做des加密传输吗?我其实想做转发http请求的,但是需要绕开代理服务器和代理客户端之间http的扫描
TCP保证的是一块内容的有序以及完整,例如一个HTTP请求就是一个完整的一块内容,当数据量大的时候会切分,最后会按序合并。但如果做文件做传输一般需要实现分块传输提高效率和稳定性,使用多线程去做传输,处理方式分为两种,一种是保证包序,也就是串行传输,另一种则是多线程传输,这块需要自己做包序保证。建议TCP那块要不按channel加队列做串行传输,要不在加入包序,最后做包排序合并。(个人浅解,如有错漏敬请指教)
看到了项目设计的巧妙性,每次通过SessionID来区分不同的请求,从而实现了并发。
转发配置都在server端,通过key读取相关配置,这样的优势是更加安全。
建议支持在Client端配置,这样可以在Server搭建服务,Client端可以灵活配置。
public class MessageType {
/**
* 代理客户端和真实服务器断开(连接失败)
*/
public static final byte TYPE_DISCONNECT = 0x05;
/**
* 代理客户端和真实服务器 连接失败
*/
public static final byte TYPE_CONNECT_FAIL = 0x05;
}
如题,用postman发post请求给proxy-server,HttpChannelHandler把FullHttpRequest分成两片:
httpRequestEncoder.encode(ctx, request, list);
客户端的ClientChannelHandler收到了两个分片,但是HttpObjectAggregator有时候会卡住,HttpReceiveHandler的channelRead没有被触发,导致请求卡住了。
这个大概是什么原因了
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.