Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4450 Upgrade to JGroups 2.4.9
  3. JBPAPP-4451

Bind multicast send socket to specific IP when using IPv6 and NIC aliases

    XMLWordPrintable

Details

    • Release Notes

    Description

      The OS-level API calls used to bind a multicast socket to a network interface are different when java.net.preferIPv4Stack is on or off.

      With preferIPv4Stack on, MulticastSocket.setInterface sets the source IP on outgoing multicast messages (IP_MULTICAST_IF ioctl option).
      With preferIPv4Stack off, it only sets the outgoing interface (a NIC index instead of an IP) (IPV6_MULTICAST_IF ioctl option).

      This becomes an issue when there are multiple aliases for the same NIC, because the OS decides which one of the IPs to set as the source.
      This doesn't break anything in JGroups, but makes it difficult for firewalls to filter the packets.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-dereed Dennis Reed
              rhn-support-dereed Dennis Reed
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: