Giter Club home page Giter Club logo

spp's People

Contributors

dependabot[bot] avatar esrrhs 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  avatar  avatar  avatar  avatar  avatar

Watchers

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

spp's Issues

域名使用cdn加速后无法正常使用

你好,非常喜欢你的这个代理工具,但我现在遇到个问题,域名直接解析IP的情况可以正常连接SPP服务端,如果域名使用了CDN的情况这样就无法正常连接上SPP的服务端了,这个怎么回事呢,能完善一下吗。
例:
./spp -name "test" -type reverse_socks5_client -server www.test.com:8888 -fromaddr :1080 -proxyproto tcp

ricmp协议在虚拟机下运行的问题

Server端参数:
./spp -type server -proto ricmp -listen 0.0.0.0

Client端参数:
spp.exe -name "test" -type reverse_socks5_client -server x.x.x.x -fromaddr :8080 -proxyproto tcp -proto ricmp -username dsafdsfa -password dsafsfa

在Windows虚拟机中,Server端看日志能收到Client 的 ICMP请求,但无法监听起8080端口。日志打印出以下错误:
image

换到Windows实体机,同样的命令就成功了。

支持配置多层反向代理吗

VPS ./spp -type server -proto tcp -listen :8887
A主机 ./spp -name "test" -type reverse_socks5_client -server VPS:8887 -fromaddr :8083 -toaddr :8084 -proxyproto tcp

第二层:
A主机 ./spp -type server -proto tcp -listen :8886
B ./spp -name "test" -type reverse_socks5_client -server A主机ip:8886 -fromaddr :8084 -toaddr :8085 -proxyproto tcp

Macos作服务端,Linux做客户端,二者无法建立连接

Macos信息如下
image
Linux是ubuntu虚拟机
二者可以ping通,但是无法连接

使用命令如下:

./spp_linux -type server -proto ricmp -listen 0.0.0.0
./spp -name "test" -type reverse_socks5_client -server 192.168.79.1 -fromaddr :8080 -proxyproto tcp -proto ricmp

建议完善一下帮助

1.举例: -fromaddr :8080 -toaddr :8080 这个最好端口不一样,方便描述时能够区分哪台机子,另外 -toaddr 测试是支持映射内网机子,建议举例。
2.-compress 默认是 128,还可以是0不压缩,那还有其他值吗? 压缩用的什么算法?
3.-encrypt 与 -encrypt 有什么区别,性能损失估计什么情况?
4.-maxclient 与 -maxconn 一个默认8 一个默认128 ,不清楚有什么区别
5.-name 这个默认是 "client",是不能重名吗? 还是为了以后有了web管理端后,可以人为区分这是什么业务?
6.-ping 、-profile 不清楚什么意义
7.pingtunnel 有 -timeout 参数,这个为啥没有参数了,目前测试好像是超时 20 秒?

KCP有参数配置吗

需求是一个正向代理,但又需要像KCPTUN那样的kcp传输能力或fec和配置功能(跨州传输需要),不知道你这个kcp有没有kcptun那样的kcp能力或者参数配置?

使用公网vps作穿透的时候不稳定。

spp.exe -name "cs" -type proxy_client -server server -fromaddr :8082 -toaddr :8081 -proxyproto tcp -proto ricmp
使用这个命令在公网vps上搭建隧道穿透到内网的时候,不太稳定,总是timeout

ricmp隧道使用问题

服务端centos系统,客户端linux下使用正常,windows下一直报连接超时,试了win10,win7,server2012都是同样的报错。
服务端:spp -type server -proto tcp -listen :8888 -proto ricmp -listen 0.0.0.0
客户端:spp -name "test" -type proxy_client -server vps -fromaddr :8081 -toaddr :8999 -proxyproto tcp -proto ricmp
报错:[ERROR] [2021-07-01T21:46:22.6640146+08:00] [client.go:111] [github.com/esrrhs/go-engine/src/proxy.(*Client).connect] connect Dial fail: vps connect timeout

望解答!

windows wsl2 ubuntu下的docker启动client

host 模式不通,--network host,并且windows下telnet 127.0.0.1 4455不通,ubuntu下可以

bridge 模式正常,-p 4455:4455,windows下telnet 127.0.0.1 4455可以通

连接数持续增长

感谢你的工作。
我尝试使用rhttp进行反向代理,即:

./spp -type server -proto rhttp -listen :8888
./spp -type reverse_proxy_client -server www.test.com:8888 -fromaddr :2223 -toaddr :2223 -proxyproto tcp -proto rhttp

但是我在客户端,也就是执行./spp -type reverse_proxy_client -server www.test.com:8888 -fromaddr :2223 -toaddr :2223 -proxyproto tcp -proto rhttp的端,发现了连接数持续增长的情况:

lsof -p 24393|wc -l
11979

一个多小时,连接数已经1W+了,并且还在持续增长中。
并且所占用的内存也在持续增长:

VIRT  RES 
970M  277M

rimcp的问题

服务器监听rimcp,无法更改端口,只能使用8080端口呀。

go get失败

hi。

root@racknerd-7b97d8 ~]# cd $GOPATH
[root@racknerd-7b97d8 gopath]# go get -u -v github.com/esrrhs/spp/
go: downloading github.com/esrrhs/spp v0.0.0-20210422073119-5386c95a82f9

github.com/esrrhs/spp imports
github.com/esrrhs/go-engine/src/conn: cannot find module providing package github.com/esrrhs/go-engine/src/conn
github.com/esrrhs/spp imports
github.com/esrrhs/go-engine/src/proxy: cannot find module providing package github.com/esrrhs/go-engine/src/proxy
[root@racknerd-7b97d8 gopath]#

怎么解决?

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.