Straddle blocked inbound iptables rules from userspace
Listens for all incoming TCP packets on a specified port and repeats them to localhost, bypassing inbound iptables rules (assuming there is an accept loopback rule in place).
Dependancies:
- libpcap-dev
Compilation:
gcc -o straddle straddle.c -lpcapUsage:
sudo ./straddle <port>