flexera-public / wstunnel

Web-sockets tunnel for HTTP requests: facilitates requests to an HTTP server sitting behind a firewall
MIT License
223 stars 50 forks source link

Make token optional? #46

Open maple3142 opened 4 years ago

maple3142 commented 4 years ago

I think forcing token be required and at least 16 chars is inconvenient to use, because I'd like to use it as a ngrok replacement. This commit https://github.com/maple3142/wstunnel/commit/57be221b51e6455758d0946880320dff48c5b8d5 is my attempt, which works without token. However, I am not familiar with golang, so I am not sure if this is correct (Doesn't introduce new bug on other features).

rshade commented 3 years ago

Interesting concept. And then you are just calling the endpoint without /_token/? I would probably add a --disable-token requirement to not create a regression.