Categorygithub.com/andyjack/go-identproxy
repositorypackage
0.0.0-20240420161529-eafcb9ea48d5
Repository: https://github.com/andyjack/go-identproxy.git
Documentation: pkg.go.dev

# README

go-identproxy

A golang version of a python script I used:

https://github.com/jon2/identproxy

I had to upgrade my pfsense firewall and the python 2.7 package was no longer available.

I agree with jon2 that identd is not a useful protocol. But it was fun to do develop this version and see it work.

In the past I used this C program to support identd for IRC.

The handy part of a go version is that you can easily target a different os when compiling, and install it on pfsense.

Building

To create a binary to install on pfsense:

GOOS=freebsd GOARCH=amd64 go build

Setup and Installation

  • use sftp interactively to upload the go-identproxy binary. Place it in /usr/local/bin
  • use sftp interactively to upload the go-identproxy.rc.sh script to /usr/local/etc/rc.d
  • create a NAT rule in pfsense to forward port 113 traffic inbound to the WAN to 127.0.0.1:113

Port 8113 is what the irssi identd script is configured to listen on.

See more info on setting up irssi scripts at https://scripts.irssi.org/