[ https://issues.apache.org/jira/browse/JSPWIKI-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835063#comment-13835063 ]
Juan Pablo Santos RodrÃguez commented on JSPWIKI-804: ----------------------------------------------------- ugh! Harry I've just seen you asigned this to yourself, didn't noticed before :-/ apologies for stepping in without asking > 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)