Package: fping
Version: 2.4b2-to-ipv6-15
Followup-For: Bug #308695

fping removes any hosts which it fails to ping from the internal list. 
If the host on which fping is running drops the default route and all 
ping destinations have no route, fping terminates. But if there 
is at least one host still reachable (i.e. due a connected route), fping 
will proceed pinging only those remainig hosts (even if the route comes back 
again). In the following example 172.31.1.1 is on a connected route:

----------------------------------------------------------------------
$ fping -Q 5 -l 194.109.137.218 172.31.1.1
[12:40:47]
194.109.137.218 : xmt/rcv/%loss = 5/5/0%, min/avg/max = 0.00/17.6/20.8
172.31.1.1      : xmt/rcv/%loss = 5/5/0%, min/avg/max = 0.00/0.52/0.78
[12:40:52]
194.109.137.218 : xmt/rcv/%loss = 5/5/0%, min/avg/max = 0.00/17.1/17.6
172.31.1.1      : xmt/rcv/%loss = 5/5/0%, min/avg/max = 0.00/0.73/0.81

## route del -net 0.0.0.0        ##

[12:40:57]
194.109.137.218 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.00/16.9/16.9
172.31.1.1      : xmt/rcv/%loss = 5/5/0%, min/avg/max = 0.00/0.44/0.70
[12:41:02]
194.109.137.218 : xmt/rcv/%loss = 0/0/0%
172.31.1.1      : xmt/rcv/%loss = 5/5/0%, min/avg/max = 0.00/0.72/0.80
[12:41:07]
194.109.137.218 : xmt/rcv/%loss = 0/0/0%
172.31.1.1      : xmt/rcv/%loss = 5/5/0%, min/avg/max = 0.00/0.46/0.71

## route add -net 0.0.0.0 gw ... ##

[12:41:12]
194.109.137.218 : xmt/rcv/%loss = 0/0/0%
172.31.1.1      : xmt/rcv/%loss = 5/5/0%, min/avg/max = 0.00/0.67/1.00
[12:41:17]
194.109.137.218 : xmt/rcv/%loss = 0/0/0%
172.31.1.1      : xmt/rcv/%loss = 5/5/0%, min/avg/max = 0.00/0.53/0.70
----------------------------------------------------------------------

This breaks long time monitoring when fping is running continuous. This 
could be fixed by the following patch:

--- fping-2.4b2-to-ipv6/fping.c 2008-09-29 12:32:32.000000000 +0200
+++ fping-2.4b2-to-ipv6.fix/fping.c     2008-09-29 12:25:15.937404006 
+0200
@@ -1619,7 +1619,6 @@
                }/* IF */
                
                num_unreachable++;
-               remove_job( h ); 
 
        }/* IF */
        else


Regards,
Thomas Liske

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fping depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries

fping recommends no packages.

fping suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to