InetAddress.isReachable should use non-privileged ICMP sockets when available

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: core-libs
    • None


      Linux and macOS support a way for non-root applications to use ICMP ping. In both cases, a INET (and INET6??) socket can be created with the IPPROTO_ICMP protocol and the kernel ensures it can only be used for ping. Discussed here:

      https://mail.openjdk.java.net/pipermail/net-dev/2020-November/014931.html

            Assignee:
            Jaikiran Pai
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: