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
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

but that means a voiced user can flood/caps/whatever the channel,
and i only want to exempt them for cloning.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

You do not want them exempted from every other single channel abuse bar one?

Either use exempt mode 2 (Half-Ops) and turn off clone detection or use mode 3 and leave clone detection on.

As near as I can tell there is no way to achieve what you have requested.

PS: With this script only users that you wish to give party line access to need be added to the bot.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Domin
Halfop
Posts: 72
Joined: Sat Jun 10, 2006 9:10 am

Post by Domin »

excempts in the clone scanner can be addet manualy if you edit the script, i did it and it works fine, it does however mean that you have to add each and everyone of the users you wish to exempt from the clone scanner manualy.

Search for this line in the config file:

Code: Select all

# Random drones: What masks to exempt?
set drone(exempt) { "*example1*!*@*" "*!*example2*@*" "*!*@example3.net" }
Look at page 23 in this tread there i ask the question about the clone scanner and Opposing tels that he forgot to implement the add function for it, so right now the only way to add execpts to clone scanner is to add them by eding the config.
Regards
Domin @ efnet
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

AllProtection4.5 : fail to stop join/part flood with partmsg

Post by Zircon »

Hello all

This is my first time here. I have a channel registred on Undernet with X, and i recently installed an eggdrop v1.6.17 to protect my channel against mass join/part flood. I use AllProtection 4.5. Yesterday, my channel was victim of join/flood part, and my bot didn't react as he was supposed to do. All the values of AP variable were at defaults except few ones that i changed :
ap:repeatc: 50
ap:limit: 0
ap:revdoor: 1
ap:clones: 4

By saying the bot didn't react good, i mean, the revdoor/brevdoor protection didn't work, the partmsg flood protection didnt work, and even when the bot attempted to put a ban, it didn't work. So i ended to have 53 join/part flood, ( 53 join and 53 part) from 17 hosts :(

here are some examples :

Example 1 : after the first 4 revdoor, the bot said : "AP: Locked #culture due to botnet part msg flood.", but it took no action against it.

Example 2 : after the first 10 revdoor, and the 3rd revdoor from this same host, the bot said : "JOIN flood from @67-51-34-154.nrp4feld.roc.ny.frontiernet.net! Banning", but it took no action against it.

[15:34] gpghpxy (~jfakhngk@67-51-34-154.nrp4feld.roc.ny.frontiernet.net) joined #culture.
[15:34] gpghpxy (jfakhngk@67-51-34-154.nrp4feld.roc.ny.frontiernet.net) left #culture (Jh0N-T`(!)`Gr0uP`'.`.''EaStErN`(!)`RuLeZ`'.`.''Jh0N-T`(!)`gR0uP`'.`.''EaStErN`(!)`RuLeZ`'.`.''Jh0n-T`(!)`Gr0uP`'.`.''EaStErN`(!)`RuLeZ`'.`.''Jh0N-T`(!)`gRouP'.`.'eAsTeRn`(!)`ruLeZ`'.`.''Jh0N-T`(!)`Gr0uP`'.`.''EaStErN`(!)`Set

[15:34] JOIN flood from @67-51-34-154.nrp4feld.roc.ny.frontiernet.net! Banning.

[15:34] muiqtier (~gewilzy@67-51-34-154.nrp4feld.roc.ny.frontiernet.net) joined #culture.
[15:34] muiqtier (gewilzy@67-51-34-154.nrp4feld.roc.ny.frontiernet.net) left #culture (Jh0N-T`(!)`Gr0uP`'.`.''EaStErN`(!)`RuLeZ`'.`.''Jh0N-T`(!)`gR0uP`'.`.''EaStErN`(!)`RuLeZ`'.`.''Jh0n-T`(!)`Gr0uP`'.`.''EaStErN`(!)`RuLeZ`'.`.''Jh0N-T`(!)`gRouP'.`.'eAsTeRn`(!)`ruLeZ`'.`.''Jh0N-T`(!)`Gr0uP`'.`.''EaStErN`(!)`Set By XDiablesse)

