Search Spam?

Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)

Moderator: Moderators

Locked
RJ-P
Posts: 12
Joined: 2003-06-07 02:43
Location: Holland
Contact:

Search Spam?

Post by RJ-P » 2003-06-10 05:52

Hi there,

I would like to how i can hide the search spam detected message from printing to the main chat?

i have a bot which searches the hub every minute for kid porn and system files and if he find anything then he kicks the suer with a warning!

so every minute there is a message in the main window says
*** Search Spam Detected by [TamilHub Bot] Cyber Cop

Is there any way to hide only this bot's message?

cozz we know this is from our bot but we do not want to hide the search spam detected messages by users or other kind of bots!

I have also searched the forum using the the keyword "Search AND Spam" but no luck.

Hope someone can help me or direct me to the right way so i can find somthing usefull!

RJ ;)
Note:

Having a friend is easy but maintaining a good friendship is very difficult.

Try to avoind all the misunderstandings!

sarf
Posts: 382
Joined: 2003-01-24 05:43
Location: Sweden
Contact:

Post by sarf » 2003-06-10 07:46

The bot must be sending a search query a lot more often than once per minute - DC++ allows about one search every seven seconds or somesuch before it ignores the searchspammer for a while.

There is no way to "hide" the search from the clients, so you are better of ensuring that it really does not search more often than once every minute.

Sarf
---
"Jesus (briefly) died for your sins" - Daniel Rutter

RJ-P
Posts: 12
Joined: 2003-06-07 02:43
Location: Holland
Contact:

Post by RJ-P » 2003-06-10 09:14

well i am sure my timer is set to 60 seconds cozz the message is shown only everyminute.

Any clues? i will check the script to ensure.

you will hear from me soon.

Any one any clues?

RJ ;)
Note:

Having a friend is easy but maintaining a good friendship is very difficult.

Try to avoind all the misunderstandings!

sarf
Posts: 382
Joined: 2003-01-24 05:43
Location: Sweden
Contact:

Post by sarf » 2003-06-10 10:09

Are you sure that the script only does ONE search?

Sarf
---
Weather's here, wish you were beautiful.

ButterflySoul
Posts: 210
Joined: 2003-01-23 17:24
Location: Nevada
Contact:

Post by ButterflySoul » 2003-06-10 10:21

* Search flood detection (If more than 5 searches are received from the same user within 7 seconds, DC++ will send out a warning)
That's an extract from the readme file that pops up when you select the option entitled "readme / newbie help" from the help menu of the DC++ progie.

So, if you're getting a search spam alert every minute from your DC++, saying your script is search spamming, it means that each and every minute, you're sending more than 5 searches with the script (in less than 7 seconds which is normal, because if it took longer for a script to send them, you should really worry about some performance issues).

If you want the message to disapear, there's only one thing to do : send less searches per "batch". Instead of sending them all at once, rotate them, if you want to keep all these searches (i.e. Dim a global counter at script level, and use something like this :

Code: Select all

iCounter = iCounter +1
Select Case iCounter
  Case 1 : <send search 1> <send search 2>
  Case 2 : <send search 3> <send search 4>
  Case 3 : <send search 5> <send search 6>
  Case 4 : <send search 7> <send search 8>
  Case 5 : iCounter = 0
End Select
in your timer sub)
[CoZ] Children of Zeus
-----
Shadows DC Hub - VBS and JS scripting at their best

RJ-P
Posts: 12
Joined: 2003-06-07 02:43
Location: Holland
Contact:

Post by RJ-P » 2003-06-12 11:22

yeah i was planed to do something like this

thank you verymuch for your reply and solution :D

RJ ;)
Note:

Having a friend is easy but maintaining a good friendship is very difficult.

Try to avoind all the misunderstandings!

Living Dead
Posts: 5
Joined: 2003-05-29 15:01

Post by Living Dead » 2003-06-25 04:33

Hey , I got a problem with the search spam - over the night the search spam flooded the main chat :

1. Why is that?
2. How can i make it stop?
3. What does it means?

Ps - I'm useng the general bot from Gadget's Hub Scripts , maybe it's a problem in the scripts?

Gadget
Posts: 62
Joined: 2003-01-11 06:24
Location: Finland
Contact:

Post by Gadget » 2003-06-26 20:25

Living Dead wrote:1. Why is that?
Over 7 search requests came from same nick in 5 seconds. This can have many reasons:
- Somebody's got a laggy connection and all his search requests come suddenly at once
- Hub's got laggy connection and all the searches come suddenly at once
- You've got laggy connection and all the searches come suddenly at once
- Somebody really had quick fingers and he wants all of the files now
- Somebodys client has gone crazy
- It's an evil searchbot
- It's a hub script
Living Dead wrote:2. How can i make it stop?
Check your dc++ settings so that bot messages are not visible in main
Living Dead wrote:3. What does it means?
Usually connection problems
Living Dead wrote:I'm useng the general bot from Gadget's Hub Scripts , maybe it's a problem in the scripts?
GeneralBot sends some search requests if SearchBadFiles is on. Requests are sent with different nicks so those shoulnt trigger search spam alert. Unless you have space character in your bot's name (which is not recommended anyway because NMDC users couldn't use it).

Living Dead
Posts: 5
Joined: 2003-05-29 15:01

Post by Living Dead » 2003-06-27 14:36

ok thanx alot! i'll try to fix it...

Locked