Last modified: 2008-06-05 15:12:46 UTC
I find Tor gives this script out to auto-block Tor in something called Python, which I don't believe any webhosts run: http://tor.eff.org/svn/trunk/contrib/exitlist Then there's a DNSbl that is supposed to lookup Tor http://www.ahbl.org/docs/torbl.php So maybe MediaWiki could integrate code to do either a regular check and update of a tor list like once a day. Or have some kind of custom DNSbl (aside from SORBS) that one can inpute any DNSbl to use for blocking.
1) The script appears to only work if you have Tor installed, although I don't claim to know much about Tor and could be wrong. 2) There's already code to use arbitrary DNSBLs, IIRC, just it's not used by the WMF because there's no way to override false positives. There was some talk of maintaining our own DNSBL and updating it in real time, but it never got anywhere.
Where is the code for "code to use arbitrary DNSBLs"? No mention in defaultsettings.php An extension?
Working on it as an extension.
(In reply to comment #2) > Where is the code for "code to use arbitrary DNSBLs"? No mention in defaultsettings.php > > An extension? Just change $wgSorbsUrl to some non-SORBS DNSBL, I suppose. I can't see why that wouldn't work. Maybe those variables should be named better?
wgSorbsUrl is not in defaultsettings.php The only thing with sorbs in its variable name is a true or false variable.
Check trunk, or version 1.9 that's about to be released. It's not in 1.8, I don't think.
Okay I found http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_9_0/phase3/RELEASE-NOTES $wgSorbsUrl will replace the SORBS DNSBL. But I'd prefer to still be able to use SORBS. So 2 or 3 DNSBLs would be a good option to have.
Well basically the needed enhancement is the ability to use multiple DNSBLs.
Given the concerns above about using the existing functionality, I now intend to do some work on a dedicated extension with a local whitelisting interface.
Resolved by [[mw:Extension:TorBlock]]