crashing on receiving connection
Eduard Bloch
edi at gmx.de
Tue Mar 6 19:57:11 CET 2001
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 at 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/
More information about the Tinc
mailing list