[vpnc-devel] VPNC and Juniper/NetScreen

Tim Hollinger skysgoneout at comcast.net
Mon Jun 16 02:00:46 CEST 2008


Hello Marc,

I'm Tim Hollinger, a sys admin for Broadcast International.  I ran  
across your patch file for VPNC that allows it to communicate with  
Netscreen's ScreenOS.

I was wondering if you might be able to shed some light on a problem  
I'm having with VPNC.  I've downloaded and build version 0.5.1 and am  
trying to connect with a netscreen 204 using xauth.  It makes it past  
the first handshake (after supplying a username) then asks for a  
password.  After that it hangs on the second handsake with a 'no  
response from target' error.

Below are my default.conf config and the verbose output from VPNC.   
Any help you might be able to offer is GREATLY appreciated.

thanx in advance.

t

default.conf

IPSec gateway 72.8.83.2
IPSec ID email at host.example
IPSec secret xxxxxxxxxx
Xauth interactive
Vendor netscreen
NAT Traversal Mode none
Script /etc/vpnc/vpnc-script
IKE DH Group dh2
Perfect Forward Secrecy nopfs
Interface name tun0
Interface mode tun
Debug 99
Local Addr 12.23.97.2
IKE Authmode psk


verbose debug:

WARNING! active debug level is >= 99, output includes username and  
password (hex encoded)
WARNING! active debug level is >= 99, output includes username and  
password (hex encoded)
Enter username for 72.8.83.2: username

vpnc version 0.5.1
    hex_test: 00010203

S1 init_sockaddr


S2 make_socket


S3 setup_tunnel

    using interface tun0

S4 do_phase1


S4.1 create_nonce

    i_cookie: fbf6765d 6b0fb801
    i_nonce:
    001dbf8d 993a1942 d0a49bc4 3711b781 8fc19db4

S4.2 dh setup

    dh_public:
    cd50e341 19cf0afc 97c67ed6 d54880b3 86ac1ca5 df5dfbbc b091f942  
b83d2b05
    829b671e 6c0a36dd 351100a7 e33ec105 816e099f 9bb38761 2eaa78f4  
8b7ba913
    6021841a ac79fd21 04988a52 a5f15a02 451258f5 9fdfc593 597f6287  
033d72c3
    571d124b 6ec08dff 9432f417 9328940e c0ece534 72cbec9b 0b08a4cf  
33f12c2f

S4.3 AM packet_1


  sending: ========================>
    BEGIN_PARSE
    Recieved Packet Len: 1196
    i_cookie: fbf6765d 6b0fb801
    r_cookie: 00000000 00000000
    payload: 01 (ISAKMP_PAYLOAD_SA)
    isakmp_version: 10
    exchange_type: 04 (ISAKMP_EXCHANGE_AGGRESSIVE)
    flags: 00
    message_id: 00000000
    len: 000004ac

    PARSING PAYLOAD type: 01 (ISAKMP_PAYLOAD_SA)
    next_type: 04 (ISAKMP_PAYLOAD_KE)
    length: 03a4
    sa.doi: 00000001 (ISAKMP_DOI_IPSEC)
    sa.situation: 00000001 (ISAKMP_IPSEC_SIT_IDENTITY_ONLY)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0398
    p.number: 00
    p.prot_id: 01 (ISAKMP_IPSEC_PROTO_ISAKMP)
    p.spi_size: 00
    length: 18
    p.spi:

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 00
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0100
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 01
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0100
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 02
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 00c0
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 03
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 00c0
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 04
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0080
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 05
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0080
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 06
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0005 (IKE_ENC_3DES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 07
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0005 (IKE_ENC_3DES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 08
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0001 (IKE_ENC_DES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 09
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0001 (IKE_ENC_DES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 0a
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0000 (IKE_ENC_NO_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 0b
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0000 (IKE_ENC_NO_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 0c
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0100
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 0d
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0100
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 0e
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 00c0
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 0f
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 00c0
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 10
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0080
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0028
    t.number: 11
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0080
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 12
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0005 (IKE_ENC_3DES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 13
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0005 (IKE_ENC_3DES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 14
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0001 (IKE_ENC_DES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 15
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0001 (IKE_ENC_DES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 03 (ISAKMP_PAYLOAD_T)
    length: 0024
    t.number: 16
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0000 (IKE_ENC_NO_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0024
    t.number: 17
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0000 (IKE_ENC_NO_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0001 (IKE_HASH_MD5)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: 0001 (IKE_AUTH_PRESHARED)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 01 (ISAKMP_PAYLOAD_SA)

    PARSING PAYLOAD type: 04 (ISAKMP_PAYLOAD_KE)
    next_type: 0a (ISAKMP_PAYLOAD_NONCE)
    length: 0084
    ke.data:
    cd50e341 19cf0afc 97c67ed6 d54880b3 86ac1ca5 df5dfbbc b091f942  
b83d2b05
    829b671e 6c0a36dd 351100a7 e33ec105 816e099f 9bb38761 2eaa78f4  
8b7ba913
    6021841a ac79fd21 04988a52 a5f15a02 451258f5 9fdfc593 597f6287  
033d72c3
    571d124b 6ec08dff 9432f417 9328940e c0ece534 72cbec9b 0b08a4cf  
33f12c2f
    DONE PARSING PAYLOAD type: 04 (ISAKMP_PAYLOAD_KE)

    PARSING PAYLOAD type: 0a (ISAKMP_PAYLOAD_NONCE)
    next_type: 05 (ISAKMP_PAYLOAD_ID)
    length: 0018
    ke.data:
    001dbf8d 993a1942 d0a49bc4 3711b781 8fc19db4
    DONE PARSING PAYLOAD type: 0a (ISAKMP_PAYLOAD_NONCE)

    PARSING PAYLOAD type: 05 (ISAKMP_PAYLOAD_ID)
    next_type: 0d (ISAKMP_PAYLOAD_VID)
    length: 001c
    id.type: 03 (ISAKMP_IPSEC_ID_USER_FQDN)
    id.protocol: 11
    id.port: 01f4
    id.data:
    78746572 6e616c6a 69726140 6272696e 2e636f6d
    DONE PARSING PAYLOAD type: 05 (ISAKMP_PAYLOAD_ID)

    PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)
    next_type: 0d (ISAKMP_PAYLOAD_VID)
    length: 000c
    ke.data: 09002689 dfd6b712
    (Xauth)
    DONE PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)

    PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)
    next_type: 0d (ISAKMP_PAYLOAD_VID)
    length: 0014
    ke.data: 12f5f28c 457168a9 702d9fe2 74cc0100
    (Cisco Unity)
    DONE PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)

    PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0014
    ke.data: afcad713 68a1f1c9 6b8696fc 77570100
    (DPD)
    DONE PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    PARSE_OK


  receiving: <========================


S4.4 AM_packet2

    BEGIN_PARSE
    Recieved Packet Len: 368
    i_cookie: fbf6765d 6b0fb801
    r_cookie: 351adffb f340e5f7
    payload: 01 (ISAKMP_PAYLOAD_SA)
    isakmp_version: 10
    exchange_type: 04 (ISAKMP_EXCHANGE_AGGRESSIVE)
    flags: 00
    message_id: 00000000
    len: 00000170

    PARSING PAYLOAD type: 01 (ISAKMP_PAYLOAD_SA)
    next_type: 0d (ISAKMP_PAYLOAD_VID)
    length: 003c
    sa.doi: 00000001 (ISAKMP_DOI_IPSEC)
    sa.situation: 00000001 (ISAKMP_IPSEC_SIT_IDENTITY_ONLY)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0030
    p.number: 01
    p.prot_id: 01 (ISAKMP_IPSEC_PROTO_ISAKMP)
    p.spi_size: 00
    length: 01
    p.spi:

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0028
    t.number: 01
    t.id: 01 (ISAKMP_IPSEC_KEY_IKE)
    t.attributes.type: 0001 (IKE_ATTRIB_ENC)
    t.attributes.u.attr_16: 0007 (IKE_ENC_AES_CBC)
    t.attributes.type: 0002 (IKE_ATTRIB_HASH)
    t.attributes.u.attr_16: 0002 (IKE_HASH_SHA)
    t.attributes.type: 0004 (IKE_ATTRIB_GROUP_DESC)
    t.attributes.u.attr_16: 0002 (IKE_GROUP_MODP_1024)
    t.attributes.type: 0003 (IKE_ATTRIB_AUTH_METHOD)
    t.attributes.u.attr_16: fde9 (IKE_AUTH_XAUTHInitPreShared)
    t.attributes.type: 000e (IKE_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0080
    t.attributes.type: 000b (IKE_ATTRIB_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IKE_LIFE_TYPE_SECONDS)
    t.attributes.type: 000c (IKE_ATTRIB_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 01 (ISAKMP_PAYLOAD_SA)

    PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)
    next_type: 0d (ISAKMP_PAYLOAD_VID)
    length: 0020
    ke.data:
    166f932d 55eb64d8 e4df4fd3 7e2313f0 d0fd8451 00000000 00000000
    (unknown)
    DONE PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)

    PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)
    next_type: 0d (ISAKMP_PAYLOAD_VID)
    length: 000c
    ke.data: 09002689 dfd6b712
    (Xauth)
    DONE PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)

    PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)
    next_type: 0d (ISAKMP_PAYLOAD_VID)
    length: 0014
    ke.data: afcad713 68a1f1c9 6b8696fc 77570100
    (DPD)
    DONE PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)

    PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)
    next_type: 04 (ISAKMP_PAYLOAD_KE)
    length: 0018
    ke.data:
    48656172 74426561 745f4e6f 74696679 386b0100
    (unknown)
    DONE PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)

    PARSING PAYLOAD type: 04 (ISAKMP_PAYLOAD_KE)
    next_type: 0a (ISAKMP_PAYLOAD_NONCE)
    length: 0084
    ke.data:
    d1583f06 e386a102 87397738 354a8f62 16d6e9d6 9c92a7d8 f88a16b4  
9a764aa6
    5666ace6 b8fdb5d5 55b56ac3 82c68c82 45416b11 638b6f9b ea190c6e  
1b5b1315
    564e6fd3 a487b675 ad776594 ab531e3f b92f95c8 74773d99 53862935  
839cffd9
    ead6bbef a55158d9 40cfdad8 510a5e91 03ffc4a1 10ad8655 3f98ad8f  
06aff5a0
    DONE PARSING PAYLOAD type: 04 (ISAKMP_PAYLOAD_KE)

    PARSING PAYLOAD type: 0a (ISAKMP_PAYLOAD_NONCE)
    next_type: 05 (ISAKMP_PAYLOAD_ID)
    length: 0018
    ke.data:
    130fb57a 055e85aa 2f8afcc8 137b720a fa465066
    DONE PARSING PAYLOAD type: 0a (ISAKMP_PAYLOAD_NONCE)

    PARSING PAYLOAD type: 05 (ISAKMP_PAYLOAD_ID)
    next_type: 08 (ISAKMP_PAYLOAD_HASH)
    length: 000c
    id.type: 01 (ISAKMP_IPSEC_ID_IPV4_ADDR)
    id.protocol: 11
    id.port: 01f4
    id.data: 48085302
    DONE PARSING PAYLOAD type: 05 (ISAKMP_PAYLOAD_ID)

    PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0018
    ke.data:
    b8d8d37b c455799a 061684c9 bba92f6b bf04c8ec
    DONE PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    PARSE_OK
    got ike lifetime attributes: 2147483 seconds
    IKE SA selected psk+xauth-aes128-sha1
    unknown ISAKMP_PAYLOAD_VID:
    166f932d 55eb64d8 e4df4fd3 7e2313f0 d0fd8451 00000000 00000000
    peer is DPD capable (RFC3706)
    unknown ISAKMP_PAYLOAD_VID:
    48656172 74426561 745f4e6f 74696679 386b0100
    dh_shared_secret:
    0bf97bfc 10c5e385 c2dce045 bbd8d276 9d5cc498 ae28f113 bac9cd8f  
b26ac62a
    b5256ad4 12238dcd 40e54b8e a0b94752 5395d90d 0091aeb7 c2a21ca6  
5a348999
    986d4a0a fddbef6e e7f5f10f ece7aa5b aadaf893 23986392 063e934c  
9e7c38da
    a04a18ba 146fbeeb 0045a557 6294ab6a 956249c4 153f4f0c fb64363f  
a22b3037
    psk_skeyid:
    02f72f13 5fa9ec77 e9603d97 6d0d6d79 6000f5f6
    shared-key: pmnjEZFJXg75
    skeyid:
    02f72f13 5fa9ec77 e9603d97 6d0d6d79 6000f5f6
    expected hash:
    b8d8d37b c455799a 061684c9 bba92f6b bf04c8ec
    received hash:
    b8d8d37b c455799a 061684c9 bba92f6b bf04c8ec
    returned_hash:
    f8f5bbe7 adb15348 9896c2aa 4742a84c 219cdfc1
    psk_hash:
    5374fa1b 0fb4dc7e b99c31bf eab0cbba 7c6a0404
    dh_shared_secret:
    0bf97bfc 10c5e385 c2dce045 bbd8d276 9d5cc498 ae28f113 bac9cd8f  
b26ac62a
    b5256ad4 12238dcd 40e54b8e a0b94752 5395d90d 0091aeb7 c2a21ca6  
5a348999
    986d4a0a fddbef6e e7f5f10f ece7aa5b aadaf893 23986392 063e934c  
9e7c38da
    a04a18ba 146fbeeb 0045a557 6294ab6a 956249c4 153f4f0c fb64363f  
a22b3037
    skeyid_d:
    fa17503f aeab848b be3eb15b ae575b13 f96692c0
    skeyid_a:
    9f69895c f0aa5fdf ef250bc2 0b1f1797 516fa9ac
    skeyid_e:
    3b0d622b 9d8e3445 d404e4d7 796efd72 01edf891
    enc-key: 3b0d622b 9d8e3445 d404e4d7 796efd72
    current_iv: 2a7be0f1 0dfa0614 daa38abd ea9f7167

S4.5 AM_packet3

    NAT status: no NAT-T VID seen
    size = 92, blksz = 16, padding = 4

  sending: ========================>
    BEGIN_PARSE
    Recieved Packet Len: 124
    i_cookie: fbf6765d 6b0fb801
    r_cookie: 351adffb f340e5f7
    payload: 08 (ISAKMP_PAYLOAD_HASH)
    isakmp_version: 10
    exchange_type: 04 (ISAKMP_EXCHANGE_AGGRESSIVE)
    flags: 01
    message_id: 00000000
    len: 0000007c

    PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)
    next_type: 0b (ISAKMP_PAYLOAD_N)
    length: 0018
    ke.data:
    f8f5bbe7 adb15348 9896c2aa 4742a84c 219cdfc1
    DONE PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)

    PARSING PAYLOAD type: 0b (ISAKMP_PAYLOAD_N)
    next_type: 0d (ISAKMP_PAYLOAD_VID)
    length: 001c
    n.doi: 00000001 (ISAKMP_DOI_IPSEC)
    n.protocol: 01 (ISAKMP_IPSEC_PROTO_ISAKMP)
    n.spi_length: 10
    n.type: 6002 (ISAKMP_N_IPSEC_INITIAL_CONTACT)
    n.spi: fbf6765d 6b0fb801 351adffb f340e5f7
    n.data:
    DONE PARSING PAYLOAD type: 0b (ISAKMP_PAYLOAD_N)

    PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)
    next_type: 0d (ISAKMP_PAYLOAD_VID)
    length: 0014
    ke.data: 126e1f57 7291153b 20485f7f 155b4bc8
    (unknown)
    DONE PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)

    PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0014
    ke.data: 12f5f28c 457168a9 702d9fe2 74cc0100
    (Cisco Unity)
    DONE PARSING PAYLOAD type: 0d (ISAKMP_PAYLOAD_VID)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    PARSE_OK
    initial_iv: 7fdb67d1 834c504a 407a0d66 710c6df0


  receiving: <========================


