Re: Simple cell with standalone router/server + backup

Pekka Riikonen <[email protected]> Sat, 13 Sep 2008 16:54:45 +0200 (CEST)
Newsgroups gmane.network.silc.user
Message-ID <[email protected]>
: I did some investigation on my own, and right before this (which is
: false, hence the error):
: 
: if (!memcmp(server_id->ip.data, ip, 4))
: 
: in silc_id_is_valid_server_id(), I printed some of the values:
: 
: [Logging] [Error] remote_ip 213.66.197.251
: [Logging] [Error] server_id->ip.data
: [Logging] [Error] server_id->ip.data_len 4
: [Logging] [Error] server_id->rnd 255
: [Logging] [Error] server_id->port 49666
: 
: See how server_id->ip.data is completely empty.. I'm not really sure
: where to go from here. The code is very beautiful and clean by the
: way!
: 
It's because you bind to 0.0.0.0.  Bind to the IP you want to use.  Also, 
if you are behind NAT use the public_ip (unfortunately undocumented 
feature in current release) to set the public IP address.  You may also 
use that in case you bind to 0.0.0.0:

primary {
  ip = "0.0.0.0";
  public_ip = "213.66.197.251";
  port = 706;
};

or bind directly to the correct IP in which case you don't need to use the 
public_ip.

	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/