-
Notifications
You must be signed in to change notification settings - Fork 45
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
Proxy for resolving and accessing websites over dmsg with a web browser #1637
Comments
Partial Implementation
|
I've had some additional thoughts / insights about websites over skywire. There are certain advantages to websites over dmsg vs websites over skywire using the current implementation of skyfwd. The primary advantage is that dmsg is slightly more reliable than skywire routes currently. Another thing to consider, if a proxy for accessing websites over skywire was implemented as the proxy for accessing websites over dmsg, certain steps would be required to avoid unmasking the ip address of the visor, such as the strict use of the dmsghttp-config and disabling, perhaps even manually removing certain services which are configured for the visor so that sudph and stcp/stcpr transports could not be created, only dmsg transports. Then, a stroke of insight. It's likely the wrong approach to add the capacity for websites over skywire directly to the visor or to further extend |
this was implemented as |
Currently, a functional framework exists for having websites over dmsg (dmsghttp)
However; there is a challenge posed on the client-side for accessing these websites via existing browsers.
I had looked at the idea of a custom URL scheme or protocol such as
dmsghttp://
ordmsg://
; however this is something which has severe limitations in terms of browser support currently.A custom protocol or url scheme would need to be supported by the browser upstream, basically. Which is a non-starter.
Previous efforts
I have previously taken steps to make a client which runs on localhost proxy websites which are fetched over dmsg (with dmsgget).
The downside with such an approach is that it breaks all the links ; on-page navigation and cross-site navigation. With such an approach, websites would need to be specifically written (or rewritten) with relative links prepended with the : of the web site or service running over dmsg.
i2p's approach to the problem
https://i2pd.readthedocs.io/en/latest/tutorials/http/
After some research and experimenting with i2p (i2pd), it appears that they achieve the goal of browse-able websites in the following way:
Upon configuration and running of i2pd, a proxy is exposed at 127.0.0.1:4444 by default.
When this proxy is configured in a web browser, it does not appear to force all the traffic through the proxy connection for non .i2p websites, in other words, normal web browsing is unaffected.
However, this proxy enables resolution of i2p domains and displays them in the browser if they are found.
This seems like a good approach for achieving the desired functionality of p2p websites over dmsg for skywire.
Websites over dmsg are not websites over skywire
Websites over dmsg may be in a sense anonymous, however the traffic is directly p2p and does not take advantage of routes over skywire.
To take advantage of routes, the framework for websites over skywire would need to integrate in some way with
skyfwd
which does use transports / routes.Even if a multi-hop route was used to access the website, web application, or service over skywire, there is not currently a way to enforce on the server side that a website or service may only be accessed via a route with more than one hop.
The text was updated successfully, but these errors were encountered: