[Swan-dev] Vendor ID ambiguity

Paul Wouters paul at nohats.ca
Tue Jul 31 04:54:59 UTC 2018


On Mon, 30 Jul 2018, D. Hugh Redelmeier wrote:

> Some of our code emits our vendorid payload using libreswan_vendorid
> as our Vendor ID using
>
> 	out_vid( ..., VID_LIBRESWANSELF);
>
> and some uses pluto_vendorid, via ikev1_out_generic_raw().
>
> Those are two different things,
>
> Which one is correct?

both :)

VID_LIBRESWANSELF is our compiled in version based on various compile
time settings.

pluto_vendorid is our vendorid which can be set with the myvendorid=

eg:

config setup
         myvendorid="paulswan"
         send-vendorid=yes


If send-vendorid=yes and no myvendorid=, the default to use is whatever
is compiled in as VID_LIBRESWANSELF.

Paul



More information about the Swan-dev mailing list