also if u remarked, the part msg have 250 caracters, but the bot didnt ban, he was supposed to do coz the limit is 180.

Another thing weird, is when i did the command ".bans all" after the end of that attack, the bot says that it puts the some of the bans, which is completely false, a friend of mine was there and he did. The bot tried to make the ban it didnt suceed. Here is an example :

mode change '+b *!*@67-51-34-154.nrp4feld.roc.ny.frontiernet.net' by B|GWAVE

and .bans all give :
[ 7] *!*@67-51-34-154.nrp4feld.roc.ny.frontiernet.net (expires at 18:34) Zircona: join flood Created 15:34

so these following bans werent made by the bot even if it says so, actually the bot said "Join Flood @host.domain Banning", but it didnt put the ban, my friend B|GWAVE does :

[ 1] *!*@adsl-216-147.tricom.net (expires at 18:34) Zircona: join flood Created 15:34
[ 2] *!*@222.174.218.106 (expires at 18:34) Zircona: join flood Created 15:34
[ 3] *!*@ip68-97-13-195.ok.ok.cox.net (expires at 18:34) Zircona: join flood Created 15:34
[ 4] *!*@221.160.159.25 (expires at 18:34) Zircona: join flood Created 15:34
[ 5] *!*@193.95.91.84 (expires at 18:34) Zircona: join flood Created 15:34
[ 6] *!*@c-69-254-111-229.hsd1.tn.comcast.net (expires at 18:34) Zircona: join flood Created 15:34
[ 7] *!*@67-51-34-154.nrp4feld.roc.ny.frontiernet.net (expires at 18:34)Zircona: join flood Created 15:34

At the end of the attack, the bot made the following bans even if there is : *, means "not placed by bot" :

* [ 8] *!*@ool-43536ac2.dyn.optonline.net (Zircona) (active 04:32)
* [ 13] *!*@85.11.166.88 (Zircona) (active 04:11)
* [ 17] *!*@c3eea481a.cable.wanadoo.nl (Zircona) (active 03:39)
* [ 18] *!*@201.242.211.92 (Zircona) (active 02:39)
* [ 19] *!*@cpq4784.student.iastate.edu (Zircona) (active 02:22)

Hope u have all the informations u need to have a clear idea.

i sent the details of this attack to sir_Fz. Can some1 help me with this and tell me why it didnt work ? or what wrong thing i did maybe. Is it a bug ?

Hope this is the place to post such things.

Thanks in advance.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

You have the settings wrong.

Code: Select all

ap:repeatc: {25 15 w:k:kb 2}
ap:revdoor: {30 15 3}
ap:clones: {0 30 kb 2}
.chanset #channel ap:repeatc <number-of-letters> <btime> <pmeth> <btype>
.chanset #channel ap:revdoor <seconds> <btime> <btype>
.chanset #channel ap:clones <clones-number> <btime> <pmeth> <btype>
Punishment method (pmeth):
w : Warn offender
k : Kick offender
kb : Kick + Ban offender
Ban type (btype):
0 : *!user@full.host.tld
1 : *!*user@full.host.tld
2 : *!*@full.host.tld
3 : *!*user@*.host.tld
4 : *!*@*.host.tld
5 : nick!user@full.host.tld
6 : nick!*user@full.host.tld
7 : nick!*@full.host.tld
8 : nick!*user@*.host.tld
9 : nick!*@*.host.tld
You need to reset your channel to the defaults and very carefully read all the instructions/settings in the script.

Code: Select all

.ap:reset #chan
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Hello Alchera

Thanks for the answer. But as i said, i use allprotection 4.5, not 4.6, so i guess i have the right settings with 4.5, almost all of them are set to defaults, except the ones i mentionned.. I ll use 4.6 when it will be fully tested and added to www.eggdrop.com/tcl.htm
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

You'd be wise to upgrade to the latest script. The only "bugs" so far appear to be those users that do not read the configuration information.

