Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nuke tutils.tmpdir, use pytest tmpdir | Thomas Kriechbaumer | 2017-03-12 | 12 | -329/+273 |
| | |||||
* | Merge pull request #2118 from lymanZerga11/patch-3 | Maximilian Hils | 2017-03-11 | 1 | -0/+1 |
|\ | | | | | Update proxyauth.py to add proxyauth metadata | ||||
| * | add tests | lymanZerga11 | 2017-03-09 | 1 | -1/+1 |
| | | |||||
| * | Add tests | lymanZerga11 | 2017-03-09 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #2114 from mitmproxy/fix-websocket-serialization | Thomas Kriechbaumer | 2017-03-10 | 2 | -3/+34 |
|\ \ | | | | | | | make websocket flows serializable | ||||
| * | | make websocket flows serializable | Thomas Kriechbaumer | 2017-03-09 | 2 | -3/+34 |
| | | | | | | | | | | | | fixes #2113 | ||||
* | | | disable h2c prior knowledge connections | Thomas Kriechbaumer | 2017-03-10 | 2 | -17/+39 |
|/ / | |||||
* | | core -> core_option_validation | Maximilian Hils | 2017-03-08 | 1 | -4/+4 |
| | | | | | | | | longer, but much clearer for devs who are unfamiliar with the codebase. | ||||
* | | change add_option parameter order | Maximilian Hils | 2017-03-08 | 2 | -24/+24 |
| | | | | | | | | | | name, type, value matches natural language ($x is a bool with a default value of $y) and also matches the python type annotation order of name: type = value | ||||
* | | unify server spec parsing | Maximilian Hils | 2017-03-08 | 2 | -20/+33 |
| | | |||||
* | | Carefully re-add a small number of short flags | Aldo Cortesi | 2017-03-07 | 1 | -4/+6 |
| | | | | | | | | | | The mechanism for booleans attaches the short flag to whatever the opposite of the default is. | ||||
* | | Change the way proxy authetication is specified | Aldo Cortesi | 2017-03-07 | 2 | -20/+22 |
| | | | | | | | | | | | | We now have one option "proxyauth". If this is "any", we accept any credentials, if it starts with an @ it's treated as a path to an htpasswd file, if it is of the form username:password it's a single-user credential. | ||||
* | | Options tweaks | Aldo Cortesi | 2017-03-07 | 1 | -17/+17 |
| | | | | | | | | | | | | | | - Regularise presentation and wording - Help is mandatory for all options - Auto-generate wording to say that sequence options can be passed multiple times on the command-line | ||||
* | | Remove less commonly used command-line options | Aldo Cortesi | 2017-03-07 | 1 | -24/+0 |
| | | | | | | | | | | | | We now have --set, so only options that really deserve it get a dedicated flag. I'm inclined to strip this back even more. Feel free to argue that YOUR favourite option deserves special treatment here. | ||||
* | | Add the --set option to set options directly | Aldo Cortesi | 2017-03-07 | 1 | -0/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The --set option is a universal flag for setting options. Some examples: Turn on a boolean: mitmdump --set onboarding=false Add a value to a sequence: mitumdupm --set setheaders=/foo/bar/voing Zero a sequence: mitumdupm --set setheaders | ||||
* | | Option spacing and coverage | Aldo Cortesi | 2017-03-07 | 1 | -1/+23 |
| | | |||||
* | | Add --options that dumps annotated option defaults | Aldo Cortesi | 2017-03-07 | 1 | -0/+5 |
| | | |||||
* | | Cleanups and test coverage | Aldo Cortesi | 2017-03-07 | 3 | -4/+34 |
| | | |||||
* | | Automate slurping up command-line options | Aldo Cortesi | 2017-03-07 | 2 | -9/+4 |
| | | | | | | | | | | Now that options are completely regular, we can automate reading them out of arguments, rather than listing them out by hand like savages. | ||||
* | | Replacements and setheaders are always strings | Aldo Cortesi | 2017-03-06 | 2 | -19/+19 |
| | | | | | | | | | | Instead of having two representations we have one canonical specification. Fixing the editor in console is left ot a further patch. | ||||
* | | Unify mode specification | Aldo Cortesi | 2017-03-06 | 5 | -40/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | We now have: --mode regular (the default) --mode transparent --mode socks5 --mode reverse:SPEC --mode upstream:SPEC Where SPEC is a host specification. | ||||
* | | Options unification: streamfile | Aldo Cortesi | 2017-03-06 | 1 | -1/+1 |
| | | | | | | | | | | We now have one option to control this. If the path is prefixed with a "+" we append, otherwise we overwrite. | ||||
* | | Options unification: string choices | Aldo Cortesi | 2017-03-06 | 1 | -3/+3 |
| | | |||||
* | | Options unification: simple strings | Aldo Cortesi | 2017-03-06 | 3 | -8/+8 |
| | | | | | | | | Move all simple string options to the new scheme. Also regularise some names. | ||||
* | | Options unification: sizes | Aldo Cortesi | 2017-03-06 | 3 | -3/+20 |
| | | | | | | | | | | | | | | | | | | | | | | Start dealing with corner cases: - Sizes are always stored in options as strings - Add a new core addon that's responsible for verifying settings that don't belong to an addon - Add a _processed scratch space on the Options object for processed core values to be stored in. This is pretty dirty, but less dirty than re-parsing values every time. We'll come up with something better down the track. | ||||
* | | Start unifying options and the command-line: booleans | Aldo Cortesi | 2017-03-05 | 6 | -19/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit: - Adds a help field to options - Adds a function to generate parser definitions from options - Uses this to migrate all boolean flags over to the new system - Makes all booleans consistently follow the --foo/--not-foo convention There are a number of things left to be done here: - Argparse doesn't give us a nice way to format --foo --not-foo help. Click does, and moving to click is a goal down the track. - For now, we remove all short aliases. I want to re-evaluate these systematically once we have the new structure in place. | ||||
* | | Revamp options | Aldo Cortesi | 2017-03-05 | 9 | -104/+90 |
|/ | | | | | - Options are now explicitly initialized with an add_option method - We have one canonical Options class - ditch dump.Options | ||||
* | Merge branch 'master' into on-issues | Nikhil Soni | 2017-03-03 | 18 | -421/+1022 |
|\ | |||||
| * | http2: fix h2 header normalization test (#2080) | Thomas Kriechbaumer | 2017-03-01 | 1 | -69/+0 |
| | | |||||
| * | added XSS scanner example (#1907) | David Dworken | 2017-02-27 | 1 | -0/+368 |
| | | |||||
| * | do not return IP addresses in SSLCert.altnames | Thomas Kriechbaumer | 2017-02-26 | 1 | -1/+1 |
| | | |||||
| * | certs: coverage++ | Thomas Kriechbaumer | 2017-02-26 | 2 | -7/+26 |
| | | |||||
| * | connections: coverage++ (#2064) | Thomas Kriechbaumer | 2017-02-26 | 1 | -28/+171 |
| | | |||||
| * | optmanager: coverage++ (#2062) | Thomas Kriechbaumer | 2017-02-25 | 1 | -7/+15 |
| | | |||||
| * | http: coverage++ (#2060) | Thomas Kriechbaumer | 2017-02-24 | 1 | -0/+25 |
| | | |||||
| * | move tests around (#2059) | Thomas Kriechbaumer | 2017-02-24 | 2 | -225/+232 |
| | | |||||
| * | move tests around (#2058) | Thomas Kriechbaumer | 2017-02-24 | 3 | -67/+68 |
| | | |||||
| * | flowfilter: coverage++ | Thomas Kriechbaumer | 2017-02-24 | 3 | -1/+102 |
| | | |||||
| * | nuke tcp.Address and add proper IPv6 support | Thomas Kriechbaumer | 2017-02-24 | 11 | -47/+44 |
| | | |||||
| * | Merge pull request #2048 from ujjwal96/ipv6-addresses | Maximilian Hils | 2017-02-22 | 1 | -0/+1 |
| |\ | | | | | | | Absolute IPv6 addresses supported | ||||
| | * | Absolute IPv6 addresses supported | Ujjwal Verma | 2017-02-20 | 1 | -0/+1 |
| | | | |||||
* | | | Adds test for --keep-host-header | Nikhil Soni | 2017-03-03 | 1 | -0/+20 |
| | | | |||||
* | | | Changes dns_spoofing example to use --keep-host-header | Nikhil Soni | 2017-03-03 | 1 | -2/+0 |
|/ / | |||||
* / | Add test for @concurrent decorator in class. | Matthew Shao | 2017-02-21 | 2 | -0/+31 |
|/ | |||||
* | improve test | Thomas Kriechbaumer | 2017-02-20 | 1 | -3/+3 |
| | |||||
* | Merge pull request #2017 from lymanZerga11/patch-1 | Thomas Kriechbaumer | 2017-02-20 | 1 | -0/+21 |
|\ | | | | | Catch ValueErrors from url.parse() | ||||
| * | Update test_flowlist.py | lymanZerga11 | 2017-02-14 | 1 | -4/+3 |
| | | |||||
| * | Update test_flowlist.py | lymanZerga11 | 2017-02-14 | 1 | -13/+4 |
| | | |||||
| * | Update test_flowlist.py | lymanZerga11 | 2017-02-13 | 1 | -4/+5 |
| | | |||||
| * | Update test_flowlist.py | lymanZerga11 | 2017-02-13 | 1 | -1/+0 |
| | |