inetaf / tcpproxy

Proxy TCP connections based on static rules, HTTP Host headers, and SNI server names (Go package or binary)

Home Page:https://pkg.go.dev/github.com/inetaf/tcpproxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Limit number of clients

tiagocoutinho opened this issue · comments

Hi,

Is there a way to limit the number of clients per connection?

Thanks in advance

Not built-in. You could probably write your own net.Listener & net.Conn wrapper types that together did the accounting.

Ok, got it! Thanks for the prompt reply