[Swan] 3.6rc1 failing with an ASSERTION FAILED message

Paul Wouters paul at nohats.ca
Sun Nov 10 16:16:13 EET 2013


On Sun, 10 Nov 2013, Nick Howitt wrote:

> This is now happening on 3.6. It again appears to be happening when the remote device changes IP address.

>       Nov  9 08:26:21 server pluto[10996]: packet from 62.122.68.153:53489: next payload type of ISAKMP Message has an unknown
>       value: 133
>       Nov  9 08:26:21 server pluto[10996]: packet from 62.122.68.153:53489: ASSERTION FAILED at
>       /home/build/rpmbuild/BUILD/libreswan-3.6/programs/pluto/demux.c:18

Line 18 is a comment? I guess it is around line 18x which is the
bad_case()

>       The code block here is:
>
>           switch (maj) {
>           case ISAKMP_MAJOR_VERSION:
>               process_v1_packet(mdp);
>               break;
>
>           case IKEv2_MAJOR_VERSION:
>               process_v2_packet(mdp);
>               break;
>
>           default:
>               bad_case(maj);
>           }
>
>       Line 196 is "bad_case(maj);"

It's strange. We looked at this before and it seemed that case could
actually never be reached. Could you try compiling without -O ? Perhaps
give us a full gdb strack trace?

Paul


More information about the Swan mailing list