aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
Commit message (Collapse)AuthorAgeFilesLines
* KVEditor -> GridEditorAldo Cortesi2012-03-184-18/+18
|
* Move mitmproxy reverse proxy shortcut to "P".Aldo Cortesi2012-03-183-4/+5
| | | | Also don't expose help from the help screen.
* Fix unit tests.Aldo Cortesi2012-03-171-2/+3
|
* Add specification of replacement patterns on the command line.Aldo Cortesi2012-03-173-1/+104
|
* Hooks -> ReplaceHooksAldo Cortesi2012-03-171-17/+19
| | | | | It makes more sense to specialize this, which will let me build a nicer interface for replacement hooks in mitmproxy.
* Add a hooks mechanism, based on filter expressions.Aldo Cortesi2012-03-163-8/+54
|
* replace() methods now decode and re-encode contents before substitution.Aldo Cortesi2012-03-161-9/+23
|
* Add a decoded context manager.Aldo Cortesi2012-03-161-0/+28
| | | | | | | | | This simplifies a common chore when modifying traffic - decoding the object, modifying it, then re-encoding it with the same encoding afterwards. You can now simply say: with flow.decoded(request): request.content = "bar"
* Set a "unique" serial number for each generated cert.Aldo Cortesi2012-03-142-4/+4
|
* Cleanliness fixes.Aldo Cortesi2012-03-121-95/+2
| | | | | - Remove unused code during previous commit. - Code coverage fixes.
* Use PyOpenSSL for certificate generation.Aldo Cortesi2012-03-112-42/+65
| | | | We no longer call external OpenSSL commands at all.
* Replace CA generation with PyOpenSSL version.Aldo Cortesi2012-03-112-104/+47
| | | | We no longer call an external command.
* Merge remote-tracking branch 'meeee/master'Aldo Cortesi2012-03-101-2/+6
|\
| * Fix SSL requests with Transfer-Encoding: chunkedMichael Frister2012-03-081-1/+5
| | | | | | | | Add size parameter to FileLike.readline, used by read_chunked.
| * Handle Transfer-Encoding header values case insensitiveMichael Frister2012-03-081-1/+1
| | | | | | | | According to HTTP/1.1 RFC 2616 Section 3.6.
* | Repair unit tests after nopop introduction.Aldo Cortesi2012-03-101-1/+3
| |
* | Merge remote-tracking branch 'taiste/server-replay-pop'Aldo Cortesi2012-03-103-7/+24
|\ \
| * | Adds space between sentences on no-pop's helpValtteri Virtanen2012-03-051-1/+1
| | |
| * | Adds no-pop option to server-side replayValtteri Virtanen2012-03-053-7/+24
| | |
* | | Create an SSL certificate class.Aldo Cortesi2012-03-052-25/+37
|/ /
* | Removed imports left unused after Py{OpenSSL,ASN1}András Veres-Szentkirályi2012-03-011-1/+1
| | | | | | | | | | | | Commits 533f61f67aab38f5bce882ad0dc03b7b5f292956 and 8b841bc9e370370716b473f26e001c65e2eee2af left some imports unused while swithing to PyOpenSSL and PyASN1 -- this commit removes these imports.
* | Use PyOpenSSL and PyASN1 for certificate parsing.Aldo Cortesi2012-03-011-46/+35
| | | | | | | | | | Yes, these are two more major dependencies for mitmproxy, but if we're going to do all the cool things I want to do with SSL certs, there is no other way.
* | Factor out cert operations in to certutils.py.Aldo Cortesi2012-02-293-240/+241
| |
* | Rationalise upstream cert flag and variable names.Aldo Cortesi2012-02-282-7/+7
| |
* | Fix cert generation harder.Aldo Cortesi2012-02-271-2/+2
| |
* | Fix problems with SANs and certificate generation.Aldo Cortesi2012-02-272-1/+10
| |
* | Better certificate parsing.Aldo Cortesi2012-02-271-3/+1
| |
* | Add upstream certificate lookup.Aldo Cortesi2012-02-274-14/+91
|/ | | | | | This initiates a connection to the server to obtain certificate information to generate interception certificates. At the moment, the information used is the Common Name, and the list of Subject Alternative Names.
* Introduce a cache for flow list entries.Aldo Cortesi2012-02-273-27/+59
| | | | This gives a big boost to scroll performance for the flow list.
* Fix mitmproxy crash when passed -n flag.Aldo Cortesi2012-02-261-1/+1
|
* Merge remote-tracking branch 'remotes/runeh/master' into runehAldo Cortesi2012-02-251-2/+3
|\
| * Use shlex to parse EDITOR.Rune Halvorsen2012-02-251-2/+3
| |
* | Unit test++.Aldo Cortesi2012-02-251-5/+2
|/
* Add mitmproxy version to status bar on Help screen.Aldo Cortesi2012-02-241-2/+3
| | | | Suggested by Jim Cheetham <jim.cheetham@otago.ac.nz>
* Make return arrow match return code color.Aldo Cortesi2012-02-241-3/+5
| | | | Suggested by Jim Cheetham <jim.cheetham@otago.ac.nz>
* Fix detection of URL-encoded forms.Aldo Cortesi2012-02-241-2/+16
| | | | Thanks to Paul Capestany <capestany@gmail.com> for reporting this.
* Make "~q" filter work more intuitively.Aldo Cortesi2012-02-231-2/+3
| | | | It now matches any flow that has no response.
* Refactor filter matching.Aldo Cortesi2012-02-232-81/+51
|
* Confirm when we clear a request body to add a form.Aldo Cortesi2012-02-231-1/+19
|
* License notifications, minor docs.Aldo Cortesi2012-02-2312-1/+181
|
* Fall-back for non-unicode terminals.Aldo Cortesi2012-02-231-5/+10
|
* Documentation and screenshots.Aldo Cortesi2012-02-223-7/+22
|
* Always return an ODict from get_queryAldo Cortesi2012-02-211-5/+5
|
* connection -> flow in libmitmproxy/consoleAldo Cortesi2012-02-214-69/+69
| | | | "Flow" is the correct term here - every connection can have multiple flows.
* Minor docs and example script fixes.Aldo Cortesi2012-02-211-1/+0
|
* Tweaks for reverse proxy modeAldo Cortesi2012-02-213-6/+10
| | | | | | - Unify key bindings over connection and connection list view - Add help entry - Unset reverse proxy when a blank value is specified
* Create ODictCaseless for headers, use vanilla ODict for everything else.Aldo Cortesi2012-02-202-8/+22
|
* Use ODict for request.get_form_urlencoded and set_form_urlencodedAldo Cortesi2012-02-202-16/+15
|
* Use ODict for Request.get_query and Request.set_queryAldo Cortesi2012-02-202-4/+7
|
* Rename Headers class to ODictAldo Cortesi2012-02-203-51/+48
| | | | | ODict is an ordered dictionary class that will be useful in many other parts of our API.