[strongSwan-dev] Looking for direction on writing a custom plugin.

FORTMANN, TOM tf990d at att.com
Tue Oct 2 18:59:08 CEST 2018


Thank you for the quick response.  This is exactly what I was looking for.


-----Original Message-----
From: Noel Kuntze <noel.kuntze+strongswan-dev-ml at thermi.consulting> 
Sent: Tuesday, October 2, 2018 11:38 AM
To: FORTMANN, TOM <tf990d at att.com>; dev at lists.strongswan.org
Subject: Re: [strongSwan-dev] Looking for direction on writing a custom plugin.

Hello Tom,

Checkout the demo-plugin branch. It contains one additional commit, you can see its contents here: https://github.com/strongswan/strongswan/commit/648735c78ec7ca563b6ce52e65f54a44573973a7

For future migration, just keep a single diff or a set of diffs that you can then apply on top of the checked out source code of the release you want to build.
Regarding building just that plugin, you configure the source and then run "make" in the plugin's directory. But you shouldn't do that because of possible ABI changes between compiler versions, if you don't build it all in one swoop.

Kind regards


Am 02.10.18 um 18:26 schrieb FORTMANN, TOM:
> I’m looking for information on how to build a custom plugin.  I can use the source from any of the provided plugins as a template, but I’m looking to guidance on how to integrate this in to the overall build process or building it outside of the strongswan build.  Pros/cons.  Also, tips on doing this in a way that simplifies migration to future strongswan updates would be very helpful.
> Thanks in advance for any and all help,
> Tom

Noel Kuntze
IT security consultant

GPG Key ID: 0x0739AD6C
Fingerprint: 3524 93BE B5F7 8E63 1372 AF2D F54E E40B 0739 AD6C

More information about the Dev mailing list