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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.4.0
    • core-libs
    • sparc
    • solaris_8

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: