[Swan-dev] IKE algorithm list

Paul Wouters paul at nohats.ca
Wed Mar 1 02:10:50 UTC 2017


On Tue, 28 Feb 2017, Andrew Cagney wrote:

>> Yes. And actually I think it would be good to have DHxx in general too.
>> Ideally, I would like dh2, dh5, etc to be aliases for modpXXXX but a
>> quick peek at the code seemed it was not a quick simple change to add.

> So instead of MODP1024, it should list DH2, or just accept DH2 in the
> parser?  I'm guessing the latter.
>
> You're in luck.  For DH this is easy, just add "dh2" vis:
>
>        .algo_type = IKE_ALG_DH,
>        .name = "modp1024",
>        .names = { "modp1024", "dh2", },

I tested it, and it indeed works great!

> I'll tweak DH and see what happens.

Please do,

Paul


More information about the Swan-dev mailing list