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 ... 55, 56, 57 ... 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
ztian299
Halfop


Joined: 19 Apr 2008
Posts: 59
Location: *.no

PostPosted: Sun May 18, 2008 9:34 am    Post subject: Reply with quote

Sir_Fz possibilities for making it protect from spamming with /me ?
would be great
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun May 18, 2008 10:40 am    Post subject: Reply with quote

ztian299 wrote:
Sir_Fz possibilities for making it protect from spamming with /me ?
would be great

It already does.
_________________
Follow me on GitHub

- Opposing

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


Joined: 04 Jul 2006
Posts: 118
Location: France

PostPosted: Wed May 21, 2008 7:32 am    Post subject: Reply with quote

This morning, several of my chans were attacked by flooding drones.
Simultaneous mass join on 3 chans on which my eggdrop were, public flood, CTCP flood on the eggdrop and DCC chat connection attempts with it.
(Mass join and public flood has been lessen by dynamic limit fixed to (nb users)+3)

aplogs only shows this :
Quote:
[01:55:17] Kick de PdGVtZRobz sur #boulets pour la raison suivante : L'envoi excessif de notices n'est pas toléré. (2 lines in 1.42 secs) :: [Wed May 21 01:55:17 2008] - Banni 0 minutes
[01:55:17] Kick de EQbMqJgA sur #boulets pour la raison suivante : L'envoi excessif de notices n'est pas toléré. (2 lines in 1.418 secs) :: [Wed May 21 01:55:17 2008] - Banni 0 minutes
[01:55:19] Kick de CkFpa sur #boulets pour la raison suivante : L'envoi excessif de notices n'est pas toléré. (2 lines in 1.416 secs) :: [Wed May 21 01:55:17 2008] - Banni 0 minutes

(in english, that means kicks for notice flood)

The eggdrop failed to protect himself and the channel.

The mass join should have triggered +mRT channel modes but :
Quote:
[01:43] Tcl error [::AllProtection::joins massjoin]: wrong # args: should be "putquick arg"

concerned parameters :
Quote:
ap:cjoin: {3:2 5 kb 2}
ap:massjoin: {3:2 mRT 60}


The single user text repetition were controlled successfully.
Quote:
[01:44] [@] Boole!BooleUoO@EpiK-7C4C2319.w90-37.abo.wanadoo.fr KICK #uno misisi :Répétition de texte détectée. (5 répétitions en 13.089s) :: [Wed May 21 01:44:02 2008] - Banni 0 minutes
[01:44] misisi kicked from #uno by Boole: Répétition de texte détectée. (5 répétitions en 13.089s) :: [Wed May 21 01:44:02 2008] - Banni 0 minutes
[01:44] [@] Boole!BooleUoO@EpiK-7C4C2319.w90-37.abo.wanadoo.fr KICK #uno LiJkXqDvLeXK :Répétition de texte détectée. (5 répétitions en 13.197s) :: [Wed May 21 01:44:02 2008] - Banni 0 minutes
[01:44] LiJkXqDvLeXK kicked from #uno by Boole: Répétition de texte détectée. (5 répétitions en 13.197s) :: [Wed May 21 01:44:02 2008] - Banni 0 minutes
[01:44] [@] Boole!BooleUoO@EpiK-7C4C2319.w90-37.abo.wanadoo.fr KICK #uno alladin____ :Répétition de texte détectée. (5 répétitions en 13.365s) :: [Wed May 21 01:44:02 2008] - Banni 0 minutes
[01:44] alladin____ kicked from #uno by Boole: Répétition de texte détectée. (5 répétitions en 13.365s) :: [Wed May 21 01:44:02 2008] - Banni 0 minutes
(...)


CTCP flood protection on the eggdrop failed :
Quote:
[01:45] Tcl error [::AllProtection::pctcp ctcp]: wrong # args: should be "putquick arg"

concerned parameters :
Quote:
ap:bctcp: {4:10 mRT 60}
ap:ctcps: {4:20 15 kb 2}
ap:ctcpchecks: VERSION


Concerning DCC connection attempts flood, I don't think AllProtection can do anything.

I've been using AP for more than 2 years and globally, it handles isolate abuses successfully; but that time, more than 30 drones attacked the eggdrop directly and it was pretty intensive.
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: Wed May 21, 2008 8:22 am    Post subject: Reply with quote

Paste the output of '.set errorInfo'.
_________________
Follow me on GitHub

- Opposing

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


Joined: 04 Jul 2006
Posts: 118
Location: France

PostPosted: Wed May 21, 2008 1:57 pm    Post subject: Reply with quote

I would be happy to do so but the facts happened at a moment I was afk.
Must I contact the offender and ask him to attack again for testing purposes ? XD

Unfortunately I can't reproduce le problem at wish. Confused
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: Wed May 21, 2008 3:35 pm    Post subject: Reply with quote

Just type '.set errorInfo' if no other errors occured after this particular error then it's probably still logged. Also, I don't think the current versions (stable or beta) of AllProtection would produce such an error since putquick is properly used within the script.
_________________
Follow me on GitHub

- Opposing

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


Joined: 04 Jul 2006
Posts: 118
Location: France

PostPosted: Wed May 21, 2008 7:34 pm    Post subject: Reply with quote

I finally managed to reproduce part of the problem with a CTCP flood :
Code:
wrong # args: should be "putquick arg"
    while executing
"putquick "MODE $botnick +$apfp(rmode)" -next"
    (procedure "privl" line 6)
    invoked from within
"privl CTCP"
    ("ctcp" arm line 5)
    invoked from within
"switch -- $flood {
  "text" {if {[isbotnick [lindex [split $dest @] 0]]} { ptext f $nick $uhost $hand $arg }}
  "ctcp" {
   variable pctcpf
   foreach..."
    (procedure "::AllProtection::pctcp" line 3)
    invoked from within
"::AllProtection::pctcp ctcp $_ctcpr1 $_ctcpr2 $_ctcpr3 $_ctcpr4 $_ctcpr5 $_ctcpr6"


The version I'm using is 4.6b8.
Back to top
View user's profile Send private message Visit poster's website
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Wed May 21, 2008 7:44 pm    Post subject: Reply with quote

MenzAgitat wrote:
I finally managed to reproduce part of the problem with a CTCP flood :
Code:
wrong # args: should be "putquick arg"
    while executing
"putquick "MODE $botnick +$apfp(rmode)" -next"
    (procedure "privl" line 6)
    invoked from within
"privl CTCP"
    ("ctcp" arm line 5)
    invoked from within
"switch -- $flood {
  "text" {if {[isbotnick [lindex [split $dest @] 0]]} { ptext f $nick $uhost $hand $arg }}
  "ctcp" {
   variable pctcpf
   foreach..."
    (procedure "::AllProtection::pctcp" line 3)
    invoked from within
"::AllProtection::pctcp ctcp $_ctcpr1 $_ctcpr2 $_ctcpr3 $_ctcpr4 $_ctcpr5 $_ctcpr6"


The version I'm using is 4.6b8.

Either your using an ancient eggdrop ( < 1.5*) or you've renamed the original putquick, built your own 'putquick' to replace it, simply forgetting to support -next.
Back to top
View user's profile Send private message
MenzAgitat
Op


Joined: 04 Jul 2006
Posts: 118
Location: France

PostPosted: Thu May 22, 2008 8:01 am    Post subject: Reply with quote

I'm using Windrop 1.6.18 and the putquick command has not been replaced in any way (I just checked that).

my Tcl doesn't seem to support ?options? at all :
Quote:
<MenzAgitat> .tcl putquick
<Boole> Tcl error: wrong # args: should be "putquick arg"
<MenzAgitat> .tcl puthelp
<Boole> Tcl error: wrong # args: should be "puthelp arg"
<MenzAgitat> .tcl putserv
<Boole> Tcl error: wrong # args: should be "putserv arg"
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: Thu May 22, 2008 12:16 pm    Post subject: Reply with quote

You have some other Tcl script loaded which is overriding Eggdrop's [putquick] command.
Quote:
« Opposing » .tcl putquick
« Bot » Tcl error: wrong # args: should be "putquick text ?options?"

_________________
Follow me on GitHub

- Opposing

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


Joined: 04 Jul 2006
Posts: 118
Location: France

PostPosted: Thu May 22, 2008 8:08 pm    Post subject: Reply with quote

OMG you're right, I found that accent.tcl is the culprit.
Thank you for your help.
Back to top
View user's profile Send private message Visit poster's website
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Tue May 27, 2008 1:58 am    Post subject: Reply with quote

If I want to disable a feature for example "Advertising" how to disable it, what I need to comment ?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue May 27, 2008 4:27 am    Post subject: Reply with quote

eXtremer wrote:
If I want to disable a feature for example "Advertising" how to disable it, what I need to comment ?

All features are disabled via DCC, for example if ap:adv is set to "+ 180 kb 2" then what you need to change in order to disable it is the '+' to '-' so
Quote:
.chanset #channel ap:adv - 180 kb 2

will disable this feature on #channel.
_________________
Follow me on GitHub

- Opposing

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


Joined: 07 May 2008
Posts: 138

PostPosted: Tue May 27, 2008 8:38 am    Post subject: Reply with quote

Sir_Fz wrote:
eXtremer wrote:
If I want to disable a feature for example "Advertising" how to disable it, what I need to comment ?

All features are disabled via DCC, for example if ap:adv is set to "+ 180 kb 2" then what you need to change in order to disable it is the '+' to '-' so
Quote:
.chanset #channel ap:adv - 180 kb 2

will disable this feature on #channel.


But if I want to disable it on all channels ?!
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Tue May 27, 2008 10:24 am    Post subject: Reply with quote

Quote:
But if I want to disable it on all channels ?!

Then replace #channel by *
Code:
.chanset * ap:adv - 180 kb 2
Back to top
View user's profile Send private message
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 ... 55, 56, 57 ... 88, 89, 90  Next
Page 56 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