Skip to content
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

[webapp]: SCION WebView Idea #153

Open
martenwallewein opened this issue Jun 15, 2020 · 4 comments · May be fixed by #167
Open

[webapp]: SCION WebView Idea #153

martenwallewein opened this issue Jun 15, 2020 · 4 comments · May be fixed by #167
Labels

Comments

@martenwallewein
Copy link
Contributor

Hi all,
after working on the shttp proxy PR #142, we had the idea to bring our video streaming setups, based on this proxy, into scion-apps. To do so, I implemented a raw prototype to make HTTP/3 requests over SCION and display the results in scion-apps (as far as the browser can display them). This prototype looks like this:

scion-webview

We plan to provide a DVB-T2 live stream over SCION that can be accessed via this feature. Furthermore, we hope that it could be an entrypoint for providing more resources via HTTP/3 over SCION.

So before implementing this feature completely and creating a PR, I hope we can use this issue for feedback, discussion and opinions about it.

Best,
Marten

@matzf
Copy link
Contributor

matzf commented Jun 16, 2020

Hi Marten, thanks for this description and the prototype!

Having something visible in the browser would definitely be great.
Instead of building this as a feature of the webapp, I would perhaps first look at building a simple, stand-alone http proxy that can be directly used by the browser. Using a Proxy auto-config script, would make setup easy for users and allow to limit the proxy to requests that will actually use SCION.
A possible downside here would be that the browsers will reject SCION addresses as malformed URLs -- a simple workaround could be to just limit to using hostnames only, or devise a suitable scheme for the user to enter mangled addresses.

Note that this proxy would need to be a simple forward proxy, not the reverse proxy that you've added in #142.

What do you think?

@martenwallewein
Copy link
Contributor Author

Hi Matthias,

I like the idea of integrating SCION HTTP directly in the browser, not as part of scion-webapp, the proxy auto config approach looks promising. Maybe this can be combined with a small SCION browser extension, to allow scion addresses or maybe even a scion:// scheme, I know that this is possible, but I cannot oversee the effort to realize this. Nevertheless, I think realizing at this approach would be very beneficial, integrating it into webapp may be the "plan-b", we will see. I will do some research and testing about that and write down the results here, thanks for the help!

@martenwallewein martenwallewein linked a pull request Oct 4, 2020 that will close this issue
@matzf matzf linked a pull request Oct 6, 2020 that will close this issue
@matzf
Copy link
Contributor

matzf commented Feb 9, 2021

A super simple implementation of what I suggested above was added in #181.

@martenwallewein
Copy link
Contributor Author

I see, nice one! I also thought to start with this PAC approach, but didn't manage to take time for this. However, this one looks like a good starting point for further progress.

@matzf matzf added the stale label Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants