aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump version post releaseAldo Cortesi2016-10-171-1/+1
|
* Bump to 0.18.1 to fix pypi obstreperousnessAldo Cortesi2016-10-163-106/+67
| | | | Also include contriburors update.
* Merge pull request #1602 from cortesi/scriptdocsAldo Cortesi2016-10-1630-466/+624
|\ | | | | docs: stub out new script documentation
| * docs: concurrency, developing scriptsAldo Cortesi2016-10-163-32/+20
| |
| * scripts: keep scripts just after the ScriptLoader in addon chainAldo Cortesi2016-10-164-16/+43
| | | | | | | | | | | | We need scripts to run _before_ filestreamer, so we can't just add them to the end of the chain. This patch also fixes an issue that could cause scripts to be initialised un-necessarily if only the order of scripts in options changed.
| * docs: scripts on saved flowsAldo Cortesi2016-10-161-7/+23
| |
| * mitmdump: fix addon order - dumper must be lastAldo Cortesi2016-10-161-1/+1
| | | | | | | | This is so we can see the effects of script rewriting using -dd.
| * docs: link to correct tagMaximilian Hils2016-10-161-5/+16
| |
| * docs: logging and the contextAldo Cortesi2016-10-166-27/+68
| |
| * scripts: handle SystemExit from scripts explicitlyAldo Cortesi2016-10-161-0/+2
| |
| * mitmdump: show script errors on startupAldo Cortesi2016-10-161-1/+1
| | | | | | | | | | Add the terminal logger before any other addons, so we see script errors on startup.
| * docs: overview, classes, argumentsAldo Cortesi2016-10-167-47/+86
| |
| * docs: improve external source links, tweak code docsAldo Cortesi2016-10-163-38/+53
| |
| * Clean up models.http a bitAldo Cortesi2016-10-161-31/+17
| | | | | | | | | | - We don't need a deprecation warning here - Bring imports inline with policy
| * docs: cleanups improvements and fighting sphinxAldo Cortesi2016-10-1618-356/+389
|/ | | | | | | | - Hide links to internal code listings, and link to github instead - Improve formatting of code/example captions - Fix outdated documentation of command-line options - Complete documentation of all events + improved formatting - tcp_open -> tcp_start, tcp_close -> tcp_end to reduce confusion
* fix #1611Maximilian Hils2016-10-151-4/+2
|
* update CHANGELOGMaximilian Hils2016-10-151-0/+48
|
* Merge pull request #1610 from mhils/issue-1605Maximilian Hils2016-10-142-12/+19
|\ | | | | Fix #1605
| * add regression test for #1605Maximilian Hils2016-10-141-0/+13
| |
| * fix #1605Maximilian Hils2016-10-131-12/+6
|/
* Issue 1461 (#1609)Sanchit Sokhey2016-10-131-3/+14
| | | | | | | | | | | | | | * doc changes * doc changes * doc changes * doc changes * Documentation updated * Documentation for custom certificate updated
* Merge pull request #1603 from mhils/eofMaximilian Hils2016-10-052-16/+5
|\ | | | | Simplify EOF detection
| * simplify eof detectionMaximilian Hils2016-10-052-16/+5
|/
* Merge pull request #1601 from cortesi/certcapAldo Cortesi2016-10-053-1/+37
|\ | | | | certutils: cap the cert store size at 100 by default
| * certutils: cap the cert store size at 100 by defaultAldo Cortesi2016-10-052-0/+36
| | | | | | | | | | | | | | | | This should be enough to give us reuse without growing infinitely. This is part of fixing the memory situation in mitmdump. TODO: There's an opportunity here for a better algorithm, that expires certs based on least-recently-accessed time, rather than oldest generated time.
| * debug: use correct fp for memory object outputAldo Cortesi2016-10-051-1/+1
|/
* Merge pull request #1598 from cortesi/dummystateThomas Kriechbaumer2016-10-043-10/+13
|\ | | | | mitmdump: use a dummy state object
| * mitmdump: use a dummy state objectAldo Cortesi2016-10-043-10/+13
| | | | | | | | | | | | Most of the mitmdump memory leak turns out to be due to our leaky handling of the state object. Since mitmdump doesn't actually use the state object, we can replace it with a shell.
* | use flt instead of filt for flowfilter expressionsThomas Kriechbaumer2016-10-044-11/+11
| |
* | Merge pull request #1597 from cortesi/debugAldo Cortesi2016-10-042-4/+23
|\| | | | | debug: add a dump of objects in memory
| * debug: Hard exit after debug signalAldo Cortesi2016-10-042-4/+9
| |
| * debug: add a dump of objects in memoryAldo Cortesi2016-10-041-0/+14
| |
* | Merge pull request #1596 from cortesi/addonsAldo Cortesi2016-10-0412-46/+81
|\| | | | | Consolidate logging
| * Consolidate loggingAldo Cortesi2016-10-0412-46/+81
| | | | | | | | | | | | - Make log event handler work - Move terminal event log into an addon - Clean various log related errors and duplications
* | Merge pull request #1592 from cortesi/wsAldo Cortesi2016-10-0411-53/+66
|\| | | | | docs and API-related cleanups
| * http2: support the requestheaders eventAldo Cortesi2016-10-043-14/+17
| | | | | | | | | | We do this by splitting read_request into read_request_headers and read_request_body.
| * Clarify channel interaction patternAldo Cortesi2016-10-042-12/+7
| | | | | | | | | | | | | | Before this patch, it wasn't clear when the arguments to an event could be modified, and when a new object should be returned. After this patch, the right thing to do is to modify the arguments in 99% of cases. The only exception to this is root_layer, for which we can find a better structure down the track.
| * http2: frames don't have a human_readable methodAldo Cortesi2016-10-041-4/+4
| |
| * Add requestheaders eventAldo Cortesi2016-10-045-17/+32
| | | | | | | | HTTP1 only for now, HTTP2 coming next.
| * websockets_handshake -> websocket_handshakeAldo Cortesi2016-10-045-7/+7
|/ | | | The plural feels awkward.
* Merge pull request #1587 from Kriechi/rename-filtAldo Cortesi2016-10-0419-166/+144
|\ | | | | rename mitmproxy.filt -> mitmproxy.flowfilter
| * fix flowfilter.match argsThomas Kriechbaumer2016-10-037-24/+24
| |
| * use flowfilter.matchThomas Kriechbaumer2016-10-038-30/+24
| |
| * move flow.match to flowfilter.matchThomas Kriechbaumer2016-10-032-19/+8
| |
| * rename mitmproxy.filt -> mitmproxy.flowfilterThomas Kriechbaumer2016-10-0318-133/+128
| |
* | update dependenciesMaximilian Hils2016-10-031-2/+2
| |
* | Merge pull request #1590 from rofreg/chain_file_conflictMaximilian Hils2016-10-031-5/+1
|\ \ | |/ |/| Fix SSL error on OS X
| * Fix SSL errorRyan Laughlin2016-09-301-5/+1
| | | | | | | | This fixes an issue that occurs when a user supplies a custom SSL cert w/ intermediate certs that contradict the default certifi set of root certificates. In particular, this addressed an issue where the "COMODO RSA Certification Authority" cert in certifi is NOT trusted on OS X by default as of OS X 10.11.6. Even when the user manually supplied a different valid "COMODO RSA Certification Authority" cert in their custom SSL cert .pem file, that cert would be overridden by certifi's default cert.
* | Revert "Add API to programmatically create new requests (#1534)"Maximilian Hils2016-10-022-13/+0
| | | | | | | | | | This reverts commit ccbdcd684b5a49c0509610a79dad3f220962a42d, which yielded a test timeout.
* | fix docsMaximilian Hils2016-10-021-2/+1
| |