Code: Select all
putlog "proxycheck: got host $host = ip $ip from RBL $rbl ... banning"
newchanban $channel "*@$orighost" "proxychk" "SPAM." $proxycheck_bantime
Code: Select all
putlog "proxycheck: got host $host = ip $ip from RBL $rbl ... kicking"
putserv "KICK $channel $nick :Possible spam/advertize/invite bot or drone."
this dosen't make much senseWhen they rejoin they will not get kicked for say abt 10 mins(exempt for this period)
Code: Select all
#don't apply to friends, voices, ops
if {[matchattr $handle fov|fov $channel]} {
return 0
}
Code: Select all
#don't apply to friends, voices, ops
if {[matchattr $handle fov|Pfov $channel]} {
return 0
}
Code: Select all
if {$status} {
putlog "proxycheck: got host $host = ip $ip from RBL $rbl ... banning"
newchanban $channel "*@$orighost" "proxychk" "SPAM." $proxycheck_bantime
}
#if we didn't get a host, they're not in RBL
}
Code: Select all
if {![validuser "proxychk"]} {
adduser "proxychk"
setuser "proxychk" COMMENT "Added to prevent multi-RBL lookups of users"
putlog "proxycheck: created new user 'proxychk' to prevent mult-RBL lookups of users"
}
if {$status} {
putlog "proxycheck: got host $host = ip $ip from RBL $rbl ... kicking"
putserv "KICK $channel $nick :Possible spam/advertize/invite bot or drone."
chattr proxychk +|+P $channel
setuser "proxychk" HOSTS "*!*@$orighost"
putlog "proxycheck: exempting $orighost for 10min to prevent mult-RBL lookup"
timer 10 [list delhost "proxychk" "*!*@$orighost"]
}
#if we didn't get a host, they're not in RBL
}
Code: Select all
set proxycheck_rbls { "cbl.abuseat.org opm.blitzed.org dnsbl.ahbl.org tor.ahbl.org" }
If the error is the same/simlar to this one in referance to the "Â" char's then its down to the shell, it would be worth while uploading an other copy after removing the current one.[13:24] Tcl error [proxycheck_check3]: invalid command name "Â adduser"
Ok changegamble27 wrote:its great going,its working nicely,i was jus wondering how can we ignore scanning for certain mask like *!*@121.121.* or *!*@203.82.* can we exempt scanning for such mask?? thanks
Code: Select all
#don't apply to friends, voices, ops
if {[isop $nick $channel] || [isvoice $nick $channel] || [matchattr $handle fov|Pfov $channel]} {
return 0
}
Code: Select all
#don't apply to friends, voices, ops
if {[isop $nick $channel] || [isvoice $nick $channel] || [matchattr $handle Pfov|Pfov $channel]} {
return 0
}
or if there already a user in the bot, you can exempt them from being scanned (this will be globally, all channels) with.+host proxychk *!*@121.121.*
in DCC/telnet with the eggdrop..chattr <there-handle> +P
Code: Select all
set proxycheck_rbls [list "dnsbl.ahbl.org" "tor.ahbl.org" "cbl.abuseat.org " ]