aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a -n option which tells the tools not to bind a proxy.Aldo Cortesi2011-05-141-6/+11
| | | | This is useful when you just want to inspect or process dumps.
* Refactoring.Aldo Cortesi2011-03-291-5/+5
|
* Add some debugging output to help troubleshoot a performance problem.Aldo Cortesi2011-03-271-0/+10
|
* Add a stickyauth option.Aldo Cortesi2011-03-201-2/+17
| | | | | | | This allows us to replay an HTTP Authorization header, in the same way as we replay cookies using stickycookies. This lets us conveniently get at HTTP Basic Auth protected resources through the proxy, but is not enough to do the same for HTTP Digest auth. We'll put that on the todo list.
* Reverse order of flows in mitmproxy.Aldo Cortesi2011-03-201-2/+0
| | | | It matches user expectations much better to have new flows appended to the bottom.
* Enable request and response script commandline arguments for mitmproxy.Aldo Cortesi2011-03-181-14/+22
|
* Maintain focus in mitmproxy when flows are loaded from file.Aldo Cortesi2011-03-181-4/+7
|
* Do id-based comparison rather than value-based comparison to establish flow ↵Aldo Cortesi2011-03-181-1/+2
| | | | | | focus. This fixes a bug where focus would jump unpredictably between identical flows.
* Use path_prompt rather than plain prompt where needed in mitmproxy.Aldo Cortesi2011-03-181-4/+4
|
* Server replay shortcut in mitmproxy can now be used to interrupt a current ↵Aldo Cortesi2011-03-181-5/+19
| | | | replay.
* Client playback shortcut in mitmproxy can now be used to interrupt a current ↵Aldo Cortesi2011-03-181-5/+20
| | | | client playback.
* Interrupt interception when deleting an intercepting flow.Aldo Cortesi2011-03-151-10/+3
| | | | Prompting the user for this is annoying.
* Fix minor styling and glitches.Aldo Cortesi2011-03-151-5/+5
|
* Fix hang on shutdown.Aldo Cortesi2011-03-151-1/+1
|
* Do pre-processing of requests before replay.Aldo Cortesi2011-03-151-2/+2
| | | | | This enables scripts, anticache, server playback and sticky cookies for request replays.
* Improve responsiveness of request and response viewing.Aldo Cortesi2011-03-151-56/+62
| | | | | | | | - Computing the view of a large body is expensive, so we introduce an LRU cache to hold the latest 20 results. - Use ListView more correctly, passing it individual urwid.Text snippets, rather than a single large one. This hugely improves render time.
* Use .stop() and .start() to restart curses around external spawns.Aldo Cortesi2011-03-141-10/+5
|
* Merge branch 'master' of github.com:cortesi/mitmproxyAldo Cortesi2011-03-141-1/+1
|\
| * Fix traceback when viewing hex mode.Aldo Cortesi2011-03-141-1/+1
| |
* | Use raw_display instead of curses_display.Aldo Cortesi2011-03-141-3/+3
|/
* Indicate request and response replay status separately.Aldo Cortesi2011-03-131-4/+4
|
* Fix a number of small UI infelicities.Aldo Cortesi2011-03-131-16/+14
| | | | | | | - Make request/response view switching behave sensibly - Avoid having an empty string appear in connection view text. This makes urwid misbehave. - Make it clear that intercept and cookies specifications are filters.
* Fix a traceback sometimes triggered viewing a connection with no response.Aldo Cortesi2011-03-131-25/+27
|
* Add server replay to mitmproxy.Aldo Cortesi2011-03-131-2/+45
|
* Add client plaback to mitmproxy.Aldo Cortesi2011-03-131-2/+34
|
* Add anticache support for mitmproxyAldo Cortesi2011-03-131-2/+31
| | | | | Also stub out an option toggle command for anticache, killextra and norefresh options.
* Rejigger status bar somewhat. Add indicators for various bits of state.Aldo Cortesi2011-03-131-23/+50
| | | | | In particular, we now display limits, sticky cookie expressions and intercepts in the bar.
* Fix stickycookie setting, indented view traceback.Aldo Cortesi2011-03-131-1/+5
|
* Remove beep functionality from mitmproxy.Aldo Cortesi2011-03-131-21/+0
| | | | This acts funny (sometimes works, sometimes doesn't) and isn't really useful.
* mitmproxy prompted input now display previously set value.Aldo Cortesi2011-03-131-24/+36
| | | | | E.g. if you set a limit, then re-enter the limit prompt, you start with the currently set value.
* console.py 100% test coverageAldo Cortesi2011-03-121-3/+0
|
* Unify mitmproxy and mitmdump commandlineAldo Cortesi2011-03-121-11/+39
| | | | | | | | - Extract common options into cmdline.py - Change mitmproxy keybindings to fit command line Some cmdline options and keybindings aren't in operation yet - just stubs where functionality will be added in the next few commits.
* Handle invalid bind address specifications gracefully.Aldo Cortesi2011-03-121-2/+0
|
* More mature sticky cookie primitive. Use it in console.py.Aldo Cortesi2011-02-241-19/+0
|
* Remove first iteration playback/record.Aldo Cortesi2011-02-231-6/+0
| | | | Bonus: unit test coverage goes from 70% to 94% with one commit. ;)
* Add a simple server playback state object.Aldo Cortesi2011-02-211-2/+2
| | | | | | | | We use a loose hash to match incoming requests with recorded flows. At the moment, this hash is over the host, port, scheme, method, path and content of the request. Note that headers are not included here - if we do want to include headers, we would have to do some work to normalize them to remove variations between user agents, header order, etc. etc.
* Stub out doc structure, add screenshots for configuring certs in Firefox.Aldo Cortesi2011-02-191-53/+48
|
* Refactor Flow primitives to remove HTTP1.0 assumption.Aldo Cortesi2011-02-191-12/+8
| | | | | | This is a big patch removing the assumption that there's one connection per Request/Response pair. It touches pretty much every part of mitmproxy, so expect glitches until everything is ironed out.
* First pass of script hooks for mitmdump.Aldo Cortesi2011-02-181-2/+1
| | | | Also stub out docs, improve mitmdump error handling.
* Add file writing to mitmdump.Aldo Cortesi2011-02-171-1/+1
|
* Fix minor display issues in console app.Aldo Cortesi2011-02-161-7/+9
|
* FlowMaster bugfixes and unit tests.Aldo Cortesi2011-02-161-1/+1
|
* Extract flow-specific Master operations into FlowMaster.Aldo Cortesi2011-02-161-19/+12
|
* Switch over to new serialization format.Aldo Cortesi2011-02-161-8/+9
| | | | Remove BSON from contrib.
* Import cache store control into console controllerHenrik Nordstrom2011-02-101-0/+10
|
* Basic HTTP/1.1 SupportHenrik Nordstrom2011-02-101-1/+1
| | | | | | | | | | | | | | | | | | | Adds support for chunked transfer encoding, and a couple other minor protocol corrections. Improve HTTP support - Support intercepted requests with Host header - Support HEAD requests proper - Support any HTTP method including extensions, not just a couple known ones Support expect: 100-continue and 100 Continue messages Persistent client connections Generalize ServerConnection a bit in preparation for keep-alive support Correct HTTP status codes on errors forwarding the request
* Automatically update response message when editing response codeHenrik Nordstrom2011-02-101-2/+4
|
* Add response creation to edit function on intercepted requestsHenrik Nordstrom2011-02-101-11/+39
|
* Rip out BeautifulSoup, and use a custom XML-ish prettyprinter.Aldo Cortesi2011-02-061-1/+1
|
* Add option to tell mitmproxy which interfaces to bind to.Aldo Cortesi2011-02-061-1/+8
|