[strongSwan] Can charon pass through "vendor-specific" EAP payload to an external entity

Vijay Pandian vijay.pandian at casa-systems.com
Mon Feb 25 17:27:52 CET 2019

Hi Tobias,

Thanks you very much for the response. Are there any existing plugin that I could use as a base to build this new plugin? I am new to developing plugin in strongSwan.

Regarding the PLUGIN_PROVIDE(EAP_SERVER|PEER_VENDOR, type, vendor), although I could fine the EAP_SERVER defined as an enum in src/libcharon/sa/eap/eap_method.h, I could not find the definition for PEER_VENDOR anywhere in the source code. I am using strongswan-5.7.2 as my reference.


-----Original Message-----
From: Tobias Brunner <tobias at strongswan.org> 
Sent: Monday, February 25, 2019 5:59 AM
To: Vijay Pandian <vijay.pandian at casa-systems.com>; users at lists.strongswan.org
Subject: Re: [strongSwan] Can charon pass through "vendor-specific" EAP payload to an external entity

Hi Vijay,

> I am specifically looking for help in understanding if StrongSwan has support to handle “EAP Expanded Type” with a non-zero “Vendor-Id” as defined in IETF rfc3748 Section 5.7.

It does.

> Are there any existing plugins that would serve the purpose?

There are many plugins that implement EAP methods, although, none vendor-specific.  For the latter a plugin just has to register the plugin feature with PLUGIN_PROVIDE(EAP_SERVER|PEER_VENDOR, type, vendor) using the appropriate numeric vendor ID and type.


More information about the Users mailing list