* -otrans=tcp with IPv6 address?
@ 2025-01-14 21:01 Joshua Murphy
2025-01-14 21:24 ` Dominique Martinet
0 siblings, 1 reply; 3+ messages in thread
From: Joshua Murphy @ 2025-01-14 21:01 UTC (permalink / raw)
To: v9fs
It seems like it isn’t currently possible to mount using an IPv6 address
and -otrans=tcp.
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.
Thanks,
--
Joshua Murphy
joshuamurphy@posteo.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: -otrans=tcp with IPv6 address?
2025-01-14 21:01 -otrans=tcp with IPv6 address? Joshua Murphy
@ 2025-01-14 21:24 ` Dominique Martinet
2025-01-15 15:46 ` Joshua Murphy
0 siblings, 1 reply; 3+ messages in thread
From: Dominique Martinet @ 2025-01-14 21:24 UTC (permalink / raw)
To: Joshua Murphy; +Cc: v9fs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: -otrans=tcp with IPv6 address?
2025-01-14 21:24 ` Dominique Martinet
@ 2025-01-15 15:46 ` Joshua Murphy
0 siblings, 0 replies; 3+ messages in thread
From: Joshua Murphy @ 2025-01-15 15:46 UTC (permalink / raw)
To: asmadeus; +Cc: joshuamurphy, v9fs
> I haven't had time to do anything about this for ages, but patches are
> welcome!
I haven’t done kernel development before, but I’ll see if I can put
something together.
--
Joshua Murphy
joshuamurphy@posteo.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-15 15:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 21:01 -otrans=tcp with IPv6 address? Joshua Murphy
2025-01-14 21:24 ` Dominique Martinet
2025-01-15 15:46 ` Joshua Murphy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox