Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: vpnc: devel

Problems with vpnc connection over GPRS

 

 

vpnc devel RSS feed   Index | Next | Previous | View Threaded


mabo76 at seznam

Jan 3, 2010, 8:54 AM

Post #1 of 1 (838 views)
Permalink
Problems with vpnc connection over GPRS

Hello,

I was not able to establish VPN while connected to internet by mobile phone. I repeatedly got following error:

vpnc: expected xauth packet; rejected: (ISAKMP_N_PAYLOAD_MALFORMED)(16)

Everything worked fine when I was connected through reasonable internet connection (cable).

The problem is in connection high latency and small speed. Packets are resend during connection negotiation and it leads to vpnc confusion ending with the error.

The problem can be solved by increase of packets resend timeout. Everything started to work for me after I changed this source line

vpnc.c: line 3271 (vpnc version 0.5.3)
s->ike.timeout = 5000;

Maybe it would be usefull to make this constant settable from command line.

If anybody wants to analyze why vpns gets confused, I can send debug output and packet's dump for both successful and unsuccessful connection negotiation.

Best regards

Martin Bouzek
_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/

vpnc devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.