go 1.11+. Install required system packages:
apt-get install libnetfilter-queue-dev libpcap-dev iptables-dev
To change your SSH server default port (i.e. 5001, see
rules.yaml) and restart sshd:
sed -i 's/[# ]*Port .*/Port 5001/g' /etc/ssh/sshd_config
To run/test glutton:
Use as Proxy
Glutton provide SSH and a TCP proxy. SSH proxy works as a MITM between attacker and server to log everything in plain text. TCP proxy does not provide facility for logging yet. Examples can be found here.