You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Cristian Ciocau (JIRA)" <se...@james.apache.org> on 2016/08/16 10:08:20 UTC
[jira] [Created] (JSPF-100) SPFSession threats IPv4 mapped as IPv6
Cristian Ciocau created JSPF-100:
------------------------------------
Summary: SPFSession threats IPv4 mapped as IPv6
Key: JSPF-100
URL: https://issues.apache.org/jira/browse/JSPF-100
Project: James jSPF
Issue Type: Bug
Affects Versions: 0.9.9
Reporter: Cristian Ciocau
Priority: Blocker
Steps to reproduce:
{code}
public static void main(String[] args) {
SPFSession spfSession = new SPFSession("", "", "::ffff:192.168.1.1");
System.out.println(spfSession.getInAddress());
}
{code}
The problem is in SPFSession:
{code}
this.ipAddress = IPAddr.getProperIpAddress(clientIP.trim());
// get the in Address
this.inAddress = IPAddr.getInAddress(clientIP);
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org