zhengji

分享一个 Go 写的 TcpProxy

  •  1
     
  •   zhengji · Aug 28, 2015 · 3139 views
    This topic created in 3941 days ago, the information mentioned may be changed or developed.

    GitHub

    goTcpProxy

    A Tcp Proxy Server Written By Go

    编译

    cd $GOPATH;
    git clone http://github.com/zheng-ji/goTcpProxy;
    make
    

    使用范例

    Usage of ./goTcpProxy:
        -c=10000: max connections in the queue wait for servers.
        -dest="172.16.1.250:3306": where proxy server forward requests to.
        -n=25: max active connection.
        -src="127.0.0.1:8999": proxy server's host.
        -ttl=20: timeout of read and write
    ./goTcpProxy -src="127.0.0.1:8999" -dest="172.16.1.250:3306"
    
    49
        1
    49  
       Aug 28, 2015 via Android
    楼主祝你好运!
    先 star 为敬, ss 停步后,百花齐放的时代到了吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1019 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 18:45 · PVG 02:45 · LAX 11:45 · JFK 14:45
    ♥ Do have faith in what you're doing.