Re: [tech] IPv6 addresses in URLs

The problem is that Gemini mandates Server Name Indication (SNI).  It lets you
host multiple (sub)domains at one IP address.

If you request gemini://173.230.145.243/index.gmi (flounder.online), how do you
know which subdomain it goes to?  flounder.online has like a hundred subdomains,
all of which have an index.gmi, all of which are hosted at the same IP address.

You could say "then it should just default to some specific domain," but then
that's a server issue and the client can't do anything about it since it doesn't
know what the "default" domain is.  Also servers are allowed to drop requests
that don't use SNI, so they're under no obligation to support using a raw IP
even though I personally do think it'd be a nice feature to have.

~nytpu

-- 
Alex // nytpu
alex@nytpu.com
GPG Key: https://www.nytpu.com/files/pubkey.asc
Key fingerprint: 43A5 890C EE85 EA1F 8C88 9492 ECCD C07B 337B 8F5B
https://useplaintext.email/

---

Previous in thread (1 of 14): 🗣️ nervuri (nervuri (a) disroot.org)

Next in thread (3 of 14): 🗣️ Alex // nytpu (alex (a) nytpu.com)

View entire thread.