Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests++ | Maximilian Hils | 2016-02-01 | 2 | -5/+24 |
| | |||||
* | fix #113, make Reader.peek() work on Python 3 | Maximilian Hils | 2016-02-01 | 2 | -6/+26 |
| | |||||
* | add test for Reader.peek() | Maximilian Hils | 2016-02-01 | 1 | -0/+14 |
| | |||||
* | fix test request and response headers | Thomas Kriechbaumer | 2016-01-30 | 4 | -7/+8 |
| | |||||
* | allow pypy again on travis | Thomas Kriechbaumer | 2016-01-30 | 1 | -4/+0 |
| | |||||
* | fix pypy on travis | Thomas Kriechbaumer | 2016-01-30 | 1 | -6/+23 |
| | |||||
* | Merge pull request #115 from Kriechi/move-tservers | Thomas Kriechbaumer | 2016-01-25 | 4 | -6/+5 |
|\ | | | | | move tservers to netlib module | ||||
| * | move tservers to netlib module | Thomas Kriechbaumer | 2016-01-25 | 4 | -6/+5 |
|/ | |||||
* | Merge pull request #110 from snemes/master | Maximilian Hils | 2016-01-17 | 1 | -2/+12 |
|\ | | | | | Added getter/setter for TCPClient source_address | ||||
| * | Merge branch 'master' into master | Sandor Nemes | 2016-01-13 | 1 | -1/+1 |
| |\ | |/ |/| | |||||
* | | Merge pull request #112 from mitmproxy/update-cryptography | Thomas Kriechbaumer | 2016-01-13 | 1 | -1/+1 |
|\ \ | | | | | | | upgrade cryptography dependency for new wheels | ||||
| * | | upgrade cryptography dependency for new wheels | Thomas Kriechbaumer | 2016-01-13 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #111 from felixonmars/master | Maximilian Hils | 2016-01-10 | 1 | -1/+1 |
|\ \ | | | | | | | Allow cryptography 1.2.* | ||||
| * | | Allow cryptography 1.2.* | Felix Yan | 2016-01-11 | 1 | -1/+1 |
|/ / | |||||
| * | Simplified setting the source_address in the TCPClient constructor | Sandor Nemes | 2016-01-11 | 1 | -2/+1 |
| | | |||||
| * | Added getter/setter for TCPClient source_address | Sandor Nemes | 2016-01-08 | 1 | -0/+11 |
|/ | |||||
* | bump version | Maximilian Hils | 2015-12-25 | 2 | -2/+2 |
| | |||||
* | update ssl_match_hostname dependency, refs #868 | Maximilian Hils | 2015-12-25 | 1 | -1/+1 |
| | |||||
* | bump version | Maximilian Hils | 2015-12-03 | 2 | -8/+10 |
| | |||||
* | use version specifiers compatible with old setuptools releases | Maximilian Hils | 2015-12-03 | 1 | -9/+9 |
| | |||||
* | add 3.5 compat classifiers | Maximilian Hils | 2015-11-29 | 1 | -0/+2 |
| | |||||
* | README: mkd -> rst | Maximilian Hils | 2015-11-29 | 4 | -27/+38 |
| | | | | pypi only renders reStructuredText. | ||||
* | Merge pull request #105 from bltb/master | Maximilian Hils | 2015-11-17 | 2 | -1/+5 |
|\ | | | | | Allow empty HTTP header value. | ||||
| * | Add test for empty header field value. | Benjamin Lee | 2015-11-17 | 1 | -4/+1 |
| | | |||||
| * | WIP. Add breaking test. | Benjamin Lee | 2015-11-17 | 1 | -0/+7 |
| | | |||||
| * | Fix to ignore empty header value. | Benjamin Lee | 2015-11-17 | 1 | -1/+1 |
|/ | | | | | | | | | | | | | | | | According to Augmented BNF in the following RFCs http://tools.ietf.org/html/rfc5234#section-3.6 http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.1 field-value = *( field-content | LWS ) http://tools.ietf.org/html/rfc7230#section-3.2 field-value = *( field-content / obs-fold ) ... the HTTP message header `field-value` is allowed to be empty. | ||||
* | Merge pull request #103 from scone/master | Maximilian Hils | 2015-11-14 | 3 | -10/+11 |
|\ | | | | | Utils port to 3.4 keeping py2 compatibility | ||||
| * | Fixing test_wsgi to remove py.test warnings | Sam Cleveland | 2015-11-14 | 1 | -3/+5 |
| | | | | | | | | | | Renamed TestApp class to ExampleApp to prevent py.test from trying to collect it as a test. | ||||
| * | Porting to Python 3.4 | Sam Cleveland | 2015-11-11 | 2 | -7/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated wsgi to support Python 3.4 byte strings. Updated test_wsgi to remove py.test warning for TestApp having an __init__ constructor. samc$ sudo py.test netlib/test/test_wsgi.py -r w = test session starts = platform darwin -- Python 3.4.1, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 rootdir: /Users/samc/src/python/netlib, inifile: collected 6 items netlib/test/test_wsgi.py ...... = 6 passed in 0.20 seconds = | ||||
| * | Porting to Python 3.4 | Sam Cleveland | 2015-11-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed byte string formatting for hexdump. = test session starts = platform darwin -- Python 3.4.1, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 rootdir: /Users/samc/src/python/netlib, inifile: collected 11 items netlib/test/test_utils.py ........... = 11 passed in 0.23 seconds = | ||||
| * | Revert "Porting netlib to python3.4" | Sam Cleveland | 2015-11-11 | 2 | -376/+8 |
| | | | | | | | | This reverts commit 823718348598efb324298ca29ad4cb7d5097c084. | ||||
| * | Porting netlib to python3.4 | Sam Cleveland | 2015-11-11 | 2 | -8/+376 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated utils.py using 2to3-3.4 Updated hexdump to use .format() with .encode() to support python 3.4 Python 3.5 supports .format() on bytes objects, but 3.4 is the current default on Ubuntu. samc$ py.test netlib/test/test_utils.py = test session starts = platform darwin -- Python 3.4.1, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 rootdir: /Users/samc/src/python/netlib, inifile: collected 11 items netlib/test/test_utils.py ........... = 11 passed in 0.19 seconds = | ||||
* | | be more conservative about dependency versions | Maximilian Hils | 2015-11-13 | 1 | -9/+9 |
|/ | |||||
* | Bump version for next release cycle | Aldo Cortesi | 2015-11-07 | 1 | -1/+1 |
| | |||||
* | Add CONTRIBUTORS | Aldo Cortesi | 2015-11-06 | 1 | -0/+18 |
| | |||||
* | Bump version | Aldo Cortesi | 2015-11-06 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/hostname-validation' | Maximilian Hils | 2015-11-04 | 24 | -245/+304 |
|\ | |||||
| * | fix certificate verification | Maximilian Hils | 2015-11-01 | 4 | -33/+75 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes netlib's optional (turned off by default) certificate verification, which previously did not validate the cert's host name. As it turns out, verifying the connection's host name on an intercepting proxy is not really straightforward - if we receive a connection in transparent mode without SNI, we have no clue which hosts the client intends to connect to. There are two basic approaches to solve this problem: 1. Exactly mirror the host names presented by the server in the spoofed certificate presented to the client. 2. Require the client to send the TLS Server Name Indication extension. While this does not work with older clients, we can validate the hostname on the proxy. Approach 1 is problematic in mitmproxy's use case, as we may want to deliberately divert connections without the client's knowledge. As a consequence, we opt for approach 2. While mitmproxy does now require a SNI value to be sent by the client if certificate verification is turned on, we retain our ability to present certificates to the client which are accepted with a maximum likelihood. | ||||
| * | adjust test certificate generation | Maximilian Hils | 2015-11-01 | 11 | -190/+142 |
| | | |||||
| * | add test certificate generator | Maximilian Hils | 2015-10-16 | 22 | -212/+277 |
| | | |||||
* | | Set default cert expiry to <39 months | Maximilian Hils | 2015-11-04 | 1 | -1/+2 |
| | | | | | | This sould fix mitmproxy/mitmproxy#815 | ||||
* | | minor fixes | Maximilian Hils | 2015-11-01 | 2 | -2/+2 |
|/ | |||||
* | fix tests | Maximilian Hils | 2015-09-28 | 1 | -6/+6 |
| | |||||
* | Merge branch 'http-models' | Maximilian Hils | 2015-09-28 | 28 | -853/+1320 |
|\ | |||||
| * | test response model, push coverage to 100% branch cov | Maximilian Hils | 2015-09-27 | 11 | -172/+208 |
| | | |||||
| * | improve request tests, coverage++ | Maximilian Hils | 2015-09-26 | 12 | -296/+455 |
| | | |||||
| * | refactor response model | Maximilian Hils | 2015-09-26 | 16 | -274/+293 |
| | | |||||
| * | refactor request model | Maximilian Hils | 2015-09-26 | 17 | -345/+598 |
| | | |||||
* | | properly adjust tests for 87566da3ba | Maximilian Hils | 2015-09-28 | 1 | -5/+1 |
| | | |||||
* | | fix mitmproxy/mitmproxy#784 | Maximilian Hils | 2015-09-28 | 3 | -7/+7 |
|/ |