Quote:
Originally Posted by Fallen_Demon
...I need something that can sniff the traffic getting forwarded by my iptables rules
|
You mean like a "packet sniffer"?
Not to be cheeky, but a Synaptic (I see you're Ubuntu) search for said description yields quite a few. I'm trying Wireshark at the moment, but I haven't worked with it enough to be pro/con. Seems promising, though. Snort looked REALLY promising for intrusion detection (slightly OT), but they require a paid subscription for their ruleset. Pass, for now...uninstalled.
In terms of CLI, there are also the commands
netstat -lptu &
lsof -i. Their outputs may be useful to you.