bitbot icon indicating copy to clipboard operation
bitbot copied to clipboard

reminder about relay features

Open Jan69 opened this issue 6 years ago • 6 comments

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

Jan69 avatar Jun 30 '19 12:06 Jan69

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?

AntonMcClure avatar Jun 30 '19 12:06 AntonMcClure

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?

Jan69 avatar Jun 30 '19 12:06 Jan69

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.

jesopo avatar Jun 30 '19 19:06 jesopo

... 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.

jesopo avatar Jul 01 '19 07:07 jesopo

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?

AntonMcClure avatar Jul 01 '19 14:07 AntonMcClure

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

Jan69 avatar Jul 01 '19 15:07 Jan69