Re: Review Request of JDK Enhancement Proposal: DTLS

2014-03-20 Thread Bradford Wetmore
On 3/19/2014 5:50 PM, Xuelei Fan wrote: I was wondering to expose this application layer as a configurable parameter. Just to make sure we're talking about the same thing, you're pointing out: 1. The need for determining the PMTU for the various protocol types. (UDP/DCCP/TCP/SCTP/etc)

Re: Review Request of JDK Enhancement Proposal: DTLS

2014-03-20 Thread Xuelei Fan
You are right. Probably(As I have not designed the API, let me use probably), PMTU would be a configuration parameter. NetworkInterface.getMTU() can help here. Although MTU is not PMTU, but it is normally correct. In case of corner cases where the configured MTU does not work, probably, the

Re: Review Request of JDK Enhancement Proposal: DTLS

2014-03-20 Thread Matthew Hall
On Fri, Mar 21, 2014 at 06:58:50AM +0800, Xuelei Fan wrote: here. Although MTU is not PMTU, but it is normally correct. I would state, not normally correct, but frequently correct. In case of IPSEC, SSL VPN, IPv6, GRE, etc. this will not be true. Many of these are used for Site-to-Site VPN,