This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/31093] New: Multicast PromiscuousTraffic


See the explanation and test jar at
http://wiki.jboss.org/wiki/Wiki.jsp?page=PromiscuousTraffic

There are 2 problems.
$ gij -jar promiscuoustraffic.jar 
 java.lang.IllegalArgumentException: Invalid ttl: 0
    at java.net.MulticastSocket.setTimeToLive(libgcj.so.8rh)
    at
org.jboss.test.cluster.test.PromiscuousTrafficTester.setUpSockets(PromiscuousTrafficTester.java:134)
    at
org.jboss.test.cluster.test.PromiscuousTrafficTester.<init>(PromiscuousTrafficTester.java:64)
    at
org.jboss.test.cluster.test.PromiscuousTrafficTester.main(PromiscuousTrafficTester.java:182)

 0 is a valid value for ttl however.

 When giving it 1 the test runs. But does result in:
 Bad news. Detected the Promiscuous Traffic problem. Received Hello on
undesired address /231.2.2.2


-- 
           Summary: Multicast PromiscuousTraffic
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mark at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31093


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]