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 

Test version of sentinel.tcl v4.09.1
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
slennox
Owner


Joined: 22 Sep 2001
Posts: 593

PostPosted: Tue Jan 18, 2005 5:44 pm    Post subject: Test version of sentinel.tcl v4.09.1 Reply with quote

I've finally made some time to work on sentinel.tcl and prepare an updated version. While preparing it, I had a look at the overhauled version that I'd been working on a few years ago, and although it appears mostly complete, I concluded that it would take too much time to sufficiently refamiliarise myself with it and retest everything. So good old v4.09 with an oft-requested feature or two added will have to do.

v4.09.1-test1 for netbots.tcl users (I don't know yet whether I'll be releasing a standalone version) fixes a small bug in the nick flood detection and adds that most requested feature: custom lock modes. There is one caveat: the +i and +m modes remain. This was to reduce the complexity of the modifications and prevent an end-run attack on weaker modes.

You can download test1 here. To install it, just overwrite the existing sentinel.tcl and .rehash. You'll find the new sl_locktimes setting at the top of the script, including a description of it. I wouldn't bother moving this setting to netset.tcl for now; just adjust it in place. Note that the sl_ilocktime and sl_mlocktime settings in your netset.tcl are no longer used and will be ignored. After loading the new version, type .sentinel to check that your lock modes/times are set as expected.

Problems should be reported in this thread. Logfiles demonstrating problems can be e-mailed to me directly.
Back to top
View user's profile Send private message Visit poster's website
slennox
Owner


Joined: 22 Sep 2001
Posts: 593

PostPosted: Thu Jan 20, 2005 6:41 am    Post subject: Reply with quote

Test2 is now available. This adds some text and notice flood detection in a way that was relatively simple to implement--as part of an amalgamated text/notice/tsunami/avalanche mechanism. Please refer to the section at the top of the test script for more information.
Back to top
View user's profile Send private message Visit poster's website
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Sun Jan 23, 2005 9:11 pm    Post subject: Reply with quote

Oh a new final version of sentinel is finally out! after waiting a long interval of 3 years Razz
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Jan 23, 2005 11:29 pm    Post subject: Reply with quote

I've been using Test2 version of sentinel and am pleased with its' performance. So far, with a number of attempts to text flood a number of channels I have bots in, it's performed as expected. In one channel (which I am actually sitting in to watch) last night 6 flood bots entered and only managed to get a total of 12 lines in before the channel locking kicked in; bearing in mind that I have yet to still "play" with the sl_txlength setting. Smile                                           
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Vixs
Voice


Joined: 15 May 2004
Posts: 12

PostPosted: Mon Feb 14, 2005 8:37 am    Post subject: Reply with quote

I am running eggdrop v1.6.18+morecopyrights and have loaded the test2 file and this is wat the error it shows

