[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Assertion failed at mroute.c:349


  • Subject: Re: [Openvpn-users] Assertion failed at mroute.c:349
  • From: Paul Mitchell <paul.mitchell@xxxxxxxxxxxxxx>
  • Date: Tue, 02 Aug 2005 15:03:22 +0100

Hi,

We've now tried using the RC versions. The problem still persists. I happened to have a telnet session on just now when the "Assertion failed at mroute.c:349" message appeared because of the connection failure.

The log was set to verb 3

>LOG:1122990293,,MULTI: multi_create_instance called
>LOG:1122990293,I,x.x.x.x:1194 Re-using SSL/TLS context
>LOG:1122990293,I,x.x.x.x:1194 LZO compression initialized
>LOG:1122990293,,x.x.x.x:1194 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
>LOG:1122990293,,x.x.x.x:1194 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
>LOG:1122990293,,x.x.x.x:1194 Local Options hash (VER=V4): '530fdded'
>LOG:1122990293,,x.x.x.x:1194 Expected Remote Options hash (VER=V4): '41690919'
>LOG:1122990293,,x.x.x.x:1194 TLS: Initial packet from x.x.x.x:1194, sid=9be2044d de8f97a0
>LOG:1122990295,,x.x.x.x:1194 VERIFY OK: depth=1, /C=GB/ST=Borders/L=Galashiels/O=Strakan_Ltd./CN=abc.strakan.com/emailAddress=sysadmin@xxxxxxxxxxx
>LOG:1122990295,,x.x.x.x:1194 VERIFY OK: depth=0, /C=GB/ST=Borders/O=Strakan_Ltd./CN=xyz.strakan.com/emailAddress=sysadmin@xxxxxxxxxxx
>LOG:1122990295,,x.x.x.x:1194 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
>LOG:1122990295,,x.x.x.x:1194 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
>LOG:1122990295,,x.x.x.x:1194 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
>LOG:1122990295,,x.x.x.x:1194 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
>LOG:1122990295,,x.x.x.x:1194 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
>LOG:1122990295,I,x.x.x.x:1194 [xyz.strakan.com] Peer Connection Initiated with x.x.x.x:1194
>LOG:1122990295,,xyz.strakan.com/x.x.x.x:1194 OPTIONS IMPORT: reading client specific options from: /etc/openvpn/remote/xyz.strakan.com
>LOG:1122990295,W,xyz.strakan.com/x.x.x.x:1194 client-connect command failed: shell command exited with error status: 7
>LOG:1122990296,,xyz.strakan.com/x.x.x.x:1194 PUSH: Received control message: 'PUSH_REQUEST'
>LOG:1122990296,,xyz.strakan.com/x.x.x.x:1194 SENT CONTROL [xyz.strakan.com]: 'AUTH_FAILED' (status=1)
>LOG:1122990296,,xyz.strakan.com/x.x.x.x:1194 Delayed exit in 5 seconds
>LOG:1122990301,,xyz.strakan.com/x.x.x.x:1194 SIGTERM[soft,delayed-exit] received, client-instance exiting
>LOG:1122990301,F,Assertion failed at mroute.c:349


Don't know if this gives any pointers.

Will also have a look at runit that Charles Duffy spoke about.

Regards,
Paul.

James Yonan wrote:
On Thu, 14 Jul 2005, Paul Mitchell wrote:


Hi All,

I'm have a problem with OpenVPN in that the error "Assertion failed at mroute.c:349" is occuring sometimes when a network reconnects. The problem is occuring on the hub of the VPN.

I've seen this problem on the list but it is related to using TAP interfaces we are using TUN interfaces as it's a VPN between networks.

I was wondering if this could be a race condition on the delete code as I see that they are locks set aside for the structure but the mutexes have been rem'ed out. The programme was built with pthreads.


No, this is definitely not the problem.  OpenVPN 2.0 never uses
multi-threading, even when built with ./configure --enable-pthreads (the
multithreading code simply hasn't been written yet).  The commented out
mutex code is just support code waiting for some point in
the future when the multithreading code actually gets developed.

This may already have been fixed post-2.0. If you will, try the latest
2.0.1 RC and let us know if it fixes it:

http://openvpn.net/beta/

James

____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-08/msg00014.html on line 248

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-08/msg00014.html on line 248