Kopete Antispam Plugin

Chat & Messenging

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

7
5.8
Description:

Kopete Antispam Plugin helps to protect kopete messenger from various spammers by using simple answer/question scheme:

Potential spammers receive a simple question, and they are ignored until they answers question.

Both KDE3 and KDE4 versions are available, see downloads.

Compilation:

To compile plugin you need a kopete shared library. In Debian and Ubuntu Karmic it's libkopete-dev package, in older Ubuntu - kdenetwork-dev, in openSUSE - kopete-devel.

KDE3 version uses autotools, to install you need:

./configure
make
sudo make install

KDE4 version uses CMake, so you need:

cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
sudo make install

Where /usr prefix is for Debian/Ubuntu, for other distributions it may vary.

PPA for Karmic available: https://launchpad.net/~alexey-noskov/+archive/kde
Last changelog:

11 years ago

Version 0.5:

- Multiple answers support, patterns in answers
- Fixes in contact deleting in KDE 4.2

Version 0.4:

- Ability to ignore all unknown contacts.
- Ability to remove contacts failed test.

Big thanks to Richard Donkin (aka Cato here) for his patch!

Version 0.3 KDE4:

- KDE4 port, using CMake for building plugin.

Version 0.3:

- Added white list, containing wildcards: if some wildcards matches contact no test needed for him.
- Added notification about passing test: when some contact passes test, it receives message about it.

pippo73

12 years ago

Great !! it works! but I don't find the plugin in the kopete list :(

Report

jinxx

12 years ago

I had same problem on openSUSE 11.0, with kopete kde4. After few minutes of seeking solution, i have one.

cmake -DCMAKE_INSTALL_PREFIX=/usr/
make
su - -c checkinstall

because of in opensuse kde4 is in /usr/share/kde4 /usr/lib/kde4.

You may also delete /i586-suse-linux and /crt?.o and /kopete*.h which are not important.

I enjoy silent work with kopete without russian spam bots :)

Report

davidfreeman

12 years ago

I tried to compile a couple of times using a KDE4 installation on Fedora 10 (Rawhide/Testing) along with the installation of the Fedora kdelibs3-devel rpm, with the idea of using the plugin against the kopete version from kdenetwork-4.1.0-2.fc10.x86_64 and files from kdenetwork-devel-4.1.0-2.fc10.x86_64.

After
1. getting past the error "in the prefix, you've chosen, are no KDE headers installed. This will fail." with the command 'configure --includedir=/usr/include/kde4', I
2. Got the "I can't find the designer plugins" error because I had not yet installed kdelibs3-devel package, for which the file ./configure is hard-coded. I fulfilled that requirement and then...
2. moved on to the 'make' command and predictably encountered a consequence of the kopete version differences and got an error noting the absence/renaming of knotifyclient.h in my newer, KDE4 version of kdenetwork. I tried to dissimulate and create a symbolic link from knotification.h to a knotifyclient.h, but then got the error "/usr/lib64/qt-3.3/include/qfileinfo.h:123:2: error: #error " with the additional:
<<
/usr/lib64/qt-3.3/include/qfileinfo.h:123:2: error: #error "QFileInfo::size() should return QIODevice::Offset instead of uint"
In file included from kopeteantispamplugin.cpp:132:
kopeteantispamplugin.moc:17:2: error: #error "This file was generated using the moc from 3.3.8b. It"
kopeteantispamplugin.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."
kopeteantispamplugin.moc:19:2: error: #error "(The moc has changed too much.)"
>>

I expect that this scenario is to be expected, but wonder if there might be a workaround or a KDE4 version coming from your generous keyboard. Anything in the works?

Thank you very much for working on this plugin and sharing it with us!

Report

C

alno

12 years ago

I uploaded KDE4 version of plugin, enjoy)

Report

davidfreeman

12 years ago

Thank you very much for making, sharing and updating this much-needed module.

It was not immediately obvious to me that the subdirectory containing the kde4 version of the source is an equivalent to and not a dependent of the source in the main directory from the tarball, so I'd just like to leave the explicit note here that it is necessary (these lines are for the Fedora 9/10 x86_64 layout in contradistinction to Debian/Ubuntu and SuSe) to work from the kde4 directory with:

#######################
tar -zcvf kopete-antispam-0.3-kde4.tar.gz
cd kopete-antispam-0.3/kopete-antispam-0.3-kde4
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
make install
#######################

Thanks again!

Report

C

alno

12 years ago

Thanks for response!

Some times ago i switched to KDE4, and i think i will create a KDE4 branch of plugin at nearly times.

Report

Estariol

12 years ago

Subj :)

Report

chandraiitk

12 years ago

I appreciate the approach but to make it acceptable on large scale, few things must be taken care of. Following are the difficulties I realized:

1. On Yahoo or MSN or Gchat, if someone adds me, i don't receive any confirmation message. This is unacceptable.

2. I need to give a FULL email address in the white-list if I have to bypass the person receive the question. Please allow something like this:
I should be able to add [email protected] in white-list just by typing *xample12*.

3. Please add an option so that all the current users in the messenger list will automatically be added in white-list. It would be better if there is also an option for different protocols or groups. e.g. Add all Yahoo users in white-list but not all MSN users.

I think, the aforementioned three things are incorporates, this plugin is really going to be very useful.

Thanks!

Report

Pollywog

12 years ago

The version of Kopete in KDE 4.0 has some anti-spam features but the spams disguised as authorization requests in ICQ still get through. Is there any way of dealing with those spams? Most of the ones I receive are either in the Cyrillic alphabet or have a URL or both, so that might be one way of being rid of them. An authorization request should not have URL's and I don't read Russian.

Report

nelg

12 years ago

Hi,

Can you please make the spec file for your RPM available. I want to rebuild this for Mandriva 2008.1

Report

C

alno

12 years ago

It's available in SVN:

https://kopeteantispam.svn.sourceforge.net/svnroot/kopeteantispam/trunk/plugin/kopeteantispam.spec

Report

m0nk

12 years ago

Plz, update version info in kopeteantispam.desktop.
Thanks 4 this useful plugin

Greetings
m0nk

Report

Chytrex_double

12 years ago

Grat job, man. I have one feature request. It's possible to add list of contacts wich I don't want to bother with this antispam?

Report

C

alno

12 years ago

Contacts, which are not in your contact list?

I try to make it in a week.

Report

novalu

12 years ago

Your plugin is cool, but what about some choice between 'Unknown people' and 'All people'. That could be good... ;D

Report

C

alno

12 years ago

Sorry, i cann't understand what do you mean?

Some way to specify to which people send question? But how specify it?

Now plugin sends question to people which are not in your contact list (their contacts is 'temporary').

Report

H00K

12 years ago

Is this the same plugin that Kopete 0.50 (in KDE4) uses for spam removal?

Report

C

alno

12 years ago

No, i don't know about such plugin in 0.50. Could you take me some information about it?

Report

H00K

12 years ago

Here it is:

http://andredsblog.blogspot.com/2006/09/i-proudly-present-kopete-privacy.html

BTW, I just wrote an ebuild for Gentoo for your kopete-antispam plugin. :)

http://bugs.gentoo.org/show_bug.cgi?id=225655

Also, you seem to have forgotten to change a message in the dialogue from "0.1" to "0.2"

Report

C

alno

12 years ago

> http://andredsblog.blogspot.com/2006/09/i-proudly-present-kopete-privacy.html
No, my plugin sighificantly differs.

Andre's plugin helps to create black/white lists, or ban people by some words.

But my plugin asks all unknown people simple question, like "2 + 2 = ?" and allows messages from them only after they answer this question.

> Also, you seem to have forgotten to change a message in the dialogue from "0.1" to "0.2"

Oh, yes, thanks.

Report

H00K

12 years ago

Yes, I noticed the difference when I finally tried it. In any case, I'm going to use yours for now, since I haven't moved yet to KDE4.

Report

H00K

12 years ago

I love you! :D

No more ICQ and Yahoo spam for me! :D

Report

11 years ago

Version 0.5:

- Multiple answers support, patterns in answers
- Fixes in contact deleting in KDE 4.2

Version 0.4:

- Ability to ignore all unknown contacts.
- Ability to remove contacts failed test.

Big thanks to Richard Donkin (aka Cato here) for his patch!

Version 0.3 KDE4:

- KDE4 port, using CMake for building plugin.

Version 0.3:

- Added white list, containing wildcards: if some wildcards matches contact no test needed for him.
- Added notification about passing test: when some contact passes test, it receives message about it.

12345678910
1
product-maker aspotashev Jun 10 2011 9 excellent
Be the first to comment
aspotashev
Jun 10 2011
perseo22
Jul 30 2010
overmind88
Jul 28 2010
giricz81
Dec 10 2009
pippo73
Oct 30 2009
bobcollard
Aug 26 2009
Chain
Jan 23 2009
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.5
updated Dec 27 2009
added Jun 09 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1
System Tags app software