Comments (4)
I can reproduce the same problem. this is really annoying because since zabbix use fping to check if hosts are alive, it leads to many false positive. what ever, can someone explain me when [printf( " error while sending ping: %s\n", strerror( errno ) );] line 1581 is displayed using fping command? in which situation coz i am not C programer and can't understand....
from fping.
i can also confirm that this only happen with 3.4 version of fping on freebsd systems and only occur with hosts down located in the same network. i have tried with 3.4 fping version (compilled from source) on linux ubuntu and didn't get thoses errors. This is very strange
from fping.
After many hours of testing this lead me to say that fping (3.4 others version?....) is not compatible with freebsd :
Any way to correct that bug?
here is the synthesis :
Different tests using Fping 3.4 (port or manually source compiled) on freebsd (9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825)
Scenario : the host we want to fping is not alive
A) Cases
case 1) :
fping ip_hostdown when ip_hostdown is not located on local network :
result is ALWAYS = ip_hostdown is unreachable
case 2)
fping ip_hostdown when ip_hostdown is located on local network :
result is very rarely = ip_hostdown is unreachable
result is almost always (mainly if i give consecutive tries):
ip_hostdown error while sending ping: Host is down
ip_hostdown error while sending ping: Host is down
ip_hostdown error while sending ping: Host is down
ip_hostdown error while sending ping: Host is down
ip_hostdown error while sending ping: Host is down
ip_hostdown error while sending ping: Host is down
ip_hostdown error while sending ping: Host is down
......
......
==> fping get stuck and never stop if i don't ctrc-c
When i ctrl-c to stop stucked fping ==> ^Cip_hostdown is unreachable
B) source code fping 3.4 : "error while sending ping" is in source code fping.c line 1581
"Host is down" doesn't come from fping source code.
C) Linux test (many version of kernel/distribution) with compiled version of fping 3.4
result is always : ip_hostdown is unreachable
from fping.
duplicate of #30
from fping.
Related Issues (20)
- setting SO_TIMESTAMPNS option: Protocol not available (on debian running in docker container) HOT 17
- -u does not work when -c is used HOT 3
- Duplicate reply packets when pinging multiple targets HOT 6
- -g option not working properly HOT 3
- fping ipv6 address -g not working
- Warning when using autoconf from version 2.62 and 2.70 HOT 2
- Architectures support
- fping -n -g x.x.x.x/24 hangs with systemd-resolved HOT 3
- not enough sequence numbers available! (expire_timeout=10000000000, host_nr=0, ping_count=0, seqmap_next_id=0) HOT 9
- Combinations "-c -a" and "-c -u" give same output as combination "-c -q" instead of just "-c"
- Inconsistent limits for address generation via `-g`, `--generator` using either range or CIDR HOT 4
- No error message when `getprotobyname()` fails HOT 1
- Time of execution when using retry -r increases in a nonlinear growth HOT 2
- errors on fping version 5.1 HOT 4
- -D, --timestamp with custom time string eq: %Y-%m-%d %H:%M:%S HOT 9
- fping6 issue with multiple addresses HOT 1
- fping crashes with __darwin_check_fd_set_overflow. Please help to resolve the issue. HOT 3
- Is it possible to provide official portable build ?
- Fix code scanning alert - Incorrect return-value check for a 'scanf'-like function HOT 1
- packet loss after 8-10 targets HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fping.