github.com/inetaf/tcpproxy
Package tcpproxy lets users build TCP proxies, optionally making routing decisions based on HTTP/1 Host headers and the SNI hostname in TLS connections. Typical usage: Calling Run (or Start) on a proxy also starts all the necessary listeners. For each accepted connection, the rules for that ipPort are matched, in order. If one matches (currently HTTP Host, SNI, or always), then the connection is handed to the target. The two predefined Target implementations are: 1) DialProxy, proxying to another address (use the To func to return a DialProxy value), 2) TargetListener, making the matched connection available via a net.Listener.Accept call. But Target is an interface, so you can also write your own. Note that tcpproxy does not do any TLS encryption or decryption. It only (via DialProxy) copies bytes around. The SNI hostname in the TLS header is unencrypted, for better or worse. This package makes no API stability promises. If you depend on it, vendor it.
proxy.golang.org
v0.0.0-20250222171855-c4b9df066048
about 1 year ago
2
9
6
github.com/weberc2/tailscale v0.0.1
The easiest, most secure way to use WireGuard and 2FA.1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/maytechnet/fabio v1.6.0
47 versions - Latest release: almost 4 years agogithub.com/raylee/ingress v0.0.0-20210628052020-f1b0c02af932
A simple service demuxer. Connections are proxied based on http or https hostname, or plain tcp p...1 version - Latest release: over 4 years ago - 0 stars on GitHub
github.com/ruckstack/ruckstack v1.1.1
The modern application server11 versions - Latest release: almost 5 years ago - 17 stars on GitHub
Past Dependents
Check this option to include packages that no longer depend on this package in their latest version but previously did.
Filter
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/inetaf/tcpproxy
spec |
| License | Apache-2.0 |
| Namespace | github.com/inetaf |
| First Release | about 6 years ago |
| Last Synced | 24 days ago |
Repository
| Stars | 1,295 on GitHub |
| Forks | 161 on GitHub |
| Commits | 68 |
| Committers | 10 |
| Avg per Author | 6.8 |
| DDS | 0.309 |