Coder Social home page Coder Social logo

abc123lzf / flyingsocks Goto Github PK

View Code? Open in Web Editor NEW
99.0 99.0 41.0 36.96 MB

基于Netty的Socks5/HTTP代理软件,类似Shadowsocks,适用于Windows/Linux/Mac OS平台

License: MIT License

Java 96.98% Batchfile 0.10% Shell 0.62% C 2.09% Python 0.20%
shadowsocks

flyingsocks's People

Contributors

abc123lzf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

flyingsocks's Issues

代理未生效

连接成功了,但访问pac.txt里的网址确没走代理,日志文件里也没用相关日志打印

怎么得到证书或私钥

在客户端与服务端的数据传输上,使用TLS 1.2加密。服务端需要持有证书和私钥文件(使用CA机构颁发的证书、私钥或者自签证书皆可)。

这句话的意思是只需要服务端有一个证书即可吗?这个证书该如何得到,有对应得到的教程吗?客户端不需要做对应的处理吗?

运行mvn package,遇错

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

怎么解决?

服务器配置好后运行报错

image
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)

连接服务器失败

您好,正在使用您的这个软件做一个代理 为何显示成功后又自动再连接,然后就会卡住不动
您有遇到这个问题吗?如何解决这个问题 在客户端我应该怎么debug呢?
服务器安全组是打开的,配置未使用SSL,是无加密的。 之前用加密的方式看见本地出现了服务器上的证书,说明也是可以连接的,跟服务器安全组设置没关系
辛苦了
C1~9N6)81))5OAH99UB10CU

图片
图片

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.