Opened 4 years ago

Closed 3 years ago

#12819 closed enhancement (implemented)

XMPP service

Reported by: ilv Owned by: ilv
Priority: Medium Milestone:
Component: Applications/GetTor Version:
Severity: Keywords: revamp gettor gsoc xmpp
Cc: sukhbir, mrphs Actual Points:
Parent ID: #12817 Points:
Reviewer: Sponsor:

Description

As part of #12817, a new service is being implemented for GetTor. This service
receives and replies requests via XMPP. The design of the module for this new
service is quite simple:

1) User credentials must be specified on the configuration file.


2) The module works as a bot; it uses the given credentials to go online.


3) A user using XMPP can send a message to the bot asking for links/help.
The bot reads the message received and tries to look for a supported
operating system. If it doesn't find any, it sends help. Then it looks
for a supported locale. If it doesn't find any, it uses english by
default. For example, the message 'linux en' should return a message
in english with the links for downloading the bundles for linux. If
the user sends 'help es', it should return a message with help
information in spanish.


4) If the user also specify terms related to built-in pluggable
transports, it sends info about them when sending the links. For
this, it looks for the words 'obfs', 'pt', 'pluggable transport'.


The bot has been tried successfully on dukgo.com, jabber.ccc.de, and riseup.net
It also worked for a while on jit.si, but not anymore (no clue why).

What are better ways of doing this?

Child Tickets

Change History (2)

comment:1 Changed 4 years ago by ilv

Apparently, this approach needs to disable s2s encryption to work with gtalk. I haven't found how to do that with sleekxmpp. Is this really necessary? I mean, gtalk users could simply get the bundles via e-mail ;-)

comment:2 Changed 3 years ago by ilv

Resolution: implemented
Status: newclosed

Work done during GSoC 2014. This module is implemented, but not deployed. Please refer issues about this on new tickets.

Note: See TracTickets for help on using tickets.