Skip to content

berlin493/goTcpProxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

goTcpProxy

A Tcp Proxy Server Written By Go

Description

  • support tcp proxy
  • support catching exit signal
  • support customize Your connect Params such as dest src c, n ttl

How To Compile

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

How To Use

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"

License

Copyright (c) 2015 released under a MIT style license.

About

A Tcp Proxy Server Written By Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.1%
  • Makefile 1.9%