| View previous topic :: View next topic |
| Author |
Message |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Fri Nov 30, 2007 9:35 pm Post subject: Modification of antiproxy.tcl |
|
|
Hi all
I use antiproxy.tcl, done by metroid, and i m happy with it. But the proxy database it checks online arent that accurate, resulting of banning some innocent people. I request help for adding an exemption list. In this list we can have hotmasks like :
*!*@*.users.undernet.org
*!*@41.2??.*
*!*@*.ca
*!*@196.2*
etc, all kind of hostmasks
I think this is the proc to modify to check if the adress is the exemption list :
| Code: | proc proxy::checkuser {nickname hostname handle channel} {
checkstats $channel
if {[channel get $channel antiproxy] && [botisop $channel] && ![string match *users.quakenet.org* $hostname] && ![matchattr $handle fomn|fomn $channel] && ![isbotnick $nickname]} {
channel set $channel antijoins "[expr [channel get $channel antijoins] + 1]"
regexp {.*\@(.*)} $hostname -> hostname
if [regexp {[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$} $hostname] {
[namespace current]::check $hostname $hostname 1 $nickname $hostname $channel
} else {
dnslookup $hostname [namespace current]::check $nickname $hostname $channel
}
}
} |
and the second line particulary : | Code: | | ![string match *users.undernet.org* $hostname] |
You can find the complete script here : http://forum.egghelp.org/viewtopic.php?t=9978&start=0
It s the one with the nice ASCII art 
Last edited by Zircon on Fri Dec 14, 2007 6:39 pm; edited 1 time in total |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Dec 01, 2007 2:55 am Post subject: |
|
|
![matchattr $handle fomn
![string match *users.quakenet.org* $hostname]
The script exempts people in the bot's user list with the flags fomn, and exempts users logged in (using a usermask of *!*@*users.quakenet.org)
You can change that to *users.undernet.org to get the same result for people logged in by X on undernet.
So....if you want to exempt people, add them to yer bot userlist and give them the appropriate flag. |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Sat Dec 01, 2007 4:21 am Post subject: |
|
|
| Thanks for the reply. Yup, from the first beginnig of using this script months ago, i changed quakenet.org to undernet.org, and fomn to vgfomn to exepmt more people from being considered as proxies. But i have a big quizz channel, and the script ban many many of the players, due to the inaccuracy of the databases, and i cannot add all of them one by one to the userlist. Also, i cannot create just one user, and add it all the hosts i want to exempt, coz the quizz will then consider them as the same players, and it s gonna be a mess with the scores. So, adding an exemption list to this script, is the best way to do it in my humble opinion. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Dec 01, 2007 7:12 pm Post subject: |
|
|
Moved to Script Support & Releases.
Contacting the author (metroid) re improvements may also be of benefit. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Sat Dec 01, 2007 9:39 pm Post subject: |
|
|
| Yup, i started by contacting the author, but he has no time right now, and he agreed about posting here to request for modifying his script. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Dec 01, 2007 10:03 pm Post subject: |
|
|
| Zircon wrote: | | Yup, i started by contacting the author, but he has no time right now, and he agreed about posting here to request for modifying his script. |
Excellent  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Sun Dec 02, 2007 3:17 am Post subject: |
|
|
Yeah, and if someone can help me, it will be perfect  |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Thu Dec 06, 2007 4:32 pm Post subject: |
|
|
| No idea ? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Thu Dec 06, 2007 8:19 pm Post subject: |
|
|
| My suggestion would be simply don't use that script & proxy database if it's that poorly maintained. There are other scripts that use RBL's and there are other RBL's that are kept updated. Collateral damage is just part of the blacklisting game, so you either deal with it on a one-by-one basis, or you accept that some innocent people will be inadvertantly banned. |
|
| Back to top |
|
 |
|