S4.6 cleanup


S5 do_phase2_xauth


S5.1 xauth_start


S5.2 notice_check

    BEGIN_PARSE
    Recieved Packet Len: 76
    i_cookie: fbf6765d 6b0fb801
    r_cookie: 351adffb f340e5f7
    payload: 08 (ISAKMP_PAYLOAD_HASH)
    isakmp_version: 10
    exchange_type: 06 (ISAKMP_EXCHANGE_MODECFG_TRANSACTION)
    flags: 01
    message_id: 9d9b2529
    len: 0000004c

    PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)
    next_type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    length: 0018
    ke.data:
    af2078e7 dbd51bdf 7d22e38d 856cea3b 06f329c9
    DONE PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)

    PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0014
    modecfg.type: 01 (ISAKMP_MODECFG_CFG_REQUEST)
    modecfg.id: ebc1
    t.attributes.type: 4088 (ISAKMP_XAUTH_ATTRIB_TYPE)
    t.attributes.u.attr_16: 0000
    t.attributes.type: 4089 (ISAKMP_XAUTH_ATTRIB_USER_NAME)
    t.attributes.u.lots.length: 0000
    t.attributes.u.lots.data:
    t.attributes.type: 408a (ISAKMP_XAUTH_ATTRIB_USER_PASSWORD)
    t.attributes.u.lots.length: 0000
    t.attributes.u.lots.data:
    DONE PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    PARSE_OK
    hashlen: 20
    u.hash.length: 20
    expected_hash:
    af2078e7 dbd51bdf 7d22e38d 856cea3b 06f329c9
    h->u.hash.data:
    af2078e7 dbd51bdf 7d22e38d 856cea3b 06f329c9

