aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
Commit message (Collapse)AuthorAgeFilesLines
* Revamp key generation.Aldo Cortesi2011-03-183-17/+60
| | | | | | | | | | | We now create three different files in the .mitmproxy directory when a dummy CA is made: mitmproxy-ca.pem - the CA, including private key mitmproxy-ca-cert.p12 - A pkcs12 version of the certificate, for distribution to Windows. mitmproxy-ca-cert.pem - A PEM version of the certificate, for distribution to everyone else.
* Tweak CA and cert setup to be nice to Windows.Aldo Cortesi2011-03-182-8/+0
| | | | | | For some reason Satan's Operating System doesn't join up the certification path if the key identifiers are set to hash. This took a few hours of trial and error to figure out.
* 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-182-5/+22
| | | | replay.
* Client playback shortcut in mitmproxy can now be used to interrupt a current ↵Aldo Cortesi2011-03-182-5/+23
| | | | client playback.
* We have to pass -CAcreateserial after all.Aldo Cortesi2011-03-181-0/+1
|
* Docs, minor cert tweaks.Aldo Cortesi2011-03-182-3/+6
|
* Interrupt interception when deleting an intercepting flow.Aldo Cortesi2011-03-152-17/+8
| | | | 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-152-8/+13
|
* Do pre-processing of requests before replay.Aldo Cortesi2011-03-152-33/+38
| | | | | This enables scripts, anticache, server playback and sticky cookies for request replays.
* Improve responsiveness of request and response viewing.Aldo Cortesi2011-03-153-57/+104
| | | | | | | | - 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
|/
* We no longer use pytz.Aldo Cortesi2011-03-141-1/+1
|
* 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.
* I've now added all the features I want for 0.4. Bump the version number.Aldo Cortesi2011-03-131-1/+1
|
* 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-132-4/+48
|
* Add client plaback to mitmproxy.Aldo Cortesi2011-03-132-5/+37
|
* 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-132-23/+52
| | | | | In particular, we now display limits, sticky cookie expressions and intercepts in the bar.
* Fix stickycookie setting, indented view traceback.Aldo Cortesi2011-03-133-1/+8
|
* 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-132-29/+58
| | | | | E.g. if you set a limit, then re-enter the limit prompt, you start with the currently set value.
* Unit tests for cmdline.pyAldo Cortesi2011-03-121-1/+1
|
* console.py 100% test coverageAldo Cortesi2011-03-121-3/+0
|
* netstring.py 100% unit test coverage.Aldo Cortesi2011-03-121-4/+0
|
* Unify mitmproxy and mitmdump commandlineAldo Cortesi2011-03-122-11/+149
| | | | | | | | - 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-123-3/+11
|
* Make mitmdump handle invalid serialized data gracefully.Aldo Cortesi2011-03-112-5/+11
|
* Display Errors and killed connections in mitmdump.Aldo Cortesi2011-03-113-38/+60
|
* Add --norefresh to stop refreshing server playback to mitmdump.Aldo Cortesi2011-03-113-2/+35
| | | | Also, make cookie parsing for refreshing more error-tolerant.
* Stub out refresh for server-side replay.Aldo Cortesi2011-03-091-1/+26
|
* Add an --anticache option to mitmdump.Aldo Cortesi2011-03-093-4/+23
| | | | | | | This removes all headers that might cause a server to return 304-not-modified. For now, all the new features are going into mitmdump - everything will be ported over to mitmproxy once I have the feature set locked down.
* Move version constants to version.py, add version to serialized flows.Aldo Cortesi2011-03-093-2/+4
| | | | | For now, we don't do anything with the serialized version info, but this should give us some future-proofing for serialization format changes.
* Think harder about timestamps. Just save seconds since the epoch as a float.Aldo Cortesi2011-03-091-4/+5
|
* Store timestamps on flow components as a UTC time tuple.Aldo Cortesi2011-03-072-6/+14
| | | | | | Format is: (tm_year,tm_mon,tm_mday,tm_hour,tm_min, tm_sec,tm_wday,tm_yday,tm_isdst)
* Make mitmdump server playback also exit by default.Aldo Cortesi2011-03-062-5/+11
| | | | Like client playback, the --keepserving option makes mitmdump keep serving.
* Make mitmdump exit after client replay is complete by default.Aldo Cortesi2011-03-063-6/+23
| | | | Add an option --keepserving to make it keep serving after replay.
* Add flow_count and active_flow_count methods to flow.State.Aldo Cortesi2011-03-061-9/+19
| | | | Use these in unit tests where sensible.
* Bump unit tests, rearrange mitmdump command-line options slightly.Aldo Cortesi2011-03-061-0/+1
|
* Allow client replays to be replayed against server replays.Aldo Cortesi2011-03-061-1/+3
| | | | Useful for testing.
* Add client replay options to mitmdump.Aldo Cortesi2011-03-062-15/+26
|