This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/31093] New: Multicast PromiscuousTraffic
- From: "mark at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2007 20:58:24 -0000
- Subject: [Bug libgcj/31093] New: Multicast PromiscuousTraffic
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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