qmetrics.net

tproxy

CLI TCP connection proxy and analyzer

tproxy screenshot

tproxy is a command-line tool to listen, relay, and inspect TCP traffic such as gRPC and MySQL connections for development debugging.

Overview

tproxy proxies TCP connections so developers can observe when clients connect, reconnect, and how traffic flows between endpoints. The author created it while building backend services to answer questions about live connection behavior without full packet captures for every case.

Typical usage listens on a local port and forwards to another host and port while labeling the protocol type, for example gRPC with optional per-packet delay to simulate latency. Similar patterns apply to monitoring database connection pools and other TCP services. The tool fits ad hoc inspection during service development rather than long-term production monitoring.

Installation options include standard package install paths, Docker images including arm64 variants, and scoop on Windows. Common workflows cover monitoring gRPC and MySQL sessions and checking retransmission and round-trip characteristics.

For Go and microservice developers who already use ecosystems such as go-zero and need a lightweight local MITM-style TCP tap, tproxy offers a focused CLI workflow.

Key features

  • Local TCP listen and relay
  • Protocol typing for gRPC
  • MySQL connection observation
  • Configurable packet delay
  • Docker image availability
  • Windows scoop installation
  • Connection timing visibility
  • On-the-fly TCP monitoring

Use cases

  • gRPC connection debugging
  • MySQL pool behavior study
  • Local service traffic tap
  • Latency injection testing
  • Backend network troubleshooting

Tags

Similar software

Kong Gateway

Cloud-native API, LLM, and MCP gateway with plugins

Kong Gateway centralizes proxying, routing, load balancing, and authentication for microservice APIs and AI traffic. It extends behavior through a plugin system and optional AI gateway features.

★ 44.4k⟳ 5 days agoApache-2.0

Envoy proxy

Cloud-native edge and service proxy

Envoy is a high-performance C++ proxy for edge, middle, and service mesh traffic. It abstracts networking with observability, security, and dynamic configuration.

★ 29.3k⟳ yesterdayApache-2.0

websocketd

WebSocket wrapper for stdin and stdout CLI programs

websocketd listens for WebSocket clients and runs a command per connection, piping messages to stdin and stdout lines back to the browser. No WebSocket library is needed in your program.

★ 17.5k⟳ 19 days agoBSD-2-Clause

Apache APISIX

Cloud-native API gateway and AI traffic gateway

Apache APISIX is a dynamic, real-time API gateway built on NGINX and etcd. It manages north-south and east-west traffic and can act as a Kubernetes ingress controller.

★ 17.4k⟳ yesterdayApache-2.0

Portr

Self-hosted HTTP, TCP and WebSocket tunnels for teams

Portr exposes local HTTP, TCP, and WebSocket services on public URLs through a tunnel server you control, with a local inspector, request replay, SQLite logs, and team access.

★ 3.2k⟳ 26 days agoAGPL-3.0
Open Source Alternative to:ngrok

NPort

Free Cloudflare-based localhost tunnel CLI with custom subdomains

NPort exposes local HTTP or HTTPS ports through Cloudflare with one npm command, automatic TLS and optional custom subdomains.

★ 776⟳ 3 months agoMIT
Open Source Alternative to:ngrok