Configuration "conflicts"

This forum is for everyone having trouble with linking two UnrealIRCd servers

Moderator: Supporters

Locked
Vegard
Posts: 6
Joined: Fri Feb 26, 2016 3:49 pm

Configuration "conflicts"

Post 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.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Configuration "conflicts"

Post 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.
Vegard
Posts: 6
Joined: Fri Feb 26, 2016 3:49 pm

Re: Configuration "conflicts"

Post by Vegard »

Much appreciated!
Locked