[comp.protocols.tcp-ip] Ping, checksum algorithm?

jc@heart-of-gold (John M Chambers x7780 1E342) (03/17/88)

Does anyone have a PD version of ping?  How about a C-coded routine that
does the IP checksum calculation?  We have one that is written in VAX
assembly language, which is OK for a VAX, but it doesn't work too well
on a 68020....

eshop@saturn.ucsc.edu (Jim Warner) (03/17/88)

The 'ping.c' distributed with Berkeley unix is public
domain, distribution unlimited, according to comments
in the source.  What's your address?

pedersen@acf3.NYU.EDU (paul pedersen) (03/18/88)

In article <123@heart-of-gold> jc@heart-of-gold (John M Chambers x7780 1E342) writes:
>[question about 'ping']


Sorry to post about this, but addresses like "jc@heart-of-gold" are really
unacceptable.  I tried to comment via e-mail, but of course no sane mailer
will accept such an address.  "Heart-of-gold" is too long for UUCP, and
doesn't have the right format for the domain system.  Puh-leeze get your
system fixed so it doesn't send out articles with meaningless addresses.

phil@BRL.ARPA (Phil Dykstra) (03/22/88)

Ping.c as found in Berkeley Unix was originally written by
Mike Muuss at the U.S.Army Ballistic Research Laboratory
<mike@brl.arpa>.  It is public domain distribution unlimited.
Berkeley made some modifications to it but maintained its
public domain status.

Recently we at BRL modified it to do RECORD_ROUTE, provide
more detailed ICMP messages (read subcodes), dump the fields
of returned IP headers in ICMP messages, etc.  Our version
does not yet do LSRR or SSRR (though since I heard that the
core gateways honor it, it will almost certainly be added).
[Note: record route can not be done on a SunOS <= 3.4 since
the IP_OPTIONS socket option does not exist - the rest of
the code works fine on the Sun however.]

Anticipating a possible high demand, I have made the source
code publicly FTP'able from VGR.BRL.MIL [192.5.23.5 or
128.63.4.4] in pub/ping.tar.  Man page included.

- Phil
<phil@brl.arpa>

ps: warning - our main gateway was having hardware problems today.