
thomas at kaiser
Jul 29, 2004, 1:37 PM
Post #1 of 1
(334 views)
Permalink
|
Hi, I cannot connect to a vpn gateway. I know the username, groupname and the passwords. I start the vpnc without config file and enter the informations at the prompt. I started vpnc with debug 3. And also logged the traffic on the interface with tcpdump. vpnc: root [at] xbo:~/vpn/vpnc-0.2-rm+zomb.1# ./vpnc --debug 3 Enter IPSec gateway address: xxx.xxx.xxx.xxx Enter IPSec ID for xxx.xxx.xxx.xxx: xxxxxxxxxxxxxxx Enter IPSec secret for xxxxxxxx [at] xxx: Enter username for xxx.xxx.xxx.xxx: xxxxxxxxxxxxx Enter password for xxxxxxxx [at] xxx: S1 S2 S3 using interface tun0 S4 S4.1 i_cookie: c97631fa 8e655738 i_nonce: d33904f9 897f072c ed4d0255 bcfe808b 1f0b09a0 S4.2 dh_public: 8133dab4 51356eb6 6f051541 ac90b54d d59c3463 28492729 e0e57676 aace8cb8 a1e68aea 72b2c841 64be75b8 27d97dd6 7361d8a3 c3149f88 540eded3 41dcb2e3 d4a7a6c5 e142d73a 0625f6f4 1ab21914 bf646fc1 05b5dadd 7c337f34 41c3b7f7 13cc7f66 87c0f789 c97e11b0 04f3c890 bd92e869 6f82e97b a1f8c39f 37e17bc6 S4.3 sending: ========================> BEGIN_PARSE i_cookie: c97631fa 8e655738 r_cookie: 00000000 00000000 payload: 01 isakmp_version: 10 exchange_type: 04 flags: 00 message_id: 00000000 len: 35020000 PARSING PAYLOAD type: 01 next_type: 04 length: 4c010000 sa.doi: 01000000 sa.situation: 01000000 PARSING PAYLOAD type: 02 next_type: 00 length: 40010000 p.number: 00 p.prot_id: 01 p.spi_size: 00 length: 08 p.spi: PARSING PAYLOAD type: 03 next_type: 03 length: 28000000 t.number: 00 t.id: 01 t.attributes.type: 0e00 t.attributes.u.attr_16: 0001 t.attributes.type: 0100 t.attributes.u.attr_16: 0700 t.attributes.type: 0200 t.attributes.u.attr_16: 0200 t.attributes.type: 0300 t.attributes.u.attr_16: e9fd t.attributes.type: 0400 t.attributes.u.attr_16: 0200 t.attributes.type: 0b00 t.attributes.u.attr_16: 0100 t.attributes.type: 0c00 t.attributes.u.lots.length: 0400 t.attributes.u.lots.data: 0020c49b DONE PARSING PAYLOAD type: 03 PARSING PAYLOAD type: 03 next_type: 03 length: 28000000 t.number: 01 t.id: 01 t.attributes.type: 0e00 t.attributes.u.attr_16: 0001 t.attributes.type: 0100 t.attributes.u.attr_16: 0700 t.attributes.type: 0200 t.attributes.u.attr_16: 0100 t.attributes.type: 0300 t.attributes.u.attr_16: e9fd t.attributes.type: 0400 t.attributes.u.attr_16: 0200 t.attributes.type: 0b00 t.attributes.u.attr_16: 0100 t.attributes.type: 0c00 t.attributes.u.lots.length: 0400 t.attributes.u.lots.data: 0020c49b DONE PARSING PAYLOAD type: 03 PARSING PAYLOAD type: 03 next_type: 03 length: 28000000 t.number: 02 t.id: 01 t.attributes.type: 0e00 t.attributes.u.attr_16: c000 t.attributes.type: 0100 t.attributes.u.attr_16: 0700 t.attributes.type: 0200 t.attributes.u.attr_16: 0200 t.attributes.type: 0300 t.attributes.u.attr_16: e9fd t.attributes.type: 0400 t.attributes.u.attr_16: 0200 t.attributes.type: 0b00 t.attributes.u.attr_16: 0100 t.attributes.type: 0c00 t.attributes.u.lots.length: 0400 t.attributes.u.lots.data: 0020c49b DONE PARSING PAYLOAD type: 03 PARSING PAYLOAD type: 03 next_type: 03 length: 28000000 t.number: 03 t.id: 01 t.attributes.type: 0e00 t.attributes.u.attr_16: c000 t.attributes.type: 0100 t.attributes.u.attr_16: 0700 t.attributes.type: 0200 t.attributes.u.attr_16: 0100 t.attributes.type: 0300 t.attributes.u.attr_16: e9fd t.attributes.type: 0400 t.attributes.u.attr_16: 0200 t.attributes.type: 0b00 t.attributes.u.attr_16: 0100 t.attributes.type: 0c00 t.attributes.u.lots.length: 0400 t.attributes.u.lots.data: 0020c49b DONE PARSING PAYLOAD type: 03 PARSING PAYLOAD type: 03 next_type: 03 length: 28000000 t.number: 04 t.id: 01 t.attributes.type: 0e00 t.attributes.u.attr_16: 8000 t.attributes.type: 0100 t.attributes.u.attr_16: 0700 t.attributes.type: 0200 t.attributes.u.attr_16: 0200 t.attributes.type: 0300 t.attributes.u.attr_16: e9fd t.attributes.type: 0400 t.attributes.u.attr_16: 0200 t.attributes.type: 0b00 t.attributes.u.attr_16: 0100 t.attributes.type: 0c00 t.attributes.u.lots.length: 0400 t.attributes.u.lots.data: 0020c49b DONE PARSING PAYLOAD type: 03 PARSING PAYLOAD type: 03 next_type: 03 length: 28000000 t.number: 05 t.id: 01 t.attributes.type: 0e00 t.attributes.u.attr_16: 8000 t.attributes.type: 0100 t.attributes.u.attr_16: 0700 t.attributes.type: 0200 t.attributes.u.attr_16: 0100 t.attributes.type: 0300 t.attributes.u.attr_16: e9fd t.attributes.type: 0400 t.attributes.u.attr_16: 0200 t.attributes.type: 0b00 t.attributes.u.attr_16: 0100 t.attributes.type: 0c00 t.attributes.u.lots.length: 0400 t.attributes.u.lots.data: 0020c49b DONE PARSING PAYLOAD type: 03 PARSING PAYLOAD type: 03 next_type: 03 length: 24000000 t.number: 06 t.id: 01 t.attributes.type: 0100 t.attributes.u.attr_16: 0500 t.attributes.type: 0200 t.attributes.u.attr_16: 0200 t.attributes.type: 0300 t.attributes.u.attr_16: e9fd t.attributes.type: 0400 t.attributes.u.attr_16: 0200 t.attributes.type: 0b00 t.attributes.u.attr_16: 0100 t.attributes.type: 0c00 t.attributes.u.lots.length: 0400 t.attributes.u.lots.data: 0020c49b DONE PARSING PAYLOAD type: 03 PARSING PAYLOAD type: 03 next_type: 00 length: 24000000 t.number: 07 t.id: 01 t.attributes.type: 0100 t.attributes.u.attr_16: 0500 t.attributes.type: 0200 t.attributes.u.attr_16: 0100 t.attributes.type: 0300 t.attributes.u.attr_16: e9fd t.attributes.type: 0400 t.attributes.u.attr_16: 0200 t.attributes.type: 0b00 t.attributes.u.attr_16: 0100 t.attributes.type: 0c00 t.attributes.u.lots.length: 0400 t.attributes.u.lots.data: 0020c49b DONE PARSING PAYLOAD type: 03 PARSING PAYLOAD type: 00 DONE PARSING PAYLOAD type: 02 PARSING PAYLOAD type: 00 DONE PARSING PAYLOAD type: 01 PARSING PAYLOAD type: 04 next_type: 0a length: 84000000 ke.data: 8133dab4 51356eb6 6f051541 ac90b54d d59c3463 28492729 e0e57676 aace8cb8 a1e68aea 72b2c841 64be75b8 27d97dd6 7361d8a3 c3149f88 540eded3 41dcb2e3 d4a7a6c5 e142d73a 0625f6f4 1ab21914 bf646fc1 05b5dadd 7c337f34 41c3b7f7 13cc7f66 87c0f789 c97e11b0 04f3c890 bd92e869 6f82e97b a1f8c39f 37e17bc6 DONE PARSING PAYLOAD type: 04 PARSING PAYLOAD type: 0a next_type: 05 length: 18000000 ke.data: d33904f9 897f072c ed4d0255 bcfe808b 1f0b09a0 DONE PARSING PAYLOAD type: 0a PARSING PAYLOAD type: 05 next_type: 0d length: 11000000 id.type: 0b id.protocol: 11 id.port: f401 id.data: 3378636c 69656e74 73 DONE PARSING PAYLOAD type: 05 PARSING PAYLOAD type: 0d next_type: 0d length: 0c000000 ke.data: 09002689 dfd6b712 DONE PARSING PAYLOAD type: 0d PARSING PAYLOAD type: 0d next_type: 00 length: 14000000 ke.data: 12f5f28c 457168a9 702d9fe2 74cc0100 DONE PARSING PAYLOAD type: 0d PARSING PAYLOAD type: 00 PARSE_OK ./vpnc: no response from target root [at] xbo:~/vpn/vpnc-0.2-rm+zomb.1# tcpdump: 13:10:04.755004 xxx.xxx.xxx.xxx.500 > yyy.yyy.yyy.yyy.500: isakmp: phase 1 I agg: [|sa] (DF) 13:10:05.667107 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:10:09.757508 xxx.xxx.xxx.xxx.500 > yyy.yyy.yyy.yyy.500: isakmp: phase 1 I agg: [|sa] (DF) 13:10:10.408797 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:10:19.767482 xxx.xxx.xxx.xxx.500 > yyy.yyy.yyy.yyy.500: isakmp: phase 1 I agg: [|sa] (DF) 13:10:20.448382 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:10:30.446944 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:10:39.777506 xxx.xxx.xxx.xxx.500 > yyy.yyy.yyy.yyy.500: isakmp: phase 1 I agg: [|sa] (DF) 13:10:40.585620 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:10:50.464157 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:11:19.787506 xxx.xxx.xxx.xxx.500 > yyy.yyy.yyy.yyy.500: isakmp: phase 1 I agg: [|sa] (DF) 13:12:39.797497 xxx.xxx.xxx.xxx.500 > yyy.yyy.yyy.yyy.500: isakmp: phase 1 I agg: [|sa] (DF) 13:12:40.817766 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:12:50.634245 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:13:00.634821 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:13:10.634325 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:15:19.807506 xxx.xxx.xxx.xxx.500 > yyy.yyy.yyy.yyy.500: isakmp: phase 1 I agg: [|sa] (DF) 13:15:20.708930 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:15:30.682555 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:15:40.654124 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] 13:15:50.663656 yyy.yyy.yyy.yyy.500 > xxx.xxx.xxx.xxx.500: isakmp: phase 1 R agg: [|sa] Regards, Thomas
|