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:[email protected]] 
Sent: Thursday, July 17, 2014 4:16 PM
To: Patil, Suresh (Suresh)
Cc: [email protected]
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


_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users

Reply via email to