Hello,
I got trouble installing tinc daemon. Every time when a connection comes
in, the daemon crashes:
Mar 6 18:32:56 localhost tinc.vpn[20703]: tincd 1.0pre3 (Feb 21 2001 02:32:50)
starting, debug level 5
Mar 6 18:32:56 localhost tinc.vpn[20703]: Ready: listening on port 655
Mar 6 18:33:00 localhost tinc.vpn[20703]: Connection from 192.168.0.4 port 1135
Mar 6 18:33:00 localhost tinc.vpn[20703]: Got request from unknown
(192.168.0.4): 0 home 8 0 655
Mar 6 18:33:00 localhost tinc.vpn[20703]: Got ID from unknown (192.168.0.4)
Mar 6 18:33:00 localhost tinc.vpn[20703]: Got SEGV signal
Mar 6 18:33:00 localhost tinc.vpn[20703]: Trying to re-execute in 5 seconds...
Mar 6 18:33:00 localhost tinc.vpn[20703]: Closing connection with home
(192.168.0.4)
Mar 6 18:33:00 localhost tinc.vpn[20703]: Terminating
What is going wrong? I tried to debug this, but got following with DDD:
Program received signal SIGSEGV, Segmentation fault.
0x40075a30 in BN_MONT_CTX_set () from /usr/lib/libcrypto.so.0.9.6
Running step-for-step, I saw it crashing in the following line in
protocol.c:
/* Encrypt the random data */
if(RSA_public_encrypt(len, cl->hischallenge, buffer, cl->rsa_key,
RSA_NO_PADDING) != len) /* NO_PADDING because the message size equals the RSA
key size and it is totally random */
I have no idea, I am not a very good debuging expert.
BTW, the client on the other side says:
Mar 6 18:34:21 isdn tinc.vpn[3114]: Terminating
Mar 6 18:34:22 isdn tinc.vpn[3120]: tincd 1.0pre3 starting
Mar 6 18:34:22 isdn tinc.vpn[3120]: Ready: listening on port 655
Mar 6 18:36:17 isdn tinc.vpn[3120]: Metadata socket read error for zomb
(192.168.0.2): No such file or directory
Please say, how I can help you, thx,
Eduard.
--
===================================================================Eduard Bloch
<blade@debian.org>; HP: http://eduard.bloch.com/edecosi
0xEDF008C5(GnuPG): E6EB 98E2 B885 8FF0 6C04 5C1D E106 481E EDF0 08C5
**
Don't drink as root!
-
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://ftp.nl.linux.org/pub/linux/tinc/
On Tue, Mar 06, 2001 at 07:57:11PM +0100, Eduard Bloch wrote:> What is going wrong? I tried to debug this, but got following with DDD: > > Program received signal SIGSEGV, Segmentation fault. > 0x40075a30 in BN_MONT_CTX_set () from /usr/lib/libcrypto.so.0.9.6 > > Running step-for-step, I saw it crashing in the following line in > protocol.c: > > /* Encrypt the random data */ > > if(RSA_public_encrypt(len, cl->hischallenge, buffer, cl->rsa_key, RSA_NO_PADDING) != len) /* NO_PADDING because the message size equals the RSA key size and it is totally random */Are you sure you generated the public key correctly? Could you send a copy of the host configuration file of zomb so we can check? ------------------------------------------- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@sliepen.warande.net> ------------------------------------------- See also: http://tinc.nl.linux.org/ http://www.kernelbench.org/ ------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20010307/8b7db50d/attachment.pgp
#include <hallo.h> stnick wrote on Wed Mar 07, 2001 um 11:05:31AM:> Eduard Bloch wrote: > > I see in your signature "blade@debian.org", so this seems unlikely, but > just to make sure- are you running red hat 7?You got it, I am not crazy. Gr{us,eeting}s, Eduard. -- ===================================================================Eduard Bloch <blade@debian.org>; HP: http://eduard.bloch.com/edecosi 0xEDF008C5(GnuPG): E6EB 98E2 B885 8FF0 6C04 5C1D E106 481E EDF0 08C5 - Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://ftp.nl.linux.org/pub/linux/tinc/
Eduard Bloch
2001-Mar-10 15:03 UTC
routing trouble (was: crashing on receiving connection)
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20010310/808dd029/attachment.pgp