[kopete-bugs] [Bug 186741] New: DDOS nudge attack in kopete

Salvo LtWorf Tomaselli tiposchi at tiscali.it
Tue Mar 10 10:23:31 CET 2009


https://bugs.kde.org/show_bug.cgi?id=186741

           Summary: DDOS nudge attack in kopete
           Product: kopete
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kopete-bugs at kde.org
        ReportedBy: tiposchi at tiscali.it


Version:           0.70.0 (using 4.2.1 (KDE 4.2.1), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.29-rc6-sidux-686

This is the same as bug 134335.
But in the last comment there it was said to post a new bugreport in case the
problem still exists.

I did a patch to fix the problem, and i've also tested it.

33a34
> #include <time.h>
47a49
> static time_t last_nudge = time(NULL); //Epoch of the last nudge
280c282,287
<       KNotification::event( QString::fromLatin1("buzz_nudge"), i18n("A
contact sent you a buzz/nudge.") );
---
>
>       time_t now=time(NULL);
>       if (now-last_nudge>20) {
>               KNotification::event( QString::fromLatin1("buzz_nudge"), i18n("A contact sent you a buzz/nudge.") );
>               last_nudge=now;
>       }

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list