protocol-proxy

command module
v0.0.0-...-84331e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

README

Protocol Proxy

Manually controlled proxy for exploring/debugging TCP protocols

Usage

Usage of protocol-proxy:
  -in-port int
        The in port on which to listen
  -out-ip string
        The out ip to which to output (default "127.0.0.1")
  -out-port int
        The out port to which to output

For example run

./protocol-proxy -in-port 1337 -out-port 8080

With a server listening on the out-port (for example nc -l 8080).

Now connect to the in-port (for example nc localhost 1337).

Of course the server and the client can be any source, for example you could use iptables to route any type of tcp traffic through the protocol proxy.

Image of the protocol proxy TUI intercepting a website connection

Additionally, you may configure the TUI to use NerdFont symbols instead of unicode.

To do this change the line in main.go from

symbols.CurrentMap = symbols.DefaultMap

to

symbols.CurrentMap = symbols.NerdFontMap

It's one of the last lines in the file.

Building and running

Clone the project, go build, and run the protocol-proxy executable

Contributing

Any help is appreciated!

Contribute by creating an Issue/a Pull Request

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL