A method to measure how much bandwidth is consumed for e.g. a nmap scan against a specific host can be done with iptables in Linux.

Run following to monitor bandwidth to and from

Then run command against host, e.g “nmap -p-”.

Then to show bandwidth for IP in scope:

Kali 2019-03-15 20-46-34.png

Above screenshot shows 3.1 MB out and 2.7 MB inbound to and from the specific host.

To clear the iptables stats table run:

Monitor bandwidth consumption with iptables