With iptables -L -n -v, you can get the number of times each firewall rule has been applied, which is very useful in debugging. I'd like to know if there's a similar way to find out how many times a network route has been used. I'm mostly asking about Linux and Windows solutions, but any platforms' solutions to this would be interesting.
|
feedback
|
|
Try
and look at the "Use" column. | |||
feedback
|
|
I don't know of a way to get this information directly, but it would be relatively straightforward with a set of empty rules in iptables that match up with the rules in the routing table. | |||
|
feedback
|
|
FreeBSD:
Linux:
Windows: | ||||
|
feedback
|
Windowsto tags, for Windows guru to notice the question – SaveTheRbtz Oct 25 '09 at 20:07