Sarah's Forge.Dev
← All Projects
tinyiproxy@TransIRC:~
tinyiproxy
A small plain-text IP Proxy that injects a given IP adderess into a proxy-protocol header before connecting to IRC.
★ 0   🍴 0
View on GitHub

tinyiproxy

tinyiproxy is a minimal TCP proxy that injects a given IP address into a PROXY protocol v1 header before connecting to an IRC server.


Features

  • Injects a static IP address into the PROXY line
  • Simple and fast Go implementation
  • Logs connections and errors to /var/log/tinyiproxy.log

Usage

tinyiproxy <listen_addr:port> <irc_addr:port> <ip_addr>
  • listen_addr:port: Address tinyiproxy listens on (e.g. 127.0.0.1:7000)
  • irc_addr:port: Upstream IRC server (e.g. irc.example.com:6667)
  • ip_addr: The IP address to inject into the PROXY header

Example

sudo ./tinyiproxy 127.0.0.1:7000 irc.example.com:6667 203.0.113.42

Build

Requires Go 1.16 or newer.

go build -o tinyiproxy

Security

This tool injects a spoofed IP address into the PROXY line. Use only in trusted environments.


Author

Sarah Rose of TransIRC.Chat

Developer Updates

Loading updates...