Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4403551

java.net.MulticastSocket needs to be updated for IGMPv3 and SSM

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.3.0, 5.0, 7
    • core-libs
    • generic, unknown, x86
    • generic, other, windows_2003



      Name: krC82822 Date: 01/10/2001


      java version "1.2.1"
      Solaris VM (build Solaris_JDK_1.2.1_03, native threads, sunwjit)

      java.net.MulticastSocket supports IP multicast when the multicast group is
      identified by a single class-D IP address.

      There is a newer multicast service model called Source-Specific Multicast
      or SSM, which requires that a multicast group is
      identified by two IP addresses, a source address, and a group address. The
      source address is a regular host IP address and the group address is
      probably from the 232/8 range.

      java.net.MulticastSocket is an interface to the underlying IGMP API which allows
      a host to join or leave specific multicast addresses. The new version of IGMP,
      IGMPv3 has been changed as described in section 2. of [3] (see below).

      For example, from java.net.MulticastSocket,

      public void joinGroup(InetAddress mcastaddr)
                     throws IOException

      could be changed to

      public void joinGroup(InetAddress mcastGroupAddr, java.util.Vector sourceAddrs )
                     throws IOException

      This would allow the user to specify a list of sources from which to accept
      multicast packets on the mcastGroupAddr address.

      Following are some references which provide more detailed information and show
      that SSM and IGMPv3 are being widely adopted in the industry.

      I am available to answer questions as needed.

      IETF Documents:
      [1] http://www.ietf.org/internet-drafts/draft-holbrook-ssm-arch-01.txt
      [2] http://www.ietf.org/internet-drafts/draft-holbrook-idmr-igmpv3-ssm-00.txt
      [3] http://www.ietf.org/internet-drafts/draft-ietf-idmr-igmp-v3-05.txt

      Leaders in research/industry working with SSM:
      [email addresses moved to Comments section, based on Sun privacy policy]

      General SSM/IGMPv3 Information:
      http://www.winsock2.com/multicast/whitepapers/IETF48_06.htm
      http://www.ieng.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t3/dtssm.htm

      -------------

      10 Jan 2001, kevin.ryan@eng -- Each time I hit "New [Bug]", I was getting the following error
      in the shell window:

      java.lang.NoSuchMethodError
              at Incident.BugtraqUpdateOptions$CompanyPanel.<init>(BugtraqUpdateOptions.java:644)
              at Incident.BugtraqUpdateOptions.<init>(BugtraqUpdateOptions.java:174)
              at Incident.IncidentDetailDisplay$DispositionActionListener.actionPerformed(IncidentDetailDisplay.java:3583)
              at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
              at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
              at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
              at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
              at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
              at java.awt.Component.processMouseEvent(Component.java:3715)
              at java.awt.Component.processEvent(Component.java:3544)
              at java.awt.Container.processEvent(Container.java:1165)
              at java.awt.Component.dispatchEventImpl(Component.java:2593)
              at java.awt.Component.dispatchEvent(Component.java:2497)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2452)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2217)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2126)
              at java.awt.Container.dispatchEventImpl(Container.java:1201)
              at java.awt.Window.dispatchEventImpl(Window.java:912)
              at java.awt.Component.dispatchEvent(Component.java:2497)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:333)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

      This turned out to be because Sandeep had updated the test version of IM, and
      though I had continued to use my current/existing running copy of IM, one
      or more classes appear to have been kicked out of memory.
      (Review ID: 114861)
      ======================================================================

            Unassigned Unassigned
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: