xelerance / Openswan

Openswan
Other
849 stars 214 forks source link

How to resolve: ASSERTION FAILED at spdb_v1_struct.c:1735: enc->type.oakley == OAKLEY_ENCRYPTION_ALGORITHM #478

Open AlisaWeiler opened 2 years ago

AlisaWeiler commented 2 years ago

when I run "ipsec auto --up test", this problem occurs with config file below and the version is release 3.0.0, There is no such problem in main mode

ipsec.conf: conn test authby=secret pfs=yes rekey=yes keyingtries=%forever type=tunnel ike=aes128-sha1;modp1024 phase2=esp phase2alg=aes128-sha1

    left=10.233.133.103
    leftid=@left
    leftsubnet=192.168.0.0/24

    right=10.233.133.104
    rightid=@right
    rightsubnet=192.168.1.0/24
    auto=add
    aggrmode=yes
letoams commented 2 years ago

Openswan has been dead for a decade. Upgrade to libreswan or strongswan for a supported solution.