egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)
Goto page Previous  1, 2, 3 ... 66, 67, 68 ... 88, 89, 90  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Mar 03, 2009 3:16 am    Post subject: Reply with quote

@FireWarrior
The problem is with your ap:antispam channel-settings, It is not enabled on any of your channels. Notice the "-" in
Quote:
<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 Wink
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
FireWarrior
Voice


Joined: 28 Oct 2008
Posts: 19

PostPosted: Wed Mar 04, 2009 12:22 am    Post subject: Many Thanks! Reply with quote

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.
Back to top
View user's profile Send private message
halloaizq
Voice


Joined: 27 Aug 2007
Posts: 24

PostPosted: Tue Mar 17, 2009 8:49 am    Post subject: Anti Spambot Reply with quote

[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 :
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Mar 17, 2009 9:31 am    Post subject: Reply with quote

at line 1846
Code:
...
putdcc $antispam(idx) "part $c"
putdcc $antispam(idx) "join $c"
...

Replace
Code:
putdcc $antispam(idx) "join $c"

with
Code:
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...
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
evildude
Voice


Joined: 03 Feb 2004
Posts: 24

PostPosted: Tue Mar 17, 2009 12:31 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Mar 17, 2009 2:32 pm    Post subject: Reply with quote

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.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
halloaizq
Voice


Joined: 27 Aug 2007
Posts: 24

PostPosted: Tue Mar 17, 2009 11:30 pm    Post subject: Reply with quote

Sir_Fz wrote:
at line 1846
Code:
...
putdcc $antispam(idx) "part $c"
putdcc $antispam(idx) "join $c"
...

Replace
Code:
putdcc $antispam(idx) "join $c"

with
Code:
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 :
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Mar 18, 2009 2:56 pm    Post subject: Reply with quote

You want it to change its nick from a predefined list before it rejoins channels?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
halloaizq
Voice


Joined: 27 Aug 2007
Posts: 24

PostPosted: Thu Mar 19, 2009 5:05 am    Post subject: Reply with quote

Sir_Fz wrote:
You want it to change its nick from a predefined list before it rejoins channels?


yes .. so how?
_________________
: halloaizq :
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Danik
Halfop


Joined: 15 Jun 2008
Posts: 49
Location: Moldova

PostPosted: Fri Mar 27, 2009 11:40 am    Post subject: Reply with quote

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 ?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Mar 27, 2009 11:55 pm    Post subject: Reply with quote

Just want to confirm something:

Regarding reverse, bold, underline, and color -
Code:

 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:

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.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sat Mar 28, 2009 12:06 am    Post subject: Reply with quote

Quote:

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
Quote:

/msg botnick help

from a nick that is not in the bot's userfile.


Thanks
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Mar 28, 2009 6:32 pm    Post subject: Reply with quote

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:
...
# 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:
...
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
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts


Last edited by Sir_Fz on Sat Apr 04, 2009 6:45 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Mar 28, 2009 6:33 pm    Post subject: Reply with quote

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:
Quote:
.chanset #channel ap:btextl 15:7 mir 60

where "mir" are the lock-modes.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Mar 28, 2009 6:33 pm    Post subject: Reply with quote

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:
ap:codes: {r:0 b:0 u:0 c:0 30 w:k 2}


Is this correct?

Yes.

willyw wrote:
Quote:
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.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 66, 67, 68 ... 88, 89, 90  Next
Page 67 of 90

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber