Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4093850

ICMP protocol support a.k.a. PING applets



    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Duplicate
    • Affects Version/s: 1.1.4, 1.1.6, 1.2.0, 1.2.2
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_2.5.1, windows_nt


      Name: rm29839 Date: 11/18/97

      Since it is very nasty trying to add this
      ourselves, please add an API to the ICMP
      protocol so we can ping and traceroute, etc
      from Java applets
      (Review ID: 20054)

      Name: krT82822 Date: 09/06/99

      I want to create a distributed network resource management tool using Java and CORBA. I require the ability to discover the topology of a network. Current methods use DNS, ICMP and SNMP. ICMP is part of IP datagram. There is no ability to modify IP packets or use raw sockets in Java. I have encountered many programmers who wish that tools such as ping and traceroute can be implemented in pure Java, thus making it trully portable and also to give the desired/correct results.

      6 Sep 99 eval1127@eng -- see bug # 4204320, 4093850, 4156236, 4140503 (and probably others)
      (Review ID: 94915)

      Name: rlT66838 Date: 11/12/99

      java version "1.2.2"
      Classic VM (build JDK-1.2.2-W, native threads, symcjit)

      We absolutely need some sort of ICMP and TCP packet access
      from java.net.*

      Without this, it is *impossible* to write any non-trivial
      network monitoring, control or reporting application.
      If I need to monitor machines on my network to see if they
      are up or the network status/saturation, well, I cannot do
      this without ICMP.

      This is a major major drawback with java.net.*
      Why not just add this support with the appropriate security
      permissions ?

      There is NO reason why an application, in java, cannot access
      ICMP. More and more network tools, servers etc are written
      in java. Without support for just a core function, these
      tools are never going to be anything else than toy applications.
      (Review ID: 97795)


          Issue Links



              alanb Alan Bateman
              rmandelsunw Ronan Mandel (Inactive)
              0 Vote for this issue
              0 Start watching this issue