Hi David, On Tue, Jan 31, 2017 at 06:20:06PM +0100, David Schweikert wrote: > Haven't tried it yet, so a few curious questions: > > > > 1) Can fping now ping mixed IPv4 and IPv6 addresses in the same > > process? > > Yes: > > $ fping ::1 127.0.0.1 > ::1 is alive > 127.0.0.1 is alive
Cool, thanks! > > If so, I have a feature request on that topic (because the same issue > > already annoys me with oping :-): > > > > Can you add an option (e.g. -0 or -5) which pings both, A and AAAA > > record (as if both IP addresses were given) if a host has both, A and > > AAAA record? Or maybe that should be even the default instead of IPv6? > > You mean like this? > > $ fping -A -m www.google.com > 2a00:1450:4001:816::2004 is alive > 216.58.210.4 is alive Yes! > (www.ethz.ch is not pingable for me, btw. :)) *sigh* > Also, as you assumed: > > $ fping -A -m foobar.weebly.com > 199.34.228.54 is alive > 199.34.228.53 is alive > > This has always been what '-m' was for, I must admit, I was not aware of that option. And its description in the (3.15) man page seems suboptimal as I probably would have overseen it even when I looked for it. But as I see, you even already fixed the documentation to be way more clear, too. Yay! :-) > but it seems that I broke it a while ago (and fixed it now)... *snicker* > It might be useful to have an option to print the original name that was > given in addition to the numerical name. For example like this: > > foobar.weebly.com (199.34.228.54) is alive > foobar.weebly.com (199.34.228.53) is alive > > There is an option '-n' that you can combine with '-A', but it does > a reverse-DNS lookup, so you might not get the same name, and later > you don't know what address was for what host. That's not that bad IMHO, but yes, might be confusing. > > If you need exact compatibility with old versions, you can: > > > - compile fping with --disable-ipv6 (or use a wrapper, and call > > 'fping -4') > > > - compile fping with --enable-ipv6 and rename it to fping6 (same as > > 'fping -6') > > > > 2) So "--enable-ipv6" implies "--disable-ipv4"? If so, that option > > should probably be renamed to "--only-ipv6" or similar to be > > unambiguous. > > No, I probably should reformulate that text... When you call the > fping binary 'fping6' (with a sym-link, for example), it is going to > implicitely set the '-6' option at runtime. Bad idea? No, that's fine as it is what users would expect. But my comment was about the compile time (configure) options. (Maybe adding the same for "fping4" if IPv6 is set as default might be a nice addition.) Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | a...@deuxchevaux.org (Mail) X See http://www.nonhtmlmail.org/campaign.html | a...@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web) -- You received this message because you are subscribed to the Google Groups "fping-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to fping-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.