Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | script: convert test recorder to an addon class | Aldo Cortesi | 2016-07-23 | 2 | -19/+19 |
| | |||||
* | scripts: .start can now return an Addon instance | Aldo Cortesi | 2016-07-23 | 2 | -0/+35 |
| | |||||
* | script: add a namespace adaptor to match Addons | Aldo Cortesi | 2016-07-23 | 1 | -4/+4 |
| | |||||
* | fix mitmproxy 0.11 dumpfile - was 0.18 before | Maximilian Hils | 2016-07-22 | 1 | -0/+0 |
| | |||||
* | fix content view cache invalidation | Maximilian Hils | 2016-07-21 | 2 | -5/+13 |
| | |||||
* | console: share one ActionBar instance | Aldo Cortesi | 2016-07-21 | 1 | -1/+1 |
| | | | | | This fixes an issues where popping a view off the stack caused stale ActionBar contents to be displayed. | ||||
* | Merge branch 'flow-export' of https://github.com/dufferzafar/mitmproxy into ↵ | Aldo Cortesi | 2016-07-21 | 1 | -36/+6 |
|\ | | | | | | | dufferzafar-flow-export | ||||
| * | Add a url exporter | Shadab Zafar | 2016-07-20 | 1 | -0/+6 |
| | | |||||
| * | Remove raw_request exporter | Shadab Zafar | 2016-07-20 | 1 | -36/+0 |
| | | | | | | | | This functionality will be handled by headers+content | ||||
* | | Fix netlib.utils.is_valid_host | Aldo Cortesi | 2016-07-21 | 2 | -0/+16 |
|/ | | | | | | | | - Don't crash when passed an empty string. This translated into an actual core crash, discovered while fuzzing with afl. - Taking a slice of length one out of bytes returns an integer, so the check for trailing period in this function never worked on Python3. - Add unit tests. | ||||
* | mitproxy.options -> mitmproxy.optmanager, mitmproxy.flow.options -> ↵ | Aldo Cortesi | 2016-07-20 | 13 | -26/+22 |
| | | | | | | | | | mitmproxy.options It might be slightly more felicitous to move optmanager into netlib at some point, especially if we can also use it in pathod. This also consolidates our constants in mitmproxy.options, removing some duplicates. | ||||
* | Test suite: get_proxy_config -> get_options | Aldo Cortesi | 2016-07-19 | 3 | -41/+57 |
| | |||||
* | Remove proxy.config.process_proxy_options | Aldo Cortesi | 2016-07-19 | 1 | -2/+2 |
| | |||||
* | ProxyConf: adapt mitmproxy console, ditch tcp|host filter attrs on flow.master | Aldo Cortesi | 2016-07-19 | 1 | -9/+0 |
| | |||||
* | ProxyConf: auth_* into Options | Aldo Cortesi | 2016-07-19 | 4 | -14/+8 |
| | |||||
* | ProxyConfig: http2, rawtcp, no_upstream_cert -> Options | Aldo Cortesi | 2016-07-19 | 2 | -5/+2 |
| | |||||
* | ProxyConfig: Refactor to move verification mode checks into configure | Aldo Cortesi | 2016-07-19 | 1 | -14/+22 |
| | |||||
* | Regularize naming of upstream_trusted_ca* options | Aldo Cortesi | 2016-07-19 | 2 | -9/+9 |
| | |||||
* | ProxyConfig: various SSL options to Options | Aldo Cortesi | 2016-07-19 | 1 | -2/+5 |
| | |||||
* | config.parse_server_spec shouldn't pass byts to tcp.Address | Aldo Cortesi | 2016-07-19 | 2 | -4/+4 |
| | |||||
* | ProxyConfig: mode, upstream_server and upstream_auth to Options | Aldo Cortesi | 2016-07-19 | 6 | -59/+84 |
| | |||||
* | ProxyConfig: --body-size-limit to Options | Aldo Cortesi | 2016-07-19 | 1 | -1/+1 |
| | |||||
* | Move clientcers & cadir to Options | Aldo Cortesi | 2016-07-19 | 1 | -1/+3 |
| | | | | | Also adds a .configure mechanism to ProxyConfig, and hooks it up to the change event. | ||||
* | ProxyConfig: cadir to options | Aldo Cortesi | 2016-07-19 | 2 | -4/+2 |
| | |||||
* | ProxyConfig refactor | Aldo Cortesi | 2016-07-19 | 4 | -29/+30 |
| | | | | | Step two of frog boiling: move listening address and port into options. This is the hard bit, because it touches the test suite so deeply. | ||||
* | Unify proxy config and options | Aldo Cortesi | 2016-07-19 | 4 | -12/+21 |
| | | | | | This is step 1 in a gradual "boiling frog" strategy. Decorate ProxyConfig with an Options object. | ||||
* | Console options cleanup | Aldo Cortesi | 2016-07-18 | 1 | -2/+6 |
| | | | | Use setters, use togglers, move more things out of master | ||||
* | Add a toggller helper to Options, start using it in mitmproxy console | Aldo Cortesi | 2016-07-18 | 1 | -0/+11 |
| | |||||
* | cleanup | Thomas Kriechbaumer | 2016-07-17 | 1 | -12/+12 |
| | |||||
* | http2: coverage++ | Thomas Kriechbaumer | 2016-07-17 | 1 | -1/+152 |
| | |||||
* | setheaders -> addon | Aldo Cortesi | 2016-07-17 | 2 | -52/+64 |
| | |||||
* | Merge pull request #1370 from cortesi/filestreamer | Aldo Cortesi | 2016-07-17 | 1 | -2/+2 |
|\ | | | | | Some work on stream-to-file | ||||
| * | Some work on stream-to-file | Aldo Cortesi | 2016-07-17 | 1 | -2/+2 |
| | | | | | | | | | | - stream -> filestreamer throughout - move active_flows set into FileStreamer addon | ||||
* | | Merge pull request #1367 from Kriechi/fix-1366 | Aldo Cortesi | 2016-07-17 | 1 | -4/+22 |
|\ \ | | | | | | | fix-1366 | ||||
| * | | fix-1366 | Thomas Kriechbaumer | 2016-07-16 | 1 | -4/+22 |
| |/ | |||||
* | | Merge branch 'master' into dumper | Aldo Cortesi | 2016-07-17 | 3 | -6/+229 |
|\| | |||||
| * | Merge remote-tracking branch 'duffer/tcpflow-filter' | Maximilian Hils | 2016-07-16 | 3 | -6/+229 |
| |\ | |||||
| | * | Allow DummyFlow to match ~e, ~src and ~dst | Shadab Zafar | 2016-07-16 | 2 | -15/+37 |
| | | | |||||
| | * | Add DummyFlow and its Tests | Shadab Zafar | 2016-07-16 | 1 | -1/+59 |
| | | | |||||
| | * | Add tests for TCPFlow.match | Shadab Zafar | 2016-07-16 | 1 | -1/+15 |
| | | | |||||
| | * | Add ~http and ~tcp filters | Shadab Zafar | 2016-07-16 | 1 | -0/+10 |
| | | | |||||
| | * | Use ~bq / ~bs for messages sent from client / server | Shadab Zafar | 2016-07-16 | 1 | -5/+11 |
| | | | |||||
| | * | Add tests for HTTPFlow only filters | Shadab Zafar | 2016-07-16 | 1 | -0/+50 |
| | | | |||||
| | * | Add test for operators (& | !) | Shadab Zafar | 2016-07-16 | 1 | -0/+25 |
| | | | |||||
| | * | Add test for addresses (~src, ~dst) | Shadab Zafar | 2016-07-16 | 1 | -0/+16 |
| | | | |||||
| | * | Add test for body (~b) | Shadab Zafar | 2016-07-16 | 1 | -0/+7 |
| | | | |||||
| | * | Add test for error (~e) | Shadab Zafar | 2016-07-16 | 1 | -1/+16 |
| | | | |||||
* | | | Extract console dump functionality into an addon | Aldo Cortesi | 2016-07-17 | 3 | -82/+94 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes all the code that deals with printing flows to screen from dump.py into a self-contained addon. - This fixes a bug - by moving dumping into an addon, we now dump flows AFTER addon transformation, so we can see the changes made. - We get dumping "for free" in other places by simply adding the addon. It's now easy to add dumping to console to mitmweb for debugging and development. The same goes for external projects that derive from master. - We also get major benefits in clarity for a frankly hairy part of our project. Mitmdump is much clearer, and all the hairyness is now isolated for further refactoring. | ||||
* | | Merge pull request #1306 from mitmproxy/message-body-encoding | Maximilian Hils | 2016-07-16 | 5 | -93/+219 |
|\ \ | | | | | | | Improve Message Body Encoding | ||||
| * | | preserve content-type parameter order | Maximilian Hils | 2016-07-15 | 1 | -1/+3 |
| | | |