abc123lzf / flyingsocks Goto Github PK
View Code? Open in Web Editor NEW基于Netty的Socks5/HTTP代理软件,类似Shadowsocks,适用于Windows/Linux/Mac OS平台
License: MIT License
基于Netty的Socks5/HTTP代理软件,类似Shadowsocks,适用于Windows/Linux/Mac OS平台
License: MIT License
a->b
c->b
b->a/c
连接成功了,但访问pac.txt里的网址确没走代理,日志文件里也没用相关日志打印
在客户端与服务端的数据传输上,使用TLS 1.2加密。服务端需要持有证书和私钥文件(使用CA机构颁发的证书、私钥或者自签证书皆可)。
这句话的意思是只需要服务端有一个证书即可吗?这个证书该如何得到,有对应得到的教程吗?客户端不需要做对应的处理吗?
hi.
git clone https://github.com/abc123lzf/flyingsocks flyingsocks-by-abc123lzf
cd flyingsocks-by-abc123lzf
mvn package
显示:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building flyingsocks-client 2.0
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/com/lzf/flyingsocks-common/2.0/flyingsocks-common-2.0.pom
Downloading: http://repo.maven.apache.org/maven2/org/eclipse/swt/org.eclipse.swt.win32.win32.x86_64/4.3/org.eclipse.swt.win32.win32.x86_64-4.3.pom
Downloading: http://repo.maven.apache.org/maven2/org/jmock/jmock-junit4/2.12.0/jmock-junit4-2.12.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.154s
[INFO] Finished at: Wed Apr 01 16:23:51 CST 2020
[INFO] Final Memory: 8M/77M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project flyingsocks-client: Could not resolve dependencies for project com.lzf:flyingsocks-client:jar:2.0: Failed to collect dependencies at com.lzf:flyingsocks-common:jar:2.0: Failed to read artifact descriptor for com.lzf:flyingsocks-common:jar:2.0: Could not transfer artifact com.lzf:flyingsocks-common:pom:2.0 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/com/lzf/flyingsocks-common/2.0/flyingsocks-common-2.0.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
怎么解决?
2021-11-27 09:42:22,781 ClientProcessor [main] (AbstractComponent.java:192) ERROR --> Component [ProxyRequestProcessor [ClientProcessor]] init failure.
java.lang.IllegalStateException: incompatible event loop type: io.netty.channel.epoll.EpollEventLoop
at io.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:473)
at io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:87)
at io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:81)
at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:323)
at io.netty.bootstrap.AbstractBootstrap.register(AbstractBootstrap.java:227)
at io.netty.resolver.dns.DnsNameResolver.(DnsNameResolver.java:497)
at io.netty.resolver.dns.DnsNameResolverBuilder.build(DnsNameResolverBuilder.java:488)
at com.lzf.flyingsocks.server.core.client.ProxyRequestProcessor.initInternal(ProxyRequestProcessor.java:116)
at com.lzf.flyingsocks.LifecycleBase.init(LifecycleBase.java:54)
at com.lzf.flyingsocks.AbstractComponent.initInternal(AbstractComponent.java:190)
at com.lzf.flyingsocks.server.core.client.ClientProcessor.initInternal(ClientProcessor.java:121)
at com.lzf.flyingsocks.LifecycleBase.init(LifecycleBase.java:54)
at com.lzf.flyingsocks.AbstractComponent.initInternal(AbstractComponent.java:190)
at com.lzf.flyingsocks.server.core.ProxyProcessor.initInternal(ProxyProcessor.java:133)
at com.lzf.flyingsocks.LifecycleBase.init(LifecycleBase.java:54)
at com.lzf.flyingsocks.AbstractComponent.initInternal(AbstractComponent.java:190)
at com.lzf.flyingsocks.server.StandardServer.initInternal(StandardServer.java:81)
at com.lzf.flyingsocks.LifecycleBase.init(LifecycleBase.java:54)
at com.lzf.flyingsocks.server.ServerBoot.boot(ServerBoot.java:62)
at com.lzf.flyingsocks.server.ServerBoot.main(ServerBoot.java:49)
鼓励一下
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.