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.

looking for a good flood protection script

Old posts that have not been replied to for several years.
Locked
B
Burke
Voice
Posts: 21
Joined: Mon Feb 07, 2005 9:33 pm

looking for a good flood protection script

Post by Burke »

hi

I testet sentinel.tcl from slennox but it`s not the right script for me. Reason: it`s always active on all channels (i can`t change this, right?) and it not only looks to 1 user, it looks to some users (this may be good for some kind of channels with low usage).

I don`t need color/notice/ctcp/massdeop protection (i can turn on +cCN and other overtake protection scipts.)

The script from MC_8 i testet too. It works, but if someone flood with more then 3 bots/proxys the bot will not ban them or he get excess flood.

The only thing i need is a ban function for flood-join/chan/nick. .chanset #channel flood-chan/nick/join works fine (it only observ 1 user) but it dosn`t ban. That`s the problem.

Will be cool if you can suggest me a script for that. Thanks.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Then simply set your channel mode to +R (Registered nicks only) if available on your network.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Use a proxy checker to ban people from your channel using proxys. There are varying scripts available some more inteligent than others. I just used a simple port scanning script to scan for open ports on 1080 8080 and 3128 these ports are usually used for proxys although thats not always the case, but you will find 90% of the proxy lists available for public use are on these 3 ports.

Hope this helps.
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
B
Burke
Voice
Posts: 21
Joined: Mon Feb 07, 2005 9:33 pm

Post by Burke »

No, +r is not good, because 50% of our users are not registred.

Proxyscanscripts are fine, but actual i don`t have a good which do not ban the false people. (not all flooders are proxys, there are clients(sometimes authed) and eggdrops too.)

Anyway, if you have an idea which script are the right for me, please post.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

where is the problem sentinel being activ on all channels? it wont take action, if its not opped? you can always change the bind commands in a way it will only trigger on a specified channel, if you want to avoid phrasing big channels text.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
B
Burke
Voice
Posts: 21
Joined: Mon Feb 07, 2005 9:33 pm

Post by Burke »

where is the problem sentinel being activ on all channels? it wont take action, if its not opped?
- because we got a "Quiz"channel. Sorry but i don`t have any traslation therfore. It`s a game channel, a bot ask something and you should write the answer. This can cause that 5-15 users type much things in a short time. In this kind of channel is such a script bad.

you can always change the bind commands in a way it will only trigger on a specified channel, if you want to avoid phrasing big channels text.
- that`s nice. please tell me which kind of binds and how i have to change them. the script should active on #a #b #c for example.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

first create a variable like 'set sentichans "#a #b #c"' in the config part of the script
then find near line 429

Code: Select all

proc sl_avflood {from keyword arg} {
  global botnet-nick botnick sl_ban sl_avbanhost sl_avbannick sl_avflood sl_avqueue sl_flooded sl_locked sl_txflood sl_txqueue
  set arg [split $arg]
  set chan [string tolower [lindex $arg 0]]
  if {![validchan $chan]
and add after (we are in the middle of an IF expression so make sure to add before the } closing bracket and after the ] !)

Code: Select all

 || ![string match -nocase *${chan}* $::sentichans]
I didnt test it, but it should work. I am currently unsure, the use of ::, but I think that was the way to use global varibles. If not, just add it to global and remove the :: :D.
Of course, this will only stop the raw bind to PRIVMSG, not for other binds to join, CTCP, notice and modes.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
B
Burke
Voice
Posts: 21
Joined: Mon Feb 07, 2005 9:33 pm

Post by Burke »

first create a variable like 'set sentichans "#a #b #c"' in the config part of the script
then find near line 429
- ok


and add after (we are in the middle of an IF expression so make sure to add before the } closing bracket and after the ] !)
- ok


I didnt test it, but it should work. I am currently unsure, the use of ::, but I think that was the way to use global varibles. If not, just add it to global and remove the :: .
- i think i get this. will test later.


Of course, this will only stop the raw bind to PRIVMSG, not for other binds to join, CTCP, notice and modes.
- this i don`t understand.

Slennox can you tell me please ?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

Burke wrote:Of course, this will only stop the raw bind to PRIVMSG, not for other binds to join, CTCP, notice and modes.
- this i don`t understand.

Slennox can you tell me please ?
read what the .tcl does in the header, then you know what it will still do, if you "cut off" the channel text.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Locked