All Projects → kahlys → proxy

kahlys / proxy

Licence: MIT License
A simple golang tcp proxy.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to proxy

Beetlex
high performance dotnet core socket tcp communication components, support TLS, HTTP, HTTPS, WebSocket, RPC, Redis protocols, custom protocols and 1M connections problem solution
Stars: ✭ 802 (+694.06%)
Mutual labels:  tls, tcp
Mqttnet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
Stars: ✭ 2,486 (+2361.39%)
Mutual labels:  tls, tcp
React Native Tcp Socket
React Native TCP socket API for Android, iOS & macOS with client SSL/TLS support
Stars: ✭ 112 (+10.89%)
Mutual labels:  tls, tcp
Linkerd Tcp
A TCP/TLS load balancer for Linkerd 1.x.
Stars: ✭ 516 (+410.89%)
Mutual labels:  tls, tcp
MQTTnet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
Stars: ✭ 3,309 (+3176.24%)
Mutual labels:  tls, tcp
Leaf
A lightweight and fast proxy utility tries to include any useful features.
Stars: ✭ 530 (+424.75%)
Mutual labels:  tls, tcp
Gobetween
☁️ Modern & minimalistic load balancer for the Сloud era
Stars: ✭ 1,631 (+1514.85%)
Mutual labels:  tls, tcp
Goproxy
🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。
Stars: ✭ 11,334 (+11121.78%)
Mutual labels:  tls, tcp
netxduo
Azure RTOS NetX Duo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
Stars: ✭ 151 (+49.5%)
Mutual labels:  tls, tcp
Go Http Tunnel
Fast and secure tunnels over HTTP/2
Stars: ✭ 2,786 (+2658.42%)
Mutual labels:  tls, tcp
Gsnova
Private proxy solution & network troubleshooting tool.
Stars: ✭ 509 (+403.96%)
Mutual labels:  tls, tcp
Swiddler
TCP/UDP debugging tool.
Stars: ✭ 56 (-44.55%)
Mutual labels:  tls, tcp
Cnp3
Computer Networking : Principles, Protocols and Practice (first and second edition, third edition is being written on https://github.com/cnp3/ebook)
Stars: ✭ 471 (+366.34%)
Mutual labels:  tls, tcp
Blinksocks
A framework for building composable proxy protocol stack.
Stars: ✭ 587 (+481.19%)
Mutual labels:  tls, tcp
Firefly
Firefly is an asynchronous web framework for rapid development of high-performance web application.
Stars: ✭ 277 (+174.26%)
Mutual labels:  tls, tcp
Watsontcp
WatsonTcp is the easiest way to build TCP-based clients and servers in C#.
Stars: ✭ 209 (+106.93%)
Mutual labels:  tls, tcp
XAsyncSockets
XAsyncSockets is an efficient Python/MicroPython library of managed asynchronous sockets.
Stars: ✭ 28 (-72.28%)
Mutual labels:  tls, tcp
riemannx
A riemann client for elixir (TCP/UDP/TLS supported)
Stars: ✭ 23 (-77.23%)
Mutual labels:  tls, tcp
socket-chat
This project will help you build a chat app by using the Socket IO library.
Stars: ✭ 36 (-64.36%)
Mutual labels:  tcp
extension-networking
Library developed for OpenFL to facilitate connections between applications, using TCP sockets, and following the scheme of event-driven programming.
Stars: ✭ 29 (-71.29%)
Mutual labels:  tcp

kahlys/proxy

godoc build go report

Simple tcp proxy package and executable binary in Golang.

⚠️ This code is for test purpose, it is sometimes ugly, it is not production ready, and the API will probably change. ⚠️

Installation

With a correctly configured Go toolchain:

$ git clone github.com/kahlys/proxy/
$ cd proxy
$ go install cmd/tcpproxy/*.go

Example

The example executable provides both TCP and TCP/TLS connection: cmd/tcpproxy/main.go

By default, the proxy address is localhost:4444 and the target address is localhost:80.

$ tcpproxy
2018/12/13 17:10:25 Proxying from :4444 to :80

You can specify some options.

$ tcpproxy -help
Usage of tcpproxy:
  -lcert string
        certificate file for proxy server side
  -lhost string
        proxy local address (default ":4444")
  -lkey string
        key x509 file for proxy server side
  -ltls
        tls/ssl between client and proxy, you must set 'lcert' and 'lkey'
  -rcert string
        certificate file for proxy client side
  -rhost string
        proxy remote address (default ":80")
  -rkey string
        key x509 file for proxy client side
  -rtls
        tls/ssl between proxy and target, you must set 'rcert' and 'rkey'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].