Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | setheaders -> addon | Aldo Cortesi | 2016-07-17 | 11 | -133/+114 |
| | |||||
* | Merge pull request #1371 from cortesi/cleancode | Aldo Cortesi | 2016-07-17 | 2 | -55/+2 |
|\ | | | | | Remove old ReplaceHooks code | ||||
| * | Remove old ReplaceHooks code | Aldo Cortesi | 2016-07-17 | 2 | -55/+2 |
|/ | |||||
* | Merge pull request #1370 from cortesi/filestreamer | Aldo Cortesi | 2016-07-17 | 4 | -16/+25 |
|\ | | | | | Some work on stream-to-file | ||||
| * | Some work on stream-to-file | Aldo Cortesi | 2016-07-17 | 4 | -16/+25 |
| | | | | | | | | | | - stream -> filestreamer throughout - move active_flows set into FileStreamer addon | ||||
* | | Merge pull request #1367 from Kriechi/fix-1366 | Aldo Cortesi | 2016-07-17 | 2 | -7/+24 |
|\ \ | | | | | | | fix-1366 | ||||
| * | | fix-1366 | Thomas Kriechbaumer | 2016-07-16 | 2 | -7/+24 |
| | | | |||||
* | | | Merge pull request #1369 from cortesi/dumper | Aldo Cortesi | 2016-07-17 | 6 | -301/+360 |
|\ \ \ | |_|/ |/| | | Extract console dump functionality into an addon | ||||
| * | | Merge branch 'master' into dumper | Aldo Cortesi | 2016-07-17 | 6 | -33/+343 |
| |\ \ | |/ / |/| | | |||||
* | | | Merge pull request #1368 from DrakeCaraker/patch-1 | Aldo Cortesi | 2016-07-17 | 1 | -1/+1 |
|\ \ \ | |_|/ |/| | | Update gamecenter.rst | ||||
| * | | Update gamecenter.rst | Drake Caraker | 2016-07-16 | 1 | -1/+1 |
|/ / | | | | | Typo fix: changed plist score value from '0' to '55', aligning with the subsequent explanatory text. | ||||
* | | @mhils can't merge | Maximilian Hils | 2016-07-16 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'duffer/tcpflow-filter' | Maximilian Hils | 2016-07-16 | 5 | -32/+342 |
|\ \ | |||||
| * | | Allow DummyFlow to match ~e, ~src and ~dst | Shadab Zafar | 2016-07-16 | 3 | -18/+37 |
| | | | |||||
| * | | Sort filt items alphabetically | Shadab Zafar | 2016-07-16 | 1 | -14/+14 |
| | | | |||||
| * | | Add DummyFlow and its Tests | Shadab Zafar | 2016-07-16 | 1 | -1/+59 |
| | | | |||||
| * | | Add tests for TCPFlow.match | Shadab Zafar | 2016-07-16 | 1 | -1/+15 |
| | | | |||||
| * | | Add ~http and ~tcp filters | Shadab Zafar | 2016-07-16 | 2 | -1/+31 |
| | | | |||||
| * | | Use ~bq / ~bs for messages sent from client / server | Shadab Zafar | 2016-07-16 | 2 | -19/+31 |
| | | | |||||
| * | | Replace http decorator with one that handles different flowtypes | Shadab Zafar | 2016-07-16 | 1 | -20/+29 |
| | | | |||||
| * | | Add TCPFlow.match | Shadab Zafar | 2016-07-16 | 1 | -0/+21 |
| | | | |||||
| * | | Add tests for HTTPFlow only filters | Shadab Zafar | 2016-07-16 | 1 | -0/+50 |
| | | | |||||
| * | | Add decorator for HTTPFlow filters | Shadab Zafar | 2016-07-16 | 1 | -0/+25 |
| | | | |||||
| * | | Add test for operators (& | !) | Shadab Zafar | 2016-07-16 | 1 | -0/+25 |
| | | | |||||
| * | | Add test for addresses (~src, ~dst) | Shadab Zafar | 2016-07-16 | 1 | -0/+16 |
| | | | |||||
| * | | Add test for body (~b) | Shadab Zafar | 2016-07-16 | 2 | -6/+23 |
| | | | |||||
| * | | Add test for error (~e) | Shadab Zafar | 2016-07-16 | 1 | -1/+16 |
| | | | |||||
| | * | dumper: correctly detect request replay | Aldo Cortesi | 2016-07-17 | 1 | -2/+4 |
| | | | | | | | | | | | | Fixes #1361 | ||||
| | * | The "handled" flag on responses should not persist across calls | Aldo Cortesi | 2016-07-17 | 1 | -0/+6 |
| | | | |||||
| | * | Some mild refactoring of dumper.py | Aldo Cortesi | 2016-07-17 | 2 | -20/+47 |
| | | | |||||
| | * | Extract console dump functionality into an addon | Aldo Cortesi | 2016-07-17 | 5 | -300/+324 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes all the code that deals with printing flows to screen from dump.py into a self-contained addon. - This fixes a bug - by moving dumping into an addon, we now dump flows AFTER addon transformation, so we can see the changes made. - We get dumping "for free" in other places by simply adding the addon. It's now easy to add dumping to console to mitmweb for debugging and development. The same goes for external projects that derive from master. - We also get major benefits in clarity for a frankly hairy part of our project. Mitmdump is much clearer, and all the hairyness is now isolated for further refactoring. | ||||
* | | Merge pull request #1306 from mitmproxy/message-body-encoding | Maximilian Hils | 2016-07-16 | 29 | -353/+644 |
|\ \ | | | | | | | Improve Message Body Encoding | ||||
| * | | preserve content-type parameter order | Maximilian Hils | 2016-07-15 | 2 | -2/+5 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/master' into message-body-encoding | Maximilian Hils | 2016-07-15 | 162 | -2901/+3176 |
| |\| | |||||
| * | | improve message content semantics | Maximilian Hils | 2016-07-15 | 10 | -130/+194 |
| | | | |||||
| * | | minor fix | Maximilian Hils | 2016-07-04 | 1 | -1/+1 |
| | | | |||||
| * | | raise ValueError if content-encoding is invalid | Maximilian Hils | 2016-07-04 | 9 | -69/+154 |
| | | | |||||
| * | | tests++ | Maximilian Hils | 2016-07-02 | 2 | -4/+46 |
| | | | |||||
| * | | make the linter happy | Maximilian Hils | 2016-07-02 | 3 | -3/+1 |
| | | | |||||
| * | | update examples: no decoded() anymore :tada: | Maximilian Hils | 2016-07-02 | 7 | -54/+46 |
| | | | |||||
| * | | message.content -> .raw_content, implement .text | Maximilian Hils | 2016-07-02 | 23 | -268/+377 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR improves our handling of HTTP message body encodings: - The unaltered message body is now accessible as `.raw_content` - The "content-encoding"-decoded content (i.e. gzip removed) content is not `.content`, as this is what we want in 99% of the cases. - `.text` now provides the "content-encoding"-decoded and then "content-type charset"-decoded message body. - The decoded values for `.content` and `.text` are cached, so that repeated access and `x.text = x.text` is cheap. - The `decoded()` decorator is now deprecated, as we can now just use `.content`. Similarly `HTTPMessage.get_decoded_content()` is deprecated. | ||||
* | | | Merge pull request #1363 from cortesi/replace | Aldo Cortesi | 2016-07-16 | 12 | -83/+122 |
|\ \ \ | |_|/ |/| | | replacehooks -> addon | ||||
| * | | replacehooks -> addon | Aldo Cortesi | 2016-07-16 | 12 | -83/+122 |
|/ / | | | | | | | | | Also fixes a bug in header replacements in netlib that resulted in a mutable multidict. | ||||
* | | console: don't let messages overwrite prompts | Aldo Cortesi | 2016-07-16 | 1 | -1/+2 |
| | | | | | | | | This renders mitmproxy unresponsive and is bad UX as well. | ||||
* | | Merge pull request #1362 from cortesi/errors | Aldo Cortesi | 2016-07-16 | 18 | -60/+78 |
|\ \ | | | | | | | Some work on errors and logs | ||||
| * | | Make mitmdump return an error exit status if errors occurred during run | Aldo Cortesi | 2016-07-16 | 2 | -0/+6 |
| | | | |||||
| * | | Flash a status bar message if an error log event occurs | Aldo Cortesi | 2016-07-16 | 1 | -0/+3 |
| | | | |||||
| * | | Add a helper to translate a log level to a tier | Aldo Cortesi | 2016-07-16 | 3 | -4/+8 |
| | | | | | | | | | | | | This is in utils for now - we'll find a better home down the track. | ||||
| * | | Trigger "start" when scripts are reloaded. | Aldo Cortesi | 2016-07-16 | 1 | -0/+1 |
| | | | |||||
| * | | add_event -> add_log throughout project | Aldo Cortesi | 2016-07-16 | 13 | -47/+47 |
| | | | | | | | | | | | | | | | "Event" is terribly over-loaded in the project, and "log" is straight-forward and self-explanatory. |