S5.3 type-is-xauth check


S5.4 xauth type check


S5.5 do xauth authentication

Password for VPN thollinger at 72.8.83.2:
    size = 60, blksz = 16, padding = 4

  sending: ========================>
    BEGIN_PARSE
    Recieved Packet Len: 92
    i_cookie: fbf6765d 6b0fb801
    r_cookie: 351adffb f340e5f7
    payload: 08 (ISAKMP_PAYLOAD_HASH)
    isakmp_version: 10
    exchange_type: 06 (ISAKMP_EXCHANGE_MODECFG_TRANSACTION)
    flags: 01
    message_id: 9d9b2529
    len: 0000005c

    PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)
    next_type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    length: 0018
    ke.data:
    069d9518 f48b6af6 73119bf6 c0b40fb2 e45290df
    DONE PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)

    PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0024
    modecfg.type: 02 (ISAKMP_MODECFG_CFG_REPLY)
    modecfg.id: ebc1
    t.attributes.type: 408a (ISAKMP_XAUTH_ATTRIB_USER_PASSWORD)
    t.attributes.u.lots.length: 000a
    t.attributes.u.lots.data: 55623372 6d336e73 6368
    t.attributes.type: 4089 (ISAKMP_XAUTH_ATTRIB_USER_NAME)
    t.attributes.u.lots.length: 000a
    t.attributes.u.lots.data: 74686f6c 6c696e67 6572
    DONE PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    PARSE_OK


  receiving: <========================


