Page 1 of 1

Configuration "conflicts"

Posted: Fri Jul 08, 2016 10:57 pm
by Vegard
Hi!

When linking two servers, which of the configuration files are used? Both, or is there a hierarchy?

For example, what were to happen if an ircop is configed with different passwords? Will it accept both passwords, does it depend which server you connect to, or something else entirely?

Similarly, what happens if one config is more restrictive than the other?

Thanks.

Re: Configuration "conflicts"

Posted: Sat Jul 09, 2016 7:34 pm
by Syzop
Each config applies to it's own server. So the configuration on server A applies to server A. And configuration on server B applies to server B.

When you link two servers what is shared is the dynamic stuff, such as the users who are online and the channels. And some bans and spamfilters added via the /GLINE, /GZLINE and /SPAMFILTER commands.

That being said, some things need to be the same. The most important one is that the set::cloak-keys are the same on all servers on a network. Other settings would be confusing if they are different on each server, but are possible, such as set::auto-join just to name one..

You also asked regarding oper blocks explicitly. If the ircop user is connected to server A then the oper block needs to exist there to /OPER, and those are the password and privileges that are used. The oper block does not need to exist on server B, C, and if they exist the privileges don't need to match -- they are irrelevant if the oper is "opering up" on server A.

Re: Configuration "conflicts"

Posted: Sun Jul 10, 2016 5:31 am
by Vegard
Much appreciated!