Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1152

IPv6: IPv4 addresses should be allowed as they will get converted to IPv4 mapped addresses in IPv6

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.10
    • Labels:
      None

      Description

      Currently we log an exception if the stack is IPv6, but we run into IPv4 addresses, such as 192.168.1.5. However, even if the stack is IPv6, IPv4-defined addresses like 192.168.1.5 will get mapped to IPv4 mapped addresses in IPv6, so this should be allowed !

      However, class D (multicast) addresses cannot be mapped to IPv6 addresses automatically, so we should still throw an exception here.

      So 192.168.1.5 should be valid for both IPv4 and IPv6 stacks !

      Invalid combinations include:

      • IPv6 addresses (regular or multicast) with an IPv4 stack
      • IPv4 class D (multicast) addresses with an IPv6 stack

      Adjust the logic accordingly

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  belaban Bela Ban
                  Reporter:
                  belaban Bela Ban
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: