Page MenuHomeVyOS Platform

IPsec script neither sets a default DH group for IKE nor warns that it should be set
Closed, ResolvedPublicBUG

Description

Create an IKE group without DH group:

ike-group Foo {
    proposal 1 {
        encryption aes128
        hash sha1
    }
}

In ipsec.conf you get: ike=aes128-sha1!

And then in logs you get:

Jun  1 02:29:11 vyos-test charon: 14[CFG] a DH group is mandatory in IKE proposals
Jun  1 02:29:11 vyos-test charon: 14[CFG] skipped invalid proposal string: aes128-sha1

We should set the default to whatever it was in 1.1.8 I suppose, for compatibility reasons. I think it was DH group 2.

Details

Version
1.2.0

Event Timeline

dmbaturin renamed this task from IPsec script neither sets a default DH group for IKE neither warns that it should be set to IPsec script neither sets a default DH group for IKE nor warns that it should be set.
dmbaturin claimed this task.
dmbaturin triaged this task as High priority.