Skip to content

the order of keywords matter, which is not documented #7

Description

@letoams

I had the ikesa and childsa at a different position, and the configuration file failed to parse. It was not obvious this was due to the order of the "sections".

This fails:

ikev2 test esp
from 10.0.1.0/24 to 10.0.2.0/24
local 1.2.3.4 peer 5.6.7.8
srcid foo dstid bar
ikesa enc aes-256 auth hmac-sha2-256 group esp256
childsa enc aes-128-gcm
psk test
tag FOO

but this works:

ikev2 test esp
from 10.0.1.0/24 to 10.0.2.0/24
local 1.2.3.4 peer 5.6.7.8
ikesa enc aes-256 auth hmac-sha2-256 group esp256
childsa enc aes-128-gcm
srcid foo dstid bar
psk test
tag FOO

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions