Hi,
On Tue, May 9, 2017 at 1:34 PM, David Sommerseth <openvpn@sf.lists.
topphemmelig.net> wrote:
> If the plug-in built and packaged separately and that build is not tied
> to OpenVPN itself, this can make this plug-in fail without any
> particular real reason if the OpenVPN binary gets updated independently.
>
> Even though not explicitly documented, we should never remove any
> information from the plug-in v3 structs, only append to and only append
> at the end of the existing structs.
>
I just assumed these "official" plugins will always be built and
distributed with openvpn core.
But if future revisions is guaranteed not to reorder/remove items in the
structs, a less strict check
is definitely better.
> The plug-ins in src/plugins should use, which ensures forward
> compatibility against the OpenVPN binary:
>
> if (v3structver < OPENVPN_PLUGINv3_STRUCTVER)
>
Yes, will change to this.
Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel