Edgewall Software

Changes between Version 69 and Version 70 of SpamFilter


Ignore:
Timestamp:
Sep 18, 2012, 12:11:37 AM (12 years ago)
Author:
Dirk Stöcker
Comment:

Update to trac 1.0

Legend:

Unmodified
Added
Removed
Modified
  • SpamFilter

    v69 v70  
    22[[PageOutline(2-3)]]
    33
    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.
     4This 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).
    55
    66The 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):
     
    3434=== Regular Expressions ===
    3535
    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.
     36The [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.
    3737
    3838If any of those regular expressions matches the submitted content, the submission will be rejected.
     
    4040=== Regular Expressions for IP ===
    4141
    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.
     42The [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.
    4343
    4444If any of those regular expressions matches the submitters IP, the submission will be rejected.
     
    4949=== IP Throttling ===
    5050
    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.
     51The [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.
    5252
    5353The maximum number of posts per hour is configured in [wiki:TracIni trac.ini]:
     
    102102=== IP Blacklisting ===
    103103
    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.
     104The [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.
    105105
    106106See 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.
     
    110110=== Akismet ===
    111111
    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.
     112The [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.
    113113
    114114The use of this filter requires a [http://www.wordpress.com Wordpress] API key. The API key is configured in the 'External' administration page.
     
    118118=== !TypePad ===
    119119
    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.
     120The [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.
    121121
    122122The use of this filter requires a API key. The API key is configured in the 'External' administration page.
     
    126126=== Defensio ===
    127127
    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.
     128The [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.
    129129
    130130The use of this filter requires an API key. The API key is configured in the 'External' administration page.
     
    134134=== !StopForumSpam ===
    135135
    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.
     136The [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.
    137137
    138138Training this filter requires an API key. The API key is configured in the 'External' administration page.
     
    142142=== !LinkSleeve ===
    143143
    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.
     144The [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.
    145145
    146146'''NOTE''': Submitted content is sent to !LinkSleeve servers. Don't use this in private environments.
     
    148148=== !BlogSpam ===
    149149
    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.
     150The [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.
    151151
    152152This 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.
     
    156156=== HTTP:BL ===
    157157
    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.
     158The [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.
    159159
    160160The 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.
     
    164164=== !SpamBusted ===
    165165
    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.
     166The [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.
    167167
    168168Training this filter requires an API key. The API key is configured in the 'External' administration page.
     
    172172=== !BotScout ===
    173173
    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.
     174The [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.
    175175
    176176Using this filter requires an API key. The API key is configured in the 'External' administration page.
     
    180180=== FSpamList ===
    181181
    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.
     182The [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.
    183183
    184184Using this filter requires an API key. The API key is configured in the 'External' administration page.
     
    188188=== !SpamWipe ===
    189189
    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.
     190The [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.
    191191
    192192The use of this filter requires a API key. The API key is configured in the 'External' administration page.
     
    203203You can also obtain the code from the Trac Subversion repository:
    204204{{{
    205 svn co http://svn.edgewall.com/repos/trac/plugins/0.12/spam-filter-captcha
    206 }}}
    207 
    208 or download [http://trac.edgewall.org/changeset/latest/plugins/0.12/spam-filter-captcha?old_path=/&format=zip zipped source].
     205svn co http://svn.edgewall.com/repos/trac/plugins/1.0/spam-filter
     206}}}
     207
     208or download [http://trac.edgewall.org/changeset/latest/plugins/1.0/spam-filter?old_path=/&format=zip zipped source].
    209209
    210210See TracPlugins for instructions on building and installing plugins.
    211211
    212 You can [source:plugins/0.12/spam-filter-captcha browse 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]''
     212You 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]''
    215215
    216216== Enabling the Plugin ==