Open p2yogibear opened 8 years ago
is it possible to get per tunnel statistics in openswan ?
With libreswan you can do that with: ipsec whack —trafficstatus
Paul https://nohats.ca/swan.gif
Sent from my phone
On Jun 6, 2018, at 09:39, raghavenderlomte notifications@github.com wrote:
is it possible to get per tunnel statistics in openswan ?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
raghavenderlomte notifications@github.com wrote:
is it possible to get per tunnel statistics in openswan ?
No, the NETKEY interface is not collecting the statistics into openswan, but it's a good idea.
You can run "ip xfrm state show" and parse it, or better, use C/python code to pull the cooked AF_NETLINK data directly. I wish that ip xfrm state show did not dump the session keys without an extra option though.
Per tunnel statistics is supported by openswan. I am using openswan version 2.6.38. When updating a SA entry does it monitor traffic for particular SA entry....??