Hi Tobias, Thank you for the additional clarifications on the PLUGIN_PROVIDE usage for this use case.
Managed to find a few existing plugins that have both the EAP_SERVER and EAP_PEER implementations. Will check them out! Regards, Vijay -----Original Message----- From: Tobias Brunner <[email protected]> Sent: Tuesday, February 26, 2019 5:36 AM To: Vijay Pandian <[email protected]>; [email protected] Subject: Re: [strongSwan] Can charon pass through "vendor-specific" EAP payload to an external entity Hi Vijay, > PLUGIN_PROVIDE(EAP_SERVER, type, vendor); > -and- > PLUGIN_PROVIDE(PEER_VENDOR, type, vendor); > > Macros are everywhere :) No, the existing usages of e.g. EAP_SERVER are without vendor ID. The identifiers when using a vendor ID are the ones I gave before (EAP_SERVER_VENDOR and EAP_PEER_VENDOR). > It would be helpful if you could suggest an existing plugin that could be > used as a reference for this purpose. You can find them yourself by searching for the EAP_SERVER/EAP_PEER plugin features. Regards, Tobias
