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

Add authentication/firewall capability through shell call/args #58

Closed
wants to merge 4 commits into from

Conversation

mightypenguin
Copy link

This is based on Cliff Cypher's work. (https://github.com/ccyphers/websockify/commit/852de017686dd930399252ac8f1cda00a15a7a4e)
Let me know what you think. I believe I addressed your notes on his commit request.

I included an example script 'auth.py' to show how token based authentication would work.
This seems to be working fairly well atm.

example call:
./websockify --auth-hook='python auth.py' 10000 host:5900

@mightypenguin
Copy link
Author

This should be good for another review.

@DirectXMan12
Copy link
Member

Closing. You can do something similar with token hooks (#162), and this PR is quite old.

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

Successfully merging this pull request may close these issues.

3 participants