aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/cmdline.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Adds no-pop option to server-side replayValtteri Virtanen2012-03-051-0/+7
|
* Rationalise upstream cert flag and variable names.Aldo Cortesi2012-02-281-3/+3
|
* Add upstream certificate lookup.Aldo Cortesi2012-02-271-6/+11
| | | | | | 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.
* License notifications, minor docs.Aldo Cortesi2012-02-231-0/+15
|
* Firm up reverse proxy specification.Aldo Cortesi2012-02-181-1/+1
| | | | | | - Extract proxy spec parsing and unparsing functions. - Add a status indicator in mitmproxy. - Add the "R" keybinding for changing the reverse proxy from within mitmproxy.
* Refactor reverse proxyingAldo Cortesi2012-02-181-1/+1
| | | | | | | - Retain the specification from the Host header as a Request's description. - Expand upstream proxy specifications to include the scheme. We now say https://hostname:port - Move the "R" revert keybinding to "v" to make room for a reverse proxy binding that matches the command-line flag.
* Implemented reverse proxy mode: -R upstreamhost:port makes theHeikki Hannikainen2012-02-161-0/+5
| | | | | | proxy accept a 'GET / HTTP/1.0' request and fill up the destination host and port from the ones given with -R (for example, "-R localhost:80").
* Change size limit cmdline flag to -Z, enable size limits for replay.Aldo Cortesi2011-09-091-7/+7
|
* Add HTTP body size limit specification to command-line tools.Aldo Cortesi2011-09-091-0/+6
|
* Rip out autodecodeAldo Cortesi2011-08-041-6/+0
| | | | | | | | We simplify things as follows: - If we're in "pretty" view mode, we autodecode. - Otherwise, we display raw data, and the user can manually encode/decode with z shortcut.
* Rip out old script interface, start replacing with new stubs.Aldo Cortesi2011-08-031-21/+15
| | | | Scripts are broken for now.
* Add an eventlog option to mitmdumpAldo Cortesi2011-07-231-0/+6
| | | | | This shows client connections, disconnections and requests (before a complete flow is assembled). We need to add an analogous display to mitmproxy.
* Removes should_autodecode attribute from Response. Adds commandline option ↵Stephen Altamirano2011-07-211-0/+6
| | | | 'd' to toggle autodecode, adds togglable option 'd' to do the same
* Fix error in anticomp commandline specification.Aldo Cortesi2011-07-171-1/+1
|
* Adds support for content encoding, namely gip and deflatealts2011-07-161-1/+1
|
* Introduce an anti-compression command-line argument.Aldo Cortesi2011-07-151-0/+7
| | | | | This is on by default, which means we avoid compressed content unless the -z flag is specified.
* Specify certificate creation waiting time argument to fix type error in ↵Felix Wolfsteller2011-07-091-1/+1
| | | | proxy.py .
* Make the certificate wait time configurable.Aldo Cortesi2011-06-271-0/+6
| | | | | | | | | Since OpenSSL doesn't let us set certificate start times in the past, the client and proxy machine time must be synchronized, or the client might reject the certificate. We can bodgy over small discrepancies by waiting a few seconds after a new certificate is generated (i.e. the first time an SSL domain is contacted). Make this a configurable option, and turn it off by default.
* Add -r option to mitmdump and mitmproxy.Aldo Cortesi2011-05-151-0/+6
| | | | | | This option reads a set of flows from a file. I've also regularized the mitmdump and mitmproxy command-line signatures by removing mitmproxy's old way of specifying flow loads through naked arguments.
* Add a -n option which tells the tools not to bind a proxy.Aldo Cortesi2011-05-141-7/+13
| | | | This is useful when you just want to inspect or process dumps.
* Add a stickyauth option.Aldo Cortesi2011-03-201-1/+18
| | | | | | | 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.
* Revamp key generation.Aldo Cortesi2011-03-181-0/+5
| | | | | | | | | | | 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.
* Unit tests for cmdline.pyAldo Cortesi2011-03-121-1/+1
|
* Unify mitmproxy and mitmdump commandlineAldo Cortesi2011-03-121-0/+110
- 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.