Re: Simple cell with standalone router/server + backup

"Elvis Stansvik" <[email protected]> Sat, 13 Sep 2008 15:11:52 +0200
Newsgroups gmane.network.silc.user
Message-ID <[email protected]>
2008/9/13 Pekka Riikonen <[email protected]>:
>
> : > It segfaults right at the connection attempt from the backup. Got any
> : > ideas off the top of your head about this, or should I bring out gdb?
> : > :)
> :
> : I now compiled silc-server with --enable-debug on the primary router
> : and got a backtrace from the segfault:
> :
> : Program received signal SIGSEGV, Segmentation fault.
> : [Switching to Thread 0x28401100 (LWP 100212)]
> : silc_pkcs_public_key_copy (public_key=0x0) at silcpkcs.c:637
> : 637     key->pkcs = public_key->pkcs;
> : #0  silc_pkcs_public_key_copy (public_key=0x0) at silcpkcs.c:637
> : #1  0x08061ff5 in silc_server_accept_completed (ske=0x284490c0,
> : status=SILC_SKE_STATUS_OK, prop=0x284058a0,
> :     keymat=0x2840eca0, rekey=0x2840b820, context=0x2842c080) at server.c:2578
> : #2  0x0810f8ee in silc_ske_st_responder_end (fsm=0x28449124,
> :
> Yes, there appears to be stupid bug where if your configuration uses only
> public keys (even client connections uses public keys) then the server
> will crash.  If clients are accepted without authentication or with
> passphrase auth then it doesn't crash...  I will fix this to next version.

Alright. That's great. For now I guess I will accept both passphrase
and keys as a temporary solution.

>
> : [astan@franz ~/silc/sbin]$ sudo ./silcd -f /usr/local/etc/silc/silcd.conf -D 99
> : [Logging] [Info] SILC Server started
> : [Logging] [Info] Incoming connection h251n2fls33o879.telia.com (213.66.197.251)
> : [Logging] [Error] Remote connection not configured
> : [Logging] [Error] Authentication failed
> : [Logging] [Info] Authentication failed for h251n2fls33o879.telia.com
> : (213.66.197.251) [Unknown]
> : [Logging] [Info] Closing connection h251n2fls33o879.telia.com:25591 [Unknown]
> :
> : Sorry for all the troubles, but I really think it should work when I
> : use just Passphrase. Any more ideas?
> :
>
> [Logging] [Error] Remote connection not configured
>
> Verify IP addresses and hostnames...h251n2fls33o879.telia.com isn't what
> you had in the config you sent...

Well the hostnames in my config are correct, it's just that reverse
lookup of those IP-addresses will give my the hostnames from my ISP,
as I've not set up reverse records in my DNS, should that be a
problem? But the IP there in the silcd output is definately correct.

Elvis

>
>        Pekka
> ________________________________________________________________________
>  Pekka Riikonen                                 priikone at silcnet.org
>  Secure Internet Live Conferencing (SILC)       http://silcnet.org/
>

_______________________________________________________________
Info:    https://lists.silcnet.org/mailman/listinfo/silc-users
Archive: https://lists.silcnet.org/pipermail/silc-users
FAQ:     http://silcnet.org/support/faq/