S5.2 notice_check

    BEGIN_PARSE
    Recieved Packet Len: 108
    i_cookie: fbf6765d 6b0fb801
    r_cookie: 351adffb f340e5f7
    payload: 08 (ISAKMP_PAYLOAD_HASH)
    isakmp_version: 10
    exchange_type: 06 (ISAKMP_EXCHANGE_MODECFG_TRANSACTION)
    flags: 01
    message_id: b46ff875
    len: 0000006c

    PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)
    next_type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    length: 0018
    ke.data:
    2ee096ed 573ef78d 7d1d1ff6 4dd26b89 6c77fbad
    DONE PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)

    PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0028
    modecfg.type: 03 (ISAKMP_MODECFG_CFG_SET)
    modecfg.id: ebc1
    t.attributes.type: 0001 (ISAKMP_MODECFG_ATTRIB_INTERNAL_IP4_ADDRESS)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0a0a0a10
    t.attributes.type: 0002 (ISAKMP_MODECFG_ATTRIB_INTERNAL_IP4_NETMASK)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: ffffffff
    t.attributes.type: 0003 (ISAKMP_MODECFG_ATTRIB_INTERNAL_IP4_DNS)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: c0a80a01
    t.attributes.type: 0003 (ISAKMP_MODECFG_ATTRIB_INTERNAL_IP4_DNS)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: c0a80a02
    DONE PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    PARSE_OK
    hashlen: 20
    u.hash.length: 20
    expected_hash:
    2ee096ed 573ef78d 7d1d1ff6 4dd26b89 6c77fbad
    h->u.hash.data:
    2ee096ed 573ef78d 7d1d1ff6 4dd26b89 6c77fbad

S5.3 type-is-xauth check


S5.5.1 do netscreen modecfg extra

    size = 48, blksz = 16, padding = 0

  sending: ========================>
    BEGIN_PARSE
    Recieved Packet Len: 76
    i_cookie: fbf6765d 6b0fb801
    r_cookie: 351adffb f340e5f7
    payload: 08 (ISAKMP_PAYLOAD_HASH)
    isakmp_version: 10
    exchange_type: 06 (ISAKMP_EXCHANGE_MODECFG_TRANSACTION)
    flags: 01
    message_id: b46ff875
    len: 0000004c

    PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)
    next_type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    length: 0018
    ke.data:
    0d1cba7f 053e2cbf 68dbffc8 2e5f5930 f539bcc7
    DONE PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)

    PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0018
    modecfg.type: 04 (ISAKMP_MODECFG_CFG_ACK)
    modecfg.id: ebc1
    t.attributes.type: 0001 (ISAKMP_MODECFG_ATTRIB_INTERNAL_IP4_ADDRESS)
    t.attributes.u.lots.length: 0000
    t.attributes.u.lots.data:
    t.attributes.type: 0002 (ISAKMP_MODECFG_ATTRIB_INTERNAL_IP4_NETMASK)
    t.attributes.u.lots.length: 0000
    t.attributes.u.lots.data:
    t.attributes.type: 0003 (ISAKMP_MODECFG_ATTRIB_INTERNAL_IP4_DNS)
    t.attributes.u.lots.length: 0000
    t.attributes.u.lots.data:
    t.attributes.type: 0003 (ISAKMP_MODECFG_ATTRIB_INTERNAL_IP4_DNS)
    t.attributes.u.lots.length: 0000
    t.attributes.u.lots.data:
    DONE PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    PARSE_OK


  receiving: <========================

    BEGIN_PARSE
    Recieved Packet Len: 76
    i_cookie: fbf6765d 6b0fb801
    r_cookie: 351adffb f340e5f7
    payload: 08 (ISAKMP_PAYLOAD_HASH)
    isakmp_version: 10
    exchange_type: 06 (ISAKMP_EXCHANGE_MODECFG_TRANSACTION)
    flags: 01
    message_id: ae0d731b
    len: 0000004c

    PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)
    next_type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    length: 0018
    ke.data:
    e392e0a2 f4bcb1bc 8bda52db 48196634 94e1b27b
    DONE PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)

    PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 000c
    modecfg.type: 03 (ISAKMP_MODECFG_CFG_SET)
    modecfg.id: ebc1
    t.attributes.type: 408f (ISAKMP_XAUTH_ATTRIB_STATUS)
    t.attributes.u.attr_16: 0001
    DONE PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    PARSE_OK
    hashlen: 20
    u.hash.length: 20
    expected_hash:
    e392e0a2 f4bcb1bc 8bda52db 48196634 94e1b27b
    h->u.hash.data:
    e392e0a2 f4bcb1bc 8bda52db 48196634 94e1b27b

S5.6 process xauth response

    size = 36, blksz = 16, padding = 12

  sending: ========================>
    BEGIN_PARSE
    Recieved Packet Len: 76
    i_cookie: fbf6765d 6b0fb801
    r_cookie: 351adffb f340e5f7
    payload: 08 (ISAKMP_PAYLOAD_HASH)
    isakmp_version: 10
    exchange_type: 06 (ISAKMP_EXCHANGE_MODECFG_TRANSACTION)
    flags: 01
    message_id: ae0d731b
    len: 0000004c

    PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)
    next_type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    length: 0018
    ke.data:
    1b71272d ebb3491a ffe7748c 28bb9c70 a8c752ab
    DONE PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)

    PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 000c
    modecfg.type: 04 (ISAKMP_MODECFG_CFG_ACK)
    modecfg.id: ebc1
    t.attributes.type: 408f (ISAKMP_XAUTH_ATTRIB_STATUS)
    t.attributes.u.attr_16: 0001
    DONE PARSING PAYLOAD type: 0e (ISAKMP_PAYLOAD_MODECFG_ATTR)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    PARSE_OK

S5.7 xauth done


S6 do_phase2_config


S7 setup_link (phase 2 + main_loop)


S7.1 QM_packet1


S7.2 QM_packet2 send_receive

    size = 592, blksz = 16, padding = 0

  sending: ========================>
    BEGIN_PARSE
    Recieved Packet Len: 620
    i_cookie: fbf6765d 6b0fb801
    r_cookie: 351adffb f340e5f7
    payload: 08 (ISAKMP_PAYLOAD_HASH)
    isakmp_version: 10
    exchange_type: 20 (ISAKMP_EXCHANGE_IKE_QUICK)
    flags: 01
    message_id: 2a185a8a
    len: 0000026c

    PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)
    next_type: 01 (ISAKMP_PAYLOAD_SA)
    length: 0018
    ke.data:
    c4dfbccd 97ec45c1 2ead8591 30ce2278 854637f0
    DONE PARSING PAYLOAD type: 08 (ISAKMP_PAYLOAD_HASH)

    PARSING PAYLOAD type: 01 (ISAKMP_PAYLOAD_SA)
    next_type: 0a (ISAKMP_PAYLOAD_NONCE)
    length: 0204
    sa.doi: 00000001 (ISAKMP_DOI_IPSEC)
    sa.situation: 00000001 (ISAKMP_IPSEC_SIT_IDENTITY_ONLY)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 002c
    p.number: 00
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0020
    t.number: 00
    t.id: 0c (ISAKMP_IPSEC_ESP_AES)
    t.attributes.type: 0006 (ISAKMP_IPSEC_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0100
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0002 (IPSEC_AUTH_HMAC_SHA)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 002c
    p.number: 01
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0020
    t.number: 00
    t.id: 0c (ISAKMP_IPSEC_ESP_AES)
    t.attributes.type: 0006 (ISAKMP_IPSEC_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0100
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0001 (IPSEC_AUTH_HMAC_MD5)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 002c
    p.number: 02
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0020
    t.number: 00
    t.id: 0c (ISAKMP_IPSEC_ESP_AES)
    t.attributes.type: 0006 (ISAKMP_IPSEC_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 00c0
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0002 (IPSEC_AUTH_HMAC_SHA)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 002c
    p.number: 03
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0020
    t.number: 00
    t.id: 0c (ISAKMP_IPSEC_ESP_AES)
    t.attributes.type: 0006 (ISAKMP_IPSEC_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 00c0
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0001 (IPSEC_AUTH_HMAC_MD5)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 002c
    p.number: 04
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0020
    t.number: 00
    t.id: 0c (ISAKMP_IPSEC_ESP_AES)
    t.attributes.type: 0006 (ISAKMP_IPSEC_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0080
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0002 (IPSEC_AUTH_HMAC_SHA)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 002c
    p.number: 05
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0020
    t.number: 00
    t.id: 0c (ISAKMP_IPSEC_ESP_AES)
    t.attributes.type: 0006 (ISAKMP_IPSEC_ATTRIB_KEY_LENGTH)
    t.attributes.u.attr_16: 0080
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0001 (IPSEC_AUTH_HMAC_MD5)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 0028
    p.number: 06
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 001c
    t.number: 00
    t.id: 03 (ISAKMP_IPSEC_ESP_3DES)
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0002 (IPSEC_AUTH_HMAC_SHA)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 0028
    p.number: 07
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 001c
    t.number: 00
    t.id: 03 (ISAKMP_IPSEC_ESP_3DES)
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0001 (IPSEC_AUTH_HMAC_MD5)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 0028
    p.number: 08
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 001c
    t.number: 00
    t.id: 02 (ISAKMP_IPSEC_ESP_DES)
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0002 (IPSEC_AUTH_HMAC_SHA)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 0028
    p.number: 09
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 001c
    t.number: 00
    t.id: 02 (ISAKMP_IPSEC_ESP_DES)
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0001 (IPSEC_AUTH_HMAC_MD5)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 02 (ISAKMP_PAYLOAD_P)
    length: 0028
    p.number: 0a
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 001c
    t.number: 00
    t.id: 0b (ISAKMP_IPSEC_ESP_NULL)
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0002 (IPSEC_AUTH_HMAC_SHA)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0028
    p.number: 0b
    p.prot_id: 03 (ISAKMP_IPSEC_PROTO_IPSEC_ESP)
    p.spi_size: 04
    length: 01
    p.spi: fdc7d7d0

    PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 001c
    t.number: 00
    t.id: 0b (ISAKMP_IPSEC_ESP_NULL)
    t.attributes.type: 0004 (ISAKMP_IPSEC_ATTRIB_ENCAP_MODE)
    t.attributes.u.attr_16: 0001 (IPSEC_ENCAP_TUNNEL)
    t.attributes.type: 0005 (ISAKMP_IPSEC_ATTRIB_AUTH_ALG)
    t.attributes.u.attr_16: 0001 (IPSEC_AUTH_HMAC_MD5)
    t.attributes.type: 0001 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_TYPE)
    t.attributes.u.attr_16: 0001 (IPSEC_LIFE_SECONDS)
    t.attributes.type: 0002 (ISAKMP_IPSEC_ATTRIB_SA_LIFE_DURATION)
    t.attributes.u.lots.length: 0004
    t.attributes.u.lots.data: 0020c49b
    DONE PARSING PAYLOAD type: 03 (ISAKMP_PAYLOAD_T)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 02 (ISAKMP_PAYLOAD_P)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    DONE PARSING PAYLOAD type: 01 (ISAKMP_PAYLOAD_SA)

    PARSING PAYLOAD type: 0a (ISAKMP_PAYLOAD_NONCE)
    next_type: 05 (ISAKMP_PAYLOAD_ID)
    length: 0018
    ke.data:
    92789193 794929a4 aab74581 d326a9e7 2f221a90
    DONE PARSING PAYLOAD type: 0a (ISAKMP_PAYLOAD_NONCE)

    PARSING PAYLOAD type: 05 (ISAKMP_PAYLOAD_ID)
    next_type: 05 (ISAKMP_PAYLOAD_ID)
    length: 000c
    id.type: 01 (ISAKMP_IPSEC_ID_IPV4_ADDR)
    id.protocol: 00
    id.port: 0000
    id.data: 0a0a0a10
    DONE PARSING PAYLOAD type: 05 (ISAKMP_PAYLOAD_ID)

    PARSING PAYLOAD type: 05 (ISAKMP_PAYLOAD_ID)
    next_type: 00 (ISAKMP_PAYLOAD_NONE)
    length: 0010
    id.type: 04 (ISAKMP_IPSEC_ID_IPV4_ADDR_SUBNET)
    id.protocol: 00
    id.port: 0000
    id.data: 00000000 00000000
    DONE PARSING PAYLOAD type: 05 (ISAKMP_PAYLOAD_ID)

    PARSING PAYLOAD type: 00 (ISAKMP_PAYLOAD_NONE)
    PARSE_OK
vpnc: no response from target


More information about the vpnc-devel mailing list