Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Merge branch 'token_redis_improvements' of ↵HEADmaster | Pierre Ossman | 2023-01-20 | 4 | -23/+254 | |
|\ | | | | | | | https://github.com/javicacheiro/websockify | |||||
| * | Allow empty options in redis token source string when using default values | Javier Cacheiro | 2023-01-19 | 2 | -4/+85 | |
| | | ||||||
| * | Token Redis: Support both json and plain text tokens | Javier Cacheiro | 2023-01-19 | 2 | -8/+91 | |
| | | ||||||
| * | Token Redis source: add optional redis port, redis database and redis password | Javier Cacheiro | 2023-01-19 | 2 | -10/+77 | |
| | | ||||||
| * | Remove simplejson dependency: use json module from stdlib. | Javier Cacheiro | 2023-01-19 | 3 | -8/+8 | |
|/ | | | | Add missing redis dependency. | |||||
* | Update README.md | don bright | 2023-01-07 | 1 | -1/+7 | |
| | | | adding WSS exceptions for dummies | |||||
* | Merge branch 'master' of https://github.com/shiomax/websockify | Pierre Ossman | 2022-12-22 | 2 | -34/+78 | |
|\ | ||||||
| * | Add option to listen to unix socket | max | 2022-12-14 | 2 | -34/+78 | |
| | | ||||||
* | | Test current versions of Python | Pierre Ossman | 2022-12-16 | 1 | -0/+2 | |
| | | ||||||
* | | Switch to nose2 for tests | Pierre Ossman | 2022-12-16 | 2 | -2/+2 | |
| | | | | | | | | | | The original nosetests is long abandoned, and doesn't work properly on newer versions of Python. | |||||
* | | Remove redundant test requirements | Pierre Ossman | 2022-12-16 | 1 | -3/+0 | |
| | | | | | | | | These should get pulled in via setup.py. | |||||
* | | Explicitly install dependencies | Pierre Ossman | 2022-12-16 | 1 | -1/+4 | |
| | | | | | | | | | | It is very buggy if we let setuptools do it for some reason, so have this as an explicit step instead. | |||||
* | | websockify 0.11.0v0.11.0 | Pierre Ossman | 2022-12-16 | 2 | -1/+7 | |
| | | ||||||
* | | Use local websockify when building container | Pierre Ossman | 2022-12-16 | 4 | -18/+11 | |
| | | | | | | | | | | | | It's very surprising to get some external copy of websockify when you are building an image in your local websockify source tree. Make sure we are using the local copy of everything. | |||||
* | | Also require all token plugin requirements | Pierre Ossman | 2022-12-16 | 1 | -1/+5 | |
| | | | | | | | | | | | | Token plugins are technically optional, but if you are installing websockify via pip then all of these are available anyway. So let's make things simple for users. | |||||
* | | Insert rebinder at the head of the (possibly empty) LD_PRELOAD pathlist, | Adam Tilghman | 2022-11-16 | 1 | -1/+4 | |
| | | | | | | | | required for use cases relying on other preloaded libraries e.g. nss_wrapper. | |||||
* | | Don't include default message to send_error() | Pierre Ossman | 2022-11-16 | 2 | -5/+5 | |
| | | | | | | | | Python can provide this for us, so avoid duplication. | |||||
* | | Merge branch 'http_api' of https://github.com/CendioOssman/websockify | Pierre Ossman | 2022-11-08 | 4 | -21/+117 | |
|\ \ | ||||||
| * | | Remove logging from handle_upgrade() | Linn Mattsson | 2022-11-08 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | The logging should be handled directly in send_response() instead, which is the default of Python's built-in send_response(). Remove this manual logging to avoid logging the same call twice. | |||||
| * | | Add new websocket class HttpWebSocket | Linn Mattsson | 2022-11-08 | 3 | -4/+90 | |
| | | | | | | | | | | | | | | | | | | This class acts as a glue between websocket and http functionality by taking a 'request_handler' and using its functions for send_response(), send_header() and end_headers(). | |||||
| * | | Make websocket's API more intuitive | Linn Mattsson | 2022-11-08 | 1 | -15/+27 | |
|/ / | | | | | | | | | | | | | | | Functions connect() and accept() are using http functionality, like sending requests and headers. Let's create separate functions with more intuitive names for these calls. This allows subclasses to override these functions, as well as makes the code easier to understand at a glance. | |||||
* | | Add requests module | Jokin | 2022-10-20 | 1 | -1/+1 | |
| | | ||||||
* | | expose --file-only option to disable dir listing | Manoj Ghosh | 2022-10-18 | 1 | -0/+2 | |
| | | ||||||
* | | Merge branch 'master' of https://github.com/msnatepg/websockify | Pierre Ossman | 2022-10-10 | 1 | -0/+22 | |
|\ \ | ||||||
| * | | ensure that queues are empty when closing connections | Maximilian Sesterhenn | 2022-10-07 | 1 | -0/+22 | |
| | | | ||||||
* | | | Merge branch 'verbose_logging' of https://github.com/javicacheiro/websockify | Pierre Ossman | 2022-08-18 | 1 | -4/+3 | |
|\ \ \ | |/ / |/| | | ||||||
| * | | When using verbose set root log level to DEBUG | Javier Cacheiro | 2022-05-03 | 1 | -4/+3 | |
| | | | ||||||
* | | | Merge pull request #521 from javicacheiro/fix_jwcrypto | Samuel Mannehed | 2022-05-26 | 2 | -12/+12 | |
|\ \ \ | | | | | | | | | Tests break with jwcrypto>=1.3 | |||||
| * | | | Support for jwcrypto>=1.3 | Javier Cacheiro | 2022-05-25 | 2 | -12/+12 | |
| |/ / | ||||||
* | | | Merge branch 'dockerfile' of https://github.com/javicacheiro/websockify | Pierre Ossman | 2022-05-11 | 3 | -0/+60 | |
|\ \ \ | |/ / |/| | | ||||||
| * | | Docker support | Javier Cacheiro | 2022-04-22 | 3 | -0/+60 | |
| | | | ||||||
* | | | Add more alternatives to usage string | Pierre Ossman | 2022-04-22 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | If you use a token plugin, or a Unix socket target, then you should no longer specify a target on the command line. Add these to the usage string to make this clear. | |||||
| | | | ||||||
| \ \ | ||||||
*-. \ \ | Merge branches 'use_logging' and 'fix_logging_configuration' of ↵ | Pierre Ossman | 2022-04-14 | 2 | -31/+38 | |
|\ \ \ \ | |_|/ / |/| | | | | | | | https://github.com/javicacheiro/websockify | |||||
| | * | | Apply configuration to the root logger | Javier Cacheiro | 2022-04-13 | 1 | -8/+11 | |
| |/ / |/| | | ||||||
| * | | Use logging instead of directly printing messages to sys.stderr | Javier Cacheiro | 2022-04-13 | 1 | -23/+27 | |
|/ / | ||||||
* | | Explicitly install old wrapt on Python 3.4 | Pierre Ossman | 2022-04-13 | 1 | -0/+1 | |
| | | | | | | | | | | | | Something is broken in pip so it installs a wrapt that doesn't support Python 3.4. Work around this by manually request a version that is known to work. | |||||
* | | Add tests for TokenRedis | Javier Cacheiro | 2022-04-12 | 1 | -1/+27 | |
| | | ||||||
* | | Use RSA-OAEP instead of RSA1_5 for jwt tests | Pierre Ossman | 2021-07-23 | 1 | -1/+1 | |
|/ | | | | | The latest version of jwcrypto has disabled RSA1_5 by default, making the tests fail. | |||||
* | Fix bad classifiers arrayv0.10.0 | Pierre Ossman | 2021-07-22 | 1 | -6/+6 | |
| | ||||||
* | websockify 0.10.0 | Pierre Ossman | 2021-07-22 | 2 | -1/+11 | |
| | ||||||
* | Fix patching of open() for Python 3.4 | Pierre Ossman | 2021-05-03 | 1 | -3/+3 | |
| | | | | | It doesn't handle builtins automatically, so follow the recommendations from that time. | |||||
* | Add unit test for token file with tab | Pierre Ossman | 2021-04-16 | 1 | -0/+15 | |
| | ||||||
* | Merge branch 'sisou/split-tokens-tab' of https://github.com/sisou/websockify | Pierre Ossman | 2021-04-16 | 1 | -1/+2 | |
|\ | ||||||
| * | Split token file by any whitespace after the colon, not just a space | Sören Schwert | 2020-07-28 | 1 | -1/+2 | |
| | | | | | | | | | | With the current parser logic, only tokens and servers that are separated by _exactly_ a colon and a space `: ` are detected as tokens. But when formatting one's token file with tabs, this breaks. This commit changes the split characters to be a regular expression that matches all forms of whitespace, including spaces and tabs. | |||||
* | | Add unit tests for ReadOnlyTokenFile | Pierre Ossman | 2021-04-16 | 1 | -2/+31 | |
| | | ||||||
* | | Move JWT token plugins tests to separate file | Pierre Ossman | 2021-04-16 | 2 | -129/+135 | |
| | | | | | | | | Let's try to match the test units with the modules we have. | |||||
* | | Merge pull request #479 from llopisdon/patch-1 | Samuel Mannehed | 2021-03-22 | 1 | -1/+1 | |
|\ \ | | | | | | | Update README.md | |||||
| * | | Update README.md | Don E. Llopis | 2021-03-20 | 1 | -1/+1 | |
|/ / | | | | | Fixed typo and clarified sentence. | |||||
* | | Remove setuptools version restriction | Pierre Ossman | 2021-02-08 | 1 | -1/+1 | |
| | | | | | | | | We're fine with current versions now. | |||||
* | | Use older PROTOCOL_SSLv23 instead of PROTOCOL_TLS | Pierre Ossman | 2021-02-08 | 1 | -3/+3 | |
| | | | | | | | | We need to support Python older than 3.6, so use the older name. |