-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b01
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085848 | 9 | Sean Coffey | P3 | Closed | Fixed | b68 |
JDK-8098733 | emb-9 | Sean Coffey | P3 | Resolved | Fixed | team |
JDK-8140092 | 8u72 | Sean Coffey | P3 | Resolved | Fixed | b04 |
JDK-8132613 | 8u66 | Sean Coffey | P3 | Resolved | Fixed | master |
JDK-8129175 | 8u65 | Sean Coffey | P3 | Resolved | Fixed | b02 |
JDK-8087308 | 8u60 | Sean Coffey | P3 | Resolved | Fixed | b20 |
JDK-8129385 | 8u51 | Sean Coffey | P3 | Resolved | Fixed | b31 |
JDK-8112745 | 8u45 | Sean Coffey | P3 | Resolved | Fixed | b37 |
JDK-8138252 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b02 |
JDK-8129699 | emb-8u60 | Sean Coffey | P3 | Resolved | Fixed | b20 |
JDK-8130449 | 7u85 | Sean Coffey | P3 | Resolved | Fixed | b31 |
A typical use case might be :
ServerSocket ss = new ServerSocket();
jdk.net.Sockets.setOption(ss, java.net.StandardSocketOptions.IP_TOS, 128);
// bind
// accept
The remaining Java related problems are:
1. Blocking TCP IPv6 Server sockets (java.net). This is not working neither on Oracle Solaris 10 1/13 or a recent Linux (CentOS 7).
2. Blocking TCP IPv4 Server sockets (java.net) on Linux. Here the initial SYN packet is missing the TOS flag.
Solaris system:
java version "1.7.0_80-ea"
Java(TM) SE Runtime Environment (build 1.7.0_80-ea-b04)
Java HotSpot(TM) Server VM (build 24.80-b07, mixed mode)
cat /etc/release
Oracle Solaris 10 1/13 s10x_u11wos_24a X86
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights
reserved.
Assembled 17 January 2013
Results:
IPv6
TCP:
Client Socket: OK
Server Socket: Not OK
TCPNIO:
Client Socket: OK
Server Socket: OK
UDP:
Client Socket: OK
Server Socket: OK
IPv4(all with -Djava.net.preferIPv4Stack=true)
TCP:
Client Socket: OK
Server Socket: OK
TCPNIO:
Client Socket: OK
Server Socket: OK
UDP:
Client Socket: OK
Server Socket: OK
- backported by
-
JDK-8087308 Setting IP_TOS on java.net sockets not working on unix
-
- Resolved
-
-
JDK-8098733 Setting IP_TOS on java.net sockets not working on unix
-
- Resolved
-
-
JDK-8112745 Setting IP_TOS on java.net sockets not working on unix
-
- Resolved
-
-
JDK-8129175 Setting IP_TOS on java.net sockets not working on unix
-
- Resolved
-
-
JDK-8129385 Setting IP_TOS on java.net sockets not working on unix
-
- Resolved
-
-
JDK-8129699 Setting IP_TOS on java.net sockets not working on unix
-
- Resolved
-
-
JDK-8130449 Setting IP_TOS on java.net sockets not working on unix
-
- Resolved
-
-
JDK-8132613 Setting IP_TOS on java.net sockets not working on unix
-
- Resolved
-
-
JDK-8138252 Setting IP_TOS on java.net sockets not working on unix
-
- Resolved
-
-
JDK-8140092 Setting IP_TOS on java.net sockets not working on unix
-
- Resolved
-
-
JDK-8085848 Setting IP_TOS on java.net sockets not working on unix
-
- Closed
-
- duplicates
-
JDK-7169676 setTrafficClass() doesn't work on packets sent from IPv6 Socket connected to a v4 mapped v6 address
-
- Closed
-
- relates to
-
JDK-8221487 Socket.setTrafficClass hides errors setting IP_TOS on a connected Socket, setOption does not
-
- Closed
-