= RBL support for Trac < 0.10 = == Description == This patch implements real-time spam black lists (RBL) support for early releases of Trac, which do not have the SpamPlugin support. It is written for Trac 0.9.6 but should apply to the 0.9 series seamlessly. [[br]] In case you do not use '''''mod_python''''' you will have to modify your controller very similiarly to {{{modpython_frontend.py}}}. Controllers are stored in {{{trac/web}}}. Any user who did not log in (thus '''anonymous''') and whose IP is on the given RBL will have his rights to modify anything revoked. == Bugs/Feature Requests == Existing bugs and feature requests for TracRblPatch are [report:9?COMPONENT=TracRblPatch here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracRblPatch&owner=wmark new ticket]. If you have an idea how to obtain the remote IP address or {{{req}}} more elegantly, send me an email (wmark AT hurrikane DOT de)! == Download == Download the zipped source from [download:tracrblpatch here]. == Source == You can check out TracRblPatch from [http://trac-hacks.org/svn/tracrblpatch here] using Subversion, or [source:tracrblpatch browse the source] with Trac. == Example == It is inactive as long as you don't provide any RBLs in {{{conf/trac.ini}}}: {{{ [trac] rbl = rbl.ossdl.de,sbl-xbl.spamhaus.org,cbl.abuseat.org rbl_whitelist = 127.0.0.1 }}} === Tests === You can check out whether your RBLs are working correctly by the wiki-macro [source:tracrblpatch/0.9/IsIPBlacklisted.py IsIPBlacklisted.py]. For selecting RBLs I recommend http://www.robtex.com/rbls/. == Recent Changes == [[ChangeLog(tracrblpatch, 3)]] == Author/Contributors == '''Author:''' [wiki:wmark] [[BR]] '''Contributors:'''