[Bug 112257] Re: TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket

2008-12-16 Thread Pedro Villavicencio
We are closing this bug report because it lacks the information we need
to investigate the problem, as described in the previous comments.
Please reopen it if you can give us the missing information, and don't
hesitate to submit bug reports in the future. To reopen the bug report
you can click on the current status, under the Status column, and change
the Status back to New. Thanks again!.

** Changed in: sun-java6 (Ubuntu)
   Status: Incomplete = Invalid

-- 
TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket
https://bugs.launchpad.net/bugs/112257
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 112257] Re: TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket

2008-10-07 Thread Daniel T Chen
Is this symptom still reproducible in 8.10 beta?  How about with
openjdk-6?

** Changed in: sun-java6 (Ubuntu)
   Status: New = Incomplete

-- 
TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket
https://bugs.launchpad.net/bugs/112257
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 112257] Re: TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket

2008-03-15 Thread hangy
** Changed in: sun-java6 (Ubuntu)
Sourcepackagename: None = sun-java6

-- 
TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket
https://bugs.launchpad.net/bugs/112257
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 112257] Re: TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket

2007-10-22 Thread Don Coleman
It looks like this is a Java bug rather than a kernel problem.

TTL works correctly in the early-access version of Java 7.
$ java -version
java version 1.7.0-ea
Java(TM) SE Runtime Environment (build 1.7.0-ea-b22)
Java HotSpot(TM) Client VM (build 11.0-b08, mixed mode, sharing)

For pre-Java7 applications that only need IPv4 try 
-Djava.net.preferIPv4Stack=true

For applications that needs IPv4 and IPv6, iptables can be used to force
the TTL

iptables -t mangle --append POSTROUTING --out-interface eth+
--protocol udp -j TTL --ttl-set 64

-- 
TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket
https://bugs.launchpad.net/bugs/112257
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 112257] Re: TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket

2007-05-31 Thread Don Coleman
Tested on Solaris 10 and TTL is set correctly.

Revised test code - multicast_test.c and MulticastTest.java
Test results from Linux, Solaris and OS X in sample_results.txt

Solaris sets IPv4 Multicast TTL when IPv6 Multicast Hops is set
http://cvs.opensolaris.org/source/xref/kernel-sockets/ksocket/usr/src/uts/common/inet/udp/udp.c#3785

Linux sets them separately
http://lxr.linux.no/source/net/ipv6/ipv6_sockglue.c#L531 v6
http://lxr.linux.no/source/net/ipv4/ip_sockglue.c#L549 v4


** Attachment added: sample_results.txt
   http://launchpadlibrarian.net/7907919/sample_results.txt

-- 
TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket
https://bugs.launchpad.net/bugs/112257
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 112257] Re: TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket

2007-05-31 Thread Don Coleman

** Attachment added: MulticastTest.java
   http://launchpadlibrarian.net/7907920/MulticastTest.java

-- 
TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket
https://bugs.launchpad.net/bugs/112257
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 112257] Re: TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket

2007-05-31 Thread Don Coleman

** Attachment added: multicast_test.c
   http://launchpadlibrarian.net/7907922/multicast_test.c

-- 
TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket
https://bugs.launchpad.net/bugs/112257
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 112257] Re: TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket

2007-05-03 Thread Don Coleman

** Attachment added: MulticastTest.java
   http://librarian.launchpad.net/7548756/MulticastTest.java

-- 
TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket
https://bugs.launchpad.net/bugs/112257
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 112257] Re: TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket

2007-05-03 Thread Don Coleman

** Attachment added: multicast_test.c
   http://librarian.launchpad.net/7548758/multicast_test.c

-- 
TTL ignored when sending UDP Datagram to IPv4 address via IPv6 socket
https://bugs.launchpad.net/bugs/112257
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs