Changes between Version 69 and Version 70 of SpamFilter
- Timestamp:
- Sep 18, 2012, 12:11:37 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SpamFilter
v69 v70 2 2 [[PageOutline(2-3)]] 3 3 4 This plugin allows different ways to reject contributions that contain spam. This plugin requires at least Trac release [milestone:0.12] and works also well with [milestone:1.0]. The plugin code for versions before 0.12 isn't updated any more.4 This plugin allows different ways to reject contributions that contain spam. This plugin requires at least Trac release 1.0. The plugin code for version 0.12 and before isn't updated any more (but still available). 5 5 6 6 The spamfilter plugin has many options, but most of them are optional. Basically installing is enough to have a basic spam protection. But there are some things which may be helpful (in order of importance): … … 34 34 === Regular Expressions === 35 35 36 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/regex.py regex] filter reads a list of regular expressions from a wiki page named “BadContent”, each regular expression being on a separate line inside the first code block on the page, using the [http://docs.python.org/lib/re-syntax.html Python syntax] for regular expressions.36 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/regex.py regex] filter reads a list of regular expressions from a wiki page named “BadContent”, each regular expression being on a separate line inside the first code block on the page, using the [http://docs.python.org/lib/re-syntax.html Python syntax] for regular expressions. 37 37 38 38 If any of those regular expressions matches the submitted content, the submission will be rejected. … … 40 40 === Regular Expressions for IP === 41 41 42 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/ip_regex.py ip_regex] filter reads a list of regular expressions from a wiki page named “BadIP”, each regular expression being on a separate line inside the first code block on the page, using the [http://docs.python.org/lib/re-syntax.html Python syntax] for regular expressions.42 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/ip_regex.py ip_regex] filter reads a list of regular expressions from a wiki page named “BadIP”, each regular expression being on a separate line inside the first code block on the page, using the [http://docs.python.org/lib/re-syntax.html Python syntax] for regular expressions. 43 43 44 44 If any of those regular expressions matches the submitters IP, the submission will be rejected. … … 49 49 === IP Throttling === 50 50 51 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/ip_throttle.py ip_throttle] filter limits the number of posts per hour allowed from a single IP.51 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/ip_throttle.py ip_throttle] filter limits the number of posts per hour allowed from a single IP. 52 52 53 53 The maximum number of posts per hour is configured in [wiki:TracIni trac.ini]: … … 102 102 === IP Blacklisting === 103 103 104 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/ip_blacklist.py ip_blacklist] filter uses the third-party Python library [http://www.dnspython.org/ dnspython] to make DNS requests to a configurable list of IP blacklist servers.104 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/ip_blacklist.py ip_blacklist] filter uses the third-party Python library [http://www.dnspython.org/ dnspython] to make DNS requests to a configurable list of IP blacklist servers. 105 105 106 106 See e.g. [http://spamlinks.net/filter-dnsbl-lists.htm SpamLinks DNS Lists] for a list of DNS based blacklists. A blacklist usable for this filter must return an IP for listed entries and no IP (NXDOMAIN) for unlisted entries. … … 110 110 === Akismet === 111 111 112 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/akismet.py Akismet] filter uses the [http://akismet.com/ Akismet] web service to check content for possible spam.112 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/akismet.py Akismet] filter uses the [http://akismet.com/ Akismet] web service to check content for possible spam. 113 113 114 114 The use of this filter requires a [http://www.wordpress.com Wordpress] API key. The API key is configured in the 'External' administration page. … … 118 118 === !TypePad === 119 119 120 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/typepad.py TypePad AntiSpam] filter uses the [http://antispam.typepad.com/ Typepad] web service to check content for possible spam.120 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/typepad.py TypePad AntiSpam] filter uses the [http://antispam.typepad.com/ Typepad] web service to check content for possible spam. 121 121 122 122 The use of this filter requires a API key. The API key is configured in the 'External' administration page. … … 126 126 === Defensio === 127 127 128 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/defensio.py Defensio] filter uses the [http://defensio.com/ Defensio] web service to check content for possible spam.128 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/defensio.py Defensio] filter uses the [http://defensio.com/ Defensio] web service to check content for possible spam. 129 129 130 130 The use of this filter requires an API key. The API key is configured in the 'External' administration page. … … 134 134 === !StopForumSpam === 135 135 136 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/stopforumspam.py StopForumSpam] filter uses the [http://stopforumspam.com/ StopForumSpam] web service to check content for possible spam. This services tests IP, username and/or email address.136 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/stopforumspam.py StopForumSpam] filter uses the [http://stopforumspam.com/ StopForumSpam] web service to check content for possible spam. This services tests IP, username and/or email address. 137 137 138 138 Training this filter requires an API key. The API key is configured in the 'External' administration page. … … 142 142 === !LinkSleeve === 143 143 144 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/linksleeve.py LinkSleeve] filter uses the [http://linksleeve.org/ LinkSleeve] web service to check content for possible spam.144 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/linksleeve.py LinkSleeve] filter uses the [http://linksleeve.org/ LinkSleeve] web service to check content for possible spam. 145 145 146 146 '''NOTE''': Submitted content is sent to !LinkSleeve servers. Don't use this in private environments. … … 148 148 === !BlogSpam === 149 149 150 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/blogspam.py BlogSpam] filter uses the [http://blogspam.net/ BlogSpam] web service to check content for possible spam.150 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/blogspam.py BlogSpam] filter uses the [http://blogspam.net/ BlogSpam] web service to check content for possible spam. 151 151 152 152 This service includes also DNS checks and services identical to the checks in this plugin. Be sure to set proper karma or these checks are counted twice. You also can disable individual checks in preferences. … … 156 156 === HTTP:BL === 157 157 158 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/httpbl.py HTTP:BL] filter uses the [http://www.projecthoneypot.org/httpbl.php Project HoneyPot HTTP:BL] web service to check content for possible spam.158 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/httpbl.py HTTP:BL] filter uses the [http://www.projecthoneypot.org/httpbl.php Project HoneyPot HTTP:BL] web service to check content for possible spam. 159 159 160 160 The use of this filter requires a [http://www.projecthoneypot.org/httpbl_configure.php HTTP:BL] API key. The API key is configured in the 'External' administration page. … … 164 164 === !SpamBusted === 165 165 166 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/spambusted.py SpamBusted] filter uses the [http://www.spambusted.com/ SpamBusted] web service to check content for possible spam. This services tests IP, username and/or email address.166 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/spambusted.py SpamBusted] filter uses the [http://www.spambusted.com/ SpamBusted] web service to check content for possible spam. This services tests IP, username and/or email address. 167 167 168 168 Training this filter requires an API key. The API key is configured in the 'External' administration page. … … 172 172 === !BotScout === 173 173 174 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/botscout.py BotScout] filter uses the [http://botscout.com/ BotScout] web service to check content for possible spam. This services tests IP, username and/or email address.174 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/botscout.py BotScout] filter uses the [http://botscout.com/ BotScout] web service to check content for possible spam. This services tests IP, username and/or email address. 175 175 176 176 Using this filter requires an API key. The API key is configured in the 'External' administration page. … … 180 180 === FSpamList === 181 181 182 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/fspamlist.py FSpamList] filter uses the [http://www.fspamlist.com/ FSpamList] web service to check content for possible spam. This services tests IP, username and/or email address.182 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/fspamlist.py FSpamList] filter uses the [http://www.fspamlist.com/ FSpamList] web service to check content for possible spam. This services tests IP, username and/or email address. 183 183 184 184 Using this filter requires an API key. The API key is configured in the 'External' administration page. … … 188 188 === !SpamWipe === 189 189 190 The [source:plugins/ 0.12/spam-filter-captcha/tracspamfilter/filters/spamwipe.py SpamWipe] filter uses the [http://www.spamwipe.com/ SpamWipe] web service to check content for possible spam.190 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/spamwipe.py SpamWipe] filter uses the [http://www.spamwipe.com/ SpamWipe] web service to check content for possible spam. 191 191 192 192 The use of this filter requires a API key. The API key is configured in the 'External' administration page. … … 203 203 You can also obtain the code from the Trac Subversion repository: 204 204 {{{ 205 svn co http://svn.edgewall.com/repos/trac/plugins/ 0.12/spam-filter-captcha206 }}} 207 208 or download [http://trac.edgewall.org/changeset/latest/plugins/ 0.12/spam-filter-captcha?old_path=/&format=zip zipped source].205 svn co http://svn.edgewall.com/repos/trac/plugins/1.0/spam-filter 206 }}} 207 208 or download [http://trac.edgewall.org/changeset/latest/plugins/1.0/spam-filter?old_path=/&format=zip zipped source]. 209 209 210 210 See TracPlugins for instructions on building and installing plugins. 211 211 212 You can [source:plugins/ 0.12/spam-filter-captchabrowse the source in Trac].213 214 ''[http://svn.edgewall.com/repos/trac/plugins/ 0.12/spam-filter-captcha/#egg=TracSpamFilter-dev This is a link for setuptools to find the SVN download]''212 You can [source:plugins/1.0/spam-filter browse the source in Trac]. 213 214 ''[http://svn.edgewall.com/repos/trac/plugins/1.0/spam-filter/#egg=TracSpamFilter-dev This is a link for setuptools to find the SVN download]'' 215 215 216 216 == Enabling the Plugin ==