Sir_Fz will be unavailable until further notice due to the current security problems in the Middle East. So do not expect support for 4.5 any time soon.
... i guess i have the right settings
Not a statement of confidence! I reiterate that you should reset to the defaults and read the configuration information within the script carefully (which no one ever does).

Check your channel settings also as a full banlist will stop anything from working.
Hint:

Code: Select all

.chanset #chan +dynamicbans
eggdrop.conf:
# Set here the maximum number of bans you want the bot to set on a channel.
# Eggdrop will not place any more bans if this limit is reached. Undernet
# currently allows 45 bans, IRCnet allows 30, EFnet allows 100, and DALnet
# allows 100.
set max-bans 30
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
d
dhp1080
Voice
Posts: 8
Joined: Mon Aug 14, 2006 4:13 pm

Post by dhp1080 »

I'm having an issue with botnet protection. I don't know what exactly is wrong (hoping for maybe a way to set a higher log level).

I have a pseudo-botnet (about 30 users) for testing out my spamserv. I have them all join the channel, joining all within about 2 seconds. My services nicely react to this problem, but the script doesn't play it's role in setting channel modes and informing that the channel has been locked.

This might be some configuration issue, but I figure it'd be beneficial to ask some people who might know more than I do.

Code: Select all

ap:massjoin: {6:3 Mr 4}
I don't have any ignores that would effect the said botnet, but yet I still see no action on the part of the script. Any input would be appreciated.
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Hello Alchera

i should say "i m sure the settings are right" instead of "i guess settings are right". I read carefully every line of the configuration information within the script. I m the kind of person that read the manual before switching on a new tv.....The settings are perfect.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

@ Zircon:

Would I be correct in assuming you managed to contact Opposing on IRC and that he suggested an upgrade of your eggdrop (1.6.18) and the script?

If so, I suggest you do as (as Opposing already stated) there are no major "bugs" reported to date.

I use the script extensively and have so far only found two minor "quirks" (as posted) which are of no consequence as neither disrupts the correct functioning of the script (v4.6b5).

I reiterate what I have previously posted in that a full channel ban list will prevent any ban being set (by anyone) although every indication is that a ban has been correctly set by the user.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Hello Alchera

That s right, i contacted Opposing yesterday, on IRC. He suggested me to upgrade to 4.6, althought he said nothing about upgrading the eggdrop, but i think he wasn't knowing that my bot is v1.6.17

Concerning the size of the banlist, the setting in the channel is +dynamicbans, and the banlist was totally empty before the attack.

Is there a major change between 1.6.17 and 1.6.18 ?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Zircon wrote:Is there a major change between 1.6.17 and 1.6.18 ?
You can view the list of changes here.

A major fix over 1.6.17 is a bug in the channel file caused by "excessive" .chanset commands i.e. All Protection.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Domin
Halfop
Posts: 72
Joined: Sat Jun 10, 2006 9:10 am

Post by Domin »

I wouldt also suggest upgrading to .18 since i remember Opposing writing in this tread that the script runs best on that version, and in case of any problems try upgrading before reporting bugs :wink:
Regards
Domin @ efnet
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

Hello Alchera, Domin

Thanks for ur advices, i ll try to follow ur suggestions, and upgrade. I ll try to make some tests, and i ll give u a feedback whenever it's done.

Thanks
d
dhp1080
Voice
Posts: 8
Joined: Mon Aug 14, 2006 4:13 pm

Post by dhp1080 »

I've been using this script for awhile now, and it functions nearly flawlessly for what it's designed to do. I was only wondering about 2 things.

1) Why is the ban for the user set after the kick? I'm sure that having the user not know the banned mask is great, but banning first stops the user from sending messages faster.

2) Is there any simple way to completely stop the script from limiting the rate at which it sends commands? My bot is opered and was compiled to have a 0 wait time in sending messages (per another forum thread).

Any help is appreciated as always.
Post Reply