[OTR-dev] how to play nice with gaim-otr

David Everly deckrider at gmail.com
Mon Jun 20 13:15:13 EDT 2005


Hi,

I'm working on a small plugin that helps filter out spam/bots by
implementing a simple challenge/response system, where the user of the
plugin defines a question and an answer.

When an unknown user first sends an IM to the plugin user, this message
is not displayed but stored for later display, which will happen if the
unknown user answer the question correctly.  The unknown user is sent an
IM asking the user defined question.  Subsequent messages from that user
are ignored until the question is answered correctly.

If gaim_find_conversation_with_account(*sender, account) does not return
NULL, then all of this logic is not used, since it is assumed that there
is already an active conversation (possibly started by the plugin user).

Also none of this logic is used if the user is already in the buddy or
permit list.

Here is the source code for the plugin:

http://svn.berlios.de/viewcvs/*checkout*/qrc/trunk/bot-challenger/bot-challenger.c

Any ideas regarding how I should alter this plugin to make it work with
gaim-otr?

Thanks,
Dave.
-- 
Encrypted Mail Preferred:
    Key ID:  8527B9AF
    Key Fingerprint:  E1B6 40B6 B73F 695E 0D3B  644E 6427 DD74 8527 B9AF
    Information:  http://www.gnupg.org/
                                                                                
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
    Information:  http://www.expita.com/nomime.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.cypherpunks.ca/pipermail/otr-dev/attachments/20050620/479bb476/attachment.pgp>


More information about the OTR-dev mailing list