Edgewall Software

Changes between Version 58 and Version 59 of SpamFilter


Ignore:
Timestamp:
Feb 16, 2011, 7:45:32 PM (13 years ago)
Author:
Dirk Stöcker
Comment:

Added bad IP regular expressions

Legend:

Unmodified
Added
Removed
Modified
  • SpamFilter

    v58 v59  
    2222
    2323If any of those regular expressions matches the submitted content, the submission will be rejected.
     24
     25=== Regular Expressions for IP ===
     26
     27The [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.
     28
     29If any of those regular expressions matches the submitters IP, the submission will be rejected.
     30
     31Regular expressions are much too powerful for the simple task of matching an IP or IP range, but to keep things simple for users the design is equal to the content based regular expressions. You simple can specify full IPV4
     32addresses even if the dot has special meaning, as the match will work correctly. Only when matching partial addresses more care is needed.
    2433
    2534=== IP Blacklisting ===