| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
| |
Also, make cookie parsing for refreshing more error-tolerant.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
For now, we don't do anything with the serialized version info, but this should
give us some future-proofing for serialization format changes.
|
| |
|
|
|
|
| |
Add an option --keepserving to make it keep serving after replay.
|
| |
|
| |
|
|
|
|
| |
Mostly replay -> server_replay
|
| |
|
|
|
|
|
|
| |
It's dumb that this needs to be two different options, but optparse doesn't
support optional arguments. It would be much nicer to just have "-c" for "all",
and "-c filter" for a specified filter.
|
|
|
|
|
|
| |
Also add the --rheader command-line option to mitmdump to let the user specify
an arbitrary number of significant headers. The default is to treat no headers
as significant.
|
|
|
|
|
|
| |
If this option is passed all requests that are not part of a replayed
conversation are killed. If the option is not passed, such requests are passed
through to the server as usual.
|
| |
|
|
|
|
|
|
| |
This means that certificates don't accumulate in the conf directory, users
don't have to clear certificates if the CA is regenerated, and the user can
specify a custom CA without invalid certificates being loaded inadvertently.
|
|
|
|
|
|
|
|
| |
- Move option parsing utiliities to proxy.py
- Don't have a global config object. Pass it as an argument to ProxyServer.
- Simplify certificate generation logic.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use templates for config files. We can re-introduce customization of the
certificate attributes when we need them.
- Split CA and cert generation into separate functions.
- Generation methods provide an error return when generation fails.
- When the user explicitly specifies a certificate, we don't generate it, but
fail if it doesn't exist.
|
|
|
|
| |
Also stub out docs, improve mitmdump error handling.
|
| |
|
| |
|
| |
|
|
|
|
| |
Use this only in mitmdump and mitmproxy for now.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
It's going to become a more important part of the mitmproxy suite now.
|
|
mitmproxy.
|