From: Casey D. <ca...@de...> - 2012-08-06 21:46:32
|
On Mon, Aug 6, 2012 at 2:17 PM, Brian Wellington <bwe...@xb...> wrote: > > I suspect the problem might be firewall-related; when java is set to > "Block incoming connections", I see timeouts with the same stack trace. I > don't know what dnsjava is doing differently with respect to the network > and firewall rules, but you might want to try allowing incoming connections > for java to see if that fixes it. > > Ugh. Yes, that was it. Thanks! Apparently I had forgotten that OS X's firewall considers processes, not just ports, which is why I didn't see the issue with ISC's dig. I'm curious why UDP responses for dnsjava are looked at as "incoming connections", whereas UDP responses for ISC's dig, for example, don't have this problem. Would a simple UDP client/server test work with DatagramPacket? I assume using the lower level interfaces in dnsjava is to obtain source port randomization? Is it possible that makes it behave differently, in terms of state? Casey |