
| The Following User Says Thank You to Netweaver For This Useful Post: | ||
CSTP Dead Peer Detection detected dead peer!
| The Following User Says Thank You to dwmw2 For This Useful Post: | ||
Nokia-N900:~# echo $COOKIE | /usr/bin/openconnect --cookie-on-stdin --script /usr/share/openconnect/vpnc-script --servercert 2C1104B703504606AB12813AFC315438B94F85BB $SERVER -v Attempting to connect to x.x.x.x:443 SSL negotiation with x.x.x.x Connected to HTTPS on x.x.x.x Got CONNECT response: HTTP/1.1 200 OK X-CSTP-Version: 1 X-CSTP-Address: 10.255.12.105 X-CSTP-Netmask: 255.255.252.0 X-CSTP-DNS: 10.248.2.1 X-CSTP-DNS: 10.19.1.12 X-CSTP-Lease-Duration: 172800 X-CSTP-Session-Timeout: 172800 X-CSTP-Idle-Timeout: 43200 X-CSTP-Disconnected-Timeout: 43200 X-CSTP-Split-Exclude: 0.0.0.0/255.255.255.255 X-CSTP-Keep: true X-CSTP-Rekey-Time: 86400 X-CSTP-Rekey-Method: new-tunnel X-CSTP-DPD: 30 X-CSTP-Keepalive: 15 X-CSTP-MSIE-Proxy-Lockdown: true X-CSTP-Smartcard-Removal-Disconnect: true X-CSTP-Content-Encoding: deflate X-DTLS-Session-ID: 3BABE19A744F1298EFCFF084CC7268333C27FBA5C1727D56BE1D550C42F1C9E7 X-DTLS-Port: 443 X-DTLS-Keepalive: 15 X-DTLS-DPD: 30 X-DTLS-Rekey-Time: 86400 X-CSTP-MTU: 1266 X-DTLS-CipherSuite: AES128-SHA X-CSTP-Routing-Filtering-Ignore: false CSTP connected. DPD 30, Keepalive 15 DTLS option X-DTLS-Session-ID : 3BABE19A744F1298EFCFF084CC7268333C27FBA5C1727D56BE1D550C42F1C9E7 DTLS option X-DTLS-Port : 443 DTLS option X-DTLS-Keepalive : 15 DTLS option X-DTLS-DPD : 30 DTLS option X-DTLS-Rekey-Time : 86400 DTLS option X-DTLS-CipherSuite : AES128-SHA DTLS connected. DPD 30, Keepalive 15 Connected tun0 as 10.255.12.105, using SSL + deflate No work to do; sleeping for 14000 ms... No work to do; sleeping for 14000 ms... Established DTLS connection No work to do; sleeping for 14000 ms... Sent DTLS packet of 64 bytes; SSL_write() returned 65 No work to do; sleeping for 2000 ms... Received DTLS packet 0x00 of 131 bytes No work to do; sleeping for 2000 ms... Sent DTLS packet of 83 bytes; SSL_write() returned 84 ...
root
apt-get install iproute
| The Following User Says Thank You to dwmw2 For This Useful Post: | ||
openconnect --authgroup=anyconnect --user=testuser vpntest.testaddr.com:443 --verbose --disable-ipv6 --script=/etc/vpnc/vpnc-script Attempting to connect to 12.123.12.123:443 SSL negotiation with vpntest.testaddr.com Server certificate verify failed: unable to get local issuer certificate Certificate from VPN server "vpntest.testaddr.com" failed verification. Reason: unable to get local issuer certificate Enter 'yes' to accept, 'no' to abort; anything else to view: yes Connected to HTTPS on vpntest.testaddr.com GET https://vpntest.testaddr.com/ Got HTTP response: HTTP/1.0 302 Object Moved Content-Type: text/html Content-Length: 0 Cache-Control: no-cache Pragma: no-cache Connection: Close Date: Mon, 24 Oct 2011 06:19:34 GMT Location: /+webvpn+/index.html Set-Cookie: tg=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure HTTP body length: (0) SSL negotiation with vpntest.testaddr.com Server certificate verify failed: unable to get local issuer certificate Connected to HTTPS on vpntest.testaddr.com GET https://vpntest.testaddr.com/+webvpn+/index.html Got HTTP response: HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: text/xml Cache-Control: max-age=0 Set-Cookie: webvpn=<elided>; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnc=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnlogin=1; secure X-Transcend-Version: 1 HTTP body chunked (-2) Fixed options give Please enter your username and password. Username:testuser Password: POST https://vpntest.testaddr.com/+webvpn+/index.html Got HTTP response: HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: text/xml Cache-Control: max-age=0 Set-Cookie: webvpn=<elided>; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnc=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnlogin=1; secure X-Transcend-Version: 1 HTTP body chunked (-2) Fixed options give Please enter your username and password. Username:testuser Password: POST https://vpntest.testaddr.com/+webvpn+/index.html Got HTTP response: HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: text/xml Cache-Control: max-age=0 Set-Cookie: webvpn=<elided>; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnc=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnlogin=1; secure X-Transcend-Version: 1 HTTP body chunked (-2) Fixed options give Please enter your username and password. Username:
ln -s /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.1.0.0 ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.1.0.0 ln -s /usr/lib/libz.so.1 /usr/lib/libz.so