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
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

Detecting "drone nicks" is an academic pursuit. If you're interested in practical flood protection, I'd suggest not spending too much time on it. It may be effective initially after a lot of effort on implementation, but with far less effort, flooders will respond by altering their nick generators to use more vowels or dictionary words.

The end result will be a small victory for the flooders. Currently, "drone nicks" have the unintended benefit of being distinguishable from regular users, which can simplify the job of IRC and channel operators. That will disappear.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

sKy wrote:My only suggestion:
If there are other scirpts which provides publik commands (!help or whatever), the bind pub will not trigger your bind pubm against channel/repeatingflood.
Maybe you can find a way to let each bind pub trigger you bind pubm too?

Anyway, really great script. You have done a good work.
Well, I'm sure that the person who has access to public commands must have atleast a +f or +mo flags. Note that allfloodprotection exempts +f and +mo users, also voices and ops.
Alchera wrote:I am guessing the aim is to detect and ban consonant nicks
Looking at my translated proc, it doesn't only ban consonant nicks... It first checks if the nick has no vowels (except for y) if it does, then it checks if other characters are in the nick. Note that there are a few checks on the nick and ident (i.e. is alpha, lowercase, length...etc) before checking for vowels, characters...etc
slennox wrote:The end result will be a small victory for the flooders. Currently, "drone nicks" have the unintended benefit of being distinguishable from regular users, which can simplify the job of IRC and channel operators. That will disappear.
I agree with this. Currently nosense:kick pretty much works for me as my bot is oped in a channel where alot of "such" nicks join, but it may not work if other types of nicks is used... so you're right, in the end there can be found a way through it.
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

What is 'is alpha' for string match? I read the manual but I was unable to understand the meaning.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

alphanumeric, [a-zA-Z0-9], i.e. letter or digit
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

demond wrote:alphanumeric, [a-zA-Z0-9], i.e. letter or digit
Actually, it's letters only [A-z].
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

right, the one I meant is actually alnum
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Hey FZ. I have the script running now and all seems to be working as expected. I shall log status for a while see if any errors pop up. Thanks for adding those suggestions. I can remove 4 seperate scripts now ;)
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

^DooM^ wrote:Hey FZ. I have the script running now and all seems to be working as expected. I shall log status for a while see if any errors pop up. Thanks for adding those suggestions. I can remove 4 seperate scripts now ;)
Cool :) lets see if there're no problems from now till next week (as I haven't found any myself and there were no new bug reports) I'll release the complete (non-beta) script with some improvements to the code and a new requested feature. Thanx for your help.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Version 3.8b releasd. I've made alot of changes to the code, bug fixes and added 2 new features. Hopefuly, this will be the last BETA version, and after fixing all bugs (if any) in this version I'll release the complete bugfree version, unless something happens :P

I hope all errors/bugs would be reported and not just wait for someone else to report them, don't bargain on that :wink: Thank you.
User avatar
Pixelz
Voice
Posts: 24
Joined: Wed Jun 15, 2005 9:37 am
Location: EFnet

Post by Pixelz »

While I haven't acually used your script I did read through this thread and had a quick look at the code. I applaud your initiative to create a sentinel replacement, even if that wasn't your initial intent. Anyway, if you want feature suggestions, here's a few from me.

I'm a big fan of dynamic settings, so I'd suggest adding some of those. If nothing else, channel flags for settings like textl(chans). A few others might be useful to have dynamic aswell but this type of setting is the most obvious one.

Another thing you might want to consider is some type of roles system for a botnet running this script. For instance, one bot could be assigned to the more trivial aspects of flood protection such as control codes, swearing and capslock, while others could concentrate on more critical things.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

I didn't use dynamic settings because there would be a lot of settings to add in allfloodprotection's case, so I find it better to leave all configurations in the script. As for the botnet suggestion, why not add the script on different bots and configure it as you want on each bot :P
User avatar
Pixelz
Voice
Posts: 24
Joined: Wed Jun 15, 2005 9:37 am
Location: EFnet

Post by Pixelz »

The only setting that would be critical to have dynamic is which channels should have what flood protections. It's fine to edit the tcl each time you add and remove channels as long as someone who acually have access to the shell is doing the adding. While there are indeed alot of settings, you wouldn't acually want to change most of them very often. You would however perhaps want capslock kick in big public channels but not in small private ones. Another aspect of this is that it's just not practical to edit files once you reach a certain number of bots in your net.

As for botnet support, you really would have to use different configurations on different bots with this script as it stands now. Especially if you want to use the warn function, or you could end up with your entire net warning people at the same time. Simply creating a function that figures out what each bot should do when they link would really improve the usability of this script.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

I agree with Pixelz, a general channel-oriented script should have all of its settings as setudef's - the user shouldn't be bothered to edit the script itself
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

I'm not sure about that, it's still alot of udefs. for example if we use setudef flag, there would be about 20 flags for flood type on each channel, and if I use setudef str then I can add 1 flag and like 20 strings into it which would be a better idea but still alot of options in it. So IMO it's best as it is.

As for the botnet idea, well it'll need some time for coding and debugging which I'm not so enthusiastic in doing at the time especialy that my focus right now is to release the complete bug free script which is on the verge of being done. But, I'll keep the idea in mind for the near future (hopefully).

I had been thinking of releasing two versions of the script, like 1 which supports kills/klines and one that doesn't so other users won't have to put up with extra codes.
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Releasing one for botnet is more complicated and messy. Why can't 1 bot do the same work, which several bots would do!

Kills and klines in my idea woudn't be so necessary, only if the bot is opered up on a small network, plus different IRCd's have different umodes and services to check for all these certain types of floods and etc.

Just focus on improving the code, making it smaller and more effective.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Post Reply