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

MulticastSocket is able to join restricted Multicast groups(acc. to RFC 2373)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      MulticastSocket is able join restricted Multicast groups and send packets. According to RFC 2373 the following groups are reserved and shall never be assigned to any group.

      From RFC 2373:

      Reserved Multicast Addresses: FF00:0:0:0:0:0:0:0
                                            FF01:0:0:0:0:0:0:0
                                            FF02:0:0:0:0:0:0:0
                                            FF03:0:0:0:0:0:0:0
                                            FF04:0:0:0:0:0:0:0
                                            FF05:0:0:0:0:0:0:0
                                            FF06:0:0:0:0:0:0:0
                                            FF07:0:0:0:0:0:0:0
                                            FF08:0:0:0:0:0:0:0
                                            FF09:0:0:0:0:0:0:0
                                            FF0A:0:0:0:0:0:0:0
                                            FF0B:0:0:0:0:0:0:0
                                            FF0C:0:0:0:0:0:0:0
                                            FF0D:0:0:0:0:0:0:0
                                            FF0E:0:0:0:0:0:0:0
                                            FF0F:0:0:0:0:0:0:0

         The above multicast addresses are reserved and shall never be
         assigned to any multicast group.


         I think we should not allow to join these groups from java.

      How to reproduce it:
      ===================


      1. Take the attached mcastWriter.java

      2. Execute as
       java mcastWriter -d -l 0 -m 50

        Attachments

          Activity

            People

            Assignee:
            ywangsunw Yingxian Wang (Inactive)
            Reporter:
            vakellasunw Venkata Akella (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: