Maximilian Hils
a2740ee4ae
Merge pull request #2868 from kira0204/data-crash
...
Fix crashing when editing form with random data, fix #2794
2018-03-04 19:53:15 +01:00
luz.paz
afbb7f117b
Misc. typos
...
Found via `codespell -q 3 -I ../mitmproxy-word-whitelist.txt`
Where whitelist contains:
```
cas
doubleclick
nd
ot
seeked
statics
te
thru
```
2018-02-24 21:45:11 -05:00
Tran Tien Dat
97e534e76b
Fix #2829
2018-02-21 19:58:29 +08:00
kira0204
fb54bb3777
Testing
2018-02-19 22:45:30 +05:30
kira0204
a519afb9c9
Fixing getter
2018-02-19 11:10:19 +05:30
kira0204
e82641ee2d
fix 2794
2018-02-15 08:40:54 +05:30
Maximilian Hils
26cb6b7936
Merge pull request #2847 from kira0204/key-cookie-issue
...
Handling empty key with value for cookies, fix #2827
2018-02-12 11:22:09 +01:00
kira0204
06f689aa34
keeping consistency, better testing
2018-02-11 17:25:44 +05:30
Maximilian Hils
e4f70b7957
use TLS options also for request replay, refs #2840
2018-02-08 13:17:33 +01:00
kira0204
4e9d4b37b3
fixing logic
2018-02-07 04:41:12 +05:30
Maximilian Hils
9a43ff5da1
Merge pull request #2793 from kajojify/issue-2399
...
Issue 2399
2018-01-14 21:52:32 +01:00
Miroslav
2fd9ef4769
Other condition
2018-01-14 13:46:06 +02:00
Miroslav
267b1af835
Fix #2399
2018-01-14 13:41:15 +02:00
Maximilian Hils
93d9640ea5
improve net.tls.ClientHello API, fix bugs, add tests
2018-01-13 00:10:47 +01:00
Maximilian Hils
fc80aa562e
move ClientHello and related functions to mitmproxy.net.tls
2018-01-12 21:40:35 +01:00
Thomas Kriechbaumer
4fb894cad4
avoid TLS/SSL ambiguity for Cert class
2018-01-07 19:55:04 +01:00
Thomas Kriechbaumer
d15e96dee1
rename TLS/SSL-related functions
...
SSL is an outdated protocol superseeded by TLS. Although the commonly
used library is called OpenSSL, it is no reason to still use outdated
language for function names.
2018-01-06 10:43:54 +01:00
Thomas Kriechbaumer
9aae3213b9
rename TLS/SSL-related attributes
...
SSL is an outdated protocol superseeded by TLS. Although the commonly
used library is called OpenSSL, it is no reason to still use outdated
language for attributes.
2018-01-06 10:43:47 +01:00
Aldo Cortesi
978b8d095c
mitmproxy.types -> mitmproxy.coretypes
...
The types name is valuable, and we have a better use for it in collecting and
exposing types for options and commands.
The coretypes module should probably be split up anyway - it contains a
threading base class, a few container objects, and the defintion of our
serialization protocol. I was tempted to rename it to "uncagegorized" for the
sake of honesty.
2017-12-17 13:31:36 +13:00
Suraj Tripathi
5067438ec1
Bug in expected_http_body_size fix ( #2642 )
...
fixes #2618
2017-11-27 19:01:32 +01:00
Maximilian Hils
de006ea8ad
move hostname validation into mitmproxy.net.tls
2017-09-04 14:02:43 +02:00
Maximilian Hils
2b4f58eb44
split TLS parts from net.tcp into net.tls
2017-09-03 03:06:15 +02:00
Simon Vermeersch
38fe2f244a
Fallback correctly to ipv4 when ipv6 is not supported
2017-08-13 14:00:42 +02:00
Thomas Kriechbaumer
4855659eeb
nuke old openssl
2017-07-25 10:56:24 +02:00
Ujjwal Verma
619566fc9f
Fixes #2230 ( #2361 )
2017-06-02 13:31:12 +02:00
Thomas Kriechbaumer
6214c6e185
fix openssl cipher_list bytes/str deprecation
2017-05-24 16:17:04 +02:00
Thomas Kriechbaumer
ae7e9efb5c
fix various fd/socket leaks
2017-05-24 14:09:41 +02:00
Thomas Kriechbaumer
485ac4aa32
fix array.{fromstring,tostring} deprecation warning
2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
e82ed55516
close existing server_conn before replacing it
2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
ba05a29fbb
TCP IPv6: fix leaking sockets
2017-05-24 11:35:35 +02:00
Ujjwal Verma
5833b218b2
Increase net.tcp.py coverage ( #2336 )
2017-05-17 23:27:57 +08:00
Thomas Kriechbaumer
ca46b1e340
alpn_select_callback must be a callable
2017-05-17 10:38:31 +08:00
Thomas Kriechbaumer
3fadda2bba
fix pragmas
2017-05-17 10:33:35 +08:00
Aldo Cortesi
a03a56f4dc
net.tcp: server should be in shut-down state before start
...
The .configure and .tick events can be called before the server is running. If
an addon calls ctx.master.shutdown() at this point, the server hangs forever
waiting on __is_shutdown_set. This patch fixes this by starting off with it
already set.
2017-05-14 10:28:12 +12:00
Ujjwal Verma
9d0771bae5
net.http.url.py changes
2017-05-12 21:09:50 +05:30
Maximilian Hils
315daa042a
fix #2310
2017-05-03 17:38:17 +02:00
Thomas Kriechbaumer
adce1a8235
Merge pull request #2277 from Kriechi/bump-cryptography
...
bump cryptography min-version
2017-04-27 20:11:15 +02:00
Thomas Kriechbaumer
3e82f4d6c4
bump cryptography min-version
...
This removes OpenSSL v0.9.8 support.
2017-04-27 19:39:56 +02:00
Maximilian Hils
87610cc8b2
fix #2250 , add type info to cookie module
2017-04-26 14:17:14 +02:00
Robert C Jensen
7365f18542
fixes ipv6 authority form parsing in CONNECT
2017-04-07 15:46:21 -04:00
Aldo Cortesi
5192810ff6
Make mypy succeed with imports on master.py
...
We get little benefit from our mypy QA checks at the moment, because we skip
imports. This patch is what's needed to make mypy succeed with imports on a
single file: master.py
It also updates mypy to the current version, and enables a QA check.
Mypy bugs I encountered:
dict.update with kwargs not supported:
https://github.com/python/mypy/issues/1031
property setters and getters must be adjacent:
https://github.com/python/mypy/issues/1465
2017-03-17 08:13:47 +13:00
Maximilian Hils
65c4a3cf1d
add Request.make
2017-03-15 14:06:00 +01:00
Maximilian Hils
875ce8c9c1
py3: __ne__ delegates to __eq__ by default
2017-03-14 00:40:15 +01:00
Maximilian Hils
8707928b16
unify server spec parsing
2017-03-08 00:18:34 +01:00
Maximilian Hils
fab3a8dcf4
fix constant definition
2017-02-24 13:39:03 +01:00
Thomas Kriechbaumer
3e9125a3c1
nuke tcp.Address and add proper IPv6 support
2017-02-24 13:39:02 +01:00
Maximilian Hils
aa6b0f299e
minor changes
2017-02-21 13:00:04 +01:00
Ujjwal Verma
11134b669e
Absolute IPv6 addresses supported
2017-02-20 21:02:43 +05:30
Maximilian Hils
4158a1ae55
Merge pull request #2040 from mhils/request-host-header
...
Add "Request.host_header"
2017-02-18 12:08:54 +01:00
Thomas Kriechbaumer
8cbd6dca9f
Merge pull request #2035 from Kriechi/fix-1916
...
fix #1916
2017-02-18 11:40:56 +01:00