Debian Codegraph @

doc/CHANGELOG.pre-v4

raw
1 2017-02-09 David Schweikert <[email protected]>
2 * Version 3.16
3 * (feature) Support kernel-timestamping of received packets (#46)
4 * (feature) Simplify restrictions: only -i >= 1 and -p >= 10 are enforced now
5 * (bugfix) Fix option -m to return all IPs of a hostname
6 * (bugfix) Fix option -H (ttl) for IPv6
7 * (bugfix) Fix option -M (don't fragment) for IPv6
8 * (bugfix) Fix option -O (ToS) for IPv6
9 * (bugfix) Fix compatibility issue with AIX (#69, @blentzgh)
10 * (bugfix) Fix option -q not suppressing some ICMP error messages (#83)
11 * (bugfix) Fix option -M expecting an argument, when it shouldn't
12 * (bugfix) Fix minor issues found by Coverity Scan
13
14 2017-01-11 David Schweikert <[email protected]>
15 * Version 3.15
16 * (bugfix) Fix compiler errors on platforms other than Linux (related
17 to the new -M option, #109)
18 * Test suite fixes for macOS
19
20 2017-01-10 David Schweikert <[email protected]>
21 * Version 3.14
22 * (feature) Ignore network and broadcast for cidrs /31 and /32 (#102, Martin Topholm)
23 * (feature) New option '-M' to set the "Don't Fragment" flag (#91, Don Bowman)
24 * (feature) New option '-N' to output statistics for netdata (see: http://my-netdata.io/, #105, Costa Tsaousis)
25 * (feature) New option '-o' to calculate total outage time (#90, @jgerbeck)
26 * (bugfix) Exit code should be 2 when the hostname can't be resolved
27 (fixes #98, reported by @green-fox)
28 * (bugfix) Fix issue compliling on RHEL/Centos 7 (#95, @jbackman)
29 * (bugfix) Lower -i limit to 1 instead of 10
30 * (bugfix) Improve interval preciseness of -Q reporting
31 * (bugfix) Fix occasional false positive in -Q reporting (#97)
32 * (bugfix) Solaris 10 portability fix (#107, Peter Bray)
33
34 2015-10-21 David Schweikert <[email protected]>
35 * Version 3.13
36 * (bugfix) Fix ICMP errors sometimes causing crashes with fping >= 3.11
37 (fixes #85, reported by Jamie Heilman and Bill Blough)
38
39 2015-10-14 David Schweikert <[email protected]>
40 * Version 3.12
41 * (bugfix) Fix fping6 -R (fixes #84, reported by Stuart Henderson)
42
43 2015-10-12 David Schweikert <[email protected]>
44 * Version 3.11
45 * (feature) New option -R to use random bytes instead of NULLs (#72, Anthony DeRobertis)
46 * (feature) Small documentation and performance improvements (Ryan Underwood)
47 * (bugfix) Fix double entries with fping -u and unreachable hosts
48 * (internal) Use sockaddr_storage and simplify code, so that we can one day support both IPv4 and IPv6 with the same binary
49
50 2014-05-03 David Schweikert <[email protected]>
51 * Version 3.10
52 * Fix confusing error message with -g and IPv6 addresses (#58, reported by Axel Beckert)
53 * Allow option '-f' also for non-root (since setuid privileges are dropped)
54 * Do not retry twice DNS lookup on DNS lookup problem
55 * Remove support for NIS groups
56 * Better document -B backoff-factor and when it can be used (#33, Oleksiy Zagorskyi)
57 * More tests added
58
59 2014-03-08 David Schweikert <[email protected]>
60 * Version 3.9
61 * Fix random output on socket error (reported by Aleksandrs Saveljevs, #56)
62 * Support ppc64le architecture by including alpha libtool version
63 (reported by Amit Kumar Gupta and Aravinda B Thunug)
64 * Fix compilation problem on FreeBSD (#57)
65 * Initial test suite and continous intergration (with travis-ci.org / coveralls.io)
66 * Don't output usage information on error
67
68 2013-11-08 David Schweikert <[email protected]>
69 * Version 3.8
70 * Fix segmentation fault introduced in version 3.7 with loop mode (reported
71 by Vlad Glagolev, #55)
72
73 2013-11-04 David Schweikert <[email protected]>
74 * Version 3.7
75 * Allow running as non-root on Mac OS X by using non-privileged ICMP (#7)
76 * Remove unnecessary IPv6 socket options
77 * Fix again compatibility issue with FreeBSD (Shawn Chu)
78 * Fix fping hanging forever on permanent sendto failure (Shawn Chu)
79 * Fix duplicate echo reply packets causing early stop in count mode
80 (reported by Ramon Schwammberger, #53)
81
82 2013-10-10 David Schweikert <[email protected]>
83 * Version 3.6
84 * Fix loop issue after 65536 pings (reported by Peter Folk and GBert, #12)
85 * Minimum ping data size is now 0
86 * Removed setsockopt IPV6_CHECKSUM, which shouldn't be set and breaks
87 compiling on Solaris (reported by Juergen Arndt)
88 * Fix wrong min RTT value with -Q option (reported by Alexander Ivanov, #51)
89
90 2013-05-22 David Schweikert <[email protected]>
91 * Version 3.5
92 * Fix sprint_tm buffer size crash (reported by Japheth Cleaver)
93 * Addded -D flag to print timestamps (Toke Høiland-Jørgensen)
94 * Fix fping6 build on OS X 10.8 (unknown contributor)
95 * Fix compatibility issue with FreeBSD (Alexandre Raynaud, Jason Harris, #39)
96 * Fping.spec: fix setuid permissions and provides fping6 (Marcus Vinicius Ferreira)
97 * Re-create configure script with autoconf 2.69 for aarch64 support (Chuck Anderson, #45)
98
99 2012-09-04 David Schweikert <[email protected]>
100 * Version 3.4
101 * Revert "Output statistics to stdout instead of stderr", because it breaks
102 tools assuming the output goes to stderr
103
104 2012-08-19 David Schweikert <[email protected]>
105 * Version 3.3
106 * Do not output icmp errors with -q (#1)
107 * Add --enable-ipv4 and --enable-ipv6 options to configure (Niclas Zeising)
108 * Fix removing of unreachable hosts when doing loop (Thomas Liske, #13 #23)
109 * Fix -A for fping6 (reported by Matt LaPlante, #14)
110 * Fix "options inet6" breaking IPv4 name resolution (reported by Matt LaPlante, #17)
111 * Output statistics to stdout instead of stderr (suggested by Simon Leinen, #9)
112 * Set default data size to 56 bytes on all architectures (#18)
113 * Added contrib/fping.spec (Stephen Schaefer, #24)
114 * Convert man-page source to POD for easier maintenance
115 * Fix error message on DNS error for IPv6 hosts (#27)
116 * Fix -n flag in fping6 (#28)
117 * Man-page fix: TOS option typo (Thomas Liske, #23)
118 * Man-page fix: inconsistency in regards to numeric arguments (Robert Henney)
119 * Man-page fix: better description of option -q (#15)
120
121 2012-05-29 David Schweikert <[email protected]>
122 * Version 3.2
123 * Improve documentation for -g option (G.W. Haywood)
124 * Performance optimization for big select timeouts (#10, Andrey Bondarenko)
125 * Fix restart of select call after interrupt signal (#8, Boian Bonev)
126 * Fix infinite loop caused by linked list corruption (#11, Boian Bonev)
127
128 2012-04-26 David Schweikert <[email protected]>
129 * Version 3.1
130 * -g option (generate): exclude network and broadcast address for cidr
131 ranges (idea by Eric Brander)
132 * do not explicitely check if running as root, to make it possible to
133 install fping with linux capabilities instead of making it setuid
134 (setcap cap_net_raw+ep fping)
135 * ANSI C (C89) compiler now a requirement
136 * Portability fixes
137 * Reorganized source directory
138 * Bugfix: fix timeout issue on Solaris (Sandor Geller)
139 * Man-page fixes (Axel Beckert)
140 * Added -H option to specify number of hops (Paul Duda)
141 * Output usage information to stdout when called with -h (Paul Duda)
142
143 2011-12-28 David Schweikert <[email protected]>
144 * Version 3.0
145 * rewritten main loop for improved performance
146 * -T parameter (select timeout) now obsolete
147 * Maintenance taken over from unresponsive previous maintainer
148 (anybody please step up, if you disagree)
149 * New homepage: www.fping.org
150
151 2009-12-21 Tobi Oetiker <[email protected]>
152 * Version v2.4b2-to3-ipv6
153 * added -On option to set the TOS octet
154 * Removed unused variables from code
155 * updated to current autoconf standards
156 * Merged Debian changes (see below)
157
158 ----------------------------------------------------------------------
159
160 fping (2.4b2-to-ipv6-16.1) unstable; urgency=low
161
162 * NMU during Moenchengladbach BSP
163 * Fixes FTBFS on kfreebsd (Closes: #555398)
164 * Fixes typo "Paramter" in binary
165
166 -- Axel Beckert <[email protected]> Sat, 23 Jan 2010 16:22:02 +0100
167
168 fping (2.4b2-to-ipv6-16) unstable; urgency=low
169
170 * Fix the following bugs
171 - Network byte order sensitivity was missing completely.
172 Added hopefully all missing calls.
173 - The sequence numbering scheme used led to packet drops.
174 Changed it to a more senseful numbering scheme.
175 - Some minor C programming mistakes ('=' instead of '==').
176 Patch by Stephan Fuhrmann; closes: #502569
177 * Add support for command line select timeout setting
178 Patch by Marton Balint; closes: #502575
179 * Remove symlinks in /usr/sbin; closes: #377732
180 * Standards-Version is 3.8.0
181
182 -- Anibal Monsalve Salazar <[email protected]> Sat, 18 Oct 2008 12:04:52 +1100
183
184 fping (2.4b2-to-ipv6-15) unstable; urgency=low
185
186 * Added interface binding (-I) for fping
187 Patch by Peter Naulls <[email protected]>
188 Closes: #439014
189 * Fixed a couple of typos in fping.8. Closes: #423180
190 * Added homepage control header
191 * Bumped Standards-Version to 3.7.3
192 * Fixed the following lintian issue:
193 - debian-rules-sets-DH_COMPAT
194
195 -- Anibal Monsalve Salazar <[email protected]> Mon, 03 Mar 2008 17:46:17 +1100
196
197 fping (2.4b2-to-ipv6-13) unstable; urgency=low
198
199 * Fixed stdout flush problem, closes: #340146.
200 Patch by Bart Martens <[email protected]>.
201
202 -- Anibal Monsalve Salazar <[email protected]> Fri, 30 Dec 2005 08:30:09 +1100
203
204 fping (2.4b2-to-ipv6-12) unstable; urgency=low
205
206 * Fixed "problem with option -r (retry limit)", closes: #318402.
207 Patch by Qingning Huo <[email protected]>.
208
209 -- Anibal Monsalve Salazar <[email protected]> Sat, 08 Oct 2005 21:26:35 +1000
210
211 fping (2.4b2-to-ipv6-11) unstable; urgency=low
212
213 * Fixed "would be useful to specify 'source address' like ping for multi
214 homed machines", closes: #198486.
215 Patch by Marc Haber <[email protected]>.
216
217 -- Anibal Monsalve Salazar <[email protected]> Thu, 02 Jun 2005 08:14:54 +1000
218
219 fping (2.4b2-to-ipv6-10) unstable; urgency=low
220
221 * Fixed "unnecessary delay with the -c option after the last packet"
222 (Closes: #293856). Patch by Niko Tyni <[email protected]>
223
224 -- Anibal Monsalve Salazar <[email protected]> Sun, 06 Feb 2005 23:25:57 +1100
225
226 fping (2.4b2-to-ipv6-9) unstable; urgency=low
227
228 * Fixed "fping6 always does reverse lookup" (Closes: #273647).
229 Patch by Jeroen Massar and forwarded by Bernhard Schmidt <[email protected]>
230
231 -- Anibal Monsalve Salazar <[email protected]> Mon, 10 Jan 2005 00:01:32 +1100
232
233 fping (2.4b2-to-ipv6-7) unstable; urgency=low
234
235 * Build fping in build/ipv[46] instead of build and build-ipv6.
236 * Made DNS errors non-fatal for IPv6 (closes: #198056).
237
238 -- Herbert Xu <[email protected]> Fri, 20 Jun 2003 21:36:30 +1000
239
240 fping (2.4b2-to-ipv6-6) unstable; urgency=low
241
242 * Do not use incorrect linux.h file (closes: #85468).
243
244 -- Herbert Xu <[email protected]> Sat, 17 May 2003 14:13:11 +1000
245
246 fping (2.4b2-to-ipv6-5) unstable; urgency=low
247
248 * Fixed yet another divide by zero bug (closes: #148445).
249
250 -- Herbert Xu <[email protected]> Tue, 4 Jun 2002 12:18:03 +1000
251
252 fping (2.4b2-to-ipv6-4) unstable; urgency=low
253
254 * Made fping6 setuid (closes: #136386).
255 * Moved fping back into bin.
256 * Partially applied IPv6 patch to fix IPv6 checksums (closes: #136479).
257
258 -- Herbert Xu <[email protected]> Sun, 7 Apr 2002 20:36:56 +1000
259
260 fping (2.4b2-to-ipv6-3) unstable; urgency=low
261
262 * Added compatibility symlink for fping (closes: #135203).
263
264 -- Herbert Xu <[email protected]> Sat, 23 Feb 2002 08:34:11 +1100
265
266 fping (2.4b2-to-ipv6-2) unstable; urgency=low
267
268 * Fixed another divide by zero error (closes: #132370).
269
270 -- Herbert Xu <[email protected]> Thu, 7 Feb 2002 20:10:48 +1100
271
272 fping (2.4b2-to-ipv6-1) unstable; urgency=low
273
274 * New upstream release.
275 * Install fping into sbin as done by upstream.
276
277 -- Herbert Xu <[email protected]> Fri, 1 Feb 2002 22:11:59 +1100
278
279 fping (2.2b2-3) unstable; urgency=low
280
281 * Removed INSTALL file from package (closes: #84050).
282 * Fixed alignment bug.
283
284 -- Herbert Xu <[email protected]> Sat, 10 Feb 2001 19:25:18 +1100
285
286 fping (2.2b2-2) unstable; urgency=low
287
288 * Made changes for dpkg-statoverride (closes: #83838).
289
290 -- Herbert Xu <[email protected]> Sun, 28 Jan 2001 21:53:05 +1100
291
292 fping (2.2b2-1) unstable; urgency=low
293
294 * New upstream release.
295 * Fixed typo that prevented -d from working (closes: #83255).
296 * Drop root privileges after opening the socket (closes: #81589).
297 * Fixed the options [tip], they were out by a factor of 10
298 (Richard Kettlewell, closes: #83742).
299
300 -- Herbert Xu <[email protected]> Sun, 28 Jan 2001 00:09:41 +1100
301
302 fping (2.2b1-2) unstable; urgency=low
303
304 * Fixed typo in control file, spotted by William Ono (closes: #49909).
305
306 -- Herbert Xu <[email protected]> Mon, 15 May 2000 12:27:03 +1000
307
308 fping (2.2b1-1) unstable; urgency=low
309
310 * Initial release.
311 * Fixed divide by zero error (closes: #29902).
312
313 -- Herbert Xu <[email protected]> Sat, 30 Oct 1999 16:36:19 +1000
314 ---------------------------------------------------------------------------------
315
316 Wed Jan 16 2002
317 Jeroen Massar
318 - Revision v2.4b2-to-IPv6
319 - Added IPv6 support.
320 - Added -I option for selecting source IPv4/IPv6 address.
321 - Makefile.in now generates a Makefile which will build both
322 fping (IPv4) and fping6 (IPv6). Thus it makes an fping (IPv4 only)
323 and an fping6 (IPv6 only).
324 - num_unreachable was counted twice when a sendto() generated errors.
325 - See http://unfix.org/projects/ipv6/
326
327 Tue Mar 14 2001
328 Jason Ewasiuk <[email protected]>
329 - Revision v2.4b1
330 - added -g option for generating IPs from a start to an end value
331 - two available options, generate IPs from start IP to end IP
332 or from a passed netmask, such as 192.168.1.0/24
333
334 Thu Feb 15 2001
335 Jason Ewasiuk <[email protected]>
336 - Revision v2.3b1
337 - formatting changes to code layout (fping.c)
338 NOTE: Best viewed with a tab stop of 4
339 - merged in changes from Debian c/o Herbert Xu
340 <[email protected]>
341 - Compilation fix on alphas with glibc
342 - Alignment issues (note from JE: in wait_for_reply())
343 - A typo with the time specified on the command line
344 (note from JE: bug was using 10 instead of 100)
345 - Drop privileges after obtaining socket
346 (note from JE: might be moot, since prog exits if
347 user is not root)
348 - touched all files in package to this date
349 - couple new #ifdefs added for future WIN32 support
350 (Haven't got to adding this yet, will take a lot of rewriting.)
351
352 Fri Dec 8 10:33:13 2000 Roland Schemers <[email protected]>
353
354 * stop using sys_errlist and start using strerror
355 fixed bug in output of -C
356
357 Wed Jan 8 11:18:37 1997 Roland Schemers <[email protected]>
358
359 * Created ChangeLog file. What follows was from the CHANGES file.
360
361 * Revision 2.0 1994/10/31 21:26:23 morgan
362
363 Substantial rewrite, including new features:
364
365 support some traditional ping features:
366 loop mode
367 specify size of data packets
368 specify how many pings to send
369 show per-response data
370 interpret ICMPs other than ICMP Echo response
371
372 also
373
374 rewrote main loop completely
375 make timings in tenths of milliseconds
376 do exponential backoff on retries
377 port to more systems
378 add some debugging stuff
379 do better checking on whether received ICMP is for us
380
381 * Revision 1.24 1993/12/10 23:11:39 schemers
382
383 commented out seteuid(getuid()) since it isn't needed
384
385 * Revision 1.23 1993/12/10 18:33:41 schemers
386
387 Took out the -f option for non-root users. This can be enabled by
388 defining ENABLE_F_OPTION before compiling. There is a call to
389 access before opening the file, but there is a race condition.
390 Reading from stdin is much safer.
391
392
393 * Revision 1.22 1993/11/16 19:49:24 schemers
394
395 Took out setuid(getuid()) and used access() system call to
396 check for access to the file specified with "-f".
397
398 * Revision 1.21 1993/07/20 18:08:19 schemers
399
400 commented out the test to make sure the ping packet came from the
401 same IP address as the one we sent to. This could cause problems on
402 multi-homed hosts.
403
404 * Revision 1.20 1993/02/23 00:16:38 schemers
405
406 fixed syntax error (should have compiled before checking in...)
407
408 * Revision 1.19 1993/02/23 00:15:15 schemers
409
410 turned off printing of "is alive" when -a is specified.
411
412 * Revision 1.18 1992/07/28 15:16:44 schemers
413
414 added a fflush(stdout) call before the summary is sent to stderr, so
415 everything shows up in the right order.
416
417 * Revision 1.17 1992/07/23 03:29:42 schemers
418 * Revision 1.16 1992/07/22 19:24:37 schemers
419
420 Fixed declaration of timeval_diff. Didn't notice the problem because
421 I use 'cc' in stead of gcc under Ultrix. Time to switch? :-)
422
423 Modified file reaing so it would skip blank lines or lines starting
424 with a '#'. Now you can do something like:
425
426 fping -ad < /etc/hosts
427
428 * Revision 1.15 1992/07/21 17:07:18 schemers
429
430 Put in sanity checks so only root can specify "dangerous" options.
431 Changed usage to show switchs in alphabetical order.
432 * Revision 1.14 1992/07/21 16:40:52 schemers
433 * Revision 1.13 1992/07/17 21:02:17 schemers
434
435 Changed the default timeout to 2500 msec, and retry to 3. This was
436 due to suggestions from people with slow (WAN) networks. The default
437 1 sec timeout was too fast.
438
439
440 Added '-e' option for showing elapsed (round-trip) times on pakets, and
441 modified the -s option to include min, max, and average round-trip times,
442 and over all elapsed time.
443
444 Modified action taken when a error is returned from sendto. The action
445 taken now considers the host unreachable and prints the hostname
446 followed by the errno message. The program will not exit and will continue
447 to try other hosts.
448
449 * Revision 1.12 1992/07/17 16:38:54 schemers
450 * Revision 1.11 1992/07/17 16:28:38 schemers
451
452 move socket create call so I could do a setuid(getuid()) before the
453 fopen call is made. Once the socket is created root privs aren't needed
454 to send stuff out on it.
455
456 moved num_timeout counter. It really was for debug purposes and didn't
457 make sense to the general public :-) Now it is the number of timeouts
458 (pings that didn't get received with the time limit).
459
460
461 * Revision 1.10 1992/07/16 16:24:38 schemers
462 * Revision 1.9 1992/07/16 16:00:04 schemers
463 * Revision 1.8 1992/07/16 05:44:41 schemers
464
465 Added _NO_PROTO stuff for older compilers, and _POSIX_SOURCE
466 for unistd.h, and _POSIX_SOURCE for stdlib.h. Also added
467 check for __cplusplus.
468
469 Now compiles ok under Ultrix 3.1, and Sun4 using cc. Also compiled
470 ok using g++ 2.2.2.
471
472 Changed '-a' and '-u' flags to be mutually exclusive (makes sense, since
473 specifiying both '-a' and '-u' is the same as not specifiying anything.
474 Since '-a' and '-u' are mutually exclusive, these options now only print
475 the hostname, and not the 'is alive' or 'is unreachable' messages.
476 This makes it much easier to do stuff like:
477
478 #!/usr/local/bin/perl
479 $hosts_to_backup=`cat /etc/hosts.backup|fping -a`;
480
481 Since you don't have to strip off the 'is alive' messages.
482
483 Changed usage to and stats to print to stderr instead of stdout.
484
485 -----------------------------------------------------------------------------
486
487 RCS header info from original fping.c package (no longer required)
488
489 /*
490 ***************************************************
491 *
492 * Standard RCS Header information (see co(1))
493 *
494 * $Author: schemers $
495 *
496 * $Date: 1997/01/08 20:29:33 $
497 *
498 * $Revision: 2.2 $
499 *
500 * $Locker: $
501 *
502 * $Source: /afs/ir/group/networking/src/fping/fping-2.2/src/RCS/fping.c,v $
503 *
504 * $State: Exp $
505 *
506 * $Log: fping.c,v $
507 *
508 * Revision 2.2 1997/01/08 20:29:33 schemers
509 * changes for autoconf/automake
510 *
511 * Revision 2.1 1997/01/08 19:07:18 schemers
512 * checked in RL "Bob"'s changes before configure'ing
513 *
514 * Revision 2.0 1994/10/31 21:26:23 schemers
515 * many changes by RL "Bob" Morgan
516 * add timing data collection, loop mode, per-packet output, etc
517 *
518 * Revision 1.24 1993/12/10 23:11:39 schemers
519 * commented out seteuid(getuid()) since it isn't needed
520 *
521 * Revision 1.23 1993/12/10 18:33:41 schemers
522 * Took out the -f option for non-root users. This can be enabled by
523 * defining ENABLE_F_OPTION before compiling. There is a call to
524 * access before opening the file, but there is a race condition.
525 * Reading from stdin is much safer.
526 *
527 * Revision 1.22 1993/11/16 19:49:24 schemers
528 * Took out setuid(getuid()) and used access() system call to
529 * check for access to the file specified with "-f".
530 *
531 * Revision 1.21 1993/07/20 18:08:19 schemers
532 * commented out the test to make sure the ping packet came from the
533 * same IP address as the one we sent to. This could cause problems on
534 * multi-homed hosts.
535 *
536 * Revision 1.20 1993/02/23 00:16:38 schemers
537 * fixed syntax error (should have compiled before checking in...)
538 *
539 * Revision 1.19 1993/02/23 00:15:15 schemers
540 * turned off printing of "is alive" when -a is specified.
541 *
542 * Revision 1.18 1992/07/28 15:16:44 schemers
543 * added a fflush(stdout) call before the summary is sent to stderr, so
544 * everything shows up in the right order.
545 *
546 * Revision 1.17 1992/07/23 03:29:42 schemers
547 * fixed declaration of timeval_diff.
548 *
549 * Revision 1.16 1992/07/22 19:24:37 schemers
550 * Modified file reading so it would skip blanks lines or lines starting
551 * with a '#'. Now you can do something like:
552 *
553 * fping -ad < /etc/hosts
554 *
555 * Revision 1.15 1992/07/21 17:07:18 schemers
556 * Put in sanity checks so only root can specify "dangerous" options.
557 * Changed usage to show switchs in alphabetical order.
558 *
559 * Revision 1.14 1992/07/21 16:40:52 schemers
560 * Now when sendto returns an error, the host is considered unreachable and
561 * and the error message (from errno) is displayed.
562 *
563 * Revision 1.13 1992/07/17 21:02:17 schemers
564 * changed default timeout to 2500 msec (for WANs), and default try
565 * to 3. This gives 10 second overall timeout.
566 *
567 * Added -e option for showing elapsed (round-trip) time on packets
568 *
569 * Modified -s option to inlude to round-trip stats
570 *
571 * Added #ifndef DEFAULT_* stuff its easier to change the defaults
572 *
573 * Reorganized main loop.
574 *
575 * cleaned up timeval stuff. removed set_timeval and timeval_expired
576 * since they aren't needed anymore. Just use timeval_diff.
577 *
578 * Revision 1.12 1992/07/17 16:38:54 schemers
579 * move socket create call so I could do a setuid(getuid()) before the
580 * fopen call is made. Once the socket is created root privs aren't needed
581 * to send stuff out on it.
582 *
583 * Revision 1.11 1992/07/17 16:28:38 schemers
584 * moved num_timeout counter. It really was for debug purposes and didn't
585 * make sense to the general public :-) Now it is the number of timeouts
586 * (pings that didn't get received with the time limit).
587 *
588 * Revision 1.10 1992/07/16 16:24:38 schemers
589 * changed usage() to use fprintf(stderr,"...");
590 *
591 * Revision 1.9 1992/07/16 16:00:04 schemers
592 * Added _NO_PROTO stuff for older compilers, and _POSIX_SOURCE
593 * for unistd.h, and _POSIX_SOURCE for stdlib.h. Also added
594 * check for __cplusplus.
595 *
596 * Revision 1.8 1992/07/16 05:44:41 schemers
597 * changed -a and -u to only show hostname in results. This is
598 * for easier parsing. Also added -v flag
599 *
600 * Revision 1.7 1992/07/14 18:45:23 schemers
601 * initialized last_time in add_host function
602 *
603 * Revision 1.6 1992/07/14 18:32:40 schemers
604 * changed select to use FD_ macros
605 *
606 * Revision 1.5 1992/07/14 17:21:22 schemers
607 * standardized exit status codes
608 *
609 * Revision 1.4 1992/06/26 15:25:35 schemers
610 * changed name from rrping to fping
611 *
612 * Revision 1.3 1992/06/24 15:39:32 schemers
613 * added -d option for unreachable systems
614 *
615 * Revision 1.2 1992/06/23 03:01:23 schemers
616 * misc fixes from R.L. "Bob" Morgan
617 *
618 * Revision 1.1 1992/06/19 18:23:52 schemers
619 * Initial revision
620 *
621 *--------------------------------------------------
622 * Copyright (c) 1992, 1994, 1997 Board of Trustees
623 * Leland Stanford Jr. University
624 ***************************************************
625 */
626
627