All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dominique Martinet <asmadeus@codewreck.org>
To: Joshua Murphy <joshuamurphy@posteo.net>
Cc: v9fs@lists.linux.dev
Subject: Re: -otrans=tcp with IPv6 address?
Date: Wed, 15 Jan 2025 06:24:03 +0900	[thread overview]
Message-ID: <Z4bV8_e_gZUgG7Et@codewreck.org> (raw)
In-Reply-To: <87ikqhcdpr.fsf@posteo.net>

Joshua Murphy wrote on Tue, Jan 14, 2025 at 09:01:04PM +0000:
> It seems like it isn’t currently possible to mount using an IPv6 address
> and -otrans=tcp.

Right, the current workaround is to open a socket before calling mount
and pass that socket with trans=fd

> I think the issue is in p9_fd_create_tcp in net/9p/trans_fd.c as it only
> validates IPv4 addresses and returns EINVAL otherwise.

I haven't had time to do anything about this for ages, but patches are
welcome!

-- 
Dominique Martinet | Asmadeus

  reply	other threads:[~2025-01-14 21:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-14 21:01 -otrans=tcp with IPv6 address? Joshua Murphy
2025-01-14 21:24 ` Dominique Martinet [this message]
2025-01-15 15:46   ` Joshua Murphy

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=Z4bV8_e_gZUgG7Et@codewreck.org \
    --to=asmadeus@codewreck.org \
    --cc=joshuamurphy@posteo.net \
    --cc=v9fs@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.