Project

General

Profile

Actions

Feature #1042

closed

NDN-WS Proxy for Apps

Added by Alexander Horn about 11 years ago. Updated almost 10 years ago.

Status:
Abandoned
Priority:
Normal
Assignee:
-
Category:
-
Start date:
09/27/2013
Due date:
% Done:

0%

Estimated time:

Description

"I think we need to get into redmine setting up a port 80 proxy on named-data.net's apache for the NDN-JS communication for the "live" apps hosted on that site. "

Actions #2

Updated by Alexander Horn about 11 years ago

jeff B suggested this.

http://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html

yet, does this negate need for nodejs ? how does the websocket get converted to ndn ?

Actions #3

Updated by Jeff Burke about 11 years ago

This is completely separate from nodejs.

The idea is to simply proxy websocket transport through port 80 on named-data.net (this is a typical envisioned use for websockets), so that apps deployed on named-data.net/apps/live can use port 80 for ndn traffic and work anywhere the website can be accessed.

No ndn-js code changes are needed, only changing the app port and installing/configuring the proxy.

Actions #4

Updated by Alexander Horn about 11 years ago

well THAT was fun. as it's not part of normal distribution yet. i had to check out apache from source, apply a patch, sacrifice a few oxen, and voila have mod_wsproxy enabled on

however, yet to figure out the configuration.

it seems possible to run both on the same domain, yet it seems to demand an 'absolute path' for the proxy - http:/// or ws://... neither of which is perhaps giving the 'clean' / header-less content that ccnd is likely expecting.

i'll play with this more, but at the moment it still seems to me like there is a step missing / that we need to run node proxy, so we can convert websocket to ccnd face.

Actions #5

Updated by Junxiao Shi about 10 years ago

This Feature can be abandoned because NFD 0.2.0 is deployed on testbed HUBs which has native support of WebSocket faces.

Actions #6

Updated by Alexander Horn almost 10 years ago

  • Status changed from New to Abandoned
Actions

Also available in: Atom PDF