Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Yonle/go-relayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-relayer

a simple IP relayer.

100% only using stdlib. concurrency is achieved via goroutine.

Usage of ./go-relayer:
  -bind string
    	Dial to upstream with specified local IP address (Bind)
  -clientbuffersize int
    	Client buffer size in bytes (default 4096)
  -from string
    	Listen to address
  -keepalive
    	Enable KeepAlive (TCP)
  -keepalive-idle string
    	Keep Alive idle duration (default "15s")
  -keepalive-interval string
    	Keep Alive interval duration (default "15s")
  -notimer
      Disable timer, effectively disabling -timeout
  -proto string
    	Protocol to use (default "tcp")
  -timeout string
    	Timeout duration for upstream dial (default "5s")
  -to string
    	Destination upstream address
  -upstreambuffersize int
    	Upstream buffer size in bytes (default 4096)

compiling

you will need atleast go 1.24.2 installed in your system.

go build -o go-relayer

or just install it to GOPATH by running go install github.com/Yonle/go-relayer@latest

About

a simple IP relayer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages