| View previous topic :: View next topic |
| Author |
Message |
ztian299 Halfop
Joined: 19 Apr 2008 Posts: 59 Location: *.no
|
Posted: Sun May 18, 2008 9:34 am Post subject: |
|
|
Sir_Fz possibilities for making it protect from spamming with /me ?
would be great |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun May 18, 2008 10:40 am Post subject: |
|
|
| 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 |
|
 |
MenzAgitat Op

Joined: 04 Jul 2006 Posts: 118 Location: France
|
Posted: Wed May 21, 2008 7:32 am Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
MenzAgitat Op

Joined: 04 Jul 2006 Posts: 118 Location: France
|
Posted: Wed May 21, 2008 1:57 pm Post subject: |
|
|
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.  |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed May 21, 2008 3:35 pm Post subject: |
|
|
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 |
|
 |
MenzAgitat Op

Joined: 04 Jul 2006 Posts: 118 Location: France
|
Posted: Wed May 21, 2008 7:34 pm Post subject: |
|
|
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 |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Wed May 21, 2008 7:44 pm Post subject: |
|
|
| 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 |
|
 |
MenzAgitat Op

Joined: 04 Jul 2006 Posts: 118 Location: France
|
Posted: Thu May 22, 2008 8:01 am Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu May 22, 2008 12:16 pm Post subject: |
|
|
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 |
|
 |
MenzAgitat Op

Joined: 04 Jul 2006 Posts: 118 Location: France
|
Posted: Thu May 22, 2008 8:08 pm Post subject: |
|
|
OMG you're right, I found that accent.tcl is the culprit.
Thank you for your help. |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Tue May 27, 2008 1:58 am Post subject: |
|
|
| If I want to disable a feature for example "Advertising" how to disable it, what I need to comment ? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue May 27, 2008 4:27 am Post subject: |
|
|
| 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 |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Tue May 27, 2008 8:38 am Post subject: |
|
|
| 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 |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Tue May 27, 2008 10:24 am Post subject: |
|
|
| 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 |
|
 |
|