You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2013/11/27 21:48:35 UTC

[jira] [Created] (JSPWIKI-804) SpamFilter should support X-Forwarded-For header in the banlist

Harry Metske created JSPWIKI-804:
------------------------------------

             Summary: SpamFilter should support X-Forwarded-For header in the banlist
                 Key: JSPWIKI-804
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-804
             Project: JSPWiki
          Issue Type: Improvement
          Components: Filters
    Affects Versions: 2.10
         Environment: NA
            Reporter: Harry Metske
            Assignee: Harry Metske
             Fix For: 2.10


Currently the SpamFilter only supports banning based on IP address of the client (as gotten from the HttpRequest.getRemoteAddr() ).

If you are behind a proxy or loadbalancer, chances are that you get the address of the proxy or lb instead of the real client IP address.

Therefore the X-Forwarded-For request header could be used.

See http://en.wikipedia.org/wiki/X-Forwarded-For



--
This message was sent by Atlassian JIRA
(v6.1#6144)