tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: getaddrinfo(3) on numerical addresses



EF> Given this is a monitoring system, who's job it is to detect server failures, 
EF> marking random servers/switches as dead while the resolver is going mad and
EF> so check_ping on their numerical IPv4 times out is not particularily useful.
VU> BTW, isn't that exactly the argument that this program must use
VU> AI_NUMERICHOST which guarantees that no name resolution will be
VU> attempted?
While it's debatable how much sense it makes to use check_ping with a 
non-numerical address, as-is, it does accept them. I can't upstream a patch 
breaking this.


Home | Main Index | Thread Index | Old Index