noip.c: Hack ioctl(2) as well.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 2 May 2016 12:28:24 +0000 (13:28 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 2 May 2016 23:12:08 +0000 (00:12 +0100)
commit658c1774604911024016a572a119688031d69d77
treed3f8d6be5e1672e89dd99f387cad970f4ac286cb
parent86134bfe50c7f3428f0839e585274e56034410d0
noip.c: Hack ioctl(2) as well.

It appears that Java's network machinery does lots of probing of network
addresses with ioctl(2), and /some/ of these ioctls don't work well with
Unix-domain sockets.  If we see one of these, then make a temporary
Internet socket and do the ioctl on that instead.

This really is quite unpleasant, but it seems to work well enough to
make Gradle work, for example.
noip.c