aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/cmdline.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.