[Openswan Users] Count number of current IPsec connections?

Roel van Meer rolek at bokxing.nl
Sat Jan 29 05:59:07 EST 2011


Will Roberts writes:

> Is there a command or something in /proc I can use to get the number of 
> currently established transport mode connections? I'm interested in 
> tracking them over time. We're using NETKEY if it makes a difference.

The contents of /proc/net/ipsec/eroute/all might be useful for that, but I'm 
using KLIPS, so YMMV.

Regards,

Roel



More information about the Users mailing list