Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
tproxy — Una herramienta CLI para hacer de proxy y analizar conexiones TCP. | Kitploit
Herramientas/GitHubGitHub/kevwan/tproxy
Sniffing y Análisis de PaquetesProxies Web e InterceptaciónSeguridad de RedesUtilidades y Frameworks
GitHubkevwan/tproxy

tproxy

Una herramienta CLI para hacer de proxy y analizar conexiones TCP.

Ver Repositorio
3.7k2547hace 2 mesesRevisado por Kitploit
Sitio web

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

tproxy

Inglés | 简体中文 | 日本語

Go Go Report Card Release License: MIT

Cómprame un café

Por qué escribí esta herramienta

Cuando desarrollo servicios backend y escribo go-zero, a menudo necesito monitorizar el tráfico de red. Por ejemplo:

  1. monitorizar conexiones gRPC, cuándo conectarse y cuándo reconectarse
  2. monitorizar los pools de conexiones MySQL, cuántas conexiones hay y determinar la política de ciclo de vida
  3. monitorizar cualquier conexión TCP sobre la marcha

Instalación

Descargar herramienta
root@kitploit:~
$ go install github.com/kevwan/tproxy@latest

O usa imágenes de Docker:

root@kitploit:~
$ docker run --rm -it -p <listen-port>:<listen-port> -p <remote-port>:<remote-port> kevinwan/tproxy:v1 tproxy -l 0.0.0.0 -p <listen-port> -r host.docker.internal:<remote-port>

Para arm64:

root@kitploit:~
$ docker run --rm -it -p <listen-port>:<listen-port> -p <remote-port>:<remote-port> kevinwan/tproxy:v1-arm64 tproxy -l 0.0.0.0 -p <listen-port> -r host.docker.internal:<remote-port>

En Windows, puedes usar scoop:

root@kitploit:~
$ scoop install tproxy

Usos

root@kitploit:~
$ tproxy --help
Usage of tproxy:
  -d duration
    	the delay to relay packets
  -down int
    	Downward speed limit(bytes/second)
  -l string
    	Local address to listen on (default "localhost")
  -p int
    	Local port to listen on, default to pick a random port
  -q	Quiet mode, only prints connection open/close and stats, default false
  -r string
    	Remote address (host:port) to connect
  -s	Enable statistics
  -t string
    	The type of protocol, currently support http2, grpc, redis and mongodb
  -up int
    	Upward speed limit(bytes/second)

Ejemplos

Monitorizar conexiones gRPC

root@kitploit:~
$ tproxy -p 8088 -r localhost:8081 -t grpc -d 100ms
  • escucha en localhost y puerto 8088
  • redirige el tráfico a localhost:8081
  • el tipo de protocolo será gRPC
  • retrasa 100ms por paquete
imagen

Monitorizar conexiones MySQL

root@kitploit:~
$ tproxy -p 3307 -r localhost:3306
imagen

Comprobar la fiabilidad de la conexión (tasa de retransmisión y RTT)

root@kitploit:~
$ tproxy -p 3307 -r remotehost:3306 -s -q
imagen

Aprender el comportamiento de los pools de conexiones

root@kitploit:~
$ tproxy -p 3307 -r localhost:3306 -q -s
imagen

¡Da una estrella! ⭐

Si te gusta o estás usando este proyecto, por favor dale una estrella. ¡Gracias!