[Issue] No method exists to ban Matrix users harassing the bridged IRC<->Matrix channels
jahway603 opened this issue · 5 comments
I have looked thru the documentation and unable to find any current methods that exist to ban Matrix users harassing the bridged IRC<->Matrix channels that are maintained by Matrix.org listed here https://matrix-org.github.io/matrix-appservice-irc/latest/bridged_networks
Is this on OFTC? Ban them by their unique IPv6 address.
Is this on OFTC? Ban them by their unique IPv6 address.
Yes, it is on OFTC.
The issue is not really clear. After talking in the chat the actual issue are bans and K-Lines not getting bridged to Matrix under certains circumstances. As a result some OFTC channels have lots of spam on their Matrix portals, but the IRC side doesn't get any of the spam.
True K-Lines should be actioned as users should be kicked from any room they are unable to get a IRC connection in, unless the room admin has opted to de-op the bridge and is unable to perform the kicks (which is in itself a problem). Are there example rooms we can take a look at?
X-Lines should be considered as well. We are currently observing appservice-irc catching up for hours due to a wave of account spam joining over the bridge. The bridge is now trying to reconnect all these users after a restart and takes hours to iterate over all these hosts.
2024-09-15 19:16:13 INFO:ClientPool Creating virtual irc user with nick undefined for @etwa3swn:matrix2.queer.cat (display name undefined)
2024-09-15 19:16:13 INFO:BridgedClient <etwa3swn|m@irc.hackint.org#d7u6q0wcgw800> (@etwa3swn:matrix2.queer.cat) Created client for @etwa3swn:matrix2.queer.cat
2024-09-15 19:16:13 INFO:BridgedClient <etwa3swn|m@irc.hackint.org#d7u6q0wcgw800> (@etwa3swn:matrix2.queer.cat) Connecting to IRC server irc.hackint.org as etwa3swn|m (user=etwa3swnma)
2024-09-15 19:16:13 INFO:req [ebhi0ebghzk00] [[I->M]] etwa3swn|m@irc.hackint.org#d7u6q0wcgw800~@etwa3swn:matrix2.queer.cat : Sending metadata 'Connecting to the IRC network 'irc.hackint.org' as etwa3swn|m...'
2024-09-15 19:17:41 INFO:req [ebhi0ebghzk00] [[I->M]] Creating an admin room with @etwa3swn:matrix2.queer.cat
2024-09-16 01:51:10 ERROR:client-connection etwa3swn|m@irc.hackint.org: {"args":["Closing Link: fd1a:6295:5133::39ff (Bad user info)"],"commandType":"normal","command":"ERROR","rawCommand":"ERROR"}
2024-09-16 01:51:10 ERROR:client-connection User etwa3swn|m was X:LINED!
2024-09-16 01:51:10 INFO:client-connection disconnect()ing etwa3swn|m@irc.hackint.org - banned
2024-09-16 01:51:10 ERROR:client-connection etwa3swn|m is banned from irc.hackint.org, throwing
2024-09-16 01:51:10 INFO:BridgedClient <etwa3swn|m@irc.hackint.org#d7u6q0wcgw800> (@etwa3swn:matrix2.queer.cat) Client is now DEAD
2024-09-16 01:51:10 ERROR:ClientPool Couldn't connect virtual user undefined (@etwa3swn:matrix2.queer.cat) to irc.hackint.org : {"code":1}
2024-09-16 01:51:10 INFO:req [8c6oif3z5s400] [[M->I]] @etwa3swn:matrix2.queer.cat failed to get a IRC connection. User is banned from the network.
2024-09-16 01:51:11 INFO:req [8sybuxegkjs00] [[M->I]] onKick @appservice-irc:hackint.org is kicking/banning @etwa3swn:matrix2.queer.cat from !isTgaBtYaONqOjtmVN:hackint.org (reason: IRC connection failure.)