Re: Simple cell with standalone router/server + backup

Pekka Riikonen <[email protected]> Fri, 12 Sep 2008 20:33:15 +0200 (CEST)
Newsgroups gmane.network.silc.user
Message-ID <[email protected]>
: > Unfortuantely the current silcd requires ServerConnection entry, real or
: > dummy, for it to recognize that it is router.  This will be fixed in 1.2.
: > I'm not sure if the backup router stuff requires IP addresses instead of
: > host names, but you may also attempt to use only IP addresses and see if
: > it makes a difference, also.
: 
: Hm. Okay. I tried making it a dummy connection like you suggested, and
: also changed to using only IP addresses, but still tcpdump shows
: absolutely no traffic on port 706 between the two hosts when I do
: state changing stuff like e.g. /join foo followed by /cmode foo +f.
: 
The backup router configuration is wrong as well.  The backup router needs 
to use the primary router as its primary router connection and thus use 
RouterConnection.   But because it is also router it also must have real 
or dummy ServerConnection entry:

ServerConnection {
  host = "dummy";
  backup = true;
};

RouterConnection {
  host = "silc.dose.se"
  initiator = true;
};

Backup router must initiate connection to primary.

Primary then has:

ServerConnection {
  host = "dummy";
};

RouterConnection {
  host = "silc2.dose.se"
  backuphost = "silc.dose.se"
  backupport = 706;
  backuplocal = true;
};

I tested this and it worked...

: > All state data is transferred, topics, modes, clients, channels, servers,
: > etc.
: 
: Okay that's great. I forgot to ask though; are the public keys that
: the server read in from PublicKeyDir considered state data? So that if
: I at some point E would actually allow client connections to my backup
: router, could my clients authenticate with their public keys to the
: backup router and it would work? E.g. the keys would have been
: transferred to the backup?
: 
Public keys are not transferred.

	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/