Apr 24 23:00 2016, Kees van Eeten wrote to Markus Reschke:
MR>> Some tools can extract more binkp nodes from the nodelist than MR>> others. Can anyone beat NL2BINKD? It's a bash script with lots of awk MR>> :)
KvE> You get extra lines by including Nodes that are Down or on Hold. :(
Yep, some like them included, others don't. I could add a switch for filtering them to please all.
KvE> I get fewer lines, as I exclude lines where Hostnames does not KvE> resolve.
Could be another switch :) But I'm not sure, because a node could have a boken DNS entry today and have it fixed by tomorrow. Or the entry could be broken for several months. We simply don't know. And even if the entry resolves it doesn't mean that the IP address is correct. Actually we would also have to check if a binkd is listening. Same story here, binkd might be crashed today and fixed by tomorrow or the IP address could be wrong. How should we deal with these nodes?