Thomas Kriechbaumer
82b5d61456
revert some minor changes
2020-11-21 10:46:19 +01:00
Thomas Kriechbaumer
38cca379df
pyupgrade --py36-plus mitmproxy/**/*.py
2020-11-20 19:25:26 +01:00
Maximilian Hils
dac0bfe786
Merge pull request #3691 from mhils/sans-io-adjustments
...
Update mypy, sans-io adjustments
2019-11-12 05:04:05 +01:00
Maximilian Hils
bdc15cbe0c
update mypy
2019-11-12 04:38:13 +01:00
Tom
93c103a2a2
Fixed lint
2019-11-05 20:27:00 +01:00
Tom
d35c00ee65
Added support for IPv6 in pf.py for macOS
2019-11-05 20:27:00 +01:00
Maximilian Hils
b86cf6dea9
fix py38 compat
2019-07-18 02:52:24 +02:00
Mickaël Schoentgen
3a2d7bb119
Fix several DeprecationWarning: invalid escape sequence
...
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-05 23:37:48 +01:00
Maximilian Hils
54ee135f65
windows transparent mode: always recalculate checksum
2018-05-29 15:15:07 +02:00
Maximilian Hils
8ebcf8ec96
fix IPv6 addresses with scope
2018-05-29 13:25:38 +02:00
Maximilian Hils
f0482eec54
add support for IPv6 transparent mode on Windows
...
This fixes #3080 .
2018-05-28 21:43:28 +02:00
oscure76
0e984e1442
fix Python 3.6 variable type annotations #3053
2018-04-14 16:24:41 -07:00
Fenil Gandhi
ece6002328
Update remaining old docs url with new one.
2018-03-05 22:56:36 +05:30
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
Maximilian Hils
9e86764ce3
linux: support IPv6 destinations in transparent mode
...
This fixes #2869 with the help of @aniketpanjwani.
2018-02-16 15:36:21 +01:00
Maximilian Hils
0fb48bc6a7
minor improvements, add tests for ipv4-mapped addresses
2017-12-12 14:00:12 +01:00
@Ga_ryo_
d181b4643f
Fix #2594
2017-12-12 14:00:09 +01:00
Aldo Cortesi
9c57508fde
console: extract "enter" to m_select
...
Regularise, kill dead code, remove keybindings now not needed.
2017-06-11 21:55:31 +12:00
Jihyun Yu
4adc575bad
Add transparent proxy support for OpenBSD
...
Add transparent proxy support for OpenBSD with pf divert-to.
2017-02-11 14:05:22 +09:00
Aldo Cortesi
d742d4fb8c
Replace configargparse with argparse, enable new options loading
...
This commit ditches configargparse and enables the new config file format. The
default location is ~/.mitmproxy/config.yaml. Unifying all of the various
Options objects will follow in the next patch.
2016-12-08 10:21:06 +13:00
Maximilian Hils
568f40c810
Fix transparent mode initialisation, refactor mitmproxy.platform ( #1787 )
2016-11-25 17:32:23 +01:00
Maximilian Hils
f644665cd9
update pydivert, fix #1749
2016-11-21 14:14:52 +01:00
Aldo Cortesi
a647b30365
python3: clean up class brackets
2016-10-17 17:37:08 +13:00
Aldo Cortesi
fb22f2ff4f
Zap object base class
2016-10-17 17:37:08 +13:00
Aldo Cortesi
839813a84c
mitmproxy: zap six
2016-10-17 16:22:44 +13:00
Vincent Haupert
73b7da1a03
Fix platform import on Linux using python3
...
Using python3, sys.platform returns "linux" instead of "linux2" using
python2. This patch accepts "linux" as well as "linux2".
2016-07-30 12:42:33 +02:00
strohu
6a9407d7cc
Make sudo pfctl error check Python 3 compatible
...
In Python 3, subprocess.check_output() returns a sequence of bytes. This change ensures that it will be converted to a string, so the substring test for the sudo error message does not raise a TypeError. This fixes the code in Python 3 while remaining compatible with Python 2.
2016-07-12 15:47:01 +01:00
Shadab Zafar
d655d8f1f3
py3++: mitmproxy.platform.pf
2016-06-22 13:38:00 +05:30
Thomas Kriechbaumer
7bde38dc4a
py3++
2016-06-19 12:00:37 +02:00
Maximilian Hils
1ca45b1e64
fix imports
2016-05-31 19:35:10 -07:00
Maximilian Hils
0a2e7a97cd
use module-level imports only
2016-05-31 19:06:57 -07:00
Steven Noble
96512dd848
Include correct documentation URL in error message
2016-04-30 00:45:07 -07:00
Maximilian Hils
2ce023a991
py3++
2016-03-20 22:50:03 +01:00
Maximilian Hils
d33d3663ec
combine projects
2016-02-18 13:03:40 +01:00