9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] bug or feature ? --- ip/ping -6
Date: Sun,  3 Jan 2016 12:04:54 -0800	[thread overview]
Message-ID: <16d44a618c1c80e6486ead964a11822a@mule> (raw)
In-Reply-To: <CAFSF3XNOPXPA32hn=wr8ENKZnFXKVrFvXmCR6dGr=H+c=cuNVw@mail.gmail.com>

On Sun Jan  3 12:00:39 PST 2016, 23hiro@gmail.com wrote:
> -4 and -6 should error when used with an ip of the wrong type. when
> used with domains correct behavior should be trivial and if there's no
> dns response for A or AAAA it should error once again.

i spent some time thinking about this problem.

the purpose of -6 is to force icmpv6.  (one can use a v4 address
with icmpv6, that works due to ipv4 embedding.)  this is not the same as
controlling name lookup.  since there are better more flexible tools
for doing that by hand.  the result can be fead to ip/ping.

it's kind of an ugly problem.

- erik



  reply	other threads:[~2016-01-03 20:04 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-28  9:04 arisawa
2015-12-29  0:10 ` Anthony Martin
2015-12-30 12:48 ` arisawa
2015-12-30 13:21   ` Charles Forsyth
2015-12-30 15:05   ` Steve Simon
2015-12-30 15:26     ` Kurt H Maier
2015-12-30 19:05       ` Steve Simon
2015-12-30 22:43         ` Kenny Lasse Hoff Levinsen
2015-12-30 23:36           ` Steve Simon
2015-12-31  0:16             ` Bakul Shah
2015-12-31  1:36           ` arisawa
2015-12-31  3:44         ` Dave Eckhardt
2016-01-02  1:12   ` erik quanstrom
2016-01-02  1:54     ` erik quanstrom
2016-01-03 19:58       ` hiro
2016-01-03 20:04         ` erik quanstrom [this message]
2016-01-03 20:31           ` erik quanstrom
2016-01-03 21:40             ` hiro
2016-01-03 21:43               ` hiro
2016-01-03 21:47               ` erik quanstrom
2016-01-04  1:31   ` erik quanstrom
2016-01-04 10:51     ` Anthony Martin
2016-01-04 13:04       ` erik quanstrom
2016-01-04 13:58         ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16d44a618c1c80e6486ead964a11822a@mule \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).