9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio.dere@gmail.com>
To: 9fans <9fans@9fans.net>
Cc: cinap_lenrek@felloff.net
Subject: Re: [9fans] Git and heritage (Was: Software preservation in the post-hg era)
Date: Sun, 5 Apr 2020 19:44:14 +0200	[thread overview]
Message-ID: <CAJQ9t7i1-h2efkq-EdjeSGeELzb5qeRMG8PftbA_+L2sRnK98A@mail.gmail.com> (raw)
In-Reply-To: <34FEFC835BD5D28B15D77593712E30C0@felloff.net>

On 4/4/20, cinap_lenrek@felloff.net <cinap_lenrek@felloff.net> wrote:
>
> this breaks for ipv6 addresses. i'd suggest you at least check for ] first
> and then look for the colon. example: "[::1]:22".
>
Well spotted, thank you. I have so far had practically no experience
with IPv6, it hasn't quite sunk in. Seems easy enough to match a
leading '[' to a trailing ']', then scan the address from there.

> then the big question is what should be put in the thumb file to identify
> the host, if you start messing with the network addresses. there can be
> different ssh servers per port. for example: gerrit.
>
I dislike SSH's clutter in the known_hosts file, but I have nothing to
offer in its place. Unless I misunderstand your point, my reply would
be that duplicate hashes shouldn't be a problem, if applicable.
Whatever else goes there, is just a comment.

Lucio.

      reply	other threads:[~2020-04-05 17:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-31  7:43 Lucio De Re
2020-04-04 16:15 ` cinap_lenrek
2020-04-05 17:44   ` Lucio De Re [this message]

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=CAJQ9t7i1-h2efkq-EdjeSGeELzb5qeRMG8PftbA_+L2sRnK98A@mail.gmail.com \
    --to=lucio.dere@gmail.com \
    --cc=9fans@9fans.net \
    --cc=cinap_lenrek@felloff.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).