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.

sentinel.tcl or eggdrop1.6.12

Old posts that have not been replied to for several years.
Locked
A
AW

sentinel.tcl or eggdrop1.6.12

Post by AW »

Hi, i have noticed if there are floods going on, and flooders are using an ident ~flooder@...., bot is banning an ident *!*flooder@*, even strict-host is set to 1. Any advise/suggestions to fix this, because since strict-host is set to 1, it should ban *!~flooder@*..

thanks
regards
AW
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I beleive strict host is applied only for adding users, and matching user-records.
A
AW

Post by AW »

Thanks ppslim, is there anyway to fix this, because flooders used mostly ~ident@, and they try to use ops/bots's ident, so if bot will ban like *!~ident@*, this will rid flooders and will save those users, don't have ~
so another words if flooders are using an ident ~ident@.. get baned *!~ident@* or if they are using an ident without ~ like ident@... get baned *!ident@*
i saw these codes, just like to make sure, because don't want to break the script.
proc sl_dcheck {bhosts} {
set blist ""
foreach bhost $bhosts {
set baddr [lindex [split [maskhost $bhost] "@"] 1]
set bident [string trimleft [lindex [split $bhost "@"] 0] "~"]

foreach bident [array names bidents] {
if {$bidents($bident) >= 2} {
lappend blist *!*$bident@*
}
}
return $blist
}

if i remove "~" from-> set bident [string trimleft [lindex [split $bhost "@"] 0] "~"]

and change lappend blist *!*$bident@* to -> lappend blist *!$bident@*

is that ok??

Thanks
regards
AW
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

THat would leave strick ident bans, but yes, in effect it should work.
Locked