[strongSwan] IKE retransmission counters

Patil, Suresh (Suresh) suresh.patil at alcatel-lucent.com
Fri Jul 18 10:09:11 CEST 2014


Hi Martin,

Thanks for the information. I went through the code. One more information I need is that does Srongswann currently expose any SNMP MIBs for these counters also or that needs to be implemented as well. 

Thanks
Suresh

-----Original Message-----
From: Martin Willi [mailto:martin at strongswan.org] 
Sent: Thursday, July 17, 2014 4:16 PM
To: Patil, Suresh (Suresh)
Cc: users at lists.strongswan.org
Subject: Re: [strongSwan] IKE retransmission counters


> Where to register the listeners for these alerts ? Any pointers will 
> be greatly appreciated.

If you want to extend the listcounters functionality, catch ALERT_RETRANSMIT_SEND and or RECEIVE in the stroke_counters listener hook [1]. Introduce appropriate counters analogue to those existing.

If you want to register your own plugin, use the same class as reference.

Regards
Martin

[1]http://git.strongswan.org/?p=strongswan.git;a=blob;f=src/libcharon/plugins/stroke/stroke_counter.c;hb=HEAD#l151




More information about the Users mailing list