mitm-proxy

command module
v0.0.0-...-2b3f9b9 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

mitm-proxy

mitm-proxy proxies all incoming TCP connections. Currently it drops all non-TLS connections. The remaining connections are handled based on user-configurable rules.

  • Run as root. The proxy automatically enables IPv4 forwarding and its iptables rule. SIGINT (^C) terminates the proxy and removes the iptables rule.

  • Sample configuration in config.yml. Supported handlers are drop, mitm and raw. Regular expressions are automatically wrapped with ^ and $, i.e. they must match the entire hostname.

Handlers

  • drop: drops the connection.

  • mitm: runs the connection through a TLS "man-in-the-middle" proxy.

  • raw: runs the connection through a raw TCP proxy.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
tls

Jump to

Keyboard shortcuts

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