-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alt-Svc (HTTP Alternative Services) #144
Comments
Ideally, ipfs would standardize on a new service identifier (h2 stands for http/2) that accepts a CID or IPNS name without requiring to specify a gateway hostname. Something like: Browsers currently require h2 services to present a valid TLS certificate for the current origin. Standardizing a new service identifier would allow us to lift that requirement without compromising the requirements of h2 services. Content integrity in IPFS is guaranteed by the content-hash in the CID which the origin that transmits the Alt-Svc header vouches for; so we don’t need the certificate to prevent third-parties from modifying the content. |
It's live! I just read about https://blog.torproject.org/new-release-tor-browser-95, and figured it could be a good idea to share with IPFS, then I found this issue. In IPFS-enabled browsers, not having to download IPFS Companion, keeping the exact same user flow, and still seeing the good old www.foo.com to access a familiar website would make grand-ma using IPFS (without her ever having heard about it). IPFS crawlers/indexers could also index wikipedia.org and other Web.2 websites if they provide the header.
Tor Browser does the thing below for onion alternatives. IPFS-enabled browsers can probably take inspiration from it: |
Is this still true in Firefox and Chrome? |
@bertrandfalguiere there is a basic redirect-based API in Firefox, but none in Chrome yet. We collaborate with Igalia to bridge that gap in both specs and vendor implementations:
As for the usefulness of |
The provided link doesn't work. Luckily there's a copy on the Wayback Machine: https://web.archive.org/web/20210115180343/https://blog.ipfs.io/2021-01-15-ipfs-and-igalia-collaborate-on-dweb-in-browsers/ |
@bertrandfalguiere Thanks for surfacing the broken link - fixed now. |
Quick note based on recent discussions:
|
Also see dnslink-std/community#2. Quoted: SVCB DNS resource records (RRs) were introduced somewhat recently. They inform user-agents that a given resource exists at another endpoint, possibly with extra parameters. Functionality closely mirrors the To give IPNS-accessible services familiar names, I think SVCB is a better long-term solution than DNSLink. A related issue for the InterPlanetary Name System is Issue 144 for the IPFS web browsers integration group; it discusses the viability of using POSSE note from https://seirdy.one/notes/2022/10/25/dnslink-and-svcb-dns-resource-records/ |
Alt-Svc
is an Internet Standard (RFC7838) which allow an origin's resources to be authoritatively available at a separate network location, possibly accessed with a different protocol configuration.TL;DR
Potential IPFS Use
Websites could announce they are available over IPFS in a way that does not require additional DNS lookups.
/ipfs/
/ipns/
Pros:
Cons:
References
Alt-Svc
The text was updated successfully, but these errors were encountered: