Assertation in mroute.c
Hi list,
I'm using openvpn 2.0-2 (from debian/sid, also tried with 2.0-1 from sarge). After setting up a normal roadwarrior scenario I reconfigured my daemons to make a site-to-site connection.
But now I'm getting an assertation fault on the server side, but only if the clients wants to stop/terminate the tunnel?
I've raised the verb level on the server side. Here is the output:
May 13 15:39:58 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_post TA_TIMEOUT -> TA_UNDEF May 13 15:39:58 freeman ovpn-server[19515]: SCHEDULE: schedule_find_least wakeup=[Fri May 13 15:40:02 2005 us=50294] pri=1858427981 May 13 15:39:59 freeman ovpn-server[19515]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x080c21e8 May 13 15:39:59 freeman ovpn-server[19515]: MULTI: REAP range 32 -> 48 May 13 15:39:59 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_action a=TA_SOCKET_READ p=0 May 13 15:39:59 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ mi=0x080c21e8 May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 STREAM: GET NEXT len=1591 May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 Connection reset, restarting [0] May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 SIGUSR1[soft,connection-reset] received, client-instance restarting May 13 15:39:59 freeman ovpn-server[19515]: MULTI: multi_close_instance called May 13 15:39:59 freeman ovpn-server[19515]: Assertion failed at mroute.c:349 May 13 15:39:59 freeman ovpn-server[19515]: Exiting
My configfiles can be found here:
http://jesusch.homeip.net/~jesusch/tmp/server.conf
http://jesusch.homeip.net/~jesusch/tmp/client1 (ccd)
http://jesusch.homeip.net/~jesusch/tmp/client1.conf
If you need any more input from my side you are welcome to mail me
Cheers
Bjoern
Hi again,
I researched a bit more and found out that the iroute in the ccd file causes the server crash.
Am Freitag, 13. Mai 2005 16:08 schrieb Bjoern Boschman:
Quoted 43 lines
Hi list,
I'm using openvpn 2.0-2 (from debian/sid, also tried with 2.0-1 from sarge). After setting up a normal roadwarrior scenario I reconfigured my daemons to make a site-to-site connection.
But now I'm getting an assertation fault on the server side, but only if the clients wants to stop/terminate the tunnel?
I've raised the verb level on the server side. Here is the output:May 13 15:39:58 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_post TA_TIMEOUT -> TA_UNDEF May 13 15:39:58 freeman ovpn-server[19515]: SCHEDULE: schedule_find_least wakeup=[Fri May 13 15:40:02 2005 us=50294] pri=1858427981 May 13 15:39:59 freeman ovpn-server[19515]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x080c21e8 May 13 15:39:59 freeman ovpn-server[19515]: MULTI: REAP range 32 -> 48 May 13 15:39:59 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_action a=TA_SOCKET_READ p=0 May 13 15:39:59 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ mi=0x080c21e8 May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 STREAM: GET NEXT len=1591 May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 Connection reset, restarting [0] May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 SIGUSR1[soft,connection-reset] received, client-instance restarting May 13 15:39:59 freeman ovpn-server[19515]: MULTI: multi_close_instancecalled May 13 15:39:59 freeman ovpn-server[19515]: Assertion failed at mroute.c:349 May 13 15:39:59 freeman ovpn-server[19515]: Exiting
My configfiles can be found here:
http://jesusch.homeip.net/~jesusch/tmp/server.conf
http://jesusch.homeip.net/~jesusch/tmp/client1 (ccd)
http://jesusch.homeip.net/~jesusch/tmp/client1.confIf you need any more input from my side you are welcome to mail me
Cheers
Bjoern
Quoted 30 lines · Bjoern Boschman
Hi list,
I'm using openvpn 2.0-2 (from debian/sid, also tried with 2.0-1 from sarge). After setting up a normal roadwarrior scenario I reconfigured my daemons to make a site-to-site connection.
But now I'm getting an assertation fault on the server side, but only if the clients wants to stop/terminate the tunnel?
I've raised the verb level on the server side. Here is the output:May 13 15:39:58 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_post TA_TIMEOUT -> TA_UNDEF May 13 15:39:58 freeman ovpn-server[19515]: SCHEDULE: schedule_find_least wakeup=[Fri May 13 15:40:02 2005 us=50294] pri=1858427981 May 13 15:39:59 freeman ovpn-server[19515]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x080c21e8 May 13 15:39:59 freeman ovpn-server[19515]: MULTI: REAP range 32 -> 48 May 13 15:39:59 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_action a=TA_SOCKET_READ p=0 May 13 15:39:59 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ mi=0x080c21e8 May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 STREAM: GET NEXT len=1591 May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 Connection reset, restarting [0] May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 SIGUSR1[soft,connection-reset] received, client-instance restarting May 13 15:39:59 freeman ovpn-server[19515]: MULTI: multi_close_instance called May 13 15:39:59 freeman ovpn-server[19515]: Assertion failed at mroute.c:349 May 13 15:39:59 freeman ovpn-server[19515]: Exiting
Quoted 7 lines
My configfiles can be found here:
http://jesusch.homeip.net/~jesusch/tmp/server.conf
http://jesusch.homeip.net/~jesusch/tmp/client1 (ccd)
http://jesusch.homeip.net/~jesusch/tmp/client1.confIf you need any more input from my side you are welcome to mail me
Thanks -- this looks like a bug. Is it 100% reproducible or is it intermittent?
James
Quoted 4 lines · Bjoern Boschman
Hi again,
I researched a bit more and found out that the iroute in the ccd file causes the server crash.
Aha, I see what's going on. OpenVPN 2.0 doesn't support "iroute" usage in "client-config-dir" files when running in "dev tap" mode. This has been discussed before on the openvpn-users list, is something that's on the wish list to change, but is currently not supported because of the extra complexity needed to maintain both a MAC-based and IP-based internal routing table.
So the bug here is that OpenVPN should have flagged a warning that iroute and dev tap are incompatible directives, rather than hitting the assertion.
James
Quoted 57 lines
Am Freitag, 13. Mai 2005 16:08 schrieb Bjoern Boschman:
Quoted 37 lines
Hi list,
I'm using openvpn 2.0-2 (from debian/sid, also tried with 2.0-1 from sarge). After setting up a normal roadwarrior scenario I reconfigured my daemons to make a site-to-site connection.
But now I'm getting an assertation fault on the server side, but only if the clients wants to stop/terminate the tunnel?
I've raised the verb level on the server side. Here is the output:May 13 15:39:58 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_post TA_TIMEOUT -> TA_UNDEF May 13 15:39:58 freeman ovpn-server[19515]: SCHEDULE: schedule_find_least wakeup=[Fri May 13 15:40:02 2005 us=50294] pri=1858427981 May 13 15:39:59 freeman ovpn-server[19515]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x080c21e8 May 13 15:39:59 freeman ovpn-server[19515]: MULTI: REAP range 32 -> 48 May 13 15:39:59 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_action a=TA_SOCKET_READ p=0 May 13 15:39:59 freeman ovpn-server[19515]: MULTI TCP: multi_tcp_dispatch a=TA_SOCKET_READ mi=0x080c21e8 May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 STREAM: GET NEXT len=1591 May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 Connection reset, restarting [0] May 13 15:39:59 freeman ovpn-server[19515]: client1/84.151.194.254:39496 SIGUSR1[soft,connection-reset] received, client-instance restarting May 13 15:39:59 freeman ovpn-server[19515]: MULTI: multi_close_instancecalled May 13 15:39:59 freeman ovpn-server[19515]: Assertion failed at mroute.c:349 May 13 15:39:59 freeman ovpn-server[19515]: Exiting
My configfiles can be found here:
http://jesusch.homeip.net/~jesusch/tmp/server.conf
http://jesusch.homeip.net/~jesusch/tmp/client1 (ccd)
http://jesusch.homeip.net/~jesusch/tmp/client1.confQuoted 6 lines
If you need any more input from my side you are welcome to mail me
Cheers
Bjoern
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel