bitbot
bitbot copied to clipboard
reminder about relay features
14:59 <@jesopo> relay groups, lessen [relay/network] 14:59 <@jesopo> maybe bold nickname 15:00 <@jesopo> -perhaps- allowing channel owners to set up relays
15:00 <@jesopo> -perhaps- allowing channel owners to set up relays
would whoever sets up the relay have to be an op or owner on both channels?
would whoever sets up the relay have to be an op or owner on both channels?
should already be op on the channel issuing command from, and having the other channel's op accept, maybe? well, users with permisson, not necessarily op, maybe allow ops, + half-ops etc, + maybe custom per-channel permission so you can set someone to have perm for relay, but not any other op powers?
at the moment, both sides have to have the relay configured for it to work, otherwise BitBot logs a WARN and does not relay. I'd keep at that way, thus +o users on both sides have to configure it for it to work.
... I do worry that there are risks involved with allowing non-admnins to set up relays - feels like it could be abused to greatly increase network traffic, CPU, etc. Could maybe be used to fire a bunch of data from a server that does not have fakelag to a server that does, thus kicking bitbot off.
People could always make random channels for that, where they'd be channel admins. Would it be possible for relays to be controlled somehow or have a way for bot admin(s) to disable relays if necessary?
People could always make random channels for that, where they'd be channel admins.
not a bitbot problem imo, since that's just how irc works, that's why most servers have some sort of services bot that controls channel registrations (so can't just claim channel when people leave), for now only admins can make relays which they know what channel they want to connect to and can make sure they own that place beforehand.
Would it be possible for relays to be controlled somehow or have a way for bot admin(s) to disable relays if necessary?
as of now, that's basically how it works, isn't it? only admins can create and delete relays?
I'd sure like maybe a conf option or such to allow channel-op-relays, which would be off by default, but especially with smaller servers and personal bots would be nice to use, when you trust your users enough