Code:
<RockBabe> [16:38] can't read "sl_bxsimul": no such variable
<RockBabe>     while executing
<RockBabe> "if {$sl_bxsimul} {
<RockBabe>   bind raw - 001 sl_bxserverjoin
<RockBabe>   if {![info exists sl_bxonestack]} {
<RockBabe>     set sl_bxonestack 0
<RockBabe>   }
<RockBabe>   if {![info exists sl_bxversion..."
<RockBabe>     (file "scripts/sentinel.tcl" line 1115)
<RockBabe>     invoked from within
<RockBabe> "source scripts/sentinel.tcl"
<RockBabe>     (file "eggdrop.conf" line 1371)




Edit: I realised Rolling Eyes , Does this require netbots to work?
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Feb 14, 2005 10:23 am    Post subject: Reply with quote

Vixs wrote:
Edit: I realised Rolling Eyes , Does this require netbots to work?

Oh, very much so. Razz
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
mm
Halfop


Joined: 01 Jul 2004
Posts: 78

PostPosted: Mon Feb 14, 2005 9:47 pm    Post subject: Reply with quote

Hi, how the setting will work for undernet, since undernet has mode +r and may be doesn't need +i
so should i set
set sl_locktimes {r:120 m:60}?

thanks
_________________
MM
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue Feb 15, 2005 7:05 am    Post subject: Reply with quote

Yes, that should work fine. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
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: Tue Feb 15, 2005 8:08 am    Post subject: Reply with quote

Quote:
There are two rules. First, the minimum locktime for any mode is 30 seconds. Second, modes +i and +m must be included.

I guess you can't remove +i and +m.
_________________
Follow me on GitHub

- Opposing

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


Joined: 01 Jul 2004
Posts: 78

PostPosted: Tue Feb 15, 2005 11:14 pm    Post subject: Reply with quote

Yeah, well i've upload the test2 with the following setting
Quote:
set sl_locktimes {i:30 m:60 r:60}
set sl_txflood 6:15
set sl_txlength 180
set sl_nclength 1
set sl_linecap 50:15


then i have used few clone ip's to test this using control char, bold etc, but it didn't trigger at all..
when i do .sentinel i can see the setting is there
_________________
MM
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Wed Feb 16, 2005 1:51 am    Post subject: Reply with quote

with a bit teaking I got this test version running as standalone. you just need the settings from netset.tcl and the procs nb_sendcmd and nb_killutimer (i have bitchx simul disabled Wink) from netbot.tcl.

PS: beat me, if I missed any change I made Razz.

PPS: I changed the locktime setting to this
Code:
if { $network == "QuakeNet" } {
   set sl_locktimes {i:30 m:30 r:300}
} elseif { $network == "euIRCnet" } {
   set sl_locktimes {i:30 m:30 R:300}
} else {
   set sl_locktimes {i:120 m:30}
}
probably only intresting when 2 bots running on diffrent networks are running on same directory. But maybe you consider using the "only regististred" Mode in flood cases, this mode will block most multi-host spamer and leave the channel free for kind registred chatters Wink.
_________________
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...
Back to top
View user's profile Send private message MSN Messenger
mm
Halfop


Joined: 01 Jul 2004
Posts: 78

PostPosted: Wed Feb 16, 2005 11:33 pm    Post subject: Reply with quote

Sorry test2 version is working great. thank you to slennox
_________________
MM
Back to top
View user's profile Send private message
arvent
Voice


Joined: 13 Mar 2012
Posts: 4
Location: Bulgaria

PostPosted: Wed Mar 28, 2012 2:14 pm    Post subject: ban mask Reply with quote

Hii. I use netbots.tcl v4.10. When sentinel get someone banned it get double * in front of the inent.
I have set it with set sl_masktype 2 in order to get this ban mask: *!*ident@*.domain.com, but instead get the: *!**ident@*.domain.com.
Am I doing something wrong and the most important what can I do to fix it?
Thanks in advance.
P.S.
Great work with the scripts. Brings much joy and safety.
Chears. Very Happy
Back to top
View user's profile Send private message
slennox
Owner


Joined: 22 Sep 2001
Posts: 593

PostPosted: Thu Mar 29, 2012 7:38 pm    Post subject: Re: ban mask Reply with quote

arvent wrote:
I have set it with set sl_masktype 2 in order to get this ban mask: *!*ident@*.domain.com, but instead get the: *!**ident@*.domain.com.
Am I doing something wrong and the most important what can I do to fix it?


Looks as though an argument was added to the masktype command in eggdrop 1.6.20 allowing selection of a hostmask type, but the new default type is different from what the command would've returned prior to 1.6.20, which can break compatibility with scripts that expect it to behave as documented in 1.6.19 and earlier.

A small change to line 1155 (for the sentinel.tcl included with netbots.tcl v4.10) will probably fix it:

Replace:
Code:
    2 {return *!*[lindex [split [maskhost $uhost] "!"] 1]}


With:
Code:
    2 {return *!*[lindex [split [maskhost $uhost 0] "!"] 1]}
Back to top
View user's profile Send private message Visit poster's website
arvent
Voice


Joined: 13 Mar 2012
Posts: 4
Location: Bulgaria

PostPosted: Fri Mar 30, 2012 5:34 am    Post subject: Re: ban mask Reply with quote

You are correct about the eggdrop version. I am using 1.6.21.
The ban mask change with the new line to: *!*ident@machine.domain.com as it is in sl_masktype 1.
Thanks for your replay and efforts.
Best Smile
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 1, 2  Next
Page 1 of 2

 
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