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 "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2007/05/01 15:23:15 UTC

[jira] Created: (JSPF-49) Buggy IPV6 comparison in PTRMechanism

Buggy IPV6 comparison in PTRMechanism
-------------------------------------

                 Key: JSPF-49
                 URL: https://issues.apache.org/jira/browse/JSPF-49
             Project: jSPF
          Issue Type: Bug
          Components: Bundled Mechanisms & Modifiers
    Affects Versions: 0.9b4
            Reporter: Stefano Bagnara
         Assigned To: Stefano Bagnara
             Fix For: 0.9.5


IPV6 string representation are not "unique" so it is buggy to check string equality when checking of IPv6 address equality.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JSPF-49) Buggy IPV6 comparison in PTRMechanism

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JSPF-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Bagnara resolved JSPF-49.
---------------------------------

    Resolution: Fixed

Changed it to parse the string via IPAddr and then compare the IPAddr.toString.

r533795: Added better ipaddress comparison (PTRMechanism) by parsing the string to ipaddr and toString again (better matching for weird IPV6 addresses). Fixed ExpModifier to remove leading and trailing quotes from TXT records retrieved. Changed AMechanism/DNSRequest/MacroExpand to check for FQDN synchronous checks before running the DNS lookups.	


> Buggy IPV6 comparison in PTRMechanism
> -------------------------------------
>
>                 Key: JSPF-49
>                 URL: https://issues.apache.org/jira/browse/JSPF-49
>             Project: jSPF
>          Issue Type: Bug
>          Components: Bundled Mechanisms & Modifiers
>    Affects Versions: 0.9b4
>            Reporter: Stefano Bagnara
>         Assigned To: Stefano Bagnara
>             Fix For: 0.9.5
>
>
> IPV6 string representation are not "unique" so it is buggy to check string equality when checking of IPv6 address equality.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org