Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor docs tweak on reverse proxy setupproxy-updates | Michael Merickel | 2019-01-03 | 1 | -3/+3 |
| | |||||
* | error if trusted_proxy_count is set without trusted_proxy | Michael Merickel | 2019-01-03 | 2 | -5/+28 |
| | |||||
* | simplify conditional when clearing untrusted headers | Michael Merickel | 2019-01-03 | 1 | -1/+1 |
| | |||||
* | fix docs to not support comma-separated settings | Michael Merickel | 2019-01-03 | 1 | -1/+1 |
| | | | | fixes #225 | ||||
* | allow clear_untrusted_proxy_headers when trusted_proxy is None | Michael Merickel | 2019-01-03 | 2 | -11/+4 |
| | | | | fixes #227 | ||||
* | fix pastedeploy url | Michael Merickel | 2019-01-03 | 1 | -1/+1 |
| | |||||
* | Prep v1.2.0b2v1.2.0b2 | Bert JW Regeer | 2019-01-02 | 1 | -1/+1 |
| | |||||
* | Add CHANGES.txt | Bert JW Regeer | 2019-01-02 | 1 | -0/+11 |
| | |||||
* | Only warn/fake bytes written if there is data | Bert JW Regeer | 2019-01-02 | 1 | -1/+1 |
| | |||||
* | Add link to documentation | Bert JW Regeer | 2018-12-31 | 1 | -0/+3 |
| | |||||
* | Formatting | Bert JW Regeer | 2018-12-31 | 1 | -1/+1 |
| | |||||
* | Prep 1.2.0b1v1.2.0b1 | Bert JW Regeer | 2018-12-31 | 1 | -1/+1 |
| | |||||
* | Move history from CHANGES.txt | Bert JW Regeer | 2018-12-31 | 2 | -95/+95 |
| | |||||
* | Add CHANGES.txt for #224 | Bert JW Regeer | 2018-12-31 | 1 | -2/+13 |
| | |||||
* | Merge pull request #224 from Estartu/master | Bert JW Regeer | 2018-12-12 | 1 | -1/+1 |
|\ | | | | | added any as valid value for the trusted_proxy adjustable | ||||
| * | changed any to * as any could potentially be a valid remote_peer | Gerhard Schmidt | 2018-12-13 | 1 | -1/+1 |
| | | |||||
| * | added any as valid value for the trusted_proxy adjustable | Gerhard Schmidt | 2018-12-12 | 1 | -1/+1 |
|/ | | | | | | | | | | | Backgound is when waitress is running inside a container, any request is originates from the gateway of the container network, not from the outside ip. The container network changes every time the container is restarted to a random new network number. So setting one IP as trusted_proxy isn't possible but still needed as most of the time an reverse proxy is between the client an the container. So if it's ensured that only requests from the reverse proxy can reach the container, trusting any host is not a problem. | ||||
* | Merge pull request #209 from Pylons/bugfix/socket-server-name-port | Bert JW Regeer | 2018-12-02 | 9 | -205/+1336 |
|\ | | | | | Use Forwarded/X-Forwarded-{For,Host,By,Port,Proto} to fixup WSGI environ | ||||
| * | clear untrusted headers if trusted_proxy is set but does not match | Michael Merickel | 2018-12-02 | 2 | -109/+128 |
| | | |||||
| * | fix docs formatting | Michael Merickel | 2018-12-02 | 3 | -82/+120 |
| | | |||||
| * | Update CHANGES.txt for #215bugfix/socket-server-name-port | Bert JW Regeer | 2018-12-02 | 1 | -0/+5 |
| | | |||||
| * | Add note to CHANGES.txt for proxy header support | Bert JW Regeer | 2018-12-02 | 1 | -0/+22 |
| | | |||||
| * | Update reverse proxy documentation | Bert JW Regeer | 2018-12-02 | 1 | -92/+49 |
| | | | | | | | | Get rid of paste middleware | ||||
| * | Add documentation for new arguments | Bert JW Regeer | 2018-12-02 | 1 | -2/+77 |
| | | |||||
| * | Try harder at getting the WSGI environ right | Bert JW Regeer | 2018-12-02 | 2 | -4/+62 |
| | | | | | | | | When facing the possibility of a proxy that is sending wacky values | ||||
| * | If no trusted_proxy, don't allow other variables | Bert JW Regeer | 2018-12-02 | 2 | -6/+28 |
| | | | | | | | | | | This way we don't accidentally mislead users into thinking those settings are doing anything when they are not. | ||||
| * | Define PROXY_HEADERS once | Bert JW Regeer | 2018-12-02 | 3 | -19/+14 |
| | | |||||
| * | Add tests for adjustments: trusted_proxy_headers | Bert JW Regeer | 2018-12-02 | 1 | -0/+50 |
| | | |||||
| * | Add test for X-Forwarded-By | Bert JW Regeer | 2018-12-02 | 1 | -0/+1 |
| | | | | | | | | It shouldn't be removed from headers if trusted | ||||
| * | Don't accidentally remove X-Forwarded-By if trusted | Bert JW Regeer | 2018-12-02 | 1 | -0/+5 |
| | | |||||
| * | Add new tests for proxy header parsing | Bert JW Regeer | 2018-12-02 | 1 | -14/+475 |
| | | |||||
| * | Add new adjustments | Bert JW Regeer | 2018-12-02 | 1 | -0/+86 |
| | | |||||
| * | addr should be a tuple of (ip, port) | Bert JW Regeer | 2018-12-02 | 1 | -1/+1 |
| | | |||||
| * | Use Forwarded/X-Forwarded-{For,Host,By,Port,Proto} to fixup environ | Bert JW Regeer | 2018-12-02 | 2 | -20/+277 |
| | | | | | | | | | | | | | | | | | | This will trust the proxy provided information and override the default provided by waitress. This is useful when using Waitress behind nginx or some other proxy to make sure the WSGI environment contains all of the appropriate settings/updates. | ||||
| * | Add Forwarded namedtuple | Bert JW Regeer | 2018-12-01 | 1 | -1/+5 |
| | | |||||
| * | Add undquote utility function | Bert JW Regeer | 2018-12-01 | 2 | -0/+76 |
|/ | |||||
* | Merge pull request #220 from Pylons/docs-grammar-fix | Bert JW Regeer | 2018-11-14 | 1 | -1/+1 |
|\ | | | | | grammar fix | ||||
| * | grammar fixdocs-grammar-fix | Steve Piercy | 2018-11-14 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #215 from ↵ | Bert JW Regeer | 2018-11-14 | 8 | -19/+343 |
|\ | | | | | | | | | Frank-Krick/feature/allow_passing_of_sockets_for_socket_activation Allow passing of sockets for socket activation | ||||
| * | Changes for review | Frank Krick | 2018-11-14 | 1 | -3/+2 |
| | | |||||
| * | Fixed error in check_sockets method in adjustments when using Windows | Frank Krick | 2018-11-13 | 1 | -1/+3 |
| | | |||||
| * | Check in adjustments to prevent mixing of Internet and UNIX sockets as well ↵ | Frank Krick | 2018-11-13 | 4 | -3/+50 |
| | | | | | | | | as the use of unsupported sockets | ||||
| * | Removed unix socket from code example | Frank Krick | 2018-11-13 | 1 | -4/+2 |
| | | |||||
| * | Implemented checks in adjustments for issue #217 | Frank Krick | 2018-11-13 | 2 | -3/+22 |
| | | |||||
| * | Changes for pull request review | Frank Krick | 2018-11-13 | 2 | -3/+4 |
| | | |||||
| * | Changed error message | Frank Krick | 2018-10-29 | 1 | -1/+1 |
| | | |||||
| * | Signed CONTRIBUTORS.txt and changes for review | Frank Krick | 2018-10-29 | 5 | -7/+9 |
| | | |||||
| * | Undo changes for getsockname | Frank Krick | 2018-10-28 | 1 | -15/+18 |
| | | |||||
| * | Fixed comment | Frank Krick | 2018-10-28 | 1 | -1/+1 |
| | | |||||
| * | Fix for test cases on Windows | Frank Krick | 2018-10-28 | 1 | -1/+4 |
| | |