Skip to content
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

Explore adding captcha feature to reduce spam #327

Open
nlMeminger opened this issue Jun 5, 2020 · 2 comments
Open

Explore adding captcha feature to reduce spam #327

nlMeminger opened this issue Jun 5, 2020 · 2 comments
Labels
needs review Pending a peer review before merging or closing new change Adds new capabilities or functionality Telegram Issues relating to Telegram bridge
Milestone

Comments

@nlMeminger
Copy link
Member

Summary

Spam sucks. Captcha could help

Background

Telegram has seen an increase in the number of spambots joining groups and generally just annoying people which then bleeds over to IRC.

Adding a captcha feature to teleirc would help to alleviate this problem. Or perhaps a spin-off project for captcha only that others could use since captcha bots are often bundled with other larger bots, that could easily be an add-on to teleirc

Outcome

A captcha is given to the end user when they join a new group that is used to verify people and reduce the amount of spam and general suck in the world.

@nlMeminger nlMeminger added new change Adds new capabilities or functionality needs triage Metadata needs to be triaged and updated labels Jun 5, 2020
@jwflory jwflory added needs review Pending a peer review before merging or closing Telegram Issues relating to Telegram bridge and removed needs triage Metadata needs to be triaged and updated labels Jun 6, 2020
@jwflory jwflory added this to the v2.x.x milestone Jun 6, 2020
@jwflory
Copy link
Member

jwflory commented Oct 11, 2020

Discussed in 2020-10-11 meeting.


This came up briefly during our meeting today. There were good pros/cons to working on this ticket, but we deferred to revisit this once we get through the backlog of more important bugs and waited-for features. I'm recapping some of the discussion here for whenever we revisit this:

  • Pros
    • Opportunity to distinguish ourselves from other chat bridge programs
    • Offers a better-integrated experience for Telegram/IRC moderators
    • Helpful for chat group admins, where the chat group admin may not be an active part of the group community (i.e. to add or configure other bots to fight spam)
  • Cons
    • Goes against UNIX philosophy of "do one thing and do it well" – spam protection is not an intuitive feature of a chat bridge
    • Likely adds non-trivial overhead for code maintenance (i.e. how easy/hard will this be to maintain over time?)
    • Other bots exist that fight spam and they do this rather well

We're not ruling this out yet but we will revisit once we get through a couple more releases this semester.

@jwflory
Copy link
Member

jwflory commented Nov 22, 2021

Originally noted by @Tjzabel in issue #364 opened by @zethra:

Hmm... This is definitely a hard issue to solve. We can try to look at message metadata on Telegram's side and see if there is a way to tell if a user has completed the captcha or not.

The second alternative seems a bit iffy to me, since a new user coming into the TG group would want assistance, and be confused as to why they are being ignored if they join in the middle of a conversation. I feel it could possibly work if we have like a 5 minute timer to when a message can be sent into the channel. So basically:

1. check if a user has joined more than 5 mins ago

2. If this is not the case, go in a loop and wait until the statement is true.

3. At that point, make sure the user is still in the TG group, and then send the message to IRC.

@jwflory jwflory modified the milestones: v2.2.1, v2.x.x Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Pending a peer review before merging or closing new change Adds new capabilities or functionality Telegram Issues relating to Telegram bridge
Projects
None yet
Development

No branches or pull requests

2 participants