ihciah / rabbit-tcp

A multi-connection TCP forwarder/accelerator
GNU Affero General Public License v3.0
495 stars 76 forks source link

不用Dock 用命令行怎么运行呢 试了下好像不成功 #14

Open xixixihaha opened 4 years ago

xixixihaha commented 4 years ago

服务器端 ./rabbit-linux-amd64 -mode s -password MiMa -rabbit-addr :999 -verbose 5

客户端 ./rabbit-linux-amd64 -mode c -listen :8888 -dest golang.org -password MiMa -rabbit-addr 服务器IP:999 -tunnelN 5 -verbose 5

[Tunnel-2249226862]2020/08/05 13:37:24 [Info] Peer id recv. [Tunnel-2249226862]2020/08/05 13:37:24 [Info] Peer id sent. [Tunnel-2249226862]2020/08/05 13:37:24 [Info] PeerID exchange successfully. [TunnelPool]2020/08/05 13:37:24 [Info] Tunnel 2249226862 added to Peer 3893004105. [Tunnel-2249226862]2020/08/05 13:37:24 [Info] Inbound relay started. [Tunnel-2249226862]2020/08/05 13:37:24 [Info] Outbound relay started.

[BlockProcessor]2020/08/05 13:37:38 [Debug] recvBlockId == lastRecvBlockID(0), but Connection 2363053006 is not in waiting status, continue. [BlockProcessor]2020/08/05 13:37:40 [Debug] Packet wait time exceed of Connection 3441294470. [BlockProcessor]2020/08/05 13:37:40 [Debug] recvBlockId == lastRecvBlockID(0), but Connection 3441294470 is not in waiting status, continue. [BlockProcessor]2020/08/05 13:37:45 [Debug] Packet wait time exceed of Connection 2363053006. [BlockProcessor]2020/08/05 13:37:45 [Debug] recvBlockId == lastRecvBlockID(0), but Connection 2363053006 is not in waiting status, continue. [BlockProcessor]2020/08/05 13:37:47 [Debug] Packet wait time exceed of Connection 3441294470. [BlockProcessor]2020/08/05 13:37:47 [Debug] recvBlockId == lastRecvBlockID(0), but Connection 3441294470 is not in waiting status, continue.

看着应该连上了 但访问 客户端IP:888 没有反应

tianlichunhong commented 3 years ago

确实,如果能提供一个直接命令行的,就更好了。不过用docker方式,发现确实有效。设置6线程,提速3倍。太厉害了。

ihciah commented 3 years ago

这个项目目前不维护了,本身在协议设计上也有一些问题,在一些corner case处理上会不正常。。有兴趣可以MR哈~ 回到问题本身:理论上跑docker和直接跑release是一样的。