-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IRC bridge to mode +r channel prevents users from joining #653
Comments
You register yourself on NickServ and join the room? |
@Half-Shot the issue is that the @appservice-irc:matrix.org attempts to create users in the IRC room to match users that are in the Matrix.org channel. These users are created automatically, on-the-fly, by the bridge - and are not registered. The IRC channel then prevents them from joining, which @appservice-irc:matrix.org sees, and then kicks the user out of the Matrix.org room as well. So if the IRC room has mode +r, the Matrix.org IRC bridge prevents new Matrix.org users from joining. |
I am having this issue as well. It prevents me from joining and talking in IRC channels. Will this be resolved soon? |
@makeworld-the-better-one - I'm not an expert on how this works, but it strikes me as something that is inherently difficult to resolve. It seems that, currently, if the IRC bridge is unable to create a user in the IRC room, then it kicks the Matrix.org user out of the Matrix.org room as well. Perhaps this logic could be changed, so that it doesn't kick the Matrix.org user... but that would mean that Matrix.org users are no longer created in IRC - which is essentially the whole point of this bridge. One idea might be: instead of creating new users for each Matrix.org user in the IRC room, just create one (ie: just named "@appservice-irc:matrix.org") - and have that user speak on behalf of any Matrix.org users in IRC. That one user could then be registered with Freenode (and other servers), so that it is allowed to join the room. |
That second solution sounds great. Any idea if it can happen? |
If https://github.com/matrix-org/matrix-appservice-irc/wiki/End-user-FAQ#how-do-i-registeridentify-to-nickserv doesn't help you, I would suggest asking the channel ops to setup another solutioon against spam like.
I don't think IRC networks would be happy if the bridge started spamming services with random registrations without user interaction. I think the only way this could be fixed by matrix-appservice-irc would be (#329) it starting to pretend being IRC server and link to the network as a server in which case it could possibly claim everyone to be registered as some illegal account which IRC services wouldn't allow registering. Edit: formatting fix, issue number. |
Thanks @Mikaela ! I will research these options. |
I think this would make at least freenode and if not more IRC users unhappy as it would be different from traditional IRC and Matrix users could be considered as spying.
I think this was how a very initial version of the bridge functioned and how e.g. Gitter bridge works, but I fear it would have restrictions too such as how to ban abusive Matrix user without using Matrix and it would be easier to just ban everyone using Matrix and problem solved.
You're welcome, I am thinking of typing something about them to the FAQ. |
@Mikaela Thank you. I'm in the process of registering my nick, although at the moment @appservice-irc:matrix.org seems to be down, so I haven't finished. On the other hand I'm not being kicked anymore. Thanks for the help, I might report back later! |
You're welcome and sorry for mass commenting, but...
|
@Mikaela - I am using the first two suggestions you wrote about in the End user FAQ: It seems like that will work well for our needs. Thanks again! |
I think this could be closed? |
That does not seem to work either (now, anyway), per #938. |
There has been a flood of IRC spam over the past month (eg: https://freenode.net/news/spam-shake), and one of the only recommended ways of combating this seems to be setting mode +r on the channel, which restricts it to only users that have registered their username with Freenode.
If you have a Matrix.org room bridged to the IRC channel (with mode +r), Matrix.org users are prevented from joining the Matrix.org room. They get immediately kicked by @appservice-irc:matrix.org.
For example:
This essentially makes the Matrix.org room impossible for others to join, even when it is a public room.
I'm not sure if there is any way to solve this, though - it seems like a tricky problem. Because @appservice-irc:matrix.org needs to create new users in the IRC room, but it is not going through the whole process of registering them.
So it seems that the IRC bridge can only be used on channels that do not have mode +r. Which means lots of persistent spam.
On the bright side, it seems that the spam is only showing in the IRC room, and is not being synced over to the Matrix.org room in most cases. It was earlier this month, but doesn't seem to anymore. Still, I thought it would be good to document this limitation, in case anyone else is experiencing it and has some advice to share.
Thank you for this wonderful service! 👍 :-)
The text was updated successfully, but these errors were encountered: