Skip to content

Binary which listens on source host and copies all data to multiple destinations

Notifications You must be signed in to change notification settings

letolab/tcp-repeater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

tcp-repeater

Binary which listens on source host and copies all data to multiple destinations

Build

Run:

$ git clone https://github.com/letolab/tcp-repeater.git
$ cd tcp-repeater
$ go build

Usage

The following listens on source localhost:9000 and repeats data to locahost:9001 and localhost:9002:

./tcp-repeater -s localhost:9000 -d localhost:9001 -d localhost:9002

Caveats

If any one of the destinations close the connection prematurely, it will fail to copy data to all the other destinations.

About

Binary which listens on source host and copies all data to multiple destinations

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages