This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

@FireWarrior
The problem is with your ap:antispam channel-settings, It is not enabled on any of your channels. Notice the "-" in
<TestBot> [07:45] Setting validation: 1 :: Setting: -
Setting is actually the first +/- in your ap:antispam channel-setting. My guess is that you edited it in the script to "+" but did not use .chanset to change the channel-setting? (use .chaninfo #channel to view it's settings).

@willyw
I'm glad it worked and thanks for your elaboration as well as your appreciation ;)
F
FireWarrior
Voice
Posts: 19
Joined: Tue Oct 28, 2008 1:12 am

Many Thanks!

Post by FireWarrior »

Hi and Hello Opposing.
After reading your reply, I carefully retraced my steps and fixed my error. Now the antispam bot is working fine.
I’m really grateful and obliged for your patience and help.
My apologies for bugging you so much and for so long, but in these past few days I’ve learnt more about eggdrops and tcl scripts than I have in the past two years. I owe this to you.
Wish you all the best.
Regards.
h
halloaizq
Voice
Posts: 24
Joined: Mon Aug 27, 2007 5:01 am
Contact:

Anti Spambot

Post by halloaizq »

[Tue 20:41:39] * Parts: Puteri^Salju (Rss@72.20.32.66)
[Tue 20:41:39] * Joins: Puteri^Salju (Rss@72.20.32.66)

how to set this spambot cycle the channel with specific time .. like part from channel and then rejoin back after 5 minutes or else ?so spammer can't detect so easy .. TQ
: halloaizq :
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

at line 1846

Code: Select all

...
putdcc $antispam(idx) "part $c"
putdcc $antispam(idx) "join $c"
...
Replace

Code: Select all

putdcc $antispam(idx) "join $c"
with

Code: Select all

timer 5 [list putdcc $antispam(idx) "join $c"]
so it will join back after 5 minutes.

Edit: However this may cause some errors in case the socket disconnected and the idx is not valid anymore...
e
evildude
Voice
Posts: 24
Joined: Tue Feb 03, 2004 9:13 pm

Post by evildude »

Is there a way to kick/ban an offender of btextc and/or btextl in addition to setting the channel modes?

{ap:btextc "550:3 mR-k chars.flood 60"}
{ap:btextl "15:7 mR-k lines.flood 60"}

I apologize if I have missed something but it doesn't seem to be a way to do that.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

These protections are intended for mass botnet floods where locking the channel is a priority. However, you can fiddle around with the normal settings (textc and textl) and can have it do the banning during mass floods.
h
halloaizq
Voice
Posts: 24
Joined: Mon Aug 27, 2007 5:01 am
Contact:

Post by halloaizq »

Sir_Fz wrote:at line 1846

Code: Select all

...
putdcc $antispam(idx) "part $c"
putdcc $antispam(idx) "join $c"
...
Replace

Code: Select all

putdcc $antispam(idx) "join $c"
with

Code: Select all

timer 5 [list putdcc $antispam(idx) "join $c"]
so it will join back after 5 minutes.

Edit: However this may cause some errors in case the socket disconnected and the idx is not valid anymore...

Yeah .. finally .. TQ vm bro .. bro another question .. how to set this spambot change nick with i specified when joining that channel?
: halloaizq :
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

You want it to change its nick from a predefined list before it rejoins channels?
h
halloaizq
Voice
Posts: 24
Joined: Mon Aug 27, 2007 5:01 am
Contact:

Post by halloaizq »

Sir_Fz wrote:You want it to change its nick from a predefined list before it rejoins channels?
yes .. so how?
: halloaizq :
D
Danik
Halfop
Posts: 49
Joined: Sun Jun 15, 2008 12:59 pm
Location: Moldova
Contact:

Post by Danik »

I have a question.
On channel flood the eggdrop (server undernet) the eggdrop sets mode +m only. What do i need to change in the script or telnet, so the eggdrop will set mode +mir ?
w
willyw
Revered One
Posts: 1203
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

Just want to confirm something:

Regarding reverse, bold, underline, and color -

Code: Select all

 ap:codes: {r:350 b:350 u:350 c:350 30 w:k 2}
should we want to disable any of these, the correct (safe) way to accomplish it, is to set those options to 0 ?
Like this:

Code: Select all

ap:codes: {r:0 b:0 u:0 c:0 30 w:k 2}
Is this correct?

A setting of zero won't cause the bot to trigger on any such posts, since they would exceed the setting?

I think we've been doing it the other way - setting them to very high numbers to keep the bot from triggering. I don't remember why, so I thought I'd double check here.

Thanks



p.s. And the same questions for ap:partmsgc too. Thanks.
w
willyw
Revered One
Posts: 1203
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

AP: Private botnet flood detected. Temporarly stopped answering recieved data.
Occasionally, I see that in partyline. Our bot is not part of a botnet.

What sort of thing is causing it, and what do I need to adjust?

For what it is worth, I found that I can cause it by sending
/msg botnick help
from a nick that is not in the bot's userfile.


Thanks
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

halloaizq wrote:
Sir_Fz wrote:You want it to change its nick from a predefined list before it rejoins channels?
yes .. so how?
Alright, you'll first need to create a list of nicknames:

Code: Select all

...
# AntiSpamBot basic settings
# You can edit all these settings as you wish
# example: set antispam(nick) AntiSpamBot
set antispam(nick) $altnick
set antispam(altnick) ${altnick}1
# ADD HERE
set antispam(nicks) {
 nick1
 nick2
 nick3
}
...
And apply the following changes:

Code: Select all

...
putlog "\002AP\002: AntiSpamBot: Cycling $c..."
# ADD:
if {![info exists blabla]} {
 set blabla 1
 putdcc $antispam(idx) "nick [lindex $antispam(nicks) [rand [llength $antispam(nicks)]]]"
}
putdcc $antispam(idx) "part $c"
# REPLACE: putdcc $antispam(idx) "join $c" WITH:
timer 5 [list putdcc $antispam(idx) "join $c"]
...
Edit: Added missing close-bracket
Last edited by Sir_Fz on Sat Apr 04, 2009 6:45 am, edited 1 time in total.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Danik wrote:I have a question.
On channel flood the eggdrop (server undernet) the eggdrop sets mode +m only. What do i need to change in the script or telnet, so the eggdrop will set mode +mir ?
Depending on which botnet flood protection setting. For example, for mass text floods the setting would be:
.chanset #channel ap:btextl 15:7 mir 60
where "mir" are the lock-modes.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

willyw wrote:should we want to disable any of these, the correct (safe) way to accomplish it, is to set those options to 0 ?
Like this:

Code: Select all

ap:codes: {r:0 b:0 u:0 c:0 30 w:k 2}
Is this correct?
Yes.
willyw wrote:
AP: Private botnet flood detected. Temporarly stopped answering recieved data.
Occasionally, I see that in partyline. Our bot is not part of a botnet.

What sort of thing is causing it, and what do I need to adjust?
This is triggered for private flood protections (i.e. when the bot is flooded in private). These settings are edited in the "PRIVATE PROTECTIONS" section of the script.
Post Reply