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

Proposal: TCP Port Multiplexing! #44

Open
frank-dspeed opened this issue May 11, 2016 · 2 comments
Open

Proposal: TCP Port Multiplexing! #44

frank-dspeed opened this issue May 11, 2016 · 2 comments

Comments

@frank-dspeed
Copy link
Contributor

frank-dspeed commented May 11, 2016

Implament code support for this clib
https://github.com/direktspeed/sslh

it will ENABLE us to make more then one DIETJS application bind to the same TCP port!!!

sslh accepts connections on specified ports, and forwards them further based on tests performed on the first data packet sent by the remote client.

Probes for HTTP, SSL, SSH, OpenVPN, tinc, XMPP are implemented, and any other protocol that can be tested using a regular expression, can be recognised. A typical use case is to allow serving several services on port 443 (e.g. to connect to ssh from inside a corporate firewall, which almost never block port 443) while still serving HTTPS on that port.

Hence sslh acts as a protocol demultiplexer, or a switchboard. Its name comes from its original function to serve SSH and HTTPS on the same port.

sslh supports IPv6, privilege dropping, transparent proxying, and more.

@frank-dspeed
Copy link
Contributor Author

https://github.com/robertklep/node-port-mux

is a fast implament able way as option

when we would implament better protocol support #43 we could simply return a node-port-mux instance as server

else we could make a diet.js addon that patches the app object to use on listen node-port-mux

@frank-dspeed
Copy link
Contributor Author

Related to #47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants