You are not logged in.

#1 2004-12-15 17:46:40

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

vpnc error

hi i get this error of vpnc:

vpnc-connect /etc/vpnc.conf

/usr/sbin/vpnc: quick mode response rejected:
INVALID_PAYLOAD_TYPE
check pfs setting

what to change?? :?:


THX!!
cu matsche

Offline

#2 2004-12-15 18:06:14

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: vpnc error

what does:

vpnc --debug 3 --no-detach

output?

Offline

#3 2004-12-15 18:36:51

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: vpnc error

hex_test: 00010203
vpnc version 0.3.2
S1
S2
S3
using interface tun1
S4
S4.1
i_cookie: 7cfc885c eae250ab
i_nonce: 3c9faa53 4cbcd277 fc824db0 049f7ac6 913bb1ff
S4.2
dh_public:
a31f8ac5 c07090ca bb1ca533 20ab2ace 602f7c10 0953dfa5 7bab7f5d 0f9c329e
d33a811d 0f2046f6 fdd3d967 c593a190 2c5b33d9 36feb3c6 9100a28b 9fc60d99
39e0b660 e21eea42 7680cfa4 e8e8f1da 57da8b6d c5f7f4a0 d7c0a1fe d4ffba4d
4a813f5d a6f44c14 80bd5b02 8f67c302 9aff7b79 88bfdd30 b86850d2 de864db1
S4.3

 sending: ========================>

BEGIN_PARSE
i_cookie: 7cfc885c eae250ab
r_cookie: 00000000 00000000
payload: 01
isakmp_version: 10
exchange_type: 04
flags: 00
message_id: 00000000
len: 00000388
PARSING PAYLOAD type: 01
next_type: 04
length: 0284
sa.doi: 00000001
sa.situation: 00000001
PARSING PAYLOAD type: 02
next_type: 00
length: 0278
p.number: 00
p.prot_id: 01
p.spi_size: 00
length: 10
p.spi:
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 00
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 0100
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0002
t.attributes.type: 0003
t.attributes.u.attr_16: fde9
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 01
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 0100
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0001
t.attributes.type: 0003
t.attributes.u.attr_16: fde9
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 02
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 00c0
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0002
t.attributes.type: 0003
t.attributes.u.attr_16: fde9
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 03
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 00c0
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0001
t.attributes.type: 0003
t.attributes.u.attr_16: fde9
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 04
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 0080
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0002
t.attributes.type: 0003
t.attributes.u.attr_16: fde9
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 05
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 0080
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0001
t.attributes.type: 0003
t.attributes.u.attr_16: fde9
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0024
t.number: 06
t.id: 01
t.attributes.type: 0001
t.attributes.u.attr_16: 0005
t.attributes.type: 0002
t.attributes.u.attr_16: 0002
t.attributes.type: 0003
t.attributes.u.attr_16: fde9
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0024
t.number: 07
t.id: 01
t.attributes.type: 0001
t.attributes.u.attr_16: 0005
t.attributes.type: 0002
t.attributes.u.attr_16: 0001
t.attributes.type: 0003
t.attributes.u.attr_16: fde9
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 08
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 0100
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0002
t.attributes.type: 0003
t.attributes.u.attr_16: 0001
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 09
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 0100
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0001
t.attributes.type: 0003
t.attributes.u.attr_16: 0001
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 0a
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 00c0
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0002
t.attributes.type: 0003
t.attributes.u.attr_16: 0001
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 0b
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 00c0
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0001
t.attributes.type: 0003
t.attributes.u.attr_16: 0001
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 0c
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 0080
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0002
t.attributes.type: 0003
t.attributes.u.attr_16: 0001
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0028
t.number: 0d
t.id: 01
t.attributes.type: 000e
t.attributes.u.attr_16: 0080
t.attributes.type: 0001
t.attributes.u.attr_16: 0007
t.attributes.type: 0002
t.attributes.u.attr_16: 0001
t.attributes.type: 0003
t.attributes.u.attr_16: 0001
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 03
length: 0024
t.number: 0e
t.id: 01
t.attributes.type: 0001
t.attributes.u.attr_16: 0005
t.attributes.type: 0002
t.attributes.u.attr_16: 0002
t.attributes.type: 0003
t.attributes.u.attr_16: 0001
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
t.attributes.u.lots.data: 0020c49b
DONE PARSING PAYLOAD type: 03
PARSING PAYLOAD type: 03
next_type: 00
length: 0024
t.number: 0f
t.id: 01
t.attributes.type: 0001
t.attributes.u.attr_16: 0005
t.attributes.type: 0002
t.attributes.u.attr_16: 0001
t.attributes.type: 0003
t.attributes.u.attr_16: 0001
t.attributes.type: 0004
t.attributes.u.attr_16: 0002
t.attributes.type: 000b
t.attributes.u.attr_16: 0001
t.attributes.type: 000c
t.attributes.u.lots.length: 0004
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: 0084
ke.data:
a31f8ac5 c07090ca bb1ca533 20ab2ace 602f7c10 0953dfa5 7bab7f5d 0f9c329e
d33a811d 0f2046f6 fdd3d967 c593a190 2c5b33d9 36feb3c6 9100a28b 9fc60d99
39e0b660 e21eea42 7680cfa4 e8e8f1da 57da8b6d c5f7f4a0 d7c0a1fe d4ffba4d
4a813f5d a6f44c14 80bd5b02 8f67c302 9aff7b79 88bfdd30 b86850d2 de864db1
DONE PARSING PAYLOAD type: 04
PARSING PAYLOAD type: 0a
next_type: 05
length: 0018
ke.data: 3c9faa53 4cbcd277 fc824db0 049f7ac6 913bb1ff
DONE PARSING PAYLOAD type: 0a
PARSING PAYLOAD type: 05
next_type: 0d
length: 0018
id.type: 0b
id.protocol: 11
id.port: f401
id.data: 486f6865 6e686569 6d2d7261 64697573
DONE PARSING PAYLOAD type: 05
PARSING PAYLOAD type: 0d
next_type: 0d
length: 000c
ke.data: 09002689 dfd6b712
DONE PARSING PAYLOAD type: 0d
PARSING PAYLOAD type: 0d
next_type: 0d
length: 0014
ke.data: 12f5f28c 457168a9 702d9fe2 74cc0100
DONE PARSING PAYLOAD type: 0d
PARSING PAYLOAD type: 0d
next_type: 00
length: 0014
ke.data: 90cb8091 3ebb696e 086381b5 ec427b1f
DONE PARSING PAYLOAD type: 0d
PARSING PAYLOAD type: 00
PARSE_OK

thx
cu matsche


THX!!
cu matsche

Offline

#4 2004-12-19 22:53:17

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: vpnc error

no ideas?? on the cisco version there comes this:

23:54:25 root@/etc/rc.d $ ./vpnclient_init start
Starting /usr/bin/vpnclient: ./vpnclient_init: line 45: /sbin/lsmod: Datei oder Verzeichnis nicht gefunden
Done

19:14:21 root@/etc/CiscoSystemsVPNClient/Profiles $ vpnclient connect sample

Cisco Systems VPN Client Version 4.0.4 (B)
Copyright (C) 1998-2003 Cisco Systems, Inc. All Rights 
Reserved.
Client Type(s): Linux
Running on: Linux 2.6.9-ARCH #1 SMP Tue Oct 26 11:33:54 PDT
 2004 i686
 
Enter a group password:
Initializing the VPN connection.
Secure VPN Connection terminated locally by the Client
Reason: Failed to establish a VPN connection.
There are no new notification messages at this time.

[/code]


THX!!
cu matsche

Offline

#5 2005-02-03 00:14:18

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: vpnc error

ok now i can connect:

S7.8
SIOCSIFADDR: No such device
tun: unknown interface: No such device
SIOCSIFDSTADDR: No such device
tun: unknown interface: No such device
SIOCSIFNETMASK: No such device
SIOCSIFMTU: No such device
tun: unknown interface: No such device
Cannot find device "tun"
S7.9
generating 40 bytes keymat (cnt=3)
generating 40 bytes keymat (cnt=3)
S7.10
tous.enc_secret: e69b074f ddc2532f 0266fc78 10e6d467 78aa9bc2 5d10136b
tous.auth_secret: b773f1fb be586d94 664877ec 064635ad
tothem.enc_secret: 5dbbea81 66111e18 2c546cf4 e7eb84bc 43df1ec0 f825df7a
tothem.auth_secret: 91656399 34f95456 4ff4e206 849ecc13
VPNC started in background (pid: 594)...

Cannot find device "tun"
What to change for that?

I cannot use my opera browser! What do i have to do for that! :?:

ifconfig:

ifconfig
eth1      Link encap:Ethernet  HWaddr 00:A0:CC:D9:02:6E
          inet addr:10.16.60.136  Bcast:10.16.60.255  Mask:255.255.255.0
          inet6 addr: fe80::2a0:ccff:fed9:26e/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:411285 errors:0 dropped:0 overruns:0 frame:3
          TX packets:182111 errors:1 dropped:0 overruns:0 carrier:1
          collisions:48846 txqueuelen:1000
          RX bytes:284526935 (271.3 Mb)  TX bytes:26670663 (25.4 Mb)
          Interrupt:11 Base address:0xd400

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:232 errors:0 dropped:0 overruns:0 frame:0
          TX packets:232 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:17735 (17.3 Kb)  TX bytes:17735 (17.3 Kb)

tun: error fetching interface information: Device not found

THX!!
cu matsche

Offline

#6 2006-03-28 11:00:29

danst0
Member
Registered: 2006-03-28
Posts: 12

Re: vpnc error

did you find a solution to your problem... I think i am having the same problem with 0.3.3.
VPNC is hanging at S4.3 for some reason i dont know...

Bye,

Daniel

Offline

#7 2006-03-28 14:46:36

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: vpnc error

please check out the new version 0.3.4!

You have to add "tun" as a kernel modul in rc.conf!
Then i got a simple vpnc.conf:

IPSec gateway 144.41.19.22
IPSec ID Hohenheim-radius
IPSec secret Kartoffel
Xauth username mhartner
Xauth password XXXXXXXX

then i added rc.local

vpnc /etc/vpnc.conf

That's it!


THX!!
cu matsche

Offline

Board footer

Powered by FluxBB