Aldo Cortesi
9beae933ba
Bump version, update CONTRIBUTORS, CHANGELOG
2015-11-06 13:52:08 +13:00
Aldo Cortesi
f16f2b9ce3
Adjust pyinstaller spec paths
2015-11-06 11:44:37 +13:00
Aldo Cortesi
6135e16482
Catch and ignore thread errors on exit
...
Keyboard interrupts bugger up Queues in some way, which causes a traceback on
exit in many of our tools. The issue seems easiest to reproduce with binary
builds on OSX.
2015-11-06 11:35:54 +13:00
Maximilian Hils
de5df2e4d4
Merge pull request #819 from tekii/hotfix-broken-copy
...
fix copy to clipboard command when copying content
2015-11-05 04:17:08 +01:00
Marcelo Glezer
6b6b0a9416
fix copy to clipboard command when copying content
2015-11-05 00:09:22 -03:00
Maximilian Hils
fb463f50ed
Merge pull request #809 from zbuc/pfctl_errhandling
...
Better error handling/reporting for pfctl failures on OS X
2015-11-04 21:32:12 +01:00
Chris Czub
9398d5896b
PR 809 make code more pythonic
2015-11-04 15:04:18 -05:00
Maximilian Hils
c62abd67d2
docs: fix broken graphic
2015-11-02 13:04:35 +01:00
Maximilian Hils
96db5edc5c
docs: improve mode flowchart
2015-11-02 11:50:08 +01:00
Maximilian Hils
51a3378290
improve reverse proxy docs
2015-11-02 10:47:14 +01:00
Maximilian Hils
07b60acb7f
try to fix appveyor race conditions in tests
2015-11-01 18:44:50 +01:00
Maximilian Hils
1bf34e6f45
Merge branch 'master' of https://github.com/mitmproxy/mitmproxy
2015-11-01 18:39:55 +01:00
Maximilian Hils
978eb17d66
fix #811
2015-11-01 18:37:20 +01:00
Maximilian Hils
5e90459569
Merge pull request #810 from gecko655/ctrl_fb
...
Use ctrl+f and ctrl+b to scroll a page
2015-10-31 18:00:14 +01:00
gecko655
6aa7454f92
Use ctrl+f and ctrl+b to scroll a page
2015-10-30 12:48:38 +09:00
Chris Czub
88451ef245
Declare & define insufficient_priv
2015-10-29 16:01:24 -04:00
Chris Czub
70c28f5d34
Better error handling/reporting for pfctl failures on OS X
2015-10-29 15:56:43 -04:00
Maximilian Hils
65c08ec899
Merge pull request #791 from tunz/master
...
Prevent flowview from creating duplicated windows
2015-10-28 13:10:38 +01:00
Maximilian Hils
8e9cd77b55
Merge pull request #805 from Badg/patch-1
...
Update ubuntu installation to includ libjpeg
2015-10-23 03:25:23 +02:00
Nick Badger
4537d561c6
Ubuntu install missing libjpeg8-dev, zlib1g-dev
...
As per https://pillow.readthedocs.org/en/3.0.0/installation.html#linux-installation , to avoid missing install dependencies.
2015-10-22 18:11:06 -07:00
Nick Badger
a6fee43384
Update ubuntu installation to includ libjpeg
...
Otherwise install fails with error "--enable-jpeg requested but jpeg not found"
2015-10-22 17:38:55 -07:00
Maximilian Hils
ed56eadd28
Merge branch 'master' of https://github.com/mitmproxy/mitmproxy
2015-10-22 02:38:14 +02:00
Maximilian Hils
726b70ccdc
fix #800
2015-10-22 02:38:00 +02:00
Maximilian Hils
4d772d7ce0
Merge pull request #801 from ben-lerner/doc_fix
...
doc typo fix
2015-10-14 09:37:24 +02:00
Ben Lerner
22191d63ab
doc typo fix
2015-10-13 21:09:56 -04:00
Maximilian Hils
7d8191ee37
update web builds, use watchify
2015-10-08 12:43:55 +02:00
Maximilian Hils
442f079e0b
Merge pull request #797 from colinbendell/colinbendell-patch-1
...
server_conn.address might not yet be established
2015-10-08 12:37:43 +02:00
Choongwoo Han
9c0efdf2ec
Refresh flowview instead of reopen the same flowview
2015-10-08 11:31:33 +09:00
Colin Bendell
a85e4bc75c
default should not be None
...
Fixed default value when self.address has not been set
2015-10-07 21:46:08 -04:00
Colin Bendell
77aeac11a9
Check if server connection hasn't yet been initiated
...
This fixes #761 when NoneType error is thrown when non-TLS requests initiate a client request but the server connection hasn't yet been initiated.
2015-10-07 20:30:31 -04:00
Maximilian Hils
09e36fae4e
Merge pull request #792 from tunz/patch-1
...
Correct a wrong link in CONTRIBUTING.md
2015-10-04 10:36:52 +02:00
Choongwoo Han
3ffc3404b0
Update CONTRIBUTING.md
...
Wrong link
2015-10-04 14:49:41 +09:00
Choongwoo Han
45494d1c79
Prevent flowview from creating duplicated windows
2015-10-04 14:21:51 +09:00
Maximilian Hils
ce38a05a20
Merge remote-tracking branch 'origin/master'
2015-10-03 23:59:13 +02:00
Maximilian Hils
26631621ee
fix #786
2015-10-03 14:48:51 +02:00
Maximilian Hils
d67f4fa3cc
Merge pull request #788 from sethp-jive/patch-1
...
Allow reading scripts from an anonymous pipe
2015-10-01 00:59:25 +02:00
sethp-jive
fd8c921a2f
Allow reading scripts from an anonymous pipe
...
Bash (and many other shells) provide a nifty feature in "anonymous pipe" or "anonymous fifo" whereby the output of a subshell may be treated as a simple file by the parent shell: http://unix.stackexchange.com/a/156088
Unfortunately, libmproxy complains because that "file" is not a regular file, as os.path.isfile checks, e.g. giving the error "Not a file: /dev/fd/11". This patch is intended to provide for the following use-case:
```
mitmdump -s <(echo "def response(context, flow):\n flow.response.headers['newheader'] = [`hostname`]")
```
where `hostname` may be replaced with a more complicated lookup.
2015-09-30 15:55:43 -07:00
Maximilian Hils
c6811bd0e8
fix #773
2015-09-28 14:55:13 +02:00
Maximilian Hils
86ef19b450
fix tests
2015-09-28 14:04:41 +02:00
Maximilian Hils
c11ab3676d
Merge branch 'http-models'
2015-09-28 13:54:53 +02:00
Maximilian Hils
6661770d4e
handle Expect: 100-continue header, fix #770
2015-09-28 10:59:10 +02:00
Maximilian Hils
6075957a97
move tests to netlib
2015-09-27 00:50:14 +02:00
Maximilian Hils
1b6ea5caf3
adjust to netlib response changes + docs
2015-09-26 17:41:14 +02:00
Maximilian Hils
b13acd7956
adjust to netlib request changes + docs
2015-09-26 01:23:59 +02:00
Maximilian Hils
a978c6b9ce
fix tests
2015-09-21 23:39:22 +02:00
Maximilian Hils
2536e1d3e7
appveyor: use py.test
2015-09-21 23:05:12 +02:00
Maximilian Hils
bba5ec7144
experimental: run tests using py.tests
2015-09-21 18:31:30 +02:00
Maximilian Hils
88375ad64a
fix minor bugs, add py.test compatibility
2015-09-21 02:26:47 +02:00
Maximilian Hils
6d27901b6f
fix replay functionality
2015-09-19 11:59:05 +02:00
Maximilian Hils
42bbd3c928
don't cache changed messages, fix #777
2015-09-19 11:50:02 +02:00
Maximilian Hils
fde2420e37
fix #778
2015-09-19 11:18:57 +02:00
Maximilian Hils
2d4a5fb116
experimental: don't interfere with headers, fix #93
2015-09-18 18:07:38 +02:00
Maximilian Hils
66d21fa4ba
trigger inline script hooks for artifical responses, fix #775
2015-09-18 13:51:05 +02:00
Maximilian Hils
5df5ee15f2
remove old server replay workaround, fix #774
2015-09-18 13:27:05 +02:00
Maximilian Hils
906360f63f
code -> status_code, httpversion -> http_version
2015-09-17 15:16:33 +02:00
Maximilian Hils
12984f149c
move body assembly to netlib
2015-09-17 02:40:08 +02:00
Maximilian Hils
14a5f405fd
use new netlib exceptions
2015-09-17 02:13:28 +02:00
Maximilian Hils
8fbed971ae
Merge pull request #768 from mitmproxy/netlib-http1-refactor
...
Adjust to netlib changes
2015-09-16 20:24:48 +02:00
Maximilian Hils
0af0608978
adjust to netlib changes
2015-09-16 18:45:22 +02:00
Maximilian Hils
ee6969c1fa
s/below/above/
2015-09-16 13:40:50 +02:00
Maximilian Hils
f5900d1a7b
simplify test script
2015-09-16 04:09:05 +02:00
Maximilian Hils
1f3844da89
make pypi happy
2015-09-16 04:08:29 +02:00
Maximilian Hils
774d5b42a2
improve readme
2015-09-16 03:59:22 +02:00
Maximilian Hils
457025df9a
Merge pull request #751 from mitmproxy/readthedocs
...
Move Docs to readthedocs
2015-09-16 02:53:01 +02:00
Maximilian Hils
436a9ea839
minor fixes
2015-09-14 23:58:06 +02:00
Maximilian Hils
32b487109f
Merge pull request #765 from mitmproxy/such-colors-very-wow
...
Improve Content Views
2015-09-12 17:57:21 +02:00
Maximilian Hils
4106e19612
relax test suite time tests
2015-09-12 17:50:24 +02:00
Maximilian Hils
5fe12a467f
fix tests
2015-09-12 17:40:30 +02:00
Maximilian Hils
eb2264e91a
improve display of non-ascii contents
...
fixes #283
2015-09-12 17:10:38 +02:00
Maximilian Hils
049d253a83
simplify contentview api
2015-09-12 13:49:16 +02:00
Maximilian Hils
9c31669211
mitmdump: colorize output, add content views
2015-09-11 19:03:50 +02:00
Maximilian Hils
b7b46bac46
content view: fix fallback
2015-09-11 16:40:58 +02:00
Maximilian Hils
02d80631dc
Merge pull request #764 from mitmproxy/contentviews
...
Extract Content Views from Console
2015-09-11 15:31:25 +02:00
Maximilian Hils
47602dc1a5
clean up tests
2015-09-11 13:41:16 +02:00
Maximilian Hils
960f62f363
fix bugs
2015-09-11 13:37:52 +02:00
Maximilian Hils
625a719eb1
completely remove console from contentviews
2015-09-11 12:26:52 +02:00
Maximilian Hils
7c186a4edb
Merge branch 'master' into contentviews
2015-09-11 12:13:39 +02:00
Maximilian Hils
dd414e4852
better error messages, remove error cause
2015-09-11 02:17:04 +02:00
Maximilian Hils
40ce06e780
tls layer: fix early peek
2015-09-11 01:47:13 +02:00
Maximilian Hils
ffdf143be4
better exception handling
2015-09-11 01:39:33 +02:00
Maximilian Hils
c159c8ca13
fix chunked encoding
2015-09-11 01:18:17 +02:00
Maximilian Hils
30f0ee40c5
nicer error messages
2015-09-11 00:49:37 +02:00
Maximilian Hils
d1bc966e5b
polish for release: introduce http2 and rawtcp as command line switches
2015-09-11 00:00:00 +02:00
Maximilian Hils
33c0d36530
fix exception re-raise
2015-09-10 18:36:50 +02:00
Maximilian Hils
35a99d2faf
start reraising exceptions properly
2015-09-10 16:24:22 +02:00
Maximilian Hils
ebba79b655
raw tcp mode: use ssl_read_select
2015-09-10 11:33:03 +02:00
Maximilian Hils
3b6140dfff
fix send_response if content is missing
2015-09-10 10:32:08 +02:00
Maximilian Hils
c573d8c292
inline scripts: provide __file__
2015-09-10 10:31:01 +02:00
Maximilian Hils
cf2b2e0cc7
simplify streaming http layer
2015-09-10 10:20:11 +02:00
Maximilian Hils
61f4319491
http protocol: use new tls attribute
2015-09-09 18:49:32 +02:00
Maximilian Hils
e63ef3a520
add inline script for conditional tls passthrough
...
fix #646
2015-09-08 21:35:15 +02:00
Maximilian Hils
c3f73552b8
docs: add travis integration
2015-09-08 16:07:27 +02:00
Maximilian Hils
4b8e162a8b
Merge branch 'master' into readthedocs
2015-09-08 15:36:37 +02:00
Maximilian Hils
c3ba98b681
docs: update documentedlist, add filter table headers
2015-09-08 15:36:24 +02:00
Maximilian Hils
8dfa15c2d4
whitelist next_layer for @concurrent
2015-09-07 16:05:16 +02:00
Maximilian Hils
d002371d30
expose next_layer to inline scripts
2015-09-07 13:52:58 +02:00
Maximilian Hils
c4286b15dc
docs: minor fixes
2015-09-07 10:52:18 +02:00
Maximilian Hils
31ee4607c8
remove old docs
2015-09-07 10:30:40 +02:00
Maximilian Hils
b4013659a8
docs 🎉
2015-09-06 03:20:58 +02:00
Maximilian Hils
eb2334c6cb
Merge branch 'master' into readthedocs
2015-09-06 01:37:19 +02:00
Maximilian Hils
853cd81075
docs++
2015-09-06 01:37:15 +02:00
Maximilian Hils
23e8260a99
finish tools section
2015-09-05 23:50:37 +02:00
Maximilian Hils
a8d931089c
fix tests
2015-09-05 20:53:44 +02:00
Maximilian Hils
5125c669cc
adjust to new netlib Headers class
2015-09-05 20:45:58 +02:00
Maximilian Hils
1165e35e1b
docs++
2015-09-05 20:15:35 +02:00
Maximilian Hils
1fb28594ed
doc: headers class
2015-09-05 13:27:11 +02:00
Maximilian Hils
b62498e125
remove urwid from contentviews
2015-09-04 17:33:21 +02:00
Maximilian Hils
018c693dee
remove urwid from contentviews (wip)
2015-09-04 17:07:14 +02:00
Maximilian Hils
74b3b842fe
rewrite basic docs for readthedocs
2015-09-04 16:17:55 +02:00
Maximilian Hils
00561d280c
speed up filters
2015-09-04 02:11:09 +02:00
Maximilian Hils
e88c7e4c58
Merge branch 'master' into readthedocs
2015-09-04 00:47:04 +02:00
Maximilian Hils
ee8e5947df
Merge branch 'master' of https://github.com/mitmproxy/mitmproxy
2015-09-04 00:46:51 +02:00
Maximilian Hils
a18db90ea3
update example inline scripts
2015-09-04 00:46:42 +02:00
Maximilian Hils
2d1c382f38
docs, docs, docs!
2015-09-04 00:45:47 +02:00
Thomas Kriechbaumer
47ab7f04ea
http2: Ping frames are handled in netlib
2015-09-03 21:23:19 +02:00
Maximilian Hils
29698aa83c
add dev docs
2015-09-03 19:46:58 +02:00
Maximilian Hils
14457f29b3
docs++
2015-09-03 18:55:38 +02:00
Maximilian Hils
99126f62ed
remove depth attribute from set_server
2015-09-03 18:25:36 +02:00
Maximilian Hils
8da683a638
Merge branch 'master' of https://github.com/mitmproxy/mitmproxy
2015-09-03 17:01:37 +02:00
Maximilian Hils
f4272de5ec
remove ServerConnectionMixin.reconnect
2015-09-03 17:01:25 +02:00
Thomas Kriechbaumer
3a229f60e3
http2: fix ping response
2015-09-03 14:26:36 +02:00
Thomas Kriechbaumer
1f6d05f89f
http2: server can send WindowUpdate frames as well
2015-09-03 14:09:59 +02:00
Thomas Kriechbaumer
bc93600a66
http2: add GoAway support for client
2015-09-03 13:55:13 +02:00
Thomas Kriechbaumer
b4d6f2e12b
http2: fix PingFrame again
2015-09-03 13:55:13 +02:00
Thomas Kriechbaumer
29ae2bbf91
http2: fix multiple stream per connection
...
fixes #746
2015-09-03 13:54:58 +02:00
Thomas Kriechbaumer
bde4bdd1d2
http2: fix unhandled frames
2015-09-03 13:40:35 +02:00
Maximilian Hils
a0f3803233
Merge pull request #748 from Kriechi/tls-ciphers
...
pass-through ciphers from client to server
2015-09-03 12:57:56 +02:00
Maximilian Hils
7a1e2789a8
Merge pull request #749 from Kriechi/ignore-priority-frames
...
ignore http2 priority frames
2015-09-03 12:54:54 +02:00
Thomas Kriechbaumer
37e6b3c401
http2: improve unexpected frame handling and shutdown
2015-09-03 11:09:59 +02:00
Maximilian Hils
cc2a6a3919
fix circular imports
2015-09-02 20:56:19 +02:00
Thomas Kriechbaumer
c79af62763
ignore http2 priority frames
2015-09-02 20:50:50 +02:00
Thomas Kriechbaumer
0047ac4cdc
pass-through ciphers from client to server
2015-09-02 20:46:14 +02:00
Chris Czub
b4e0be9052
PR #700
...
Start moving the contentview up a level
Started shifting the contentview class up to libmproxy
2015-09-02 20:30:58 +02:00
Maximilian Hils
c14fbc7794
Merge pull request #741 from mitmproxy/proxy-refactor-cb
...
Proxy Refactor
2015-09-02 01:16:48 +02:00
Maximilian Hils
f1c8b47b1e
better tls error messages, fix #672
2015-09-01 19:24:36 +02:00
Maximilian Hils
2f0d650729
Merge branch 'master' into proxy-refactor-cb
2015-09-01 02:39:59 +02:00
Maximilian Hils
6719aa5986
Merge branch 'proxy-refactor-cb' of https://github.com/mitmproxy/mitmproxy into proxy-refactor-cb
2015-09-01 02:39:57 +02:00
Maximilian Hils
e8de7595c2
.env: fix windows compatibility
2015-09-01 02:37:03 +02:00
Maximilian Hils
b5f1c38e78
minor docs improvements
2015-09-01 02:35:05 +02:00
Maximilian Hils
de10b3f7ec
Merge pull request #744 from Kriechi/proxy-refactor-cb
...
do not log WindowUpdateFrame frames
2015-08-31 23:20:30 +02:00
Thomas Kriechbaumer
c4d6b35726
do not log WindowUpdateFrame frames
2015-08-31 22:22:10 +02:00
Maximilian Hils
481cc6ea84
we don't support socks auth, refs #738
2015-08-31 17:29:14 +02:00
Maximilian Hils
b04e6e56ab
update inline script hooks
2015-08-31 17:05:52 +02:00
Maximilian Hils
41e6e538df
fix layer initialization
2015-08-31 13:49:47 +02:00
Maximilian Hils
7450bef615
fix dns_spoofing example, avoid connecting to itself
2015-08-31 13:43:30 +02:00
Maximilian Hils
1e9aef5b1e
fix upstream proxy server change, update example
2015-08-31 00:14:42 +02:00
Maximilian Hils
63ad4a4f51
coverage++
2015-08-30 15:59:50 +02:00
Maximilian Hils
a86ec56012
move files around
2015-08-30 15:27:29 +02:00
Maximilian Hils
421b241ff0
remove http2http references
2015-08-30 13:40:23 +02:00
Maximilian Hils
3873e08339
remove old code
2015-08-30 03:42:11 +02:00
Maximilian Hils
08655cb956
Merge remote-tracking branch 'origin/master' into proxy-refactor-cb
2015-08-30 03:24:05 +02:00
Maximilian Hils
21e7f420d2
minor fixes
2015-08-30 03:23:57 +02:00
Maximilian Hils
1dd09a5509
always insert tls layer for inline script upgrades
2015-08-30 02:27:38 +02:00
Maximilian Hils
dd7f50d64b
restructure code, remove cruft
2015-08-30 01:21:58 +02:00
Maximilian Hils
100ea27c30
simplify raw tcp protocol
2015-08-29 23:08:16 +02:00
Maximilian Hils
a7058e2a3c
fix bugs, fix tests
2015-08-29 20:53:25 +02:00
Maximilian Hils
63844df343
fix streaming
2015-08-29 14:28:11 +02:00
Maximilian Hils
2dfba2105b
move sslversion mapping to netlib
2015-08-29 12:34:01 +02:00
Maximilian Hils
1cc48345e1
clean up config/cmdline, fix bugs, remove cruft
2015-08-28 01:51:13 +02:00
Maximilian Hils
a86491eeed
Revert "unify SSL version/method handling"
...
This reverts commit 14e49f4fc7 .
2015-08-27 18:37:16 +02:00
Maximilian Hils
5b17496c7e
start fixing proxy config
2015-08-27 18:31:15 +02:00
Maximilian Hils
83decd6771
fix inline script redirects
2015-08-27 17:35:53 +02:00
Maximilian Hils
515c024448
handle tls server errors more gracefully
2015-08-27 15:59:56 +02:00
Maximilian Hils
ecfde4247f
re-add http1 replay
2015-08-27 15:48:41 +02:00
Maximilian Hils
0f97899fbd
re-add --ignore and --tcp
2015-08-27 15:26:21 +02:00
Maximilian Hils
9389c186ba
improve travis
2015-08-27 02:57:09 +02:00
Maximilian Hils
23e2d2136c
Merge pull request #735 from ender672/disable-mouse-option
...
console: add command line flag to disable mouse interaction
2015-08-27 01:25:42 +02:00
Maximilian Hils
f6dadc2b0d
no more sni double-connects!
2015-08-27 00:07:44 +02:00
Maximilian Hils
9c6b3eb58a
clean up clienthello parsing
2015-08-26 22:00:50 +02:00
Maximilian Hils
2cfc1b1b40
fix non-alpn clients
2015-08-26 20:48:59 +02:00
Maximilian Hils
778644d4b8
http2: fix bugs, chrome works 🎉
2015-08-26 15:12:04 +02:00
Maximilian Hils
605af2d3d4
Merge branch 'proxy-refactor-cb' of https://github.com/mitmproxy/mitmproxy into proxy-refactor-cb
2015-08-26 14:03:58 +02:00
Maximilian Hils
aebe342025
improve alpn handling
2015-08-26 14:03:51 +02:00
Maximilian Hils
85b3899126
Merge pull request #739 from Kriechi/proxy-refactor-cb
...
fix return value and empty requests
2015-08-26 13:49:42 +02:00
Thomas Kriechbaumer
158906444f
fix return value and empty requests
2015-08-26 13:48:39 +02:00
Maximilian Hils
1093d185ec
manually read tls clienthello
2015-08-26 06:38:03 +02:00
Maximilian Hils
3fa65c48dd
manually read tls clienthello [wip]
2015-08-26 05:39:00 +02:00
Maximilian Hils
b19eb2126b
update slackin url
2015-08-25 23:40:09 +02:00
Maximilian Hils
8ce0de8bed
minor fixes
2015-08-25 18:24:17 +02:00
Maximilian Hils
56a4bc381e
request -> request_method
2015-08-24 18:17:04 +02:00
Maximilian Hils
f1f34e7713
fix bugs, fix tests
2015-08-24 16:52:03 +02:00
Thomas Kriechbaumer
05d26545e4
adapt netlib changes
2015-08-21 10:26:28 +02:00
Thomas Kriechbaumer
55cfd259dc
http2: simplify protocol-related code
2015-08-20 20:31:01 +02:00
Thomas Kriechbaumer
5746472426
fix typo
2015-08-20 19:53:17 +02:00
Timothy Elliott
fb4af4eb78
console: add command line flag to disable mouse interaction
...
Adds the --no-mouse command line option to disable the mouse.
Fixes #685
2015-08-19 13:07:39 -07:00
Thomas Kriechbaumer
4339b8e7fa
http2: use callback for handle unexpected frames
2015-08-19 21:09:48 +02:00
Maximilian Hils
721bd1c136
Merge pull request #734 from Kriechi/proxy-refactor-cb
...
move read methods to lower HTTP layer
2015-08-19 18:15:49 +02:00
Thomas Kriechbaumer
f2ace5493b
move read methods to lower HTTP layer
2015-08-19 18:09:45 +02:00
Maximilian Hils
eda88428da
Merge pull request #733 from Kriechi/proxy-refactor-cb
...
Proxy refactor cb
2015-08-19 16:44:28 +02:00
Thomas Kriechbaumer
97bfd1d856
move send method to lower layers
2015-08-19 16:36:37 +02:00
Thomas Kriechbaumer
c9fa8491cc
improve next_layer detection
2015-08-19 16:32:02 +02:00
Maximilian Hils
b8db81969d
make dev installation instructions copy-pasteable
2015-08-19 15:11:32 +02:00
Maximilian Hils
7730d2e0c0
fix virtualenv activation
2015-08-19 15:10:15 +02:00
Maximilian Hils
98583ce870
fix docs typo
...
refs mitmproxy/mitmproxy.org#7
2015-08-19 14:08:32 +02:00
Thomas Kriechbaumer
26052767a2
Merge pull request #732 from FreeArtMan/master
...
Fixing issue #710 . Prety printing in read_dumpfile
2015-08-19 11:45:27 +02:00
FreeArtMan
4d9bf45e82
Fixing issue #710 . Prety printing in read_dumpfile
2015-08-19 09:59:13 +01:00
Thomas Kriechbaumer
9bae97eb17
http2: fix connection preface and wrappers
2015-08-19 09:43:43 +02:00
Thomas Kriechbaumer
cd419300a9
temporarily disable pypy with new openssl on travis
2015-08-18 21:24:40 +02:00
Thomas Kriechbaumer
af6fefb5b4
temporarily disable pypy on travis
2015-08-18 21:14:37 +02:00
Maximilian Hils
ab1549e0ef
yield -> callbacks
2015-08-18 15:59:44 +02:00
Maximilian Hils
96de7ad562
various fixes
2015-08-18 14:15:08 +02:00
Maximilian Hils
99129ab5a1
Merge remote-tracking branch 'Kriechi/proxy-refactor' into proxy-refactor
...
Conflicts:
libmproxy/protocol2/http.py
2015-08-17 19:20:28 +02:00
Aldo Cortesi
9286f5b5b4
Small tweaks to read_dumpfile example.
2015-08-17 11:29:24 +12:00
Maximilian Hils
a2b8504889
improve protocol handling
2015-08-16 23:25:02 +02:00
Thomas Kriechbaumer
38c456bb62
implement Http1 and Http2 protocols as layers
2015-08-16 15:19:11 +02:00
Maximilian Hils
c04fa1b233
minor fixes
2015-08-16 12:52:34 +02:00
Maximilian Hils
61afac8637
Merge remote-tracking branch 'Kriechi/proxy-refactor' into proxy-refactor
...
Conflicts:
libmproxy/protocol2/http_proxy.py
libmproxy/protocol2/tls.py
libmproxy/proxy/connection.py
2015-08-16 12:47:13 +02:00
Maximilian Hils
4c31ffd90f
minor fixes
2015-08-16 12:43:15 +02:00
Aldo Cortesi
19a17933cc
Disable mitmweb OSX binary generation for now
2015-08-16 21:40:41 +12:00
Thomas Kriechbaumer
1e40d34e94
add ALPN to proxy connections
2015-08-16 11:36:31 +02:00
Aldo Cortesi
be498bc1a3
Adapt mitmdump and mitmweb for certifi and release process
2015-08-16 19:55:55 +12:00
Aldo Cortesi
2973a79c59
Adapt mitmproxy.spec for new cryptography, certifi and new release structure
2015-08-16 17:24:40 +12:00
Aldo Cortesi
7e4020213c
Remove release tools
2015-08-16 12:31:51 +12:00
Maximilian Hils
a175572447
Merge remote-tracking branch 'Kriechi/proxy-refactor' into proxy-refactor
2015-08-15 20:22:45 +02:00
Maximilian Hils
2a15479cdb
fix bugs, make https work
2015-08-15 20:20:46 +02:00
Thomas Kriechbaumer
a9dd82c986
add ALPN to proxy connections
2015-08-15 17:49:40 +02:00
Maximilian Hils
0dd243c5e4
various fixes
2015-08-15 16:26:12 +02:00
Maximilian Hils
747699b126
more work on http protocol
2015-08-14 16:49:52 +02:00
Maximilian Hils
808218f4bc
more work on http layer
2015-08-14 10:41:11 +02:00
Maximilian Hils
aef3b626a7
wip commit
2015-08-11 20:32:14 +02:00
Maximilian Hils
026330a3b0
cleaner Exceptions, ssl -> tls, upstream proxy mode
2015-08-11 20:32:13 +02:00
Maximilian Hils
314e0f5839
add reverseproxy mode, fix bugs
2015-08-11 20:32:12 +02:00
Maximilian Hils
aac0ab23eb
simplify layer code, add yield_from_callback decorator
2015-08-11 20:32:12 +02:00
Maximilian Hils
c46e3f90bb
apply fixes from proxy-refactor-cb branch
2015-08-11 20:32:11 +02:00
Maximilian Hils
531ca4a356
minor fixes
2015-08-11 20:32:10 +02:00
Maximilian Hils
e815915b22
add auto layer, multiple other fixes
2015-08-11 20:32:10 +02:00
Maximilian Hils
c1d016823c
move files around
2015-08-11 20:32:09 +02:00
Maximilian Hils
be995ddbd6
add ssl layer
2015-08-11 20:32:09 +02:00
Maximilian Hils
863113f989
first initial proof-of-concept
2015-08-11 20:32:08 +02:00
Maximilian Hils
a9fcef868b
Merge pull request #720 from Kriechi/cleanup
...
move code to netlib
2015-08-11 11:59:37 +02:00
Thomas Kriechbaumer
891fa50e55
move code to netlib
2015-08-10 21:04:17 +02:00
Maximilian Hils
a10c31c698
dev script: fix Linux+vagrant+virtualenv
2015-08-07 14:51:27 +02:00
Maximilian Hils
85f977aacd
dev script: fix Windows+vagrant+virtualenv
2015-08-07 14:45:48 +02:00
Maximilian Hils
69ce4c3f14
remove evil unicode_literals
2015-08-06 10:49:41 +02:00
Maximilian Hils
adf2877020
fix #705
2015-08-03 18:07:30 +02:00
Thomas Kriechbaumer
6cce2f14d7
fix tests
2015-08-02 11:26:33 +02:00
Thomas Kriechbaumer
ff1e7e6409
fix imports for encoding
2015-08-01 14:53:34 +02:00
Thomas Kriechbaumer
fa568c2d3b
move encoding tests from mitmproxy to netlib
2015-08-01 14:53:20 +02:00
Thomas Kriechbaumer
b732a1cb3d
reimplement streaming for HTTP/1
2015-08-01 14:37:33 +02:00
Thomas Kriechbaumer
54866c0faa
revert hard-coded HTTP/2 protocol changes
2015-08-01 14:37:33 +02:00
Thomas Kriechbaumer
db02553e2a
move code from mitmproxy to netlib
2015-08-01 14:37:32 +02:00
Thomas Kriechbaumer
8a05151170
revert ALPN-related changes to fix master
...
In the future this should be added again to support HTTP/2.
2015-08-01 14:37:32 +02:00
Aldo Cortesi
c31b6c3c36
Merge pull request #698 from Kriechi/http2-wip
...
[WIP] Protocol Refactoring for HTTP/2
2015-08-01 11:38:33 +12:00
Thomas Kriechbaumer
4f38c6b90e
attach application protocol to connection
2015-07-30 19:53:29 +02:00
Thomas Kriechbaumer
a5d9e1f44d
move code to netlib and implement protocols
2015-07-30 13:53:17 +02:00
Thomas Kriechbaumer
89f22f7359
refactor connection & protocol handling
2015-07-30 13:53:17 +02:00
Maximilian Hils
cdc84f52d2
Merge pull request #699 from onlywade/bugfix/docs_update_shortcut_keys
...
Update docs to reflect current shortcut keys for features which have …
2015-07-30 10:47:12 +02:00
Wade Catron
3346daa65a
Update docs to reflect current shortcut keys for features which have been moved into the options menu.
2015-07-29 16:18:49 -07:00
Maximilian Hils
d2ae6b630e
Merge pull request #548 from macmantrl/no_serverconn
...
Prevent unnecessary upstream server connects
2015-07-26 11:58:21 +02:00
Aldo Cortesi
ee163ed5b0
Bump version for dev
2015-07-26 17:46:49 +12:00
Aldo Cortesi
675e70c7eb
Changelog for v0.13
2015-07-26 14:21:18 +12:00
Thomas Kriechbaumer
e9bbcfadc1
fix module imports
2015-07-25 20:00:34 +02:00
Thomas Kriechbaumer
07c9d46fab
remove debug output in tests
2015-07-24 18:01:55 +02:00
Maximilian Hils
0892649d31
Merge pull request #675 from Kriechi/protocol-refactor
...
HTTP protocol refactoring
2015-07-24 17:52:44 +02:00
Maximilian Hils
e0d1e8caf6
fix tests
2015-07-24 03:09:08 +02:00
Maximilian Hils
7bf8088d80
improve inline scripts, fix #683 , fix #684
2015-07-24 02:57:56 +02:00
Maximilian Hils
9b3fe80697
minor style improvements
2015-07-22 16:00:32 +02:00
Thomas Kriechbaumer
cedc0407de
refactor to use netlib.http protocols
2015-07-22 15:30:12 +02:00
Thomas Kriechbaumer
bb265d0c40
use new netlib module names
2015-07-22 15:30:11 +02:00
Thomas Kriechbaumer
df1b0df39f
use netlib.http_semantics for generic data
2015-07-22 15:30:11 +02:00
Maximilian Hils
c3c3d28bb1
update build script
2015-07-22 13:49:18 +02:00
Maximilian Hils
fe03a656a9
make build script amazing
2015-07-22 02:43:45 +02:00
Maximilian Hils
d2d2edc140
make build script executable on *nix
2015-07-22 00:44:24 +02:00
Maximilian Hils
170568ded0
fix text selection hint
2015-07-22 00:41:02 +02:00
Maximilian Hils
cacf767b5c
bump version
2015-07-22 00:16:38 +02:00
Maximilian Hils
ec02eda0b4
preliminary release script
2015-07-21 19:03:25 +02:00
Maximilian Hils
7fcbbb86cc
streamline build process
2015-07-21 17:51:59 +02:00
Maximilian Hils
a08172f6cc
fix slack badge
2015-07-17 20:49:58 +02:00
Maximilian Hils
1abd2647b4
Add Slack to README.
2015-07-15 04:20:04 +02:00
Maximilian Hils
822bd10465
Merge pull request #677 from isra17/json_error
...
Use `ensure_ascii` in wep.app#broadcast
2015-07-14 00:53:32 +02:00
Maximilian Hils
3dcc05ca97
Merge pull request #676 from isra17/master
...
Add source address filter
2015-07-14 00:42:48 +02:00
isra17
c33df9dd1c
Use ensure_ascii in wep.app#broadcast
...
Otherwise, a non-unicode character in a flow cause mitmweb to crash.
2015-07-13 18:19:33 -04:00
isra17
471e196e08
Add ~src ~dst REGEX filters
...
This filter allow to match on the request source and destination address
in the form of `<IP>:<Port>`.
Also fixed the parsing grammar to add a `WordEnd` after each filter
name. That way, `~src` doesn't match `~s` instead and keep the behavior
consistent with `~hq` != `~h`.
2015-07-13 18:11:14 -04:00
Maximilian Hils
2af2e60f1f
Merge pull request #673 from jlhonora/master
...
Match g/G shortcuts to less
2015-07-08 18:36:49 +02:00
jlhonora
1ebdda7902
Match g/G shortcuts to less, fix #631
2015-07-08 12:10:03 -03:00
Maximilian Hils
f8243086f6
improve dependency management in setup.py
2015-07-04 19:38:41 +02:00
Maximilian Hils
5a2b121f50
fix #648
2015-07-04 19:11:02 +02:00
Maximilian Hils
08476e988f
clarify docs
2015-07-04 17:44:52 +02:00
Maximilian Hils
9960565359
fix #653
2015-07-04 15:46:45 +02:00
Terry Long
4c50c36345
Prevent unecessary upstream server connects
...
Selectively connect to upstream server based on no_upstream_cert
option. When no_upstream_cert is used during server replay, prevent
connecting to the upstream server unless absolutely necessary.
2015-07-03 07:55:37 -07:00
Maximilian Hils
4c831992aa
fix #593 , fix #656 , coverage++
2015-07-03 02:47:12 +02:00
Maximilian Hils
9bffd9cf03
fix windows compatibility
2015-07-03 02:46:06 +02:00
Aldo Cortesi
5ad6773e78
Merge pull request #661 from kyle-m/master
...
Enabling upstream server verification.
2015-06-30 10:51:46 +12:00
Kyle Morton
f0ad1f334c
Enabling upstream server verification. Added flags --verify_upstream_cert,
...
--upstream-trusted-cadir, and --upstream-trusted-ca.
2015-06-29 11:00:20 -07:00
Maximilian Hils
aebad44d55
synchronize metadata files across projects
2015-06-26 23:43:19 +02:00
Maximilian Hils
c8f6bf66fb
Merge branch 'appveyor2'
2015-06-26 23:24:31 +02:00
Aldo Cortesi
5f277408cf
Merge pull request #654 from mitmproxy/remove_certforward
...
Remove Certforward Feature
2015-06-27 09:22:41 +12:00
Maximilian Hils
7990503eaf
docs: fix certinstall image max-width
2015-06-26 23:04:15 +02:00
Maximilian Hils
643accd5f8
add appveyor
2015-06-26 18:33:31 +02:00
Maximilian Hils
b369962cbe
remove certforward feature
...
The certforward feature was implemented to support #gotofail,
which only works on unpatched iOS devices. Given that many apps don't
support iOS 7 anymore, jailbreak+ssl killswitch is usually the better option.
By removing certforward, we can make netlib a pure python module again,
which significantly simplifies distribution.
2015-06-26 13:27:40 +02:00
Aldo Cortesi
876252eba8
Remove stray print & massage whitespace a bit
2015-06-25 10:27:22 +12:00
Aldo Cortesi
becc790d83
Merge pull request #645 from elitest/hardfailvenv
...
Add a check to see if virtualenv is installed.
2015-06-24 15:10:41 +12:00
Jim Shaver
080e453425
Merge branch 'master' into hardfailvenv
...
Conflicts:
dev
2015-06-23 21:48:05 -05:00
Jim Shaver
db5c0b210b
merged with upstream changes in dev
2015-06-23 20:50:51 -05:00
Jim Shaver
854dc004ee
revert change, already done on master.
2015-06-23 20:47:36 -05:00
Jim Shaver
951fe2f7ed
Add a check to see if virtualenv is installed.
2015-06-23 20:17:57 -05:00
Aldo Cortesi
074d8d7c74
Merge pull request #640 from Kriechi/ssl-version-handling
...
unify SSL version/method handling
2015-06-23 22:20:10 +12:00
Thomas Kriechbaumer
14e49f4fc7
unify SSL version/method handling
2015-06-23 12:05:34 +02:00
Aldo Cortesi
2c928181e8
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-06-23 14:01:50 +12:00
Aldo Cortesi
237e05c823
Travis to Slack
2015-06-23 14:01:31 +12:00
Aldo Cortesi
e2069d52a8
Merge pull request #638 from iroiro123/http-transparent
...
HTTP Transparent Proxy
2015-06-23 09:40:25 +12:00
iroiro123
fbb23b5c9f
changed error handling (ssl spoof mode)
2015-06-23 01:49:22 +09:00
iroiro123
5c7fa7a594
add unit tests for spoof mode
2015-06-23 00:57:33 +09:00
iroiro123
fd90367329
SSL Spoof mode
2015-06-21 00:51:56 +09:00
iroiro123
378aa78324
Spoof mode
2015-06-20 21:43:50 +09:00
Maximilian Hils
159543dd2b
Update README.mkd
2015-06-18 18:10:06 +02:00
iroiro123
59ec291b6c
HTTP Transparent Proxy
2015-06-18 23:53:27 +09:00
Thomas Kriechbaumer
e9fecbf830
add landscape/prospector config
2015-06-18 10:31:27 +02:00
Maximilian Hils
36d7e3fcd6
Update README.mkd
2015-06-16 03:05:21 +02:00
Thomas Kriechbaumer
5fea5d7813
fix pep8 config
2015-06-15 12:01:42 +02:00
Aldo Cortesi
7890450b0c
Handle invalid IDNA encoding in hostnames
...
Fixes #622
2015-06-12 16:00:16 +12:00
Aldo Cortesi
fcc1558180
Fix typo in docs - thanks to Jim_Showalter@intuit.com
2015-06-12 14:15:26 +12:00
Aldo Cortesi
85e1ae7543
Merge pull request #624 from drahosj/master
...
Added flow marking functionality in the console
2015-06-12 13:53:07 +12:00
Jake Drahos
946030367f
Added unmark all functionality
...
- 'U' to unmark all marked flows
2015-06-11 20:31:54 -05:00
Jake Drahos
2a6698bf5a
Moved marking from flow to console
...
No longer taints the flow primitive
2015-06-11 20:27:33 -05:00
Jake Drahos
f2d7a6aa57
Merge remote-tracking branch 'origin/master'
...
Conflicts:
libmproxy/console/flowlist.py
2015-06-11 16:34:53 -05:00
Jake Drahos
dd1e401e01
Changed mark symbol
...
Smaller symbol now, still just as easy to see while scrolling
2015-06-11 16:33:46 -05:00
Jake Drahos
486177edc7
Added functionality to write marked flows to file
...
w (write) -> m (marked)
2015-06-11 16:25:28 -05:00
Jake Drahos
d45d0ce22a
Added functionality to write marked flows to file
...
w (write) -> m (marked)
2015-06-11 16:15:24 -05:00
Jake Drahos
122ee88021
Unmark duplicated flows
...
If a marked flow is duplicated, the duplicate will now be unmarked
2015-06-11 12:52:15 -05:00
Jake Drahos
13e71eba10
Changed symbols and colors
...
Added a better symbol for the mark, and changed the color to red. This helps it
stand out more easily.
2015-06-11 12:02:15 -05:00
Jake Drahos
a34eeb9a28
Fixed console rendering bug
...
Clearing all flows now works properly
2015-06-11 11:49:23 -05:00
Jake Drahos
e53a2426c1
Marked flows not deleted on clear all
...
Marked flows survive a clear all unless all current flows are marked.
Bug: They don't show up until another flow is added
2015-06-11 11:40:03 -05:00
Jake Drahos
8b998cfbea
Implemented basic marking of flows
...
- Press m to toggle flow mark
- Flow mark is set in libmproxy/console/common.py. Currently set to "==="
2015-06-11 10:27:48 -05:00
Maximilian Hils
d389b9c59d
fix #615
2015-06-08 19:01:32 +02:00
Maximilian Hils
083b404bba
fix #618
2015-06-08 18:26:02 +02:00
Thomas Kriechbaumer
c59f045bd9
import travis config from netlib
...
this enables ALPN support with OpenSSL 1.0.2
2015-06-08 13:39:46 +02:00
David Weinstein
9b70d4bd2a
Merge pull request #613 from dweinstein/patch/docker-tweaks
...
match name of automated build base img
2015-06-07 21:43:26 -04:00
David Weinstein
84b4ca6a65
match name of automated build base img
2015-06-07 11:06:47 -04:00
Aldo Cortesi
60ee1dd3aa
Merge pull request #611 from dweinstein/feature/dockerfiles
...
initial add of docker mitmproxy
2015-06-07 10:12:49 +12:00
David Weinstein
3bd36b58e5
initial add of docker mitmproxy
2015-06-06 00:14:53 -04:00
Aldo Cortesi
bf7b76a997
Merge pull request #610 from tekii/fix-607
...
Fix 607
2015-06-06 11:10:33 +12:00
Marcelo Glezer
1befa9477c
fix #607 fix message
2015-06-05 15:33:36 -03:00
Marcelo Glezer
17b34de28d
fix #607 decode data before sending it to pyperclip
2015-06-05 15:19:57 -03:00
Aldo Cortesi
783e904b92
Merge pull request #603 from Kriechi/remove-contrib
...
replace contrib libraries with pypi dependencies
2015-06-04 13:30:18 +12:00
Aldo Cortesi
249bb4a2ac
Bump version
2015-06-04 11:15:29 +12:00
Aldo Cortesi
946fd375fa
Changelog for v0.12.1
2015-06-03 09:33:09 +12:00
Thomas Kriechbaumer
fbb2633dd3
replace contrib libraries with pypi dependencies
2015-06-02 10:00:34 +02:00
Aldo Cortesi
0b8cddddf5
console: click-enable tabs
2015-06-02 15:25:58 +12:00
Aldo Cortesi
57a61ae8fd
console: convert add_event to a signal.
2015-06-02 13:45:19 +12:00
Aldo Cortesi
776f0a9669
Minor typo in script error.
2015-06-02 11:58:16 +12:00
Aldo Cortesi
1076c25e5b
console: click in flow list to view flow
2015-06-02 11:27:26 +12:00
Aldo Cortesi
b5bb4106fd
console: mouse scrollwheel throughout.
2015-06-02 11:13:12 +12:00
Aldo Cortesi
62330e4b0f
Enable mouse interaction, add a hint for selecting text.
...
Fixes #597
2015-06-02 11:05:45 +12:00
Maximilian Hils
5e5e73001f
Merge pull request #605 from tekii/fix-604
...
fixes #604 catch method not found for handling pyperclip not found
2015-06-01 18:43:50 +02:00
Marcelo Glezer
14bce0dd12
fixes #604 catch method not found for handling pyperclip not found
2015-06-01 12:06:46 -03:00
Aldo Cortesi
7439e244a6
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-06-01 12:32:03 +12:00
Maximilian Hils
c28cc6fe96
Merge pull request #600 from elitest/print-bracket-fix
...
Print consistency
2015-05-31 15:20:06 +02:00
Jim Shaver
07cc7f6f50
reverting change in libmproxy/contrib/pyparsing.py
2015-05-31 08:09:03 -04:00
Jim Shaver
bd019a7124
revert changes in ncontrib
2015-05-31 07:59:00 -04:00
Jim Shaver
b51363b3ca
Merge remote-tracking branch 'upstream/master' into print-bracket-fix
...
Conflicts:
examples/har_extractor.py
examples/nonblocking.py
examples/read_dumpfile
libmproxy/web/app.py
2015-05-31 01:21:44 -04:00
Aldo Cortesi
50df036db5
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-05-31 13:49:21 +12:00
Aldo Cortesi
6c3233ce0c
Appease the code style gods.
2015-05-31 13:16:03 +12:00
Maximilian Hils
06fba18106
fix #599
2015-05-31 03:14:14 +02:00
Aldo Cortesi
13ee54da86
Remove dependency on PyOpenSSL, move version check into netlib.
...
There are a few more functions in the code that accesses PyOpenSSL
directly that should probably also be moved to netlib. Later.
2015-05-31 13:13:12 +12:00
Maximilian Hils
ec92fca8c0
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-05-31 01:51:31 +02:00
Maximilian Hils
0f8e8ee1ad
add bench tool for windows
2015-05-31 01:51:13 +02:00
Jim Shaver
4fe2c069cc
Fixed print function to be inline with python 3
2015-05-29 23:17:48 -04:00
Aldo Cortesi
a05a70d816
Add coding style check, reformat.
2015-05-30 12:03:28 +12:00
Aldo Cortesi
1a106f4080
Ensure that flow/view state is consistent.
...
Fixes #595 and #592
2015-05-29 11:36:56 +12:00
Aldo Cortesi
99c691def5
Post-release version bump, and checklist addition.
2015-05-26 10:44:52 +12:00
Aldo Cortesi
6d70b790df
release: include resources PyInstaller doesn't record in spec files.
2015-05-25 13:08:32 +12:00
Aldo Cortesi
c098ce8876
docs: widen sidebar
2015-05-25 10:13:01 +12:00
Aldo Cortesi
7fe9f04cce
docs: don't show un-necessary collapse target on mobile
2015-05-24 14:29:53 +12:00
Aldo Cortesi
2135bcec61
docs: styles now live in www.mitproxy.org repo, make images responsive
2015-05-24 14:09:51 +12:00
Aldo Cortesi
0a81265661
docs: adjust for countershape changes
2015-05-24 13:16:49 +12:00
Aldo Cortesi
b91999507e
Move websitelayout to website.
2015-05-23 12:36:52 +12:00
Aldo Cortesi
3161a5be22
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-05-23 09:44:28 +12:00
Aldo Cortesi
ba070bf947
docs: bootstrap theme + logo
2015-05-22 17:13:58 +12:00
Aldo Cortesi
f816246f4e
doc: fix nav in website mode
2015-05-22 11:21:00 +12:00
Maximilian Hils
98bc983dab
Merge pull request #591 from Kriechi/autoenv-improvements
...
improve autoenv script
2015-05-21 13:28:31 +02:00
Thomas Kriechbaumer
b2f87b9424
improve autoenv script
...
* properly quote DIR variable
(it might contain spaces)
* use builtin string magic instead of `dirname`
2015-05-21 13:15:55 +02:00
Aldo Cortesi
634f2e2c24
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-05-20 13:13:54 +12:00
Aldo Cortesi
6685c27697
docs: first-pass conversion to bootstrap3
...
Crappy default styling for now.
2015-05-20 13:12:41 +12:00
Maximilian Hils
26923dd0e4
Update CHANGELOG
2015-05-18 11:17:49 +02:00
Aldo Cortesi
a9f6d53562
certificate docs: reorg, wording, tweaks
2015-05-18 12:05:29 +12:00
Aldo Cortesi
b098556e60
Merge branch 'ssldocs' of https://github.com/elitest/mitmproxy into elitest-ssldocs
2015-05-18 11:23:45 +12:00
Aldo Cortesi
14341ffa19
Merge pull request #584 from dlethin/feature/http_1_0
...
Make sure proxy returns the httpversion specified in the request
2015-05-18 11:03:05 +12:00
Aldo Cortesi
48e4fb1af9
Merge pull request #585 from TearsDontFalls/master
...
docs: Single Qoute for ignore pattern with "!"
2015-05-18 11:02:25 +12:00
Aldo Cortesi
33169d610c
Release pep: bump version, changelog, contributors
2015-05-18 10:44:09 +12:00
TearsDontFalls
d88c3a0e95
docs: Single Qoute for ignore pattern with "!"
...
because wouldnt work with default bash settings as its part of history expansion in bash
2015-05-16 11:53:49 +02:00
Doug Lethin
cdff79fd4c
Make sure proxy returns the httpversion specified in the request rather
...
than hardcoding to 1.1.
2015-05-15 22:20:09 -04:00
Maximilian Hils
a8cb8a01a3
docs: add parantheses for ignore parameters.
2015-05-10 20:29:34 +02:00
Maximilian Hils
541a506b5f
Merge pull request #576 from nickraptis/req-ts-start
...
Accurately timestamp start of request
2015-05-08 10:59:03 +02:00
Nick Raptis
202ede3c54
Accurately timestamp start of request
...
When building a request from a stream, try to get an accurate
start timestamp from the Reader. This was already in the code
and also used when building response objects, but was ommited
in commit ddf458b330
Without his logic and when the client is reusing a connection
to send requests, the timestamp_start of subsequent requests
is early and equal to when the connection started read blocking
2015-05-08 10:58:05 +03:00
Aldo Cortesi
86526eed8d
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-05-03 10:18:48 +12:00
Aldo Cortesi
fcbfe4b605
Adapt to new literal escaping style in pathod
2015-05-03 10:18:18 +12:00
Maximilian Hils
a7d90ccec7
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-05-02 16:24:47 +02:00
Maximilian Hils
62ff239e41
check in last attempt at contenteditable before retreating to inputs
2015-05-02 16:23:57 +02:00
Aldo Cortesi
e1d3ebb446
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-05-02 17:20:09 +12:00
Aldo Cortesi
50b7bfaadc
Adapt to new Pathoc API - silence output to stdout.
2015-05-02 16:46:15 +12:00
Maximilian Hils
bb965b8e34
web: try harder to fix editor
2015-05-01 20:45:31 +02:00
Maximilian Hils
c780fc7bdf
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-05-01 17:25:00 +02:00
Maximilian Hils
3f5ca10c39
mitmweb: add editor
2015-05-01 17:24:44 +02:00
Aldo Cortesi
1c26516b18
pretty_size now lives in netlib.utils
2015-04-30 12:18:01 +12:00
Maximilian Hils
90dff4a8a1
Merge pull request #569 from mike-pt/master
...
Match all freebsd versions and not just freebsd10
2015-04-27 04:41:51 +02:00
Mike C
b942f98f37
+ Use sys.platform.startswith("freebsd") instead of matching just freebsd10.
...
+ This means support for any freebsd version (note that I only tested 11-CURRENT and 9)
2015-04-27 02:31:58 +01:00
Maximilian Hils
ca9dfff4b5
improve docs for win install
...
Adding Python to PATH during installation is useful,
but doesn't help users who have already installed Python.
The Powershell command takes care of the Scripts directory
as well.
2015-04-26 20:09:20 +02:00
Maximilian Hils
b40133a4f3
Merge pull request #555 from elitest/userinstalldocs
...
User Installation Documentation update
2015-04-26 19:39:21 +02:00
Maximilian Hils
1742017752
make code more pythonic
2015-04-26 19:25:59 +02:00
Maximilian Hils
417190daa7
Merge remote-tracking branch 'tunz/crash1'
2015-04-26 18:44:40 +02:00
Maximilian Hils
b5690b8103
remove superfluous set_focus
2015-04-26 18:43:27 +02:00
Maximilian Hils
f96e4957b1
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-04-26 18:41:40 +02:00
Maximilian Hils
79e587fe04
fix #568
2015-04-26 18:41:27 +02:00
Jim Shaver
ea8e58f037
Re-org and added platform specific install from source docs, refs: mitmproxy/mitmproxy#398
2015-04-25 00:19:23 -04:00
Maximilian Hils
1c5277b21f
Merge pull request #561 from tunz/overwrite
...
Check overwrite, when save to file instaed of clipboard
2015-04-23 11:35:02 +02:00
Choongwoo Han
ad33d0925f
Fix crash when save to clipboard before loading
2015-04-23 15:40:57 +09:00
Choongwoo Han
f4f57e62e5
Check overwrite, when save to file instaed of clipboard
2015-04-23 15:02:57 +09:00
Jim Shaver
bfe57ae113
Moved installing from Source to the bottom.
2015-04-21 10:39:57 -04:00
Aldo Cortesi
10750c9f30
python2 -> python in ./dev
...
Python 2 is not at python2 in most environments. If we really care, we should
just include an explicit version check at the head of the script.
2015-04-21 13:40:45 +12:00
Aldo Cortesi
37d731aacd
Missed some un-needed variable declarations
2015-04-21 11:42:27 +12:00
Aldo Cortesi
ddf458b330
HTTP request reading moves to netlib
2015-04-21 11:05:37 +12:00
Aldo Cortesi
e9ae0b92ba
Fudge a rare race condition in the test suite
2015-04-19 18:03:50 +12:00
Aldo Cortesi
ff654730e8
console: make g/G shortcuts work in more contexts
2015-04-17 13:30:49 +12:00
Aldo Cortesi
d20069fcd2
console: more consistent view stack management
2015-04-17 13:06:45 +12:00
Aldo Cortesi
e963a9da48
console: suport unary attributes
...
Attributes with no value are treated as unary, e.g. "Secure" rather than
"Secure=". If you really want to have an empty attribute value you can
edit the header directly.
Behind the scenes, restructure GridEditor to know about data conversion
in and out of the editor.
2015-04-17 12:54:29 +12:00
Aldo Cortesi
7abaf3c362
console: refactor grideditor, fix a crash on tab for subeditors
2015-04-16 22:01:54 +12:00
Aldo Cortesi
cb880cc65a
Adjust header key color in solarized palettes
2015-04-16 12:16:07 +12:00
Aldo Cortesi
52716e3439
console: first pass of a Set-cookie editor for responses
2015-04-16 10:57:12 +12:00
Aldo Cortesi
850a50262b
console: add a -l flag to set the limit on startup
2015-04-15 12:56:43 +12:00
Aldo Cortesi
5ff4303124
Adjust for ODict interface change
2015-04-15 10:29:57 +12:00
Aldo Cortesi
f33b483110
Editor for request cookies
2015-04-15 09:43:15 +12:00
Aldo Cortesi
0f269f7423
Whitespace, formatting
2015-04-15 09:14:20 +12:00
Aldo Cortesi
c335c2b533
Add set_cookies method to HTTPResponse
2015-04-14 16:23:51 +12:00
Aldo Cortesi
ab7e2857cc
New get_cookies for HttpResponse
2015-04-14 15:14:36 +12:00
Aldo Cortesi
e17eacd8d7
New get_cookie and set_cookie implementations for HTTPRequest
2015-04-14 13:45:38 +12:00
Aldo Cortesi
4652887786
Update docs to reflect non-aliased odict module
2015-04-14 12:04:42 +12:00
Aldo Cortesi
937a358aa9
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-04-14 12:01:37 +12:00
Aldo Cortesi
bea0bd236a
Housekeeping and cleanups
...
- No output to stdout on load in examples - they muck up the test suite.
- Use the odict module directly, rather than aliasing it. The small convenience
this gives to scripters is not worth it.
- Move the cookie tests from the flow test module to the protocol_http test
module.
2015-04-14 11:58:10 +12:00
Maximilian Hils
cbf6cad852
make dev script more robust, fix #556
2015-04-13 17:17:18 +02:00
Jim Shaver
a63634254d
Removed logging out added setting variables manually.
2015-04-11 23:17:07 -04:00
Jim Shaver
4a6bdb2564
added the most important part of "sudo apt-get install ..." to the docs
2015-04-11 22:17:26 -04:00
Maximilian Hils
ba149d90ad
spaces, not tabs
2015-04-12 03:50:14 +02:00
Maximilian Hils
c0a318566a
add flowwriter example
2015-04-12 03:47:58 +02:00
Jim Shaver
d4766d8bd0
Added on page documentation
2015-04-11 20:04:27 -04:00
Jim Shaver
3117dd7733
Removed mitmweb referrences and added On This Page section
2015-04-11 19:41:16 -04:00
Jim Shaver
5b6fb64e60
cleaned up Installing from source section.
2015-04-11 19:02:37 -04:00
Jim Shaver
4731c1bb79
Fixed image name and moved it into the screenshots folder
2015-04-11 17:25:31 -04:00
Jim Shaver
1a5f0e944e
Fixed english and made each OS consistent
2015-04-11 17:21:43 -04:00
Jim Shaver
fb0e2bf1f9
Cleaned up Ubuntu docs and added Windows installation information
2015-04-11 16:45:48 -04:00
Maximilian Hils
923503260e
add tests
2015-04-10 19:42:32 +02:00
Maximilian Hils
ab2b98b988
fix pretty_host if no host is present
2015-04-10 19:35:42 +02:00
Maximilian Hils
6852eb9d0a
fix #553
2015-04-10 14:59:38 +02:00
Jim Shaver
5ca85bc5f4
Minor reorg and add link for Chrome on Linux
2015-04-10 02:20:43 -04:00
Maximilian Hils
f37efecd0a
add yappi benchmark tool
2015-04-08 20:43:59 +02:00
Aldo Cortesi
b1d2da19f9
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-04-08 12:00:17 +12:00
Aldo Cortesi
fb0a5d8f63
Add an autoenv file to auto-activate the virtualenv
...
See https://github.com/kennethreitz/autoenv
2015-04-08 11:59:00 +12:00
Maximilian Hils
0aa2fca25a
Merge pull request #544 from ryoqun/websocket-connection-header-case-sensitivity
...
Make the Websocket's connection header value case-insensitive
2015-04-08 01:23:54 +02:00
Maximilian Hils
1a666bb5db
Merge pull request #547 from macmantrl/blank_values
...
Keep blank query values for flow hashing
2015-04-08 01:22:23 +02:00
Maximilian Hils
f2ad047966
fix tests
2015-04-08 00:33:31 +02:00
Maximilian Hils
74aff39b28
add example which uses filt
2015-04-08 00:21:49 +02:00
Maximilian Hils
e7b154c823
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-04-08 00:20:37 +02:00
Maximilian Hils
2242c671fd
allow passing custom argv to libmproxy.main
2015-04-08 00:20:32 +02:00
Maximilian Hils
b961f9e599
Merge pull request #543 from legendtang/master
...
web: fix delete flows
2015-04-08 00:05:04 +02:00
Jim Shaver
6c6639a78a
Cleaned up wrapping and added links to external CA instructions.
2015-04-07 01:33:45 -04:00
Aldo Cortesi
8e2e83a3c6
console: add g/G shortcuts throughout
...
g: go to end
G: go to beginning
2015-04-07 16:13:42 +12:00
Aldo Cortesi
e76467e977
Refactor flow list state management
...
- Use signal mechanism for state synchronisation
- Move "Copy to clipboard" shortcut to "P"
2015-04-07 15:59:38 +12:00
Aldo Cortesi
c7b1234e13
consone: don't enter Options if it's already open
2015-04-07 12:26:56 +12:00
Aldo Cortesi
6bab6f2ef1
console: tune palettes a bit
2015-04-07 11:36:42 +12:00
Aldo Cortesi
94cd704f73
console: toggle palette transparency from options, indicate selected palette
2015-04-07 10:11:25 +12:00
Aldo Cortesi
f6a3bd15b3
console: All palettes now explicitly set a background colour
...
There's a new option --palette-transparent to turn this off if you want
to use your own terminal background.
2015-04-07 10:01:18 +12:00
Aldo Cortesi
1cb1ee411b
console: palette picker for the options screen
2015-04-07 08:42:40 +12:00
Aldo Cortesi
538f215458
console: factor out selection widget
2015-04-06 18:28:51 +12:00
Aldo Cortesi
0d6de19b07
console: sticky cookies and auth to options screen
2015-04-06 17:30:12 +12:00
Aldo Cortesi
c4e0f9d8d7
console: TCP proxy patterns to new options screen
2015-04-06 17:19:52 +12:00
Aldo Cortesi
ec7572697a
console: default display mode to new options screen
2015-04-06 17:14:32 +12:00
Aldo Cortesi
acb6b5667c
console: scripts to new options screen
2015-04-06 17:11:02 +12:00
Aldo Cortesi
488adcb79e
console: replacement patterns to new option screen
2015-04-06 17:05:52 +12:00
Aldo Cortesi
15246c3403
console: ignore patterns to new options screen.
2015-04-06 17:02:51 +12:00
Aldo Cortesi
9e39999706
Add headings to options, start migrating more options into options screen
...
SetHeaders first...
2015-04-06 16:47:58 +12:00
Legend Tang
20d3d7e1b8
Merge https://github.com/mitmproxy/mitmproxy
2015-04-06 11:28:20 +08:00
Aldo Cortesi
3704411466
Minimal help context for options
2015-04-03 20:04:19 +13:00
Aldo Cortesi
aadaa66d0b
console: tune and re-enable palettes
2015-04-03 19:44:09 +13:00
Aldo Cortesi
ddc353955d
Don't list all options shortcuts in help
2015-04-03 19:10:12 +13:00
Terry Long
6a24a4e3c5
Keep blank query values for flow hashing
2015-04-02 22:10:01 -07:00
Aldo Cortesi
41a1a0bef3
console: C to clear all options, correct footer in options screen
2015-04-03 14:47:55 +13:00
Aldo Cortesi
57bdb89342
console: keyboard shortcuts for options
2015-04-03 14:38:04 +13:00
Aldo Cortesi
65971f02ad
console: basic options page
2015-04-03 14:10:57 +13:00
Aldo Cortesi
fe6957eddb
console: fix a crash that sometimes occurs when setting a limit
2015-04-01 10:47:28 +13:00
Aldo Cortesi
c794d362f9
Next/previous tab keybindings
2015-04-01 10:34:58 +13:00
Aldo Cortesi
32ba6021b3
console: improve handling of help contexts, fix key bindings in flow views
2015-04-01 09:25:50 +13:00
Ryo Onodera
9674a0869c
Make the Websocket's connection header value case-insensitive
2015-03-31 16:07:04 +09:00
Aldo Cortesi
44fb42185f
console: fix body scrolling
2015-03-31 15:59:54 +13:00
Aldo Cortesi
82997cb311
Fix timestamps in detail view
...
- Fix a crash when connection timestamps don't exist yet
- Fix display of response timestamps
- Get rid of those colossal ternaries. I want a device that pokes people in the
eye every time they try to use a ternary operator.
2015-03-31 09:49:07 +13:00
Legend Tang
269571efe5
web: fix delete flows
2015-03-30 20:18:56 +08:00
Maximilian Hils
5977e844e7
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-03-30 03:49:59 +02:00
Maximilian Hils
6d29f93e9e
web: add prompt for keyboard navigation
2015-03-30 03:49:50 +02:00
Aldo Cortesi
ad08b80c43
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-03-30 11:54:14 +13:00
Aldo Cortesi
e964983e81
Disable keystrokes requiring a request/response on details page
2015-03-30 11:53:10 +13:00
Maximilian Hils
737002921e
s/filter/search/
...
no matter what we agree on in #542 ,
this needs to be done anyway.
2015-03-30 00:46:33 +02:00
Aldo Cortesi
a32698fc04
Update statusbar when flow list is cleared.
2015-03-30 10:34:02 +13:00
Aldo Cortesi
8f5cf833d0
Add flow detail view as a tab in the flow view
2015-03-29 19:24:37 +13:00
Aldo Cortesi
cacd09fafc
console: add a tabs widget, and use it for flowview.
2015-03-29 17:40:43 +13:00
Aldo Cortesi
cfeee347d9
Simplify content generation in flow view
2015-03-29 15:54:29 +13:00
Aldo Cortesi
8f0e4a9bdd
console: simplify view modes.
2015-03-29 15:27:17 +13:00
Aldo Cortesi
bdc2fda7ef
Seems more natural to re-prompt for search every time
2015-03-29 15:16:20 +13:00
Aldo Cortesi
80c4de5ca4
Keep record of last search term
2015-03-29 15:14:56 +13:00
Aldo Cortesi
bf012e0a89
Zap old search tests
2015-03-29 14:49:57 +13:00
Aldo Cortesi
92ce91efac
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-03-29 14:46:10 +13:00
Aldo Cortesi
e4738bdd39
Fix search wrap-around offsets.
2015-03-29 14:39:47 +13:00
Aldo Cortesi
8a0404ddf8
Beginning of a simpler and more flexible search implementation
2015-03-29 14:32:36 +13:00
Maximilian Hils
93d1d0416d
web: add more keyboard shortcuts
2015-03-29 03:24:03 +02:00
Maximilian Hils
fd911b75e6
web: global key handling
2015-03-29 01:45:37 +01:00
Maximilian Hils
1913975fa6
web: use contexts to pass down stores.
...
Using contexts frees us from the contracts we have
using props - namely, we can assume them to be constant
for the lifetime of the object.
2015-03-27 21:58:04 +01:00
Maximilian Hils
f39e6c5c18
web: minor ux improvements
2015-03-27 18:51:25 +01:00
Maximilian Hils
dcb42b3016
web: fix react-router
2015-03-27 16:54:21 +01:00
Maximilian Hils
11b082c998
Merge remote-tracking branch 'vzvu/react-router-0.13.2'
...
Conflicts:
libmproxy/web/static/vendor.js
2015-03-27 16:17:35 +01:00
Maximilian Hils
42cd942b64
web: initial attempt at header editor
2015-03-27 15:30:19 +01:00
vzvu3k6k
d65a4b6100
web: upgrade to react-router 0.13.2
2015-03-27 04:32:38 +09:00
Maximilian Hils
04f2467e84
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-03-26 18:17:36 +01:00
Maximilian Hils
9854379046
web: backup flows on edit
2015-03-26 18:17:30 +01:00
Maximilian Hils
423530fc25
Merge pull request #515 from krzysiekbielicki/master
...
[#514 ] Add support for ignoring payload params in multipart/form-data
2015-03-26 18:16:31 +01:00
Maximilian Hils
9a328c12a4
Merge pull request #538 from peralta/patch-1
...
mitmweb: start onboarding app if instructed to
2015-03-26 17:26:50 +01:00
peralta
901bf018c0
mitmweb: start onboarding app if instructed to
2015-03-26 17:20:32 +01:00
Maximilian Hils
d08fc33f35
Merge pull request #537 from tekii/fix530
...
fix #530 set client_playback to None when client_playback is done
2015-03-26 14:06:56 +01:00
Maximilian Hils
13860cf6b4
Merge pull request #536 from tekii/master
...
fixed exception in mitmproxy -c fix #535
2015-03-26 14:06:46 +01:00
Marcelo Glezer
ab7281ec04
fix #530 set client_playback to None when client_playback is done
2015-03-25 17:40:25 -03:00
Marcelo Glezer
fb17eea5e0
fix #535 server replay was failing from ui but working from command line (fixed now too)
2015-03-25 17:12:38 -03:00
Marcelo Glezer
c5f153f8d0
fix #535 now works with both cases: using -c from command line and pressing c in the ui
2015-03-25 17:07:31 -03:00
Marcelo Glezer
e6a8863c51
fixed exception in mitmproxy -c fix #535
2015-03-25 16:57:28 -03:00
Maximilian Hils
b0f60cf1f2
Merge pull request #532 from tekii/master
...
handles UnicodeDecodeError (#531 )
2015-03-25 12:47:13 +01:00
Marcelo Glezer
f45ac12d20
handles UnicodeDecodeError
2015-03-23 23:57:18 -03:00
Maximilian Hils
968c7021df
web: add basic edit capability for first line
2015-03-23 00:24:56 +01:00
Maximilian Hils
2acd77dea0
web: add content download
2015-03-22 15:29:55 +01:00
Maximilian Hils
39a8ac7e2a
web: improve views
2015-03-22 15:19:35 +01:00
Maximilian Hils
cf9f91b0b4
web: upgrade to react 0.13
2015-03-22 14:33:42 +01:00
Aldo Cortesi
6fb661dab5
Unwind twisty maze of cache layers. Holy confusing, Batman.
2015-03-22 21:08:18 +13:00
Aldo Cortesi
842e23d3e3
Replace far-too-clever decorator LRU cache with something simpler
2015-03-22 21:00:41 +13:00
Aldo Cortesi
a2da38cc83
Whitespace, indentation, formatting
2015-03-22 17:33:25 +13:00
Aldo Cortesi
15f65d63f6
Trigger flow change when flow elements are edited
2015-03-22 17:28:13 +13:00
Aldo Cortesi
a1c21d9774
Fix unit tests
2015-03-22 17:23:27 +13:00
Aldo Cortesi
08bb076533
console: signal-based view stack, unifying mechanisms for help, flow views, etc.
2015-03-22 17:18:53 +13:00
Aldo Cortesi
120c8db8a4
console: refactor the way we keep global view state
2015-03-22 16:59:11 +13:00
Aldo Cortesi
aa9a38522f
Remove refresh_flow mechanism in favor of a signal-based implementation
2015-03-22 15:58:32 +13:00
Aldo Cortesi
7a119ac7d7
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-03-22 15:40:48 +13:00
Aldo Cortesi
c9a0975446
console: observe state objects for changes, fire event to update status bar.
2015-03-22 15:11:54 +13:00
Maximilian Hils
9415846232
web: raw content view
2015-03-22 02:25:47 +01:00
Aldo Cortesi
200498e7aa
Simplify the way in which path prompts keep state
...
In the past, we kept the last path the user specified for a number of different
path types to pre-seed the path prompt. Now, we no longer distinguish between
types, and pre-seed with the last used directory regardless.
2015-03-22 14:14:44 +13:00
Aldo Cortesi
572000aa03
Rationalise prompt calling conventions
2015-03-22 13:59:34 +13:00
Aldo Cortesi
3bf4feb213
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-03-22 13:33:11 +13:00
Aldo Cortesi
89383e9c13
Refactor status bar prompting to use signal system
2015-03-22 13:32:24 +13:00
Maximilian Hils
89d66360d6
tweak css
2015-03-22 00:28:08 +01:00
Maximilian Hils
1143552e16
web: add content views
2015-03-22 00:21:38 +01:00
Maximilian Hils
02a61ea45d
structure components
2015-03-21 22:49:51 +01:00
Maximilian Hils
ac5d74d42c
web: fix bugs
2015-03-21 21:55:02 +01:00
Aldo Cortesi
381a563067
Status bar message expiry based on signals and Urwid main loop
2015-03-21 12:37:00 +13:00
Aldo Cortesi
8725d50d03
Add blinker dependency, start using it to refactor console app
...
Blinker lets us set up a central pub/sub mechanism to disentangle our object
structure.
2015-03-21 11:19:20 +13:00
Aldo Cortesi
b475c8d6ea
Add window.py import missed in refactoring
2015-03-20 15:22:05 +13:00
Aldo Cortesi
c182133d64
console: pull primary window frame management out into window.py
2015-03-20 13:26:08 +13:00
Aldo Cortesi
2f8ebfdce2
Pull console StatusBar into its own file.
2015-03-20 11:08:04 +13:00
Aldo Cortesi
241530eb0a
Remove cruft to work around an old Urwid bug
2015-03-20 11:03:46 +13:00
Aldo Cortesi
558e0a41c2
Fix general prompt input.
2015-03-20 11:00:24 +13:00
Aldo Cortesi
560e44c637
Pull PathEdit out into its own file.
2015-03-20 10:54:57 +13:00
Aldo Cortesi
a3f4296bf1
Explicitly handle keyboard interrupt in mitmproxy
...
Fixes #522
2015-03-20 10:02:34 +13:00
Aldo Cortesi
d7e53e6573
Fix crashes on mouse click when input is being handled
2015-03-20 09:30:29 +13:00
Jim Shaver
998c9c49c4
Merge branch 'master' of github.com:mitmproxy/mitmproxy into ssldocs
2015-03-19 15:58:53 -04:00
Maximilian Hils
97c6d7ed25
onboarding app: serve certs inline to unbreak firefox
2015-03-19 16:29:05 +01:00
Maximilian Hils
51856b7ccd
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-03-19 16:18:41 +01:00
Maximilian Hils
a2cbfb117b
fix webapp on Windows
...
- the p12 file needs a ".p12" extension. simply naming the file "p12"
isn't sufficient
2015-03-19 16:17:44 +01:00
Aldo Cortesi
b47019293e
Nicer Solarized palettes, using the correct terminal values
2015-03-19 20:49:43 +13:00
Aldo Cortesi
7e9a5e66fe
Reinstate solarized_dark and solarized_light palettes.
2015-03-19 18:42:03 +13:00
Aldo Cortesi
32a674948f
Less painful light heading bar palette
...
lowlight remains painful due to background color restrictions.
2015-03-19 18:29:06 +13:00
Aldo Cortesi
05d1b99043
No output to stdout in the test suite, please.
2015-03-19 18:10:21 +13:00
Aldo Cortesi
1d5fcc6e0e
Revamp palette specification
...
- Split low-color and high-color specifications in palettes.
- Split off light, dark, lowlight and lowdark palettes. Lowlight and lowdark
will be the low-color base for most subsequent palettes.
- Add a small script that makes test pattern requests to pathod.
2015-03-19 18:05:30 +13:00
Aldo Cortesi
b77e511fca
Merge pull request #526 from tekii/fix-522
...
fix for #522
2015-03-19 11:40:53 +13:00
Marcelo Glezer
7c75f4d0db
test/test_console_help.py fixed
2015-03-18 13:49:33 -03:00
Marcelo Glezer
8feebcbf8e
fix for #522
2015-03-18 12:56:12 -03:00
Jim Shaver
36bec7b77e
now actually tracking ssl.html
2015-03-18 00:29:54 -04:00
Jim Shaver
972f612090
Merge remote-tracking branch 'upstream/master'
2015-03-18 00:25:22 -04:00
Jim Shaver
e0e36f5dae
consolidated down all SSL documentation into one document
2015-03-18 00:22:18 -04:00
Maximilian Hils
5721e5bd27
require urwid 1.3
2015-03-18 00:05:57 +01:00
Maximilian Hils
29e529a69e
Merge pull request #523 from tekii/fix-client-replay-key
...
fixes crash pressing 'c':client-replay in mitmproxy
2015-03-17 21:43:21 +01:00
Marcelo Glezer
75d4563af0
fixes crash pressing 'c':client-replay in mitmproxy
2015-03-17 16:39:52 -03:00
Jim Shaver
f3dab52a62
Better english
2015-03-17 00:30:18 -04:00
Jim Shaver
968d94d471
Removes all of the platform specific certificate installation instructions.
2015-03-17 00:26:42 -04:00
Maximilian Hils
40c242c3f6
add table sort
2015-03-17 03:05:59 +01:00
Krzysztof Bielicki
953f9aa641
Added tests
2015-03-16 10:23:50 +01:00
Maximilian Hils
4a92c42517
web: smaller changes
2015-03-15 22:05:50 +01:00
Maximilian Hils
3650d73662
Merge remote-tracking branch 'onlywade/master'
...
Conflicts:
libmproxy/console/__init__.py
libmproxy/console/flowlist.py
2015-03-15 14:36:06 +01:00
Maximilian Hils
47091c8db5
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-03-15 03:09:00 +01:00
Maximilian Hils
7b58fe5142
mitmdump: improve request printing
2015-03-15 03:08:45 +01:00
Maximilian Hils
5b4d54c829
mitmdump: decode flow before printing
2015-03-15 02:53:05 +01:00
Maximilian Hils
7242654d7d
Merge pull request #519 from legendtang/master
...
update package.json during transition period, see #518
2015-03-15 00:03:03 +01:00
Legend Tang
d7ae3bb638
update package.json during transition period, see #518
2015-03-15 02:27:43 +08:00
Maximilian Hils
274e6217de
Merge pull request #517 from mitmproxy/virtualenv-win
...
simplify virtualenv
2015-03-14 03:10:14 +01:00
Maximilian Hils
e9a5a26bf0
./dev: echo what we have done
2015-03-14 03:08:34 +01:00
Maximilian Hils
f309eb3526
Update README.mkd
2015-03-14 02:42:50 +01:00
Maximilian Hils
f815525f18
simplify virtualenv
...
- add dev.bat for Windows users
- remove ~/.pipcache creation.
If that causes issues with PyInstaller, we should use
pip --no-cache-dir there or rm -r pip.locations.USER_CACHE_DIR.
- remove superfluous pip install calls.
2015-03-14 02:33:21 +01:00
Maximilian Hils
9522610866
travis: fix coveralls
2015-03-14 02:20:45 +01:00
Aldo Cortesi
a4f500c82e
Indentation, style, whitespace
2015-03-13 23:14:37 +11:00
Aldo Cortesi
60dce08d54
Remove compatibility shim used to interop with older versions of Urwid
2015-03-13 23:04:07 +11:00
Aldo Cortesi
87a3c71041
Formatting and whitespace
2015-03-13 22:29:21 +11:00
Aldo Cortesi
468cc81c8a
Style & whitespace
2015-03-13 22:07:35 +11:00
Aldo Cortesi
488bcaca6f
Integrate Urwid's MainLoop in console mitmproxy
...
Urwid's method for accumulating multi-character escape codes is now tied
up with its main loop, which means we can't avoid it. This commit fixes
a range of issues (like escape not working to exit editable fields), and
also improves responsiveness.
2015-03-13 21:58:22 +11:00
Aldo Cortesi
0d59c2da97
Better error when invalid palette is specified
2015-03-12 22:56:47 +11:00
Aldo Cortesi
04e9260b74
Re-enable OSX binary builds for mitmproxy and mitmweb
2015-03-12 22:52:46 +11:00
Aldo Cortesi
40366fa94e
Virtualenv is the one and only recommended dev environment
...
- Create a "dev" script to create a virtualenv-based dev environment
- Update the docs to remove non-virtualenv install recommendations
- Update osx-binaries generation to use virtualenv
TODO:
- The dev script or an equivalent should be made to work on Windows
- We still can't remove the annoying top-level command scripts, because
pyinstaller doesn't support entry points. Once it does, they can go.
2015-03-12 22:12:15 +11:00
Aldo Cortesi
de3f84934d
Test suite should pass even if example dependencies are not present
2015-03-12 16:57:10 +11:00
Aldo Cortesi
dfc1b39164
Update for latest master of PyInstaller
2015-03-12 13:26:21 +11:00
Maximilian Hils
a8c074054a
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-03-11 13:11:55 +01:00
Maximilian Hils
937eb839ed
fix sourcemaps
2015-03-11 13:11:41 +01:00
Maximilian Hils
2f40a6fd78
improve source map generation
2015-03-11 11:13:20 +01:00
Krzysztof Bielicki
244ef243d7
[ #514 ] Add support for ignoring payload params in multipart/form-data
2015-03-10 10:44:06 +01:00
Maximilian Hils
ec4a6ec4e5
Merge pull request #509 from suyash/mitmweb-add-sourcemap-generation
...
add sourcemap generation for scripts-app-dev task
2015-03-08 21:09:06 +01:00
Wade Catron
803d631f04
Adding a server replay option to ignore host when searching for matching requests
2015-03-08 10:21:57 -07:00
Maximilian Hils
a78eb12e1a
Merge remote-tracking branch 'suyash/mitmweb-add-sourcemap-generation'
2015-03-07 01:42:06 +01:00
Maximilian Hils
15a8a93a4e
adjust to changed netlib api
2015-03-07 01:39:01 +01:00
Suyash
e47f9738ec
add sourcemap generation for scripts-app-dev task
2015-03-07 01:47:50 +05:30
Maximilian Hils
353a6ace47
Merge remote-tracking branch 'legend/master'
...
Conflicts:
libmproxy/web/static/app.js
2015-03-06 10:05:12 +01:00
Maximilian Hils
60dc5e0fe3
add mitmweb executable
2015-03-06 10:03:11 +01:00
Maximilian Hils
8c1978b7bf
Merge pull request #507 from legendtang/fix_flowactions
...
fix #506
2015-03-06 10:00:50 +01:00
Legend Tang
de306e6aeb
fix #506
2015-03-06 16:54:18 +08:00
Legend Tang
0b57f851bd
another clean up for #503 #504
2015-03-06 04:03:52 +08:00
Legend Tang
98c0047b4e
clean up for #503 #504
2015-03-06 03:57:38 +08:00
Legend Tang
36db55f662
Replace addListener method with multiple bindings, fix for #503 504
2015-03-06 03:45:58 +08:00
Legend Tang
b903dd4e4a
Revert "revert to custom EventEmitter, workaround for #504 "
...
This reverts commit fa8fc64ce0 .
2015-03-06 03:29:15 +08:00
Legend Tang
fa8fc64ce0
revert to custom EventEmitter, workaround for #504
...
It's an EventEmitter issue.
2015-03-06 02:51:57 +08:00
Maximilian Hils
300868edff
clean up web builds
2015-03-05 01:52:47 +01:00
Maximilian Hils
4c95c68041
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-03-04 23:07:04 +01:00
Maximilian Hils
f45f3dd4f1
update docs
2015-03-04 23:06:58 +01:00
Maximilian Hils
8f7ba4ab45
Merge pull request #500 from sunu/master
...
improvement to PR #496
2015-03-04 18:16:19 +01:00
Tarashish Mishra
48023db59e
Minor refactor to PR #496
2015-03-04 22:32:01 +05:30
Marcelo Glezer
b49d573c8b
sorted timing information by timestamp
2015-03-03 18:38:16 -03:00
Marcelo Glezer
485003511b
removed unused parameter
2015-03-03 17:49:47 -03:00
sentient07
ff6bfba4a6
Documentation for the client side certificate is added
2015-03-03 21:32:54 +05:30
Marcelo Glezer
8a672b7955
minor refactor
2015-03-03 00:55:23 -03:00
Marcelo Glezer
f514eacd7a
added timing information to FlowDetailView
2015-03-03 00:44:31 -03:00
Marcelo Glezer
58dba3f490
fixed formatting and added a 'test' (sort of)
2015-03-02 23:22:44 -03:00
Marcelo Glezer
91e5a4a4b5
#487 added microsecond support to format_timestamp and used in FlowDetailView. Still WIP.
2015-03-02 18:30:46 -03:00
Marcelo Glezer
8008a4336d
Merge pull request #2 from mitmproxy/master
...
update to mitmproxy/master
2015-03-02 14:37:30 -03:00
Maximilian Hils
e65a8659f0
Merge pull request #489 from tekii/feature-487
...
added time elapsed between request sent and response received
2015-03-02 14:40:22 +01:00
Maximilian Hils
75ba0a92e4
do some housekeeping
2015-03-02 14:35:50 +01:00
Maximilian Hils
7cf1ec7435
Merge pull request #493 from elitest/master
...
Adding support for server facing SSL cipher suite specification
2015-03-02 14:25:14 +01:00
elitest
5e07fe08ea
Update Server.py to fix SNI handling
...
Forgot to change ciphers->client_ciphers.
2015-03-02 00:19:06 -06:00
elitest
c6f54605a7
Update Config.py to clarify help messages
2015-03-01 20:49:03 -06:00
elitest
13e74facb6
Update config.py
2015-03-01 20:21:35 -06:00
Jim Shaver
ac92df0fda
Un-executable'd setup.py
2015-03-01 20:13:47 -06:00
Jim Shaver
b063d6020f
specified cipher_list in a few more locations, added a missing comma
2015-03-01 20:12:27 -06:00
Marcelo Glezer
09828ff2d9
changes requested by @mhils
2015-03-01 22:19:32 -03:00
Maximilian Hils
dff70150f5
Merge pull request #492 from mitmproxy/entrypoints
...
use entry_points for Windows support
2015-03-02 00:31:42 +01:00
elitest
6a1e294149
Update Server.py to improve cipher selection
...
Differentiated client ciphers and added server ciphers.
2015-02-28 11:07:18 -06:00
elitest
0b7b0ac33d
Update Config.py to improve cipher selection
...
added support for specifying cipher suites on both sides of the proxy instead of just the one.
2015-02-28 10:16:31 -06:00
Maximilian Hils
eec4c539f2
SSLKEYLOGFILE docs
2015-02-28 03:35:28 +01:00
Maximilian Hils
e1b6cf9401
fix #319
2015-02-27 15:24:27 +01:00
Maximilian Hils
8d975e80ff
Merge remote-tracking branch 'sakurai/feature/issue319'
2015-02-27 14:47:50 +01:00
Maximilian Hils
355f9fc407
use entry_points for Windows support
2015-02-27 14:43:23 +01:00
Maximilian Hils
595bde2202
add example inline script for dns spoofing, refs #486
2015-02-27 12:55:16 +01:00
Maximilian Hils
3323b29f10
always include SNI as SAN entry
...
To be as robust as possible, we include the SNI value always as a Subject
Alternative Name. Second, we make sure that the server address is in the
list as well.
2015-02-27 12:51:06 +01:00
Maximilian Hils
c51a1dbb11
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-02-27 09:17:59 +01:00
Maximilian Hils
81a274eb51
fix #479
2015-02-27 09:17:41 +01:00
Youhei Sakurai
5916767e03
Correct typo; https://github.com/mitmproxy/mitmproxy/issues/319
2015-02-27 10:22:27 +09:00
Youhei Sakurai
10f81e596b
Change from checking __call__ to using callable;
...
https://github.com/mitmproxy/mitmproxy/issues/319
2015-02-27 10:15:07 +09:00
Marcelo Glezer
3a78c95d0a
added to flowlist / flowdetail time elapsed between request sent and response received
2015-02-26 18:14:20 -03:00
Youhei Sakurai
1d42c1b3c4
Modify example to notify incompatibility with --stream SIZE command line
...
option; https://github.com/mitmproxy/mitmproxy/issues/319
2015-02-27 03:17:40 +09:00
Youhei Sakurai
77bb0b74ed
Maybe it should work; https://github.com/mitmproxy/mitmproxy/issues/319
2015-02-27 02:44:47 +09:00
Maximilian Hils
bd6c3f64c1
Merge pull request #474 from tekii/feature-426
...
Feature 426
2015-02-13 23:48:45 +01:00
Marcelo Glezer
010b921a93
added sni and ssl_established=true in ServerConnection. removed check for None value of server_conn in http.py
2015-02-12 13:41:58 -03:00
Marcelo Glezer
71a58289e2
less is more
2015-02-12 01:52:13 -03:00
Marcelo Glezer
fbba6bfe06
added ClientConnection and ServerConnection to new request
2015-02-12 01:42:48 -03:00
Marcelo Glezer
58091b7041
removed useless try except
2015-02-12 01:33:35 -03:00
Marcelo Glezer
16653cc62b
fixed typos
2015-02-12 00:31:05 -03:00
Marcelo Glezer
27a1947599
missing str in http.parse_url
2015-02-11 22:03:57 -03:00
Marcelo Glezer
493cecfaf2
renamed add_request to create_request and added a tiny docstring
2015-02-11 16:05:49 -03:00
Marcelo Glezer
1df78f75c5
set sni to None when no server_conn is None
2015-02-10 17:18:23 -03:00
Marcelo Glezer
80da33b2d3
request is absolute
2015-02-10 15:45:11 -03:00
Marcelo Glezer
ba42984b59
added support for creating new requests. still wip (not working for https)
2015-02-10 15:24:21 -03:00
Maximilian Hils
e0c5f86b20
Merge pull request #467 from mitmproxy/clipboard
...
Clipboard
2015-02-08 22:18:28 +01:00
Maximilian Hils
c9240812d9
fix #468
2015-02-08 13:24:32 +01:00
Maximilian Hils
5d56870818
disable replay from ui for live flows
2015-02-07 19:33:36 +01:00
Maximilian Hils
9a32193005
fix #110
2015-02-07 16:37:59 +01:00
Maximilian Hils
53fadd05f4
fix #451
2015-02-07 16:26:19 +01:00
Maximilian Hils
0d608c1fb3
upgrading packages should not be neccesary on travis
2015-02-07 01:36:45 +01:00
Maximilian Hils
2ed09beae4
fix tests, re-enable pypy, do housekeeping
2015-02-07 01:17:24 +01:00
Maximilian Hils
102183fd23
remove leftovers
2015-02-07 00:36:47 +01:00
Maximilian Hils
65c14724f5
make copy context-sensitive
2015-02-07 00:33:29 +01:00
Maximilian Hils
02e0bad684
improve clipboard UX
2015-02-06 23:32:22 +01:00
Maximilian Hils
17e44db9fd
Update README.mkd
2015-02-06 23:13:40 +01:00
Maximilian Hils
c871a12ea4
Merge remote-tracking branch 'tekii/feature-334'
2015-02-06 20:27:50 +01:00
Marcelo Glezer
f49dcb0d91
removed str() cast and changed 'failed copy trying save instead' message
2015-02-06 00:59:05 -03:00
Marcelo Glezer
64c02a16c3
save_flow now uses with, and pyperclip requirement updated to 1.5.8
2015-02-06 00:44:43 -03:00
Maximilian Hils
d67372f9d6
fix tests
2015-02-06 02:25:07 +01:00
Maximilian Hils
70607f9d95
Merge remote-tracking branch 'origin/contributing'
2015-02-06 01:52:07 +01:00
Maximilian Hils
6472942756
fix tests
2015-02-05 17:52:59 +01:00
Maximilian Hils
bed237503a
Create CONTRIBUTING.md
2015-02-05 17:52:08 +01:00
Maximilian Hils
f215c3712d
fix #459
2015-02-05 17:12:48 +01:00
Maximilian Hils
52d696df3d
fix ssl shutdown in tcp mode, refs #464
2015-02-05 16:46:55 +01:00
Marcelo Glezer
1455707eb1
Merge branch 'feature-334' of github.com:tekii/mitmproxy into feature-334
2015-02-05 11:32:01 -03:00
Marcelo Glezer
75cca63b26
added copy to clipboard support for url
2015-02-05 11:31:25 -03:00
Marcelo Glezer
ae83d39eba
added support for 'b' key in flowlist
2015-02-05 11:31:25 -03:00
Marcelo Glezer
9fc68d320c
added support for copying request (content|header) to clipboard
2015-02-05 11:31:24 -03:00
Marcelo Glezer
3bcf0cbba8
used save_body from common when b key is pressed
2015-02-05 11:31:24 -03:00
Marcelo Glezer
8f66fe1bfc
added support for saving file if content is binary. still wip
2015-02-05 11:31:24 -03:00
Marcelo Glezer
c57efffe01
extracted server_copy_response to common
2015-02-05 11:31:24 -03:00
Marcelo Glezer
f21a44dd48
removed pyperclip hard dependencies
2015-02-05 11:31:24 -03:00
Marcelo Glezer
8e1f260150
trying to fix travis take 2
2015-02-05 11:31:24 -03:00
Marcelo Glezer
470d8e925a
trying to fix travis
2015-02-05 11:31:24 -03:00
Marcelo Glezer
d9f562b5c0
used get_decoded_content and removed decode call from headers as max suggested
2015-02-05 11:31:24 -03:00
Marcelo Glezer
1a06f15ee0
added copy functionality to flowview too
2015-02-05 11:31:24 -03:00
Marcelo Glezer
fdd012bdd8
removed invalid comment and unneeded safe text
2015-02-05 11:31:24 -03:00
Marcelo Glezer
ee75a0b9cb
now content and header are working and exception for binary files are handled correctly
2015-02-05 11:31:24 -03:00
Marcelo Glezer
f89a5235d3
wip - content copy is working, header representation is not
2015-02-05 11:31:24 -03:00
Marcelo Glezer
4a481814f6
added pyperclip dependency
2015-02-05 11:31:24 -03:00
Marcelo Glezer
5cbdd21a4b
Merge remote-tracking branch 'base/master'
2015-02-05 11:29:53 -03:00
Marcelo Glezer
17ee88e07e
Merge remote-tracking branch 'base/master'
2015-02-05 11:25:22 -03:00
Maximilian Hils
310fb18aac
fix #464
2015-02-05 15:24:32 +01:00
Maximilian Hils
0ac3227b7b
clean up flow reading
2015-02-05 14:44:45 +01:00
Marcelo Glezer
a86446e204
Merge remote-tracking branch 'base/master' into feature-334
2015-02-05 10:36:30 -03:00
Marcelo Glezer
5e2f440cdd
Merge remote-tracking branch 'base/master'
2015-02-05 10:34:26 -03:00
Maximilian Hils
19555bb39a
Merge remote-tracking branch 'tekii/master'
2015-02-05 14:20:22 +01:00
Maximilian Hils
965cfffa5e
fix statusbar initialization
2015-02-05 14:15:26 +01:00
Maximilian Hils
b7ae4b0a4c
Merge pull request #447 from tekii/server-replay-missing-args
...
missing parameter in start_server_playback call (again)
2015-02-05 14:11:19 +01:00
Marcelo Glezer
82d8c93261
added copy to clipboard support for url
2015-02-03 15:41:09 -03:00
Marcelo Glezer
e5922ae30a
added support for 'b' key in flowlist
2015-01-16 13:08:25 -03:00
Marcelo Glezer
d80e2e2b2b
added support for copying request (content|header) to clipboard
2015-01-16 12:13:55 -03:00
Marcelo Glezer
7ba7d64bac
used save_body from common when b key is pressed
2015-01-15 12:57:00 -03:00
Marcelo Glezer
affb57ed08
added support for saving file if content is binary. still wip
2015-01-15 12:37:26 -03:00
Marcelo Glezer
b77cd1af60
extracted server_copy_response to common
2015-01-15 09:36:59 -03:00
Marcelo Glezer
0a2d2d9390
removed pyperclip hard dependencies
2015-01-15 08:46:56 -03:00
Marcelo Glezer
c97fe68230
trying to fix travis take 2
2015-01-14 16:48:49 -03:00
Marcelo Glezer
95f0b4b506
trying to fix travis
2015-01-14 16:44:59 -03:00
Marcelo Glezer
6b8fb147d0
used get_decoded_content and removed decode call from headers as max suggested
2015-01-14 14:45:19 -03:00
Marcelo Glezer
d49eafad8b
added copy functionality to flowview too
2015-01-14 12:36:19 -03:00
Marcelo Glezer
36ec20bbb8
removed invalid comment and unneeded safe text
2015-01-14 12:09:14 -03:00
Marcelo Glezer
a4bfa677e9
now content and header are working and exception for binary files are handled correctly
2015-01-14 12:03:40 -03:00
Marcelo Glezer
34d355a62b
wip - content copy is working, header representation is not
2015-01-14 10:52:52 -03:00
Marcelo Glezer
44a5070bf5
added pyperclip dependency
2015-01-13 23:18:28 -03:00
Marcelo Glezer
8e57597d22
missing parameter in start_server_playback call
2015-01-13 08:16:00 -03:00
Marcelo Glezer
4f578866fa
open flow files using with as max suggested
2015-01-12 14:31:18 -03:00
Marcelo Glezer
c4aeca2764
Merge remote-tracking branch 'base/master'
2015-01-12 12:58:33 -03:00
Maximilian Hils
e089061996
Merge pull request #445 from tekii/hotfix-start-server-playback
...
hotfix to mitmproxy missing start_server_playback() parameter added.
2015-01-12 16:55:21 +01:00
Marcelo Glezer
9553ca0ed4
hotfix to mitmproxy missing start_server_playback() parameter added. backported from PR [ #439 ]
2015-01-12 12:49:23 -03:00
Marcelo Glezer
27950f1972
Merge remote-tracking branch 'base/master'
2015-01-12 10:55:47 -03:00
Maximilian Hils
e18294437c
document choice of timeout value, refs #443
2015-01-09 17:17:12 +01:00
Maximilian Hils
40c28b79d1
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2015-01-09 16:40:32 +01:00
Maximilian Hils
8af26bd0b7
fix #443
2015-01-09 16:40:26 +01:00
Maximilian Hils
dcc248797f
Merge pull request #442 from nickhs/441
...
Error to stdout when loading bad replays from the command line
2015-01-09 00:39:36 +01:00
Nick HS
3dcba41d6d
Error to stdout when loading bad replays from the command line
2015-01-08 13:56:19 -05:00
Maximilian Hils
72690f2864
Merge pull request #440 from michaeljau/patch-2
...
Updated inlinescripts.html - changed "libmproxy.certutils.SSLCert" to "netlib.certutils.SSLCert"
2015-01-07 22:08:54 +01:00
michaeljau
b39ea74bb6
Update inlinescripts.html
...
I updated the certutils.SSLCert reference from "libmproxy.certutils.SSLCert" to "netlib.certutils.SSLCert".
2015-01-07 22:20:05 +08:00
Marcelo Glezer
30213d6370
now mitmproxy supports multiple saved flows files too. also fixed server_play_back start with mitmproxy (missing parameter)
2015-01-06 15:49:49 -03:00
Marcelo Glezer
9695377b28
first steps in scenario support
2015-01-05 18:12:38 -03:00
Aldo Cortesi
812ea90dc5
Pin browserify to most recent version that works
...
Issue being tracked here:
https://github.com/substack/node-browserify/issues/1044
2015-01-04 11:42:41 +13:00
Aldo Cortesi
876e5ca683
Ditch old gulpfile
2015-01-03 11:53:24 +13:00
Aldo Cortesi
1959aebc08
Add PEG support to gulpfile
...
- Extract conf - all project specific conf outside gulpfile
- Generalize filt.js exports, add required imports
2015-01-03 11:46:51 +13:00
Aldo Cortesi
f1b040e808
Fix unit tests
2015-01-02 16:12:25 +13:00
Aldo Cortesi
80339aef93
Unit test framework for web client-side code
...
- Also make formatSize nicer and test it.
Now there's no excuse! ;)
2015-01-02 15:29:51 +13:00
Aldo Cortesi
b14b4ace25
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2015-01-02 13:42:56 +13:00
Aldo Cortesi
bb5fb2dbe0
Clean up har_extractor example
...
- Fix spacing, line length, unused imports, unusual import idioms
- Prevent it from barfing into our test output
2015-01-02 13:42:43 +13:00
Aldo Cortesi
1b5f5021dc
Consolidate reading flows from file, use in mitmweb.
2015-01-02 13:26:22 +13:00
Maximilian Hils
c152e5da1a
we do not support https2http in upstream proxy mode
2015-01-01 22:07:49 +01:00
Aldo Cortesi
4d01e22f26
components/utils.js -> common.js
...
Too many utils modules makes things confusing. These are more "common
components" or "common mixins" than utils anyway.
2015-01-01 20:49:32 +13:00
Aldo Cortesi
866a408120
Make header more compact
...
- Remove title bar
- File -> mitmproxy - ultimately our logo can go here
2015-01-01 20:44:45 +13:00
Aldo Cortesi
4506bafddc
Use Facebook's dispatcher
2015-01-01 16:59:58 +13:00
Aldo Cortesi
b09dbbe209
Replace custom EventEmitter with one from browserify
2015-01-01 16:41:45 +13:00
Aldo Cortesi
fa77fba37c
Remove unused files
2015-01-01 15:39:24 +13:00
Aldo Cortesi
c9ce5094c8
All files and only files in in js/components are jsx
...
So remove the redundant naming
2015-01-01 15:37:42 +13:00
Aldo Cortesi
67f6f67c48
More browesrification.
2014-12-31 18:14:17 +13:00
Aldo Cortesi
2152d4dd92
More conversions to browserify
2014-12-30 22:12:26 +13:00
Aldo Cortesi
b847faf37f
Fix fonts, stylesheets, add much more flexible bootstrap over-rides.
2014-12-30 22:02:55 +13:00
Aldo Cortesi
bc8687deb5
Basic conversion: browserified web app now works.
2014-12-30 21:51:07 +13:00
Aldo Cortesi
d2c7411f06
Start moving to new gulpfile, browerify, etc.
2014-12-30 21:07:00 +13:00
Aldo Cortesi
e9d8586f6b
Bump for next dev iteration
2014-12-30 11:26:45 +13:00
Aldo Cortesi
089c5fd948
Bump version
2014-12-30 10:02:45 +13:00
Maximilian Hils
333688b06e
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2014-12-29 14:56:47 +01:00
Maximilian Hils
51671b22a0
fix #435
2014-12-29 14:56:35 +01:00
Maximilian Hils
ad973de0b3
fix mitmproxy -w
2014-12-29 14:40:34 +01:00
Aldo Cortesi
55970bf0cc
Minor tweaks to release checlist and binary builds
2014-12-29 12:45:38 +13:00
Aldo Cortesi
f78451dbbe
Add netlib and libpathod as excludes in MANIFEST.in
...
These are commonly symlinked during dev
2014-12-28 23:28:35 +13:00
Aldo Cortesi
84f57a2832
Adjust how doc rendering uses mitmproxy source location
...
We now make sure our imports come from here too, and that we have mod cons like
tilde expansion in the env variable.
2014-12-28 23:16:50 +13:00
Aldo Cortesi
7f5965225d
CHANGELOG
2014-12-28 23:16:44 +13:00
Aldo Cortesi
d33d125214
Documentation for config files
2014-12-28 22:35:14 +13:00
Aldo Cortesi
e4f510685e
Generalize binary building, add static resources, add spec files for mitmproxy, mitmdump and mitmweb
...
We're now ready to use the same script (more or less) to build Windows
binaries.
2014-12-28 17:39:44 +13:00
Aldo Cortesi
0cc8c44c22
Minor improvements to osx binary build process
...
- Add --shortversion on tools to make packaging easier
- Automate tarfile generation
2014-12-28 15:07:44 +13:00
Aldo Cortesi
ab06c2436b
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2014-12-27 23:08:56 +13:00
Aldo Cortesi
8a8437470e
Move onboarding app to Tornado
...
Two reasons for this. First, this removes flask and its dependencies, which are
quite sizeable. Second, pyinstaller now barfs on simplejson, which is a Flask
dependency. I just don't have time to fix this upstream, so doing what we
should be doing anyway is a no-brainer.
2014-12-27 23:06:51 +13:00
Maximilian Hils
3e63107e94
web: integrate filter docs
2014-12-26 03:10:24 +01:00
Maximilian Hils
1f454b577f
web: CSP, revert functionality, serve content
2014-12-25 16:10:47 +01:00
Maximilian Hils
7d793ae162
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2014-12-25 13:38:34 +01:00
Maximilian Hils
4cfa91a903
web: show mitmproxy version
2014-12-25 02:08:58 +01:00
Maximilian Hils
7ed6f10e35
web: much ui work, such christmas
2014-12-25 02:03:55 +01:00
Maximilian Hils
d0ab553bd0
travis: oftc seems to require channel join
2014-12-24 15:50:23 +01:00
Maximilian Hils
b744dd5be0
travis: don't join irc channel
2014-12-24 15:34:58 +01:00
Maximilian Hils
bd1c04ac56
travis: cache pypy
2014-12-24 02:32:34 +01:00
Maximilian Hils
c3193b361e
travis tests
2014-12-24 02:17:45 +01:00
Maximilian Hils
4b94c7cf15
bump version, update release checklist
2014-12-24 02:03:14 +01:00
Maximilian Hils
478051f980
enable travis caching
2014-12-24 01:56:46 +01:00
Maximilian Hils
f265cff3a9
fix tests, experimental travis speedup
2014-12-24 01:39:38 +01:00
Maximilian Hils
1c4f4c2494
web: duplicate, delete, replay flows
2014-12-24 01:07:57 +01:00
Maximilian Hils
b1311faa68
web: move eventlog state out of settings
2014-12-23 23:23:25 +01:00
Maximilian Hils
4767b83726
fix gzipped body edit
2014-12-23 23:14:55 +01:00
Maximilian Hils
2861d99de4
web: intercept feature
2014-12-23 20:33:42 +01:00
Maximilian Hils
459772a8ef
web: squash bugs
2014-12-23 01:26:03 +01:00
Maximilian Hils
b55d584309
web: simpler filter ui
2014-12-23 01:13:34 +01:00
Maximilian Hils
d5e16d7cf1
simplify code
2014-12-23 00:30:35 +01:00
Maximilian Hils
72ab44ef54
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2014-12-23 00:15:08 +01:00
Maximilian Hils
ebae1ebe5d
Merge pull request #432 from tekii/master
...
--replay_ignore_payload_params added, to filter params in form posts
2014-12-23 00:14:32 +01:00
Maximilian Hils
d2471592d2
highlight ui: complicated version
2014-12-22 23:40:24 +01:00
Marcelo Glezer
7e1b35bfc7
--replay_ignore_payload_params added, to filter params in form posts
2014-12-18 17:56:27 -03:00
Maximilian Hils
120ab5c4cd
fix #427 , tolerate servers that reject connections without SNI
2014-12-15 13:02:47 +01:00
Maximilian Hils
4e635d7a6f
allow specification of SSL version, only allow TLS1.0+ by default
2014-12-15 12:46:13 +01:00
Maximilian Hils
955c5c87a2
web: filter/highlight ui, many fixes
2014-12-13 01:56:04 +01:00
Maximilian Hils
a09eb2bef4
add filter descriptions
2014-12-12 22:41:10 +01:00
Maximilian Hils
3b55889310
web: disable autoscroll at top
2014-12-12 19:43:55 +01:00
Maximilian Hils
588d6dbe22
web: filtering
2014-12-12 19:33:06 +01:00
Maximilian Hils
5ccae48b92
web: fight against react-router
2014-12-12 19:19:00 +01:00
Maximilian Hils
cb45296377
web: implement filters
2014-12-12 17:49:10 +01:00
Aldo Cortesi
01fa5d3f07
Merge pull request #414 from mitmproxy/flowviews2
...
Flowviews2
2014-12-12 22:08:15 +13:00
Maximilian Hils
93d4a0132a
Merge pull request #425 from tekii/master
...
append option added to dump (flow file is open in append mode instead of overwrite)
2014-12-11 22:26:21 +01:00
Marcelo Glezer
14a3e0073f
append file mode for saving flows merged to master
2014-12-11 15:21:33 -03:00
Marcelo Glezer
4952643a0d
Merge remote-tracking branch 'base/master'
2014-12-11 14:54:14 -03:00
Maximilian Hils
dbb51640d9
web: add filter grammar
2014-12-11 16:35:50 +01:00
Maximilian Hils
93e928dec4
web: add file menu stub
2014-12-10 17:44:45 +01:00
Maximilian Hils
7e40b8ab09
web: implement settings store, modularize store
2014-12-10 15:25:40 +01:00
Maximilian Hils
d2feaf5d84
web: take viewport resize into account
2014-12-10 02:48:04 +01:00
Maximilian Hils
e12bf19e35
web: add event store, fix all those bugs
2014-12-10 00:47:05 +01:00
Maximilian Hils
05bc7e8cd8
generalize store
2014-12-09 18:55:16 +01:00
Maximilian Hils
14a8d2f5b8
always use the app dispatcher
2014-12-09 18:18:14 +01:00
Maximilian Hils
ffb95a1db7
fix #304
2014-12-09 00:01:01 +01:00
Maximilian Hils
b95f0c9971
fix #411
2014-12-08 17:17:37 +01:00
Maximilian Hils
31925dc9be
fix #419
2014-12-08 17:01:47 +01:00
Maximilian Hils
591ed0b41f
fix HTTPResponse creation
2014-12-04 00:29:15 +01:00
Maximilian Hils
a7a9ef826c
fix tests
2014-12-01 03:36:04 +01:00
Maximilian Hils
40fbb95701
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2014-12-01 03:05:11 +01:00
Maximilian Hils
5b1fefee9b
add inline script example for websocket passthrough, fix #340
2014-12-01 03:04:48 +01:00
Maximilian Hils
992536c2bc
make header processing configurable by inline scripts, refs #340
2014-12-01 02:28:03 +01:00
Maximilian Hils
807d0b9a5d
Merge pull request #416 from elimisteve/patch-1
...
README: Fixed double-quote and whitespace issues
2014-11-29 15:33:14 +01:00
Steve Phillips
3b03758ef8
README: Fixed double-quote and whitespace issues
2014-11-29 04:13:29 -08:00
Maximilian Hils
096a3af273
web: various improvements
2014-11-29 03:25:07 +01:00
Maximilian Hils
f6c0e000da
event log: virtual scrolling
2014-11-28 20:54:52 +01:00
Maximilian Hils
dd1a45140c
web: add virtualscroll mixin
2014-11-28 20:03:04 +01:00
Maximilian Hils
38621f2d49
Merge pull request #415 from gabe-k/flowbasic-fix
...
Changed argument name from confdir to cadir in flowbasic example
2014-11-28 19:48:26 +01:00
Maximilian Hils
c39b6e4277
web: various fixes, add clear button
2014-11-28 19:16:47 +01:00
Gabriel Kirkpatrick
cf7404cfe0
Changed argument name from confdir to cadir in flowbasic example
2014-11-28 12:36:31 -05:00
Maximilian Hils
56f1278d1a
fix #413
2014-11-28 17:52:54 +01:00
Maximilian Hils
7ca1ac0f3b
web: virtual scrolling
2014-11-28 16:03:56 +01:00
Maximilian Hils
9eecc8d6e2
web: fixes
2014-11-27 02:34:03 +01:00
Maximilian Hils
e41c0be293
format code
2014-11-27 01:40:26 +01:00
Maximilian Hils
38bf34ebd9
web++
2014-11-27 01:38:30 +01:00
Maximilian Hils
021e209ce0
web: update dependencies
2014-11-27 01:37:36 +01:00
Maximilian Hils
3887e7ed29
fix error html
2014-11-26 04:56:17 +01:00
Maximilian Hils
ed8249023f
introduce revised views, port over changes from multiple_views branch
2014-11-26 04:18:21 +01:00
Maximilian Hils
47a78e3c72
fix limit_txt, fix #412
2014-11-23 15:46:17 +01:00
Maximilian Hils
f7c5385679
retain raw filter str on filt objects
2014-11-22 15:27:43 +01:00
Maximilian Hils
ec23594191
add sni support to LiveConnection.change_server
2014-11-19 01:27:20 +01:00
Maximilian Hils
667fe0c20b
fix tests
2014-11-15 23:10:25 +01:00
Maximilian Hils
a699bdc286
Merge pull request #410 from JustusW/master
...
Added HAR generation as inline script
2014-11-15 22:45:28 +01:00
Justus Wingert
ddce662fe6
Added try/except block for import errors with harparser and pytz.
2014-11-15 22:39:15 +01:00
Justus Wingert
c84ad384f6
Updated setup.py and moved requirements to examples section. Included examples section in requirements.txt. Updated har_extractor to use command line arguments.
2014-11-15 22:37:32 +01:00
Justus Wingert
a7ab06d80e
Switched to pytz. Added comment for clarification on behaviour of HAREncodable. Added missing parameter in reset(). Fixed accessing headers.
2014-11-15 22:04:52 +01:00
Justus Wingert
4227feef37
It seems get_decoded_content can actually be shorter than content due to encoding issues. Since I'm not crazy after all it seems safe to push.
2014-11-15 21:14:50 +01:00
Justus Wingert
4342d79dc0
Removed the globals and replaced them with internal attributes of _HARLog. Minor bugfixes to make ssl timings work.
2014-11-15 20:11:25 +01:00
Justus Wingert
31249b9e24
Hopefully fixed dependency fuckup.
2014-11-15 19:28:10 +01:00
Justus Wingert
57d9807122
Added script dependencie to harparser.
2014-11-15 19:05:36 +01:00
Justus Wingert
18b803d03a
Typo...
2014-11-15 18:45:28 +01:00
Justus Wingert
f3a78d4795
Improved helper method, marginally.
2014-11-15 18:41:51 +01:00
Justus Wingert
fd48a70128
Updated documentation and cleaned up the code.
2014-11-15 18:38:59 +01:00
Aldo Cortesi
aa77a52a06
One common --version flag
2014-11-15 17:58:38 +13:00
Aldo Cortesi
23a4f159fd
Remove last vestiges of argparse
2014-11-15 17:51:21 +13:00
Aldo Cortesi
5af7c9ebf4
Exclude main.py from coverage analysis
2014-11-15 17:47:39 +13:00
Aldo Cortesi
7d76f3e992
Make sure all command-line arguments have a long form
...
... so they can be used in config files
2014-11-15 17:41:04 +13:00
Aldo Cortesi
09c503563a
Enable config file parsing
...
We support 4 different config files:
~/.mitmproxy/common.conf: Options that are common to all tools
~/.mitmproxy/mitmproxy.conf: Options for mitmproxy
~/.mitmproxy/mitmdump.conf: Options for mitmdump
~/.mitmproxy/mitmweb.conf: Options for mitmweb
Options in the tool-specific config files over-ride options in common.conf. If
a non-common option is put in common.conf, an error will be raised if a
non-supporting tool is used.
2014-11-15 17:25:05 +13:00
Aldo Cortesi
6c1dc4522d
Refactor command-line argument definition
...
- Argument definitions live in cmdline.py
- Parsing and initial processing lives in main.py
2014-11-15 16:29:38 +13:00
Aldo Cortesi
9c88622e25
Adjust tests
2014-11-15 16:17:05 +13:00
Aldo Cortesi
0906ee94ac
Remove sortedcontainers from deps - we don't use it
2014-11-15 16:14:59 +13:00
Aldo Cortesi
24c4df07e3
First-order integration of configargparser to add config file support
2014-11-15 16:14:08 +13:00
Aldo Cortesi
645a4a0c04
Some additions to the release checklist
2014-11-15 15:47:00 +13:00
Justus Wingert
acce67e1fd
Initial checkin with har_extractor script.
2014-11-15 03:34:39 +01:00
Maximilian Hils
c7a96b2fb1
always show error messages
2014-11-15 00:52:26 +01:00
Aldo Cortesi
4c2e87638a
Changelog, plus fix date of previous release
2014-11-15 12:49:21 +13:00
Maximilian Hils
afc6ef99ea
bump version
2014-11-14 16:18:05 +01:00
Maximilian Hils
be449b7129
fix #409
2014-11-14 16:13:45 +01:00
Maximilian Hils
0c52b4e3b9
handle script hooks in replay, fix tests, fix #402
2014-11-14 00:26:22 +01:00
Maximilian Hils
9b5a8af12d
fix grideditor bug
2014-11-14 00:21:47 +01:00
Maximilian Hils
8cbb67ac70
docs++
2014-11-13 23:03:06 +01:00
Maximilian Hils
a325ae638b
fix tests
2014-11-11 13:09:05 +01:00
Maximilian Hils
2335d00c1c
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2014-11-11 12:30:56 +01:00
Maximilian Hils
f19ee74b99
be more explicit about requirements
2014-11-11 12:30:51 +01:00
Aldo Cortesi
5873516d99
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2014-11-11 14:00:56 +13:00
Aldo Cortesi
ec17e70d9e
Remove entry points in favor of vanilla scripts, fix test-release
2014-11-11 14:00:28 +13:00
Maximilian Hils
6f3b4eee3c
fix clear key
2014-11-10 17:35:28 +01:00
Maximilian Hils
807a8eb759
Merge pull request #403 from Lucas-C/master
...
Using uppercase C to 'clear' display mode, because lowercase 'c' is used for css
2014-11-10 17:32:06 +01:00
Maximilian Hils
cece3700df
fix #402
2014-11-10 17:11:36 +01:00
Maximilian Hils
476d7da17c
update change_upstream_proxy example
2014-11-10 15:51:26 +01:00
Lucas Cimon
6f5883a4d1
Using uppercase C to 'clear' display mode, because lowercase 'c' is used for css
2014-11-07 17:02:29 +01:00
Maximilian Hils
4d090e09c7
fix tests
2014-11-07 09:59:11 +01:00
Maximilian Hils
c3ec551546
fix #401
2014-11-07 09:52:46 +01:00
Aldo Cortesi
5025bf872c
Minor doc adjustments
2014-11-07 16:32:46 +13:00
Maximilian Hils
dc142682cb
fix #399
2014-11-06 11:25:03 +01:00
Aldo Cortesi
a2a87695d3
Reduce loop timeouts to improve mitmproxy responsiveness
...
Fixes #384
2014-11-06 10:51:30 +13:00
Aldo Cortesi
0fe83ce87b
Fix bug in flow dumping, add unit test that should have caught this in the first place
2014-11-06 10:35:00 +13:00
Aldo Cortesi
e732771c1c
We don't need requests for mitmproxy
2014-11-05 09:57:09 +13:00
Aldo Cortesi
34d419ead8
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2014-11-04 10:22:13 +13:00
Aldo Cortesi
d0de490ef1
Release prep: binaries build script, release checklist, fuzzing
2014-11-02 18:04:57 +13:00
Maximilian Hils
8522c6ebd6
Merge pull request #393 from onlywade/master
...
Fixing issue #392 , adding tests.
2014-11-01 18:07:32 +01:00
Wade 524
c4c42fa040
Updating OPTIONS test with related issue number.
2014-10-31 12:45:31 -07:00
Wade 524
ce18cd8ba4
Fixing issue #392 .
2014-10-31 11:50:03 -07:00
Wade 524
2c64b90a3d
Adding some test coverage for handling HTTP OPTIONS requests.
2014-10-31 11:49:45 -07:00
Maximilian Hils
3b0964f365
fix #391
2014-10-30 17:38:23 +01:00
Aldo Cortesi
340d0570bf
Legibility
2014-10-26 18:32:45 +13:00
Aldo Cortesi
16654ad6a4
Fix crash while streaming
...
Found using fuzzing. Reproduction with pathoc, given "mitmproxy -s" and
pathod running on 9999:
get:'http://localhost:9999/p/':s'200:b\'foo\':h\'Content-Length\'=\'3\'':i58,'\x1a':r
return flow.FlowMaster.run(self)
File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/controller.py", line 111, in run
self.tick(self.masterq, 0.01)
File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/flow.py", line 613, in tick
return controller.Master.tick(self, q, timeout)
File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/controller.py", line 101, in tick
self.handle(*msg)
File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/controller.py", line 118, in handle
m(obj)
File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/flow.py", line 738, in handle_responseheaders
self.stream_large_bodies.run(f, False)
File "/Users/aldo/mitmproxy/mitmproxy/libmproxy/flow.py", line 155, in run
r.headers, is_request, flow.request.method, code
File "/Users/aldo/mitmproxy/mitmproxy/netlib/http.py", line 401, in expected_http_body_size
raise HttpError(400 if is_request else 502, "Invalid content-length header: %s" % headers["content-length"])
netlib.http.HttpError: Invalid content-length header: ['\x1a3']
2014-10-26 17:58:36 +13:00
Aldo Cortesi
7aee9a7c31
Spacing and legibility
2014-10-26 17:44:49 +13:00
Aldo Cortesi
efd6fdb0e2
Start a fuzzing architecture for mitmproxy
2014-10-26 17:13:25 +13:00
Maximilian Hils
35075a31a8
Merge pull request #387 from onlywade/master
...
Fixing issue #368 .
2014-10-25 14:39:48 +02:00
Wade 524
1ef74cf294
Fixing issue #368 .
2014-10-24 15:54:51 -07:00
Maximilian Hils
77c9f64526
Merge branch 'master' of github.com:mitmproxy/mitmproxy
...
Conflicts:
doc-src/modes.html
2014-10-23 16:17:03 +02:00
Maximilian Hils
4bf07d8aa5
fix typo
2014-10-23 16:15:38 +02:00
Maximilian Hils
bbee391a47
update proxy modes diagrams
2014-10-23 16:14:04 +02:00
Aldo Cortesi
6bed076460
Document http2https and https2http
2014-10-23 16:13:03 +13:00
Aldo Cortesi
6aa05df944
Correct docs - we no longer support change of basic proxy mode in the console app
2014-10-23 15:50:43 +13:00
Aldo Cortesi
32127f80e2
More refactoring of installation docs
...
- Make it clear that README.md only has the hacking installation
instructions
- Beef up install.html
2014-10-23 15:43:06 +13:00
Aldo Cortesi
5aace7eed8
Keep sidebar ordering alphabetical, add SOCKS documentation
2014-10-23 15:05:01 +13:00
Aldo Cortesi
6fcd1d0ed9
CHANGELOG and CONTRIBUTORS
2014-10-23 14:38:12 +13:00
Aldo Cortesi
4da90724a0
First redraft of modes documentation
2014-10-23 12:56:31 +13:00
Aldo Cortesi
05590cf6c2
Documentation re-org
...
- No longer using README.md in the rendered documentation.
- Rendered doc instrutions are now for the released version of
mitmproxy, with dev install instructions in the README.md
2014-10-23 09:44:47 +13:00
Maximilian Hils
c79bdeb4e5
fix #346
2014-10-22 14:03:19 +02:00
Maximilian Hils
3848a27d31
fix #378
2014-10-22 13:59:47 +02:00
Maximilian Hils
6cef6fbfec
tweak SSL detection heuristics
2014-10-21 15:08:39 +02:00
Maximilian Hils
37cc6ae0bb
fix race conditions in tests
2014-10-19 01:26:08 +02:00
Maximilian Hils
e114858438
add generic tcp proxying, fix #374
2014-10-18 18:29:35 +02:00
Maximilian Hils
52b29d4926
remove default_ca
2014-10-18 15:26:10 +02:00
Maximilian Hils
d7341e7798
add test case for #375
2014-10-17 17:08:41 +02:00
Maximilian Hils
d0809a210b
fix cert forwarding
2014-10-09 02:47:32 +02:00
Maximilian Hils
7c56a3bb01
Add SOCKS5 mode, fix #305
2014-10-09 01:59:02 +02:00
Maximilian Hils
ff366d152e
Merge branch 'cert_chains'
2014-10-09 00:51:21 +02:00
Maximilian Hils
5b33f78961
add mini documentation
2014-10-09 00:49:11 +02:00
Maximilian Hils
f04693c047
fix typo
2014-10-08 21:41:03 +02:00
Maximilian Hils
d5c318b070
fix support for chained certificates
2014-10-08 20:44:52 +02:00
Maximilian Hils
76bd554cd1
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2014-10-07 17:28:13 +02:00
Marcelo Glezer
83b1d4e0e0
Merge pull request #1 from mitmproxy/master
...
Merge pull request #371 from tekii/master
2014-10-06 00:08:07 -03:00
Maximilian Hils
5acc507fdb
Merge pull request #371 from tekii/master
...
--replay-ignore-content & --replay-ignore-param ported from branch 0.10
2014-10-04 14:12:18 +02:00
Marcelo Glezer
81f5636389
--replay-ignore-content & --replay-ignore-param ported from branch 0.10
2014-10-03 07:29:44 -03:00
Maximilian Hils
6ce6b1ad69
replay: carry over SNI value
2014-10-02 00:58:40 +02:00
Maximilian Hils
38218f4ccc
Merge pull request #369 from mitmproxy/dist
...
improve distribution
2014-10-01 21:23:54 +02:00
Maximilian Hils
c2634476e5
update MANIFEST.in
2014-10-01 21:12:12 +02:00
Maximilian Hils
e2ee41e764
distutils -> setuptools
2014-10-01 20:41:58 +02:00
Maximilian Hils
4167713cc0
fix timestamp formatting: end_time may not be set
2014-09-22 17:01:06 +02:00
Maximilian Hils
45f39c2380
beef up event log
2014-09-22 03:06:19 +02:00
Maximilian Hils
84e2a028c2
web: perf improvements
2014-09-22 01:44:46 +02:00
Maximilian Hils
9cda2eb3a3
web: various improvements
2014-09-21 23:43:27 +02:00
Maximilian Hils
60cec1f9b6
clean up timestamp handling
2014-09-21 22:46:48 +02:00
Maximilian Hils
aa6856786b
web: minor fixes
2014-09-20 00:25:40 +02:00
Maximilian Hils
818c5918b6
web: display flow connection info
2014-09-19 17:56:54 +02:00
Maximilian Hils
b5e727da88
web: flow icons
2014-09-19 01:57:50 +02:00
Maximilian Hils
b0374710e4
start to fill detailpane
2014-09-19 01:35:36 +02:00
Maximilian Hils
390a435ac4
basic splitter -> kick-ass splitter
2014-09-18 23:47:54 +02:00
Maximilian Hils
e66f240e81
add splitter
2014-09-18 23:22:02 +02:00
Maximilian Hils
d1ba150ea7
web: detailpane impl
2014-09-18 21:13:50 +02:00
Maximilian Hils
01da54f1c3
fix #361
2014-09-18 03:56:35 +02:00
Maximilian Hils
0d64cc9327
flowtable: add selection indicator, add keyboard navigation
2014-09-18 02:22:10 +02:00
Maximilian Hils
6a161be6b4
.jsx -> .jsx.js
...
Rename jsx files to be compatible with Chrome Dev Tools and
Workspace Mapping.
2014-09-18 00:01:45 +02:00
Maximilian Hils
b99de36b24
undo spriting
2014-09-17 23:59:39 +02:00
Maximilian Hils
4ca720b556
add features to the traffic table, introduce image spriting
2014-09-17 21:14:55 +02:00
Maximilian Hils
102bd07568
implement FlowStore basics
2014-09-17 17:30:19 +02:00
Maximilian Hils
8245dd19f4
connect eventlog events to ui
2014-09-17 15:22:42 +02:00
Aldo Cortesi
b4ecd96beb
Introduce short form object state, and connect the ends to send data to web app
2014-09-17 13:58:56 +12:00
Maximilian Hils
51db9a5612
formatting
2014-09-17 02:13:37 +02:00
Aldo Cortesi
d998790c2f
Clean up and clarify StateObject
...
- Flatten the class hierarchy
- get_state, load_state, from_state are public
- Simplify code
- Remove __eq__ and __neq__. This fundamentally changes the semantics of
inherited objects in a way that's not part of the core function of the
class
2014-09-17 11:41:42 +12:00
Aldo Cortesi
b9531ac89b
Whitespace & formatting
2014-09-17 09:54:17 +12:00
Aldo Cortesi
f7da58ca9b
Basic websocket connection, code cleanup.
2014-09-17 09:40:25 +12:00
Maximilian Hils
4f56b76b2c
fix flow detail display
2014-09-16 15:36:26 +02:00
Aldo Cortesi
bfef9b4940
Slightly more verbose gulping, remove strict declarations for now.
2014-09-16 21:41:49 +12:00
Aldo Cortesi
e4ee3e0236
Convert to ES5 inheritance pattern
2014-09-16 21:06:30 +12:00
Aldo Cortesi
6efe1aa6a9
We're not ready for ES6
...
Lets re-evaluate in June next year when it's actually released
2014-09-16 16:27:09 +12:00
Maximilian Hils
6bac1540bd
ignore compiled files in diff
2014-09-16 01:05:29 +02:00
Maximilian Hils
674bc4273e
format javascript
2014-09-16 00:56:43 +02:00
Maximilian Hils
acdd182754
web: implement EventLogStore
2014-09-16 00:05:06 +02:00
Maximilian Hils
1d9b1f79a1
web: eventlog ui
2014-09-15 18:39:25 +02:00
Maximilian Hils
cbf18320cd
client-side structure
2014-09-15 18:08:26 +02:00
Aldo Cortesi
9f8d2eea64
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
2014-09-15 12:38:49 +12:00
Aldo Cortesi
563078df24
Client-side cleanup
...
- Remove grunt
- Formatting and spacing. There shall be 4 spaces in a tab. Not 3. Not
5. And 2 is right out.
2014-09-15 12:37:52 +12:00
Maximilian Hils
5a59fef57f
fix bugs
2014-09-15 00:59:21 +02:00
Maximilian Hils
2cefd05be9
fix missing timeout parameter
2014-09-14 21:08:28 +02:00
Maximilian Hils
80af3589e2
docs: make sure that inline script devs don't miss the examples
2014-09-14 15:22:24 +02:00
Aldo Cortesi
be0996da35
Web interface is live.
2014-09-14 12:47:32 +12:00
Maximilian Hils
89b8e1ce8c
checkin assets
2014-09-14 02:44:13 +02:00
Maximilian Hils
e9966428bd
include jshint-stylish dependency
2014-09-14 02:42:36 +02:00
Aldo Cortesi
ff09529ba3
Add tornado dependency, serve index file
2014-09-14 12:33:07 +12:00
Aldo Cortesi
6812d304a1
Basic web service and options
2014-09-14 12:22:28 +12:00
Aldo Cortesi
adfaa1ed5b
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2014-09-14 12:05:15 +12:00
Maximilian Hils
abc91d6658
web: add flow stub
2014-09-14 02:04:48 +02:00
Aldo Cortesi
17868f61a9
Remove external app option, make tick timeout explicit
2014-09-14 11:46:01 +12:00
Aldo Cortesi
81e3a6e8e6
Super-basic outline for web io loop
2014-09-14 11:30:00 +12:00
Maximilian Hils
48211a2069
gulpfile: add tests and notify
2014-09-14 01:21:13 +02:00
Maximilian Hils
7b74d207f3
update Gruntfile
2014-09-13 23:57:01 +02:00
Maximilian Hils
d2475e6a14
web: start gui
2014-09-13 23:05:12 +02:00
Maximilian Hils
9bacb6d426
gulpfile
2014-09-13 17:00:05 +02:00
Maximilian Hils
b59234e25d
use bowser-installer
2014-09-13 16:28:45 +02:00
Maximilian Hils
2842f25b82
fix tests
2014-09-12 03:16:52 +02:00
Maximilian Hils
9ec7963f8e
update iframe injector example to use BeautifulSoup
2014-09-12 02:42:45 +02:00
Aldo Cortesi
25284792a5
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2014-09-12 12:31:17 +12:00
Aldo Cortesi
efa3e3dde8
web -> onboarding
2014-09-12 12:30:03 +12:00
Maximilian Hils
fa9c3e9fa7
update gitignore
2014-09-11 10:26:06 +02:00
Aldo Cortesi
0510c9b111
Client-side framework for web application
2014-09-10 14:23:10 +12:00
Aldo Cortesi
76982937a6
Reorg to put web app in its own directory
2014-09-10 11:34:58 +12:00
Aldo Cortesi
e5412e9dd9
Docs stub for Unbuntu, restore executable flag on binaries.
2014-09-09 17:57:39 +12:00
Maximilian Hils
81c3b194b6
polish new distribution setup
2014-09-09 02:21:28 +02:00
Maximilian Hils
beee55421b
Update README.mkd
2014-09-09 02:18:08 +02:00
Maximilian Hils
578e9f800c
fix jsunpacker imports
2014-09-09 01:15:35 +02:00
Maximilian Hils
ef704fd11f
update travis.yml
2014-09-09 00:15:06 +02:00
Maximilian Hils
5f5af9535a
update distribution: pip install now works on Windows
2014-09-09 00:06:10 +02:00
Maximilian Hils
5fdec6b7cb
re-add mitmproxy/mitmdump scripts for convenience
2014-09-08 23:45:45 +02:00
Maximilian Hils
fbc4bb38df
mitmproxy -> libmproxy.main. do some leanup on the way
2014-09-08 23:34:43 +02:00
Maximilian Hils
7ea8d3ff35
add note about icmp redirects, fix #255
2014-09-08 18:35:52 +02:00
Maximilian Hils
ebd539b49f
update examples, fix #353
2014-09-08 17:03:34 +02:00
Maximilian Hils
ece15b3c8a
reverse proxy: adjust dst when reading flows, fix #346
2014-09-08 14:43:32 +02:00
Maximilian Hils
d06b4bfa4e
remove proxy mode abstraction: always be clear which mode we are in
2014-09-08 14:32:42 +02:00
Maximilian Hils
6dbe431c5e
document --ignore, fix #350
2014-09-08 13:41:25 +02:00
Maximilian Hils
5a2a5760d0
improve logging
2014-09-08 13:34:08 +02:00
Maximilian Hils
2b2d21aff0
add --ignore ui indication
2014-09-08 12:20:40 +02:00
Maximilian Hils
8eff2df89e
add note that request.host should be used in the majority of cases
2014-09-07 18:05:43 +02:00
Maximilian Hils
ac27d1236f
improve change_server api, add example how to change the upstream server
2014-09-07 18:01:37 +02:00
Maximilian Hils
58ea198698
fix #349
2014-09-07 15:58:27 +02:00
Maximilian Hils
b6986b8999
add mitm.it error site
2014-09-07 13:44:32 +02:00
Maximilian Hils
5226ac200f
update code docs, make sure that url attribute never returns prettified/formatted values
2014-09-07 03:18:18 +02:00
Aldo Cortesi
bf5fef1e0b
Merge pull request #347 from mitmproxy/issue_341
...
Remove BackReferenceMixin
2014-09-07 13:04:18 +12:00
Aldo Cortesi
3d62e90dbf
Merge pull request #342 from mitmproxy/server_change_api
...
Server change api
2014-09-07 12:59:35 +12:00
Maximilian Hils
c1438050ed
docs: mitmproxy now displays the reverse proxy server unless --host is specified, which comes with a pretty big warning itself
2014-09-07 00:59:40 +02:00
Maximilian Hils
78a44c5199
add docs on proxy modes
2014-09-07 00:42:25 +02:00
Maximilian Hils
df129736c3
test streaming
2014-09-06 13:30:00 +02:00
Maximilian Hils
3c65510ef5
coverage++
2014-09-06 13:09:57 +02:00
Maximilian Hils
fdd7b2f108
Merge branch 'issue_341' into server_change_api
2014-09-06 12:43:32 +02:00
Maximilian Hils
0e0cff638c
Merge branch 'master' into issue_341
2014-09-06 12:42:52 +02:00
Maximilian Hils
3a8f648807
fix race condition with the concurrent decorator
2014-09-06 12:42:23 +02:00
Maximilian Hils
ccb6182917
fix race condition with the concurrent decorator
2014-09-06 12:39:23 +02:00
Maximilian Hils
b6c8a22b67
coverage++
2014-09-06 12:23:05 +02:00
Maximilian Hils
5d7cabcbfa
add architecture illustration
2014-09-05 20:14:44 +02:00
Maximilian Hils
32e1ed212d
streamline HTTPHandler.handle_flow()
2014-09-05 19:39:05 +02:00
Maximilian Hils
2a6337343a
update docs, mostly revert 2f44b26b4c
2014-09-05 15:16:20 +02:00
Maximilian Hils
f2570c773a
iframe injector example: use inline script
2014-09-05 15:05:44 +02:00
Maximilian Hils
a7a3b5703a
change replay_request behaviour, refs #346 ; test upstream proxy mode
2014-09-05 00:18:17 +02:00
Maximilian Hils
b23a1aa4a4
much tests. so tcp. very wow.
2014-09-04 19:08:54 +02:00
Maximilian Hils
795e19f6b7
coverage++
2014-09-04 16:37:50 +02:00
Maximilian Hils
f4d4332472
coverage++
2014-09-04 14:46:25 +02:00
Maximilian Hils
1d45c54a04
Merge branch 'issue_341' into server_change_api
2014-09-04 14:18:21 +02:00
Maximilian Hils
1135666ee6
Merge branch 'master' into issue_341
2014-09-04 14:18:07 +02:00
Maximilian Hils
39fa579dd5
remove outdated IOError test case ( f5fdfd8a9f)
2014-09-04 14:15:49 +02:00
Maximilian Hils
4781c565a9
fix #344
2014-09-04 12:29:44 +02:00
Maximilian Hils
6ebf488c5b
Merge pull request #343 from deployable/master
...
Add urwid stop prior to exception output so stack trace is not cleared
2014-09-04 12:24:53 +02:00
deployable
4bdd1ed967
Add urwid stop prior to stack trace so exceptions are not cleared from screen
2014-09-04 10:47:27 +01:00
Maximilian Hils
ea55f2e012
Merge branch 'issue_341' into server_change_api
...
Conflicts:
examples/redirect_requests.py
libmproxy/console/common.py
2014-09-04 00:11:20 +02:00
Maximilian Hils
649e63ff3c
fix some leftovers
2014-09-04 00:10:01 +02:00
Maximilian Hils
2f44b26b4c
improve HTTPRequest syntax
2014-09-03 23:44:54 +02:00
Maximilian Hils
cd43c5ba9c
simplify server changes for inline scripts
2014-09-03 20:12:30 +02:00
Maximilian Hils
0c3b6ee667
fix IOError handling
2014-09-03 17:33:08 +02:00
Maximilian Hils
b0cfeff06d
fix #341 - work on flows instead of request/response internally.
2014-09-03 16:57:56 +02:00
Maximilian Hils
951a6fcc36
http: ignore disconnects that happen between requests
2014-09-03 12:31:39 +02:00
Maximilian Hils
712e5860aa
ui: display * instead of 0.0.0.0 for the bound address
2014-09-03 12:24:14 +02:00
Maximilian Hils
1e4e332ef9
improve error handling
2014-09-02 18:13:18 +02:00
Maximilian Hils
1a41c15c03
minor fixes
2014-08-31 16:52:26 +02:00
Maximilian Hils
1f47f7b6b2
refactor protocol handling, fix #332
2014-08-30 20:15:19 +02:00
Maximilian Hils
82730c1c6f
Windows transparent proxy: allow specification of custom WinDivert filter rules
2014-08-30 17:33:43 +02:00
Maximilian Hils
101209ef9f
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2014-08-30 16:40:44 +02:00
Maximilian Hils
84e2285ee5
Windows transparent proxy: proxy local traffic
2014-08-30 16:39:15 +02:00
Maximilian Hils
12ff4a7d2b
Merge pull request #339 from nanonyme/patch-1
...
Drop usage of obsolete function "file"
2014-08-29 23:38:18 +02:00
Seppo Yli-Olli
66c2e8ff52
Drop usage of obsolete function "file"
...
Also use context manager
2014-08-29 19:18:52 +03:00
Maximilian Hils
b97b1f17cf
fix #328
2014-08-24 14:22:11 +02:00
Maximilian Hils
e4d6089f9a
fix #330
2014-08-23 13:53:43 +02:00
Maximilian Hils
105230c7c2
add trove classifier for Python 2
2014-08-19 13:48:14 +02:00
Maximilian Hils
3d861d7a67
make sure that flow.server_conn is set when script hook is called
2014-08-18 01:54:45 +02:00
Maximilian Hils
94fbf066f7
fix script tests
2014-08-18 01:47:39 +02:00
Maximilian Hils
5b7e19a77e
fix #327
2014-08-18 00:55:30 +02:00
Maximilian Hils
623cbd4e51
fix: changes to request.host in the request inline script hook are now considered for the server connection
2014-08-17 23:59:44 +02:00
Maximilian Hils
0acda9a684
fix #324
2014-08-17 23:49:08 +02:00
Maximilian Hils
bb2ce689a9
adjust to netlib changes
2014-08-17 23:06:25 +02:00
Maximilian Hils
da3e7c0187
do not connect if inline script already connected to upstream server
2014-08-12 02:55:32 +02:00
Maximilian Hils
e546af2d33
remove pydivert from requirements.txt to fix tests
2014-08-10 17:11:46 +02:00
Maximilian Hils
a193c267f3
adjust tests
2014-08-10 16:20:04 +02:00
Maximilian Hils
858b0af0bb
fix #270
2014-08-10 16:10:49 +02:00
Maximilian Hils
ecf8081ba6
implement passthrough mode, fixes #175
2014-08-09 03:03:21 +02:00
Maximilian Hils
f4a1459ebe
fix #274
2014-08-09 01:02:58 +02:00
Maximilian Hils
c88613f596
fix replay form
2014-08-09 00:53:16 +02:00
Maximilian Hils
2e6a698287
fix #308
2014-08-08 19:04:58 +02:00
Maximilian Hils
4d2109ef92
fix display of urls in upstream mode, refs #308
2014-08-08 17:49:02 +02:00
Maximilian Hils
de05484d9d
fix #318
2014-08-08 04:43:44 +02:00
Maximilian Hils
a3c3e4e504
remove platform.setup
2014-08-08 03:38:59 +02:00
Maximilian Hils
a9e6121a08
properly express state information on server connections, refs #315
2014-08-08 02:45:24 +02:00
Maximilian Hils
c01b294d8d
fix script path escaping on windows, refs #293
2014-08-08 02:27:28 +02:00
Maximilian Hils
c6911a4158
docs: add docs for script args, fix #293
2014-08-07 01:30:47 +02:00
Maximilian Hils
74b801ba08
docs: suggest to use inline scripts rather than libmproxy
2014-08-07 00:55:42 +02:00
Maximilian Hils
13f030ccb5
suppress SPDY/HTTP2 announcement headers, fix #277
2014-08-03 16:25:38 +02:00
Maximilian Hils
8f9395060f
improve example scripts
2014-08-03 02:39:41 +02:00
Maximilian Hils
3133136da7
fix #307
2014-08-03 02:34:29 +02:00
Maximilian Hils
10a6d4fbe5
fix #317
2014-08-03 02:01:40 +02:00
Maximilian Hils
e9401a2123
Merge branch 'stream'
...
Conflicts:
libmproxy/protocol/http.py
2014-07-31 22:29:13 +02:00
Maximilian Hils
3e3dbee936
fix tests
2014-07-31 22:18:57 +02:00
Maximilian Hils
f5fb1138fd
add proxy modes illustrations, refs #258
2014-07-31 02:01:13 +02:00
Maximilian Hils
c9be57b682
fix #313
2014-07-27 03:28:23 +02:00
Maximilian Hils
2b31a9c49e
refactor tcp handling, fix #280
2014-07-27 02:39:17 +02:00
Maximilian Hils
83536e7e53
minor fixes
2014-07-27 02:10:39 +02:00
Maximilian Hils
e9c834a30d
fix #259
2014-07-26 12:02:18 +02:00
Maximilian Hils
a73ad1d945
fix tests
2014-07-26 11:51:27 +02:00
Maximilian Hils
41f49ff0d4
add example how to replace response body contents
2014-07-26 00:44:03 +02:00
Maximilian Hils
7b2cfc831d
docs++
2014-07-25 19:31:12 +02:00
Maximilian Hils
5a808ca2a7
add status bar indicator for streaming
2014-07-25 18:55:01 +02:00
Maximilian Hils
4382829b7d
workaround: always make sure that flow.response.reply exists
2014-07-25 18:47:48 +02:00
Brad Peabody
a1fa34e61c
response streaming doc
2014-07-24 19:11:16 -07:00
Brad Peabody
5bb4e37dfd
fix to make it so streaming with mitmproxy doesn't explode due to no reply on response
2014-07-24 18:46:39 -07:00
Maximilian Hils
d9ac029ec7
always initialize HTTPResponse.stream attribute
2014-07-23 00:21:33 +02:00
Maximilian Hils
4b4a18a2e4
add --stream options, various fixes
2014-07-21 21:06:55 +02:00
Maximilian Hils
562ac9e721
unify stream handling
2014-07-21 14:09:24 +02:00
Maximilian Hils
7398db80db
simplify responseheader scripthook
2014-07-20 11:17:53 +02:00
Maximilian Hils
0ba5a2cf19
Merge branch 'stream' of https://github.com/bradleypeabody/mitmproxy into stream
2014-07-20 10:57:51 +02:00
Brad Peabody
560e23af09
fixed handling of Transfer-Encoding header during streaming; wrote tests for streaming support
2014-07-19 19:10:14 -07:00
Maximilian Hils
c7425f42db
if no_upstream_cert is set, include SNI value als SubjectAltName, fix #291
2014-07-18 23:04:24 +02:00
Brad Peabody
c47ddaa3a0
basic attempt to implement streaming response, needs testing
2014-07-17 22:43:26 -07:00
Maximilian Hils
a48cccadb5
fix tests on windows
2014-07-18 03:13:52 +02:00
Maximilian Hils
05a8c52f8f
add transparent proxy mode on windows (docs still missing)
2014-07-16 00:47:44 +02:00
Maximilian Hils
71ba7089e2
fix parameter naming
2014-07-14 17:26:22 +02:00
Brad Peabody
ca7d398b42
make include_content=False work by passing this on to netlib's http.read_response
2014-07-12 22:40:51 -07:00
Maximilian Hils
5fed5753b4
fix command line help
2014-07-06 02:15:54 +02:00
Maximilian Hils
b0c366aa45
Merge pull request #300 from zbrdge/freebsd-platform
...
Freebsd 10 platform
2014-07-03 02:24:00 +02:00
Maximilian Hils
df11595fad
Merge pull request #286 from m0sth8/remove_global_should_exit
...
Remove global should_exit and fix tests
2014-07-03 02:20:38 +02:00
Zack B
64c265b710
added unit test update. coverage still at 97%
2014-07-01 16:33:48 -07:00
Zack B
e601ade924
only support FreeBSD 10+
2014-07-01 15:08:42 -07:00
Zack B
2704963e61
add resolver for FreeBSD using pfctl
2014-07-01 14:37:52 -07:00
Maximilian Hils
c039e4a2e3
fix ProxyError inheritance
2014-06-25 23:25:49 +02:00
Maximilian Hils
84a016dccf
expose sockname
2014-06-25 23:03:15 +02:00
Vyacheslav Bakhmutov
b7c1d05782
Remove global should_exit and fix tests
2014-06-13 14:14:55 +07:00
Maximilian Hils
decb6f998a
add support for certificate chains, refs #174
2014-05-21 01:16:22 +02:00
Maximilian Hils
00fd243810
fix up error messages
2014-05-15 18:16:42 +02:00
Maximilian Hils
a17a53269d
fix #253
2014-05-15 14:37:05 +02:00
Maximilian Hils
9cba4f8d39
fix #267
2014-05-15 14:16:05 +02:00
Maximilian Hils
221bbb7369
re-use cert creation from netlib in handle_sni, fix #272
2014-05-15 13:56:09 +02:00
Maximilian Hils
3f440aad59
Merge pull request #271 from davidpshaw/master
...
- working WBXML parser
2014-05-07 16:45:15 +02:00
davidpshaw
0ecd0ba3ab
- changed license to MIT, as it is more easily integrated into the mitmproxy project
2014-05-06 21:12:36 -04:00
David Shaw
ec85531580
- working WBXML parser
2014-05-06 13:27:13 -04:00
Maximilian Hils
4f1fe11549
Merge pull request #269 from shvar/master
...
init ProxyConfig.certstore with custom certs
2014-04-29 16:54:58 +02:00
Eli Shvartsman
1f29b16fb7
fix default certs
2014-04-29 16:13:12 +03:00
Eli Shvartsman
e2501960d3
init ProxyConfig.certstore with custom certs
2014-04-29 15:54:11 +03:00
Maximilian Hils
e15b97372b
Merge pull request #268 from shvar/patch-1
...
Fix upstream_cert call in case of https2http
2014-04-29 12:49:53 +02:00
Eli Shvartsman
ed91e19e0b
Update server.py
...
We should ask for upstream cert only if there is:
1) no no_upstream_cert option specified
2) ssl connection to server is established
2014-04-29 12:41:59 +03:00
Aldo Cortesi
1dba379ae9
Fix proxy options
2014-04-12 17:57:19 +12:00
Maximilian Hils
24759daf46
update firefox cert install docs
2014-04-10 13:31:54 +02:00
Maximilian Hils
3b8d57ca86
fix issue #260
2014-04-07 14:40:01 +02:00
Maximilian Hils
cdc484d513
Merge pull request #252 from jeanregisser/master
...
Fixed palette forced to light in mitmproxywrapper.py
2014-03-26 14:36:56 +01:00
Jean Regisser
17e0f7d159
Fixed palette forced to light in mitmproxywrapper.py
2014-03-26 13:15:23 +01:00
Maximilian Hils
aab071380a
beef up error messages
2014-03-26 00:51:18 +01:00
Maximilian Hils
3a89c84eaf
add requests to requrements, improve error logging
2014-03-19 17:18:21 +01:00
Maximilian Hils
6924eb75bf
fix minor version string
2014-03-19 16:05:19 +01:00
Maximilian Hils
28f82d052d
fix display bugs ( fixes #243 )
2014-03-18 19:38:02 +01:00
Maximilian Hils
d5cfc1c080
Merge pull request #239 from mitmproxy/options_cleanup
...
Options cleanup
2014-03-18 17:19:57 +01:00
Maximilian Hils
ce38a17893
Merge pull request #238 from mitmproxy/log_levels
...
Log Levels
2014-03-18 17:19:44 +01:00
Maximilian Hils
c07cd857a7
fix #240
2014-03-18 00:44:41 +01:00
Maximilian Hils
a66913d4a3
forward proxy -> upstream proxy
2014-03-14 00:02:00 +01:00
Maximilian Hils
f14eeef653
remove debug switch
2014-03-13 23:47:02 +01:00
Maximilian Hils
4e17b00ce8
order command line options, add disting proxy option group
2014-03-13 23:43:26 +01:00
Maximilian Hils
843b2e28bc
adjust command line docs, fix log typo
2014-03-13 23:25:13 +01:00
Maximilian Hils
d883d93566
fix linux tests...
2014-03-13 01:30:26 +01:00
Maximilian Hils
1bfc164692
adjust tests, fix option handling
2014-03-13 01:22:12 +01:00
Maximilian Hils
4d9799f103
add support for log levels
2014-03-13 01:04:45 +01:00
Maximilian Hils
7e86744226
add -d switch to mitmdump to compensate for old verbosity functionality
2014-03-12 22:39:23 +01:00
Maximilian Hils
aefb30ea60
restrict -e to mitmproxy only (not mitmdump)
2014-03-12 22:13:00 +01:00
Maximilian Hils
14db30080f
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2014-03-11 02:16:30 +01:00
Maximilian Hils
15c82f743f
fix temporary server change, coverage++
2014-03-11 02:16:22 +01:00
Aldo Cortesi
e89e035d4a
Certificate forwarding.
2014-03-11 13:02:10 +13:00
Maximilian Hils
c1fff51b1b
always use relative imports, fix status bar bug
2014-03-10 22:36:47 +01:00
Maximilian Hils
e6349b540f
split up protocol\__init__.py
2014-03-10 21:57:50 +01:00
Maximilian Hils
b59013f6e3
Merge branch 'absolutely_relative_proxying'
2014-03-10 17:02:09 +01:00
Maximilian Hils
9cc10630c8
update docs, fix #215
2014-03-10 17:01:30 +01:00
Aldo Cortesi
982da23e9a
Merge pull request #231 from benwa/patch-1
...
Update webapp.html
2014-03-10 17:25:38 +13:00
Aldo Cortesi
e131e41e45
Merge pull request #232 from benwa/patch-2
...
Update layout.html
2014-03-10 17:24:34 +13:00
Aldo Cortesi
554deee222
Merge pull request #233 from mitmproxy/untangle_circular_dependencies
...
Untangle circular dependencies
2014-03-10 17:24:05 +13:00
Maximilian Hils
fe58c1c6eb
add advanced proxying options, add SSL-terminating capability to mitmproxy
2014-03-10 05:11:51 +01:00
Maximilian Hils
78750a8b4d
lay the foundations for --(in|out)(abs|rel) command line switches, as proposed in https://groups.google.com/forum/#!topic/mitmproxy/nApno2TXS0c
2014-03-10 02:32:27 +01:00
Maximilian Hils
dd3aedca01
fix mentions of CONTENT_MISSING in libmproxy.console
2014-03-09 21:59:53 +01:00
Maximilian Hils
5598a8de82
finish proxy.py split up
2014-03-09 21:51:24 +01:00
Maximilian Hils
fc4fe83eaf
split up proxy.py
2014-03-09 21:13:08 +01:00
Bennett Blodinger
edad97ea64
Update layout.html
...
Remove unnecessary menu button on mobile
2014-03-08 20:50:46 -05:00
Bennett Blodinger
8d57ef3c64
Update webapp.html
...
Add notice about data compression proxies
2014-03-08 20:43:39 -05:00
Maximilian Hils
2e50b10735
fix windows tests, include improvements from 0.10.1
2014-03-08 17:19:47 +01:00
Maximilian Hils
2b01c4eee7
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2014-03-08 15:47:27 +01:00
Maximilian Hils
3032672f10
combine asterisk-form and origin-form into relative form
2014-03-08 15:47:09 +01:00
Aldo Cortesi
221973aff6
Revert to old cert names, use a subdir for test conf dir.
2014-03-07 16:38:24 +13:00
Aldo Cortesi
9b17d272a3
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2014-03-07 15:22:04 +13:00
Aldo Cortesi
d0e6fa2705
Use the right conf dir...
2014-03-07 15:20:15 +13:00
Maximilian Hils
5ca88300a9
Merge pull request #230 from sergeychipiga/fix/remove-redundant-codeline
...
remove redundant codeline
2014-03-05 18:53:24 +01:00
Sergey Chipiga
edac95028a
remove redundant codeline
2014-03-05 21:00:29 +04:00
Aldo Cortesi
d65f2215cb
Much more sophisticated cert handling
...
- Specify per-domain certificates and keys
- Certs are no longer regenerated for SANs
- And more. :)
2014-03-05 17:28:04 +13:00
Aldo Cortesi
32af668814
Minor cleanups.
2014-03-02 22:15:53 +13:00
Aldo Cortesi
875f5f8cb6
Cipher specification.
2014-03-02 17:35:41 +13:00
Aldo Cortesi
f373ac5b6c
Improve explicit certificate specification
...
- Support cert/key in the same PEM file
- Rationalize arguments, expand tests, clean up a bit
2014-03-02 17:27:24 +13:00
Aldo Cortesi
863b1e1455
Update for pathod.SSLOptions changes.
2014-03-02 15:58:53 +13:00
Aldo Cortesi
a34a483184
Adapt for new pathod and netlib APIs.
2014-03-02 15:14:22 +13:00
Aldo Cortesi
43a760c935
Merge pull request #223 from droope/improve-backwards-search
...
Improve search to also search backwards.
2014-02-26 10:18:26 +13:00
Pedro Worcel
cffae49e34
add helpful messages on wrap
2014-02-22 18:04:56 +13:00
Pedro Worcel
3e50034428
fix the wrapping on backward searches
2014-02-22 17:15:37 +13:00
Pedro Worcel
9fe6b8fd26
add docs
2014-02-22 16:36:35 +13:00
Pedro Worcel
4284fd3614
add multi-line support to backwards search
2014-02-22 16:32:22 +13:00
Pedro Worcel
3c02865e8b
add multi-line support
2014-02-22 15:32:35 +13:00
Pedro Worcel
7a154e1ae1
add basic backwards search
2014-02-22 15:00:10 +13:00
Maximilian Hils
c2828de4a1
fix bug: ensure that server connection is present for tcp connections
2014-02-17 17:25:45 +01:00
Maximilian Hils
b5d02add28
Merge branch 'master' of github.com:mitmproxy/mitmproxy
2014-02-17 00:15:58 +01:00
Maximilian Hils
39f73776dc
Bump version
...
Do it now already so that mitmproxy will warn the user if netlib is not from master.
2014-02-11 12:09:24 +01:00
Maximilian Hils
d9a6037299
fix comments
2014-02-09 02:54:07 +01:00
Aldo Cortesi
a85974eaa8
Fix flow initialization order error
...
Resolves #210
2014-02-08 17:17:35 +13:00
Aldo Cortesi
b642b4870b
Better response when mitmproxy crashes.
2014-02-08 14:15:19 +13:00
Aldo Cortesi
569e5d348a
Merge pull request #208 from kmike/pillow-setuppy
...
Remove upper bound for Pillow in setup.py
2014-02-08 12:45:06 +13:00
Aldo Cortesi
fe4bab2e6f
Cleanup: fix unit tests, simpler app test, remove print statements
2014-02-08 12:33:59 +13:00
Maximilian Hils
33b10da57c
fix tests
2014-02-07 18:26:42 +01:00
Maximilian Hils
735e4400c4
add tests for reconnect to upstream proxy, ensure that server_reconnect is always hooked
2014-02-07 18:14:15 +01:00
Maximilian Hils
545fc2506b
Achievement Unlocked: Proxy Chain
2014-02-07 07:08:59 +01:00
Maximilian Hils
9526c5d565
fix race conditions in test suite
2014-02-07 04:15:24 +01:00
Maximilian Hils
d07029d575
coverage++
2014-02-07 03:56:57 +01:00
Maximilian Hils
9f5f2b7071
test libmproxy.app, increase coverage
2014-02-07 02:36:39 +01:00
Maximilian Hils
66090f9aea
finalize merge
2014-02-06 23:05:53 +01:00
Maximilian Hils
ff264eb309
add functionality to change the destination server
2014-02-06 22:16:26 +01:00
Maximilian Hils
134c7795f8
remove LEGACY switches, always update flow.server_conn
2014-02-06 01:19:51 +01:00
Maximilian Hils
cb397ec788
fix bugs, expose timestamp information to console ui
2014-02-06 00:53:39 +01:00
Maximilian Hils
80683e77bc
mock urwid to run console tests on windows, push failing testcases down to 0. :-)
2014-02-05 23:17:26 +01:00
Maximilian Hils
f26d91cb81
add skeleton to change destinatin server during intercept, fix all testcases on windows
2014-02-05 20:26:47 +01:00
Mikhail Korobov
3e0e4b7dec
remove upper bound for Pillow in setup.py
2014-02-05 19:43:08 +06:00
Maximilian Hils
9a55cd7332
Merge branch 'master' into tcp_proxy
2014-02-05 14:33:44 +01:00
Maximilian Hils
d864a326d2
fix all tests except those using set_url and get_url
2014-02-05 14:33:17 +01:00
Maximilian Hils
6d9b28f2ea
add example to show how to read mitmproxy dump files, refs #207
2014-02-04 19:10:55 +01:00
Maximilian Hils
fd828bf959
shutdown properly if we dont keep serving
2014-02-04 18:40:12 +01:00
Steven Van Acker
66da73d8a9
fixing bug: AttributeError: DumpMaster instance has no attribute 'unload_script'
2014-02-04 14:49:51 +01:00
Maximilian Hils
6a53ae5fd3
push failing tests down to 43
2014-02-04 05:02:17 +01:00
Maximilian Hils
f6253a80ff
add priorities for the destination server address
2014-02-04 02:56:59 +01:00
Maximilian Hils
2db5f9de26
bring failing tests back into the double-digit range
2014-01-31 04:45:39 +01:00
Maximilian Hils
7d96ff00ef
remove _flow_map from state, improve logging
2014-01-31 03:01:51 +01:00
Maximilian Hils
30a44cbb41
fix server reconnect
2014-01-31 01:44:55 +01:00
Maximilian Hils
6ce1470631
move StateObject back into libmproxy
2014-01-31 01:06:35 +01:00
Maximilian Hils
5fce7be592
complete state handling
2014-01-30 20:11:01 +01:00
Maximilian Hils
8544a5ba4b
add generic TCP handler with SSL support, move StateObject into netlib
2014-01-30 18:56:23 +01:00
Maximilian Hils
179c3ae8aa
polish SimpleStateObject
2014-01-30 06:03:41 +01:00
Maximilian Hils
e00bbccfd6
remove old classes
2014-01-30 05:21:53 +01:00
Maximilian Hils
40bf42f14a
merge flow classes. current status: basic mitmdump working
2014-01-30 05:00:13 +01:00
Maximilian Hils
607f777811
fix most testsuite errors, improve proxy error handling
2014-01-29 02:49:11 +01:00
Maximilian Hils
1e3e0dd127
merge master
2014-01-28 17:29:28 +01:00
Maximilian Hils
17f09aa0af
unify ipv4/ipv6 address handling
2014-01-28 17:28:20 +01:00
Aldo Cortesi
3aa78f9ff3
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2014-01-28 15:20:10 +13:00
Aldo Cortesi
e5d2829364
docs: fix spacing of page headers
2014-01-28 15:19:53 +13:00
Maximilian Hils
36930a6e1d
actually remove test dependencies from requirements.txt
2014-01-28 03:17:27 +01:00
Aldo Cortesi
fcb569b7d7
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2014-01-28 15:12:57 +13:00
Aldo Cortesi
0b7a7ffcb1
Changelog.
2014-01-28 15:12:44 +13:00
Maximilian Hils
125166020b
move test requirements out of main requirements.txt
2014-01-28 03:09:21 +01:00
Aldo Cortesi
5ce9c2eb65
Update contributors.
2014-01-28 15:04:20 +13:00
Aldo Cortesi
647a11c900
travis: irc notifications
2014-01-28 14:52:41 +13:00
Aldo Cortesi
f3369529ab
Adjust docs for web app certificate installation.
2014-01-28 13:24:11 +13:00
Aldo Cortesi
23ba4eccd8
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2014-01-28 12:55:03 +13:00
Aldo Cortesi
ae87affcbe
Nicer layout for cert install options.
2014-01-28 09:44:33 +13:00
Aldo Cortesi
784f411273
Instructions for adding mitmproxy certificates to the Java trust store.
...
Fixes #146
2014-01-27 14:45:20 +13:00
Aldo Cortesi
2df321e71b
Use the mitm.it domain for the app, turn it on by default.
2014-01-27 14:37:29 +13:00
Aldo Cortesi
332eb67dfe
Android doc update.
2014-01-27 14:17:16 +13:00
Aldo Cortesi
f47d89ff4e
Revert "Move the doc tree out into its own repo."
...
This reverts commit 8f88fcedd6 .
2014-01-27 14:16:23 +13:00
Aldo Cortesi
47c7e37723
Serve correct certs from app. Enable Windows and Android icons.
2014-01-24 10:46:34 +13:00
Maximilian Hils
5811e79361
print warning if netlib and mitmproxy versions are different.
2014-01-22 16:21:17 +01:00
Maximilian Hils
94e530ec4f
merge master
2014-01-22 16:01:31 +01:00
Aldo Cortesi
9044b8b8f5
travis: install netlib from git before installing requirements.
2014-01-22 13:43:59 +13:00
Aldo Cortesi
faf4338d13
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
...
Conflicts:
doc-src/certinstall/android.html
2014-01-22 13:34:46 +13:00
Aldo Cortesi
8f88fcedd6
Move the doc tree out into its own repo.
2014-01-22 13:33:02 +13:00
Maximilian Hils
cf094c2fbc
Add note on emulated android devices. refs #204
2014-01-21 21:56:36 +01:00
Aldo Cortesi
7ddc941116
Silence pyflakes
...
And pick up one bug as a consequence.
2014-01-19 18:16:24 +13:00
Aldo Cortesi
cabd848b1e
Release test script and checklist.
2014-01-19 18:08:59 +13:00
Aldo Cortesi
453075c77a
Doc and readme tweaks.
2014-01-19 18:08:50 +13:00
Aldo Cortesi
dc59325329
Refactor docs to define nav sidebar in only one place.
2014-01-19 17:40:26 +13:00
Aldo Cortesi
f431eb5acc
Tweak setup.py to allow installs outside source dir
...
Also fix mitmdump version output
2014-01-19 16:06:03 +13:00
Aldo Cortesi
64be9b1a8a
Optionally take the mitmproxy path for doc rendering from a env variable.
2014-01-19 13:52:45 +13:00
Aldo Cortesi
bd684d4540
PyInstaller bug requiring a console import in mitmdump is gone
2014-01-19 13:33:15 +13:00
Aldo Cortesi
5782f9393e
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2014-01-19 13:28:18 +13:00
Aldo Cortesi
bf1399fa2b
Handle views that don't support search gracefully
...
This includes all key/value formatted views, e.g. the image view. We
need to support these ultimately, but no time before the next release.
2014-01-19 13:23:38 +13:00
Aldo Cortesi
f5f46bf080
Re-enable caching on search.
2014-01-19 12:43:58 +13:00
Maximilian Hils
1786d77819
Add functionality to transparently proxify connections to other HTTPS proxies
2014-01-18 22:57:28 +01:00
Maximilian Hils
0b4ad05e02
merge master
2014-01-18 17:25:59 +01:00
Maximilian Hils
6c24b1d0d2
get server reconnect right, fix timestamps
2014-01-18 17:15:33 +01:00
Maximilian Hils
862b532fff
small refactorings, bugs fixed
2014-01-18 15:35:37 +01:00
Maximilian Hils
5acbef236c
fix sni bug: respond with the correct certificate
2014-01-16 02:33:14 +01:00
Maximilian Hils
779e303dfe
fix syntax highlighting for countershape urls by using different quotes
2014-01-14 17:58:42 +01:00
Maximilian Hils
92966e7c48
add tutorial for transparent proxying, other minor docs improvements
2014-01-14 17:47:33 +01:00
Maximilian Hils
621807f697
add basic error handling
2014-01-13 02:25:58 +01:00
Aldo Cortesi
069aca1df4
Deprecate Flow.unload_script in favor of Flow.unload_scripts
...
In the presence of arguments, unloading a single script is clumsy and
less useful.
2014-01-13 14:20:34 +13:00
Aldo Cortesi
4f69eef8f3
Extract command parsing and use in script grid editor
2014-01-13 14:15:17 +13:00
Aldo Cortesi
42d4a2fae9
Script refactoring: move script command parsing into script module.
2014-01-12 23:02:29 +13:00
Aldo Cortesi
e5776b8be3
Clean up and clarify script API
2014-01-12 13:59:32 +13:00
Aldo Cortesi
58e1b3a47f
Start refactoring scripts
...
- Move ScriptContext into script module
- Use mock module instead of hand-rolled mock objects in tests
2014-01-12 12:49:19 +13:00
Maximilian Hils
2f63da99c9
ignore console test utilities on windows
2014-01-10 01:39:16 +01:00
Maximilian Hils
24fc8ff292
fix header assembly, other improvements
2014-01-10 01:38:28 +01:00
Maximilian Hils
efdb25ef68
improve https handling
2014-01-09 17:56:42 +01:00
Maximilian Hils
3090267ca4
display build status from master branch
2014-01-09 17:38:08 +01:00
Maximilian Hils
607d79b63f
groundwork completed
2014-01-09 05:34:29 +01:00
Maximilian Hils
4637d467c0
Delete ~$$proxy-flowchart.~vsdx
2014-01-07 02:30:04 +01:00
Maximilian Hils
ea2f17680b
continue work on the proxyhandler
2014-01-07 02:29:10 +01:00
Maximilian Hils
b75cfd5bf8
Merge pull request #199 from dwilbraham/add_protobuffer_content_type
...
Decode content as protobuf if the content_type is "application/x-protobuffer"
2014-01-06 04:46:59 -08:00
Dan Wilbraham
1c2e638d53
Update ViewProtobuf in contentview.py to also decode as protobuf if the content_type is "application/x-protobuffer"
2014-01-05 23:40:02 +00:00
Aldo Cortesi
e31fc8ac40
Tweaking web stub app, icons for certificates, serve PEM correctly.
2014-01-05 16:59:27 +13:00
Aldo Cortesi
a49115a227
Remove / binding alias for limit
...
The search and limit functionality is too different.
2014-01-05 14:14:36 +13:00
Maximilian Hils
b34ad82b52
first steps on tcp proxying
2014-01-05 01:03:55 +01:00
Aldo Cortesi
d5f9b02615
Merge pull request #192 from mitmproxy/refactor_read_http_body
...
move CONTINUE checks into mitmproxy
2014-01-04 14:37:47 -08:00
Aldo Cortesi
7d37e0ce10
Merge pull request #193 from droope/search-functionality
...
Search functionality
2014-01-04 14:34:20 -08:00
Aldo Cortesi
8a599be060
Merge branch 'migrate_from_pil_to_pillow' of https://github.com/Kami/mitmproxy into Kami-migrate_from_pil_to_pillow
...
Conflicts:
requirements.txt
2014-01-05 11:15:27 +13:00
Aldo Cortesi
ac31039ad3
Merge pull request #198 from Kami/add_css_view
...
Add CSS view which beautifies minified CSS files
2014-01-04 14:04:02 -08:00
Aldo Cortesi
a2261e3cf0
Introduce file descriptor decorators for Request objects
...
Which lets us enable the apps again, now running from flow.py
2014-01-05 10:58:53 +13:00
Tomaz Muraus
c5f4614ba5
Fix CSS view prompt, update display mode options.
2014-01-04 17:13:46 +01:00
Tomaz Muraus
ff2d7a7501
Provide more sensible serializer options.
2014-01-04 15:50:40 +01:00
Tomaz Muraus
e9f6302ec7
Add CSS view which beautifies CSS files if cssutils library is available,
...
otherwise it acts as a no-op.
2014-01-04 04:49:50 +01:00
Tomaz Muraus
1fa6bcbd5a
Update another reference to PIL.
2014-01-04 03:15:08 +01:00
Aldo Cortesi
45eab17e0c
Decouple message type from message class name.
2014-01-04 14:42:32 +13:00
Aldo Cortesi
1e07d9e6e7
Move app mechanism to flow.py
...
Disable apps while message passing is improved.
2014-01-04 14:35:11 +13:00
Aldo Cortesi
f25c532960
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2014-01-04 13:15:13 +13:00
Maximilian Hils
8472ed97ed
fix #195
...
(untested)
2014-01-03 23:35:25 +01:00
Tomaz Muraus
e9c2c0ac3a
Migrate from Pil to the latest version of Pillow.
2014-01-03 21:13:14 +01:00
Aldo Cortesi
3aa4b6603c
Fix app in mitmproxy console, update to bootstrap 3.
2014-01-03 15:29:32 +13:00
Maximilian Hils
b9d4eb103e
list mock as requirement (via @droope)
2013-12-29 10:51:47 +01:00
Pedro Worcel
799c877676
now really fix it + test
2013-12-26 22:18:34 +13:00
Pedro Worcel
a4b059c2a7
fix bug that happens after searching for a non-existant string, and
...
later for an existant one.
2013-12-26 21:53:04 +13:00
Pedro Worcel
34a09780ee
add docs
2013-12-26 17:26:51 +13:00
Pedro Worcel
70f6bb301b
added 'n' functionality, tidy up & testing
2013-12-26 17:16:26 +13:00
Pedro Worcel
21efe2f2c8
add looping around
2013-12-26 17:04:18 +13:00
Pedro Worcel
9cf8a1a89d
fix failing test
2013-12-25 21:08:20 +13:00
root
bcf5620239
fix crash
2013-12-25 16:57:54 +13:00
root
95406bd119
Add focusing, and fixes non-clearance of prev searches. Add
...
documentation.
2013-12-25 16:50:29 +13:00
root
932464d0a0
test passing, UI still not working
2013-12-24 14:28:20 +13:00
root
359573a764
add search with / for compatibility with what I'll do.
2013-12-23 16:41:46 +13:00
Maximilian Hils
d6aa7dc22e
ignore web gui specific paths that won't get cleaned up when changing branches
2013-12-17 21:28:21 +01:00
Maximilian Hils
e643759ef6
merge smurfix/fix2, add serverconnect hook docs, adjust tests
2013-12-16 22:10:06 +01:00
Maximilian Hils
f4b58ba495
move CONTINUE checks into mitmproxy
2013-12-15 06:33:18 +01:00
Maximilian Hils
6ec2e6f24f
fix script path error in tests
2013-12-15 02:51:35 +01:00
Maximilian Hils
605950bfdf
add @concurrent decorator for inline scripts, fixes #176
2013-12-15 02:43:16 +01:00
Aldo Cortesi
224cd41dc2
Merge pull request #189 from mitmproxy/refactor_proxyhandler
...
Refactor ProxyHandler
2013-12-13 15:05:22 -08:00
Matthias Urlichs
afff1f1734
Reconnect if the server-connect hook needs the request to decide what to do
2013-12-12 10:00:23 +01:00
Matthias Urlichs
517e5e6688
handle a hook changing connection parameters
2013-12-12 09:22:55 +01:00
Matthias Urlichs
7b6057fa64
serverconnect hook: Set sc.request
...
The serverconnect hook script might need to examine the incoming request
in order to set up the server connection.
Example use: bind to a distinct source IPv6 address for each client.
2013-12-12 07:56:40 +01:00
Maximilian Hils
39ffe10334
add content-length 0 if we remove header for chunked encoding, fixes #186
2013-12-12 04:42:29 +01:00
Maximilian Hils
4a32a65e0e
change certificate path for android, fix #171
2013-12-12 03:40:23 +01:00
Maximilian Hils
7db1430ee7
ignore missing CN in certificates. fixes #169
2013-12-12 03:24:17 +01:00
Maximilian Hils
28a234e28b
store resolved ip addresses, fixes #187
2013-12-12 02:11:22 +01:00
Maximilian Hils
5f6eca8856
Merge pull request #190 from BillinghamJ/patch-1
...
Added small note of file format
2013-12-11 05:13:25 -08:00
James Billingham
3481c54d02
Added small note of file format
2013-12-11 13:11:19 +00:00
Maximilian Hils
fb985b8b87
Merge remote-tracking branch 'origin/master'
2013-12-11 14:05:18 +01:00
Maximilian Hils
e99eaa3a19
add documentation on how to use custom certificates
2013-12-11 14:04:45 +01:00
Aldo Cortesi
a600441e37
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2013-12-10 22:24:23 +13:00
Aldo Cortesi
1bbeace350
Bump version
2013-12-10 22:23:38 +13:00
Maximilian Hils
f0e96be142
ensure binary read on windows
2013-12-10 03:13:37 +01:00
Maximilian Hils
21de99cb09
add comments
2013-12-10 02:30:07 +01:00
Maximilian Hils
a78b185278
refactor ProxyHandler, remove duplicate code
2013-12-10 01:47:19 +01:00
Maximilian Hils
2be19a5620
Merge remote-tracking branch 'origin/master'
2013-12-09 19:10:40 +01:00
Maximilian Hils
4984bbb83b
remove code duplication in ProxyHandler by unifying read_transparent and read_reverse
2013-12-09 19:10:15 +01:00
Aldo Cortesi
1d536f64d5
Small workaround to make mitmproxy work again.
...
Further work is required to make scripts work again, though.
2013-12-09 22:34:47 +13:00
Maximilian Hils
3bd238de37
backport changes to fix tests
2013-12-08 15:46:11 +01:00
Maximilian Hils
a509a9037b
Merge branch 'master' into 0.10
2013-12-08 14:14:57 +01:00
Maximilian Hils
4dcb2435fc
Merge remote-tracking branch 'origin/0.10' into 0.10
2013-12-08 14:14:51 +01:00
Maximilian Hils
e3c69fd105
Merge remote-tracking branch 'origin/master'
2013-12-08 14:14:31 +01:00
Aldo Cortesi
3a1d85ab18
Merge pull request #134 from mhils/scripts_improvements
...
Support multiple scripts and script arguments. refs #76
2013-12-08 01:14:12 -08:00
Aldo Cortesi
7aeaf9d448
Merge pull request #161 from mitmproxy/external_webapp
...
External webapp
2013-12-08 01:09:46 -08:00
Aldo Cortesi
73791f986a
Merge pull request #166 from ghjc/forward-proxy
...
Added -F http[s]://server:port option that allows MITM to forward traffi...
2013-12-08 01:05:33 -08:00
Aldo Cortesi
4816cae98c
Merge pull request #170 from jsoriano/master
...
Reverse proxy works with SSL
2013-12-08 01:02:17 -08:00
Aldo Cortesi
cb3a4a0f3c
Remove obsolete test.
2013-12-08 21:58:55 +13:00
Aldo Cortesi
dfcec4ffba
Merge pull request #180 from mitmproxy/add_serverconnection_scripthook
...
Add serverconnection scripthook
2013-12-08 00:55:55 -08:00
Aldo Cortesi
83f061c1a0
Merge pull request #184 from richie5um/RichS-RateDivideByZeroIssue
...
Fix divide by zero issue when timestamp start and end are the same
2013-12-08 00:54:11 -08:00
Aldo Cortesi
925eaa9343
Add a note to the docs about pf redirection of traffic from the host itself.
2013-12-08 21:38:53 +13:00
Aldo Cortesi
1e733f3149
Merge branch 'fix_invalid_tcp_close'
2013-12-08 14:32:40 +13:00
Maximilian Hils
594e61c647
Merge branch 'master' into 0.10
2013-12-08 01:44:09 +01:00
Maximilian Hils
948d4c0445
Merge remote-tracking branch 'origin/master'
2013-12-08 01:42:55 +01:00
Rich Somerfield
9a986e0c1b
Fix divide by zero issue when timestamp start and end are the same
2013-11-26 14:14:51 -08:00
Maximilian Hils
d4c3b1c213
attempt to fix https://github.com/mitmproxy/netlib/issues/24
2013-11-19 04:08:16 +01:00
Maximilian Hils
675518f873
add serverconnect script hook
2013-11-18 17:25:52 +01:00
Maximilian Hils
f63380a04e
Merge pull request #173 from joebowbeer/patch-1
...
Update android.html
2013-10-22 05:23:25 -07:00
joebowbeer
00a000091e
Update android.html
...
Make the sdcard path in the text consistent with the screen shot (android-shellwgetmitmproxyca.png).
/sdcard/Download (singular) is the correct path.
2013-10-18 22:58:06 -07:00
Jaime Soriano Pastor
7140323bdb
New method establish_ssl to avoid duplicated code
2013-09-26 12:38:13 +02:00
Jaime Soriano Pastor
f33d128a7f
Reverse proxy works with SSL
2013-09-26 12:23:48 +02:00
Maximilian Hils
2956c144d3
Merge branch 'master' into 0.10
2013-09-14 23:47:04 +02:00
JC
65d1ed1b3c
Added -F http[s]://server:port option that allows MITM to forward traffic to another http server upstream.
2013-08-30 17:19:58 -07:00
Maximilian Hils
38a1135ab8
add status images to README, include TestHTTPS again
2013-08-25 04:31:35 +02:00
Maximilian Hils
404445cbdf
exclude TestHTTPS for testing travis/coverage
2013-08-25 04:19:43 +02:00
Maximilian Hils
62fa2e6c07
fix travis, loose requirements.txt
2013-08-25 04:03:53 +02:00
Maximilian Hils
08a26337a0
re-add requirements.txt
2013-08-25 03:53:19 +02:00
Maximilian Hils
63ece45de5
add coveralls.io
2013-08-25 03:45:32 +02:00
Aldo Cortesi
8d954d9965
Version bump.
2013-08-25 10:37:35 +12:00
Aldo Cortesi
789700ade2
Prep for release: CHANGELOG and CONTRIBUTORS
2013-08-25 10:28:15 +12:00
Aldo Cortesi
6a31d32712
Merge pull request #162 from mhils/add_travis_ci
...
Add travis CI
2013-08-22 15:32:39 -07:00
Aldo Cortesi
aaba940dea
Fix pretty_size unit tests.
2013-08-23 10:28:16 +12:00
Aldo Cortesi
a2643b52f9
Tweak timing display
...
- Remove elapsed time. Space is at a premium here, and this is somewhat
redundant with the rate figure. We should display complete timing information
somewhere in the detailed flow view.
- Tone down the colour. Reserve highlights for stuff that should really pop out
to the user.
- Make rate calculation more acurate. Include header sizes. Use response start
and end time, rather than request end and response end. This means that we show
actual transfer rates, not including DNS requests and so forth.
2013-08-23 10:25:44 +12:00
Aldo Cortesi
09f651247a
Merge pull request #159 from kmanna/elapsed_time
...
Transfer Rate and Elapsed Time Statistics
2013-08-22 14:34:55 -07:00
Maximilian Hils
fa3dce9e11
add jsbeautifier to requirements.txt
2013-08-20 13:47:34 +02:00
Maximilian Hils
02120eb5c8
travis ci: fix pip install order
2013-08-20 13:42:25 +02:00
Maximilian Hils
4bbcf795e3
travis ci: make sure that netlib is installed from head
2013-08-20 13:32:18 +02:00
Maximilian Hils
4790399041
add travis ci
2013-08-20 13:25:47 +02:00
Maximilian Hils
bb4748fb8f
add option to expose webapp externally, remove distinct ip setting
2013-08-18 20:03:53 +02:00
Maximilian Hils
729677cd85
Merge branch 'master' into 0.10
2013-08-17 13:30:36 +02:00
Maximilian Hils
a558c016d4
Merge remote-tracking branch 'origin/master'
2013-08-17 13:28:24 +02:00
Maximilian Hils
aeb8958236
update gitignore to not include PyCharms
2013-08-17 13:27:53 +02:00
Kyle Manna
41041159f6
console: Add support for displaying transfer rate
...
* Display the rate in the the response row.
* Very handy for passive performance analysis.
2013-08-13 16:33:53 -07:00
Kyle Manna
ea28496bea
console: Add support for displaying elapsed time
...
* Display the elapsed time in the the response row.
* Very handy for passive performance analysis.
2013-08-13 16:33:53 -07:00
Kyle Manna
4ede2f126a
utils: Add missing "B" for pretty_size()
...
* Add missing unit for megabytes, should print "MB".
2013-08-13 16:33:39 -07:00
Aldo Cortesi
f850bdd848
Revamp dummy cert store
...
We no longer keep these on disk. This is for a number of reasons, including
some race conditions and the fact that some valid IDNA-encoded domain names are
not valid file names on Windows.
2013-08-12 16:04:02 +12:00
Aldo Cortesi
2c4e5e0a73
Better handling of cert errors on connection.
2013-08-10 23:07:22 +12:00
Aldo Cortesi
edb10e33aa
Remove GPL notices left in source files after our change to the MIT license.
...
Thanks to Roy Shamir for reporting this.
2013-08-01 11:08:00 +12:00
Aldo Cortesi
439d9a294c
Make use of a change to netlib.tcp that clarifies error conditions for flush and close.
...
Should fix #144 .
2013-07-30 09:42:29 +12:00
Aldo Cortesi
5f0b5532bc
Show an error when attempting to decode invalid data.
2013-07-29 18:14:11 +12:00
Aldo Cortesi
d54398cc79
Repair minor user interface issue that caused brief flashes of duplicate flows in the flow list.
2013-07-29 12:38:41 +12:00
Maximilian Hils
29bcbd57d5
fix #144
...
netlib wraps IOError in NetLibDisconnect, so we need to cover this as well.
2013-07-28 21:05:17 +02:00
Aldo Cortesi
a21c989ccd
Fix startup with no state.
...
Bug introduced in previous patch.
2013-07-28 22:40:51 +12:00
Aldo Cortesi
df3d2d70ed
Terminate can be called on an unconnected server connection.
2013-07-28 18:05:04 +12:00
Aldo Cortesi
10a9e3365f
Some refactoring of the console inteface.
...
Reduce some state duplication, by removing currentflow variable.
Fixes #141
2013-07-28 18:00:49 +12:00
Aldo Cortesi
10b744ee08
Properly terminate SSL server connections.
...
Before, we had dangling SSL server connections causing resource exhaustion.
I believe this fixe #144 and #153
2013-07-28 10:50:25 +12:00
Aldo Cortesi
5c1157ddaf
Move app instantiation out of proxy.py.
2013-07-24 10:32:56 +12:00
Aldo Cortesi
64ce3b358f
Make a start on mitmproxy web app.
2013-07-23 10:28:35 +12:00
Aldo Cortesi
55f7e8d5b9
Don't take minor version into account when checking serialized data compatiblity.
2013-07-13 14:44:09 +12:00
Aldo Cortesi
9febc0813f
Merge pull request #143 from liyanage/upstream-pull-request-2013-07-07
...
Some improvements for the OS X mitmproxywrapper.py script
2013-07-11 15:07:01 -07:00
Marc Liyanage
e5c0891e84
Pass extra command line arguments to mitmproxy
2013-07-08 20:56:05 -07:00
Aldo Cortesi
c4d03d8b85
Merge pull request #137 from caujka/master
...
Handling for EOF reading error in gzipped content
2013-07-01 17:37:15 -07:00
Aldo Cortesi
1f029306d6
Merge pull request #139 from smurfix/fixes
...
Close connection when flush fails
2013-07-01 17:36:33 -07:00
Matthias Urlichs
d9cc6f1dd6
proxy.py: Catch channel.ask() returning None when terminating
2013-06-28 07:53:56 +02:00
Matthias Urlichs
be1377850e
Close connection when flush fails
2013-06-26 15:02:55 +02:00
Maximilian Hils
6fe175913e
fix request_timestamps test case
2013-06-18 00:54:07 +02:00
Maximilian Hils
ca9740df20
skip tests on windows that don't make sense
2013-06-18 00:53:38 +02:00
Oleksandr Sheremet
0afd3fc42f
Added handling for EOF reading error in gzipped content.
2013-06-17 21:46:54 +03:00
Maximilian Hils
d462b444b7
update tests to reflect changes to options.scripts
2013-06-17 16:48:06 +02:00
Maximilian Hils
84248d431b
fix send_error behavior if there are no headers
2013-06-17 10:52:19 +02:00
Aldo Cortesi
826a1fdaa2
Minor adjustment for website docs pages.
2013-06-16 16:59:28 +12:00
Aldo Cortesi
54df58b7a8
Update changelog. Move to lsof for transparent OSX is not working on Mountain Lion.
2013-06-16 16:23:59 +12:00
Aldo Cortesi
886970040b
Revert "Use lsof instead of pfctl to find target host on OSX in transparent mode."
...
This reverts commit ffeede9b39 .
2013-06-16 16:23:36 +12:00
Aldo Cortesi
c1a60a1f6b
CHANGELOG and CONTRIBUTORS
2013-06-16 16:08:41 +12:00
Aldo Cortesi
c89378047b
Formalize OSX binary script a bit more.
2013-06-16 15:50:08 +12:00
Aldo Cortesi
a386dff058
Remove pyinstaller specs. Add a quick-and-dirty script for building OSX binaries.
2013-06-16 15:13:28 +12:00
Aldo Cortesi
db43f1ffcc
Version bump, doc extension, URLs to github.com/mitmproxy/*
2013-06-16 13:59:01 +12:00
Aldo Cortesi
bef5662365
Merge pull request #119 from jasonanovak/ViewDocumentation
...
Documentation for adding a new content viewer / View class
2013-06-15 15:53:49 -07:00
Maximilian Hils
fd36142018
Merge remote-tracking branch 'origin/scripts_improvements' into 0.10
2013-06-16 00:41:43 +02:00
Aldo Cortesi
34f286df51
Merge pull request #136 from mhils/fix_binary_rw
...
always read files in binary mode
2013-06-15 15:31:36 -07:00
Maximilian Hils
ba47690a03
always read files in binary mode
2013-06-16 00:23:44 +02:00
Maximilian Hils
b4f6f09c83
update test script
2013-06-16 00:10:53 +02:00
Maximilian Hils
2b4af8d475
add support for multiple scripts and script arguments. refs #76
2013-06-13 16:09:38 +02:00
Aldo Cortesi
d3beaa7382
Merge pull request #132 from ipopov/master
...
A humble pull request
2013-06-08 16:28:47 -07:00
Aldo Cortesi
1a5c27aa7d
Massage content-type before sending it to mime detection
...
Fixes #67
2013-06-09 11:26:44 +12:00
Aldo Cortesi
9f6657727b
Make UTF environment detection more robust.
...
Fixes #125
2013-06-09 11:20:02 +12:00
Aldo Cortesi
7ef68b5a13
Fix creation of new response when none existed before.
...
Fixes #133
2013-06-09 11:14:34 +12:00
Aldo Cortesi
19279033b3
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2013-06-09 10:47:39 +12:00
Aldo Cortesi
0b5423f6a1
Merge pull request #129 from LordMike/master
...
Quick fix for issue #128
2013-06-08 15:46:24 -07:00
Marc Liyanage
09c95ece52
Re-run mitmproxywrapper.py with sudo if necessary.
2013-06-02 12:43:49 -07:00
Aldo Cortesi
ebf0aaa3db
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2013-05-30 09:22:16 +12:00
Aldo Cortesi
df7c7796b2
Update license trove classifier.
2013-05-30 09:22:00 +12:00
Ivaylo Popov
ffeede9b39
Use lsof instead of pfctl to find target host on OSX in transparent mode.
2013-05-27 23:09:42 -04:00
Aldo Cortesi
82cb1dae41
Merge pull request #131 from squidsoup/master
...
Easy dep install with pip
2013-05-27 03:11:05 -07:00
Kit Randel
aaba1bd7d1
Added requirements.txt to ease installation of deps for hacking on mitmproxy.
2013-05-24 15:23:47 +12:00
Michael Bisbjerg
125b3e5e5b
- Quick-fix for issue #128
...
New bug: It correct-cases Content-Length for any webserver sending other casings, like CONTENT-LENGTH.
2013-05-21 15:57:14 +02:00
Aldo Cortesi
8608cdf177
Update PyOpenSSL version requirement.
2013-05-20 12:44:07 +12:00
Marc Liyanage
ceafd411f3
Change the proxy settings for all connected interfaces, not just the primary one.
2013-05-15 22:40:08 -07:00
Aldo Cortesi
3460d56fcc
Merge pull request #124 from liyanage/master
...
Add mitmproxywrapper.py script for OS X users
2013-05-15 16:11:40 -07:00
Marc Liyanage
50ac988363
Add mitmproxywrapper.py
2013-05-15 15:24:34 -07:00
Aldo Cortesi
9e94fdc6db
Make ready for pyinstaller.
2013-05-15 11:25:25 +12:00
Aldo Cortesi
52b56e23b2
Contributor sync.
2013-05-15 09:56:14 +12:00
Aldo Cortesi
2dfff2a75f
Styling.
2013-05-15 09:23:25 +12:00
Aldo Cortesi
36b07264f0
Mods to "How mitmproxy works"
2013-05-14 22:44:11 +12:00
Aldo Cortesi
b5cf3b4f74
README, Linux transparent mode docs, requirements additions.
2013-05-14 09:12:26 +12:00
Aldo Cortesi
d86b7c7f77
Prin an error when mitmproxy runs in a non-UTF environment.
2013-05-13 21:41:16 +12:00
Aldo Cortesi
11cc48ca25
Adapt for new request_client_cert option in netlib.
2013-05-13 09:08:24 +12:00
Aldo Cortesi
bc88930fb7
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2013-05-05 13:19:14 +12:00
Aldo Cortesi
9fa09cc1f9
Fix crash in client playback.
2013-05-05 13:18:52 +12:00
Aldo Cortesi
69a40c8179
Merge pull request #118 from jasonanovak/protobufs
...
Add error checking to ViewProtobuf
2013-05-04 17:37:32 -07:00
Aldo Cortesi
5cd7563d12
Minor coverage.
2013-04-30 09:13:33 +12:00
Aldo Cortesi
98b860b0f7
Adapt docs for website embedding.
2013-04-30 09:12:06 +12:00
Jason A. Novak
bfb3828f37
Finalizing documentation
2013-04-21 14:30:30 -05:00
Jason A. Novak
208204d33a
Further cleanup of documentation
2013-04-21 14:28:00 -05:00
Jason A. Novak
d48d3d4eb3
More documentation cleanup and formatting
2013-04-21 14:20:51 -05:00
Jason A. Novak
1400880d58
More documentation
2013-04-21 13:58:08 -05:00
Jason A. Novak
e951b86c21
More documentation
2013-04-21 13:36:05 -05:00
Jason A. Novak
f78dada550
Add error checking to ViewProtobuf
...
There are protobufs that protoc can't parse. When protoc --decode_raw
fails, it returns nothing to stdin, and writes "Failed to parse input."
to stderr. Before this commit, if protoc --decode_raw couldn't parse
the protobuf, the blank stdout output would get returned to the view;
with this commit stderr gets caught and returned to the view.
2013-04-21 12:46:37 -05:00
Jason A. Novak
52a4a8bbde
Continue work on documentation of adding views
2013-04-21 12:40:35 -05:00
Jason A. Novak
0ad505ed7d
Begin work on documenting adding a new view
2013-04-21 12:40:03 -05:00
Aldo Cortesi
61c794e08f
Merge pull request #107 from rouli/master
...
Adding remote TCP and SSL setup timestamps
2013-04-19 17:19:26 -07:00
Aldo Cortesi
793c41a5c4
Merge pull request #112 from hamstah/protobuf-view
...
Adds a new view for protocol buffers
2013-04-19 17:18:44 -07:00
Aldo Cortesi
7c4c6f5912
Merge pull request #113 from mhils/redirect_example
...
Add redirect example
2013-04-19 17:17:59 -07:00
Aldo Cortesi
7bd3e1d2a4
Merge pull request #116 from afh/pull/highlight_key_help
...
Correct display mode highlight keys
2013-04-19 17:17:32 -07:00
Alexis Hildebrandt
3d7f31b23d
Correct display mode highlight keys
...
Add html display mode to the help documentation.
Correct html and hex display mode highlight keys (help used 'h' for hex).
Correct json display mode highlight keys.
2013-04-16 23:54:34 +02:00
Maximilian Hils
7a7914463f
Add redirect example
2013-04-07 19:16:01 +02:00
Nicolas Esteves
d4cfbbb822
Adds a new view for protocol buffers
...
The view uses protoc from the Google protocol buffer
tools. If the tool isn't installed, the view isn't
shown.
Google protobuf repo:
https://code.google.com/p/protobuf/
2013-04-06 19:21:13 +01:00
Aldo Cortesi
51b775cfd4
Merge pull request #101 from eentzel/keep-blank-params
...
Keep blank URL parameters
2013-04-04 15:55:51 -07:00
Aldo Cortesi
ca9c60d2eb
Docs.
2013-04-05 11:55:28 +13:00
Aldo Cortesi
e3fd0e838d
Add a basic built-in web app.
2013-03-25 09:20:26 +13:00
Aldo Cortesi
98e4421a90
Trim docs.
2013-03-23 15:42:25 +13:00
Aldo Cortesi
800af34763
Fix crash on intercept.
...
Fixes #106
2013-03-23 14:40:03 +13:00
Rouli
c6bf28f3f7
adding tcp and ssl setup timestamps to get better resolution on flows performance
2013-03-19 18:21:52 +02:00
Rouli
c94aadcb0e
Merge remote-tracking branch 'upstream/master'
2013-03-18 14:24:13 +02:00
Aldo Cortesi
5c33f6784b
GPLv3 -> MIT
2013-03-18 08:37:42 +13:00
Aldo Cortesi
6614498744
Update styling, GameCenter highscore tutorial.
2013-03-18 08:36:56 +13:00
Aldo Cortesi
d2d3eb6490
Un-break unit tests. Tsk tsk.
2013-03-17 17:53:48 +13:00
Aldo Cortesi
e50da8164f
Enable --host option for mitmdump
2013-03-17 17:43:31 +13:00
Aldo Cortesi
0e993bec6f
Add the --host option, which uses the value in the Host header for dispaly URLs.
...
- Can be toggled with "o" then "h" in mitmproxy
- Useful for transparent mode
2013-03-17 17:37:54 +13:00
Aldo Cortesi
790ad468e4
Fix bug that caused mis-identification of some HTTPS connections in transparent mode.
2013-03-17 14:35:36 +13:00
Aldo Cortesi
87f76bb62b
Add filter to mitmdump examples.
2013-03-17 10:50:47 +13:00
Aldo Cortesi
55ff7e8387
Update Android cert install documents.
2013-03-17 10:44:42 +13:00
Aldo Cortesi
b6727bf7d2
Add instructions for installing the CA in the IOS Simulator.
2013-03-17 10:35:40 +13:00
Aldo Cortesi
bc1e457097
Update CONTRIBUTORS.
2013-03-17 10:12:46 +13:00
Aldo Cortesi
5b48bce585
Fix typo in setup.py
...
Fixes #105
2013-03-14 09:21:56 +13:00
Aldo Cortesi
cfb5ba89ce
Introduce a filtered flow writer, and use it in dump.py
...
Fixes #104
2013-03-14 09:19:43 +13:00
Aldo Cortesi
c34d1e3de6
Docs, examples.
2013-03-11 11:49:36 +13:00
Aldo Cortesi
5ceef16486
Expand "How mitmproxy works". Clean up some un-needed sections.
2013-03-10 17:09:40 +13:00
Aldo Cortesi
6a9683719c
Sync mitmproxy, pathod and netlib version numbers.
2013-03-05 09:11:22 +13:00
Aldo Cortesi
8a850dc8e6
Few more fuzzing commands, exclude console app from coverage.
2013-03-03 22:39:26 +13:00
Aldo Cortesi
cde66cd584
Fuzzing, and fixes for errors found with fuzzing.
2013-03-03 22:03:27 +13:00
Aldo Cortesi
8216801728
Three more errors turned up with fuzzing.
...
These are fixed in netlib, regression tests added here.
2013-03-03 15:14:49 +13:00
Aldo Cortesi
7835e0c2c7
Begin some simple fuzzing with pathod.
...
Finally doing what I started writing pathod for in the first place...
2013-03-03 14:56:56 +13:00
Aldo Cortesi
e608d10f45
Remove __slots__ to make it possible to inherit from Options classes.
2013-03-03 12:26:20 +13:00
Aldo Cortesi
75b5c97095
Revert "show current filepath in status bar"
...
This reverts commit bf8367d6cf .
This just doesn't work. We need a better solution, probably in the next release.
2013-03-03 12:18:19 +13:00
Aldo Cortesi
2465b8a376
100% unit test coverage on proxy.py. Hallelujah!
2013-03-03 12:13:33 +13:00
Aldo Cortesi
d5876a12ed
Unit test proxy option parsing.
2013-03-03 11:58:57 +13:00
Aldo Cortesi
33cdd5d083
Unit test proxy auth.
2013-03-03 11:04:33 +13:00
Aldo Cortesi
5c6587d4a8
Move HTTP auth module to netlib.
2013-03-03 10:37:06 +13:00
Aldo Cortesi
bbdb59b9f9
Test controller message default reply.
2013-03-03 09:33:22 +13:00
Aldo Cortesi
c20d1d7d32
Extend unit tests for proxy.py to some tricky cases.
2013-03-02 22:42:36 +13:00
Aldo Cortesi
415844511c
Test cert generation errors.
2013-03-02 16:59:16 +13:00
Aldo Cortesi
09c73019c5
Remove human_curl requirement for the test suite - it's pathoc all the way, baby.
2013-03-02 15:09:22 +13:00
Aldo Cortesi
a95d78438c
Test SNI for transparent mode.
2013-03-02 15:06:49 +13:00
Aldo Cortesi
10db82e9a0
Test SNI for ordinary proxy connections.
2013-03-02 14:52:05 +13:00
Aldo Cortesi
ba674ad551
New SNI handling mechanism.
2013-03-01 09:05:39 +13:00
Rouli
b6cae7cd2d
Merge remote-tracking branch 'upstream/master'
2013-02-28 13:28:57 +02:00
Rouli
35f36481b9
adding __str__ to make export to har nicer
2013-02-28 13:28:42 +02:00
Aldo Cortesi
b077189dd5
Test cert file specification, spruce up server testing truss a bit.
2013-02-24 22:52:59 +13:00
Aldo Cortesi
0257815141
Significantly simplify server connection handling, and test.
2013-02-24 22:24:21 +13:00
Aldo Cortesi
705559d65e
Refactor to prepare for SNI fixes.
2013-02-24 17:35:24 +13:00
Aldo Cortesi
d0639e8925
Handle server disconnects better.
...
Server connections can be closed for legitimate reasons, like timeouts. If
we've already pumped data over a server connection, we reconnect on error. If
not, we treat it as a legitimate error and pass it on to the client.
Fixes #85
2013-02-24 14:04:56 +13:00
Aldo Cortesi
64285140f9
Test a difficult-to-trigger IOError, fix cert generation in test suite.
2013-02-24 11:34:01 +13:00
Aldo Cortesi
51de9f9fdf
Test client connection close conditions.
2013-02-24 10:51:14 +13:00
Aldo Cortesi
05e4d4468e
Test request and response kill functionality.
2013-02-23 21:59:25 +13:00
Aldo Cortesi
269780c577
Unit test dummy response functions.
2013-02-23 16:34:59 +13:00
Aldo Cortesi
f203881b0d
Remove redundant clause in controller.Reply
2013-02-23 14:13:43 +13:00
Aldo Cortesi
7800b7c910
Refactor proxy core communications to be clearer.
2013-02-23 14:10:27 +13:00
Aldo Cortesi
aaf892e3af
Significantly refactor the master/slave message passing interface.
2013-02-17 12:42:48 +13:00
Aldo Cortesi
1ccb2c5dea
Test WSGI app calling.
...
- Factor out test servers into a separate file
- Adjust docs to note new Flask dependency
2013-02-16 16:46:16 +13:00
Eric Entzel
6bcf29c0ed
Keep blank URL parameters
...
TODO: This should probably be configurable
2013-02-11 13:22:25 +11:00
Aldo Cortesi
782bbee8c0
Unit tests for ServerConnectionPool
2013-01-29 11:35:57 +13:00
Aldo Cortesi
2aa175a6ca
Stub implementation of a server connection pool.
2013-01-29 10:55:19 +13:00
Aldo Cortesi
53792a5a28
Beef up unit tests for HAR utility functions - flow.py coverage now 100%.
2013-01-29 10:41:45 +13:00
Aldo Cortesi
6f157d936f
Merge pull request #99 from rouli/master
...
Adding helper functions to make HAR export easier
2013-01-28 13:28:49 -08:00
Rouli
330fbfe8cc
adding helper functions to make HAR export easier
2013-01-28 17:37:25 +02:00
Aldo Cortesi
a74ca40660
Unravel enormously long read_request into three distinct methods.
2013-01-28 22:26:25 +13:00
Aldo Cortesi
57f01ffb07
Test suite, remove extraneous code.
2013-01-28 21:59:03 +13:00
Aldo Cortesi
1e0bab65e3
Merge pull request #98 from pplante/master
...
Explicit file flush in mitmdump
2013-01-25 18:58:06 -08:00
phil plante
68952d579e
Force flush of file content in dump
...
The dump file would be end up corrupted sometimes when working with mitmdump in a VM. Adding an explicit flush seems to have resolved the file sync issues.
2013-01-24 20:46:50 -08:00
Aldo Cortesi
25cb9471f0
Add tests for client certificate support.
2013-01-20 22:39:28 +13:00
Aldo Cortesi
294bca139c
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2013-01-19 17:07:27 +13:00
Aldo Cortesi
935af538f1
Merge pull request #94 from cjneasbi/master
...
Fixed a bug in format_flow in common.py.
2013-01-18 20:07:05 -08:00
Chris Neasbitt
e9264a8253
Fixed a bug in format_flow in common.py. Changed the reference from timestamp to timestamp_start.
2013-01-18 23:04:11 -05:00
Aldo Cortesi
6600c589ab
Rudimentary testing for client certs.
2013-01-18 17:08:30 +13:00
Aldo Cortesi
0f406e9daa
Speed up the test suite by reducing time sleeping in tests.
2013-01-18 14:52:19 +13:00
Aldo Cortesi
7a79eeb143
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
...
Conflicts:
test/test_server.py
2013-01-18 14:50:31 +13:00
Aldo Cortesi
8c6f1dd36b
Merge pull request #93 from rouli/master
...
More precise timestamps
2013-01-17 17:47:35 -08:00
Rouli
6212b69fb4
fixes due to merge with master
2013-01-17 17:36:18 +02:00
Rouli
446f9f0a0f
Merge remote-tracking branch 'upstream/master'
2013-01-17 17:33:29 +02:00
Rouli
20fa6a3083
changing requests and responses to have two timestamps, one marking their initiation, and the other their complete
2013-01-17 17:32:56 +02:00
Aldo Cortesi
280dd94198
Merge pull request #91 from termie/patch-1
...
fix some syntax / formatting in the docs
2013-01-14 09:58:15 -08:00
Aldo Cortesi
fa3dff268b
Merge pull request #92 from pielgrzym/injector
...
New example - standalone proxy injecting iframes into responses
2013-01-14 09:55:25 -08:00
Jakub Nawalaniec
a658dba410
New example - standalone proxy injecting iframes into responses
2013-01-13 20:54:16 +01:00
Andy Smith
fb7526fc4f
fix some syntax / formatting in the docs
2013-01-11 15:05:40 -06:00
Aldo Cortesi
d0ee4d60d0
Unit tests and minor code refactoring for ServerConnection.
2013-01-05 19:44:12 -08:00
Aldo Cortesi
060e3198bc
Remove cert_wait_time flag.
...
We now cater for this by generating certs with a commencement date an hour in
the past in netlib.
2013-01-06 01:18:47 +13:00
Aldo Cortesi
891c441a6d
Use new netlib certificate store implementation.
2013-01-06 01:16:08 +13:00
Aldo Cortesi
9cfc785cd3
Unit test love - 100% for flow.py, dump.py
2013-01-05 21:56:33 +13:00
Aldo Cortesi
46ab6ed491
Minor cleanups of proxy request handling.
2013-01-04 14:19:32 +13:00
Aldo Cortesi
f5e49ef598
First draft of "How mitmproxy works", a complete guide to the mechanics of the proxy process
2013-01-03 17:26:59 +13:00
Aldo Cortesi
04552375a9
Docs: remove proxydroid instructions from Android.
...
The "official way" is now to just use transparent mode.
2013-01-03 08:30:22 +13:00
Aldo Cortesi
101f92b256
Docs: move features into their own directory
2013-01-03 08:25:24 +13:00
Aldo Cortesi
f578d68e55
Docs: Set Headers
2013-01-03 08:20:51 +13:00
Aldo Cortesi
8e6fabd69a
Docs - features.
2013-01-02 21:57:39 +13:00
Aldo Cortesi
09f664cdea
Refactor proxy auth a bit
...
- Remove authentication scheme option. We only support basic at the moment -
we'll add the option back when we diversify.
- Add some meta variables to make printout nicer
2013-01-02 17:35:44 +13:00
Aldo Cortesi
7b3d3dc85e
Documentation, setup.py updates, styling.
2013-01-02 14:02:41 +13:00
Aldo Cortesi
e93b343ac4
Docs and Readme
...
- Don't keep a full duplicate readme just for pypi. Pypi really needs to
learn to read markdown.
- Style and content adjustments
2013-01-01 16:35:52 +13:00
Aldo Cortesi
8b768983a7
Preliminary changelog.
2013-01-01 15:56:02 +13:00
Aldo Cortesi
6f1fa30bc6
Docs: make nav sidebar work
2013-01-01 15:30:02 +13:00
Aldo Cortesi
8b66681929
Much-needed facelift for the docs.
2013-01-01 14:09:43 +13:00
Aldo Cortesi
e42136a6ef
Better error handling for transparent mode remote address resolution.
2013-01-01 11:24:11 +13:00
Aldo Cortesi
e2dc7ba09d
First draft of OSX transparent proxy mode.
2013-01-01 11:13:56 +13:00
Aldo Cortesi
5347cb9c26
More work on proxy auth
...
- Strip auth header if auth succeeds, so it's not passed upstream
- Actually use realm specification to BasicProxyAuth, and make it mandatory
- Cleanups and unit tests
2012-12-31 10:56:44 +13:00
Aldo Cortesi
3b84111493
Test and robustify BasicProxyAuth.parse_auth_value
...
- This is partly in preparation for moving the implementation to netlib
- Also add an unparse_auth_value for testing (and use in pathod once the move is done)
2012-12-31 10:34:25 +13:00
Aldo Cortesi
018c229ae4
Start solidifying proxy authentication
...
- Add a unit test file
- Remove some extraneous methods
- Change the auth API to make the authenticate method take a header object.
2012-12-31 09:15:56 +13:00
Aldo Cortesi
cfab272321
Merge pull request #83 from rouli/master
...
Adding some basic proxy authentication code
2012-12-30 11:27:04 -08:00
israel
440a9f6bda
adding some simple authetication code to limit proxy access
2012-12-30 01:41:58 -08:00
israel
935505bc4f
adding some simple authetication code to limit proxy access
2012-12-30 01:24:30 -08:00
Aldo Cortesi
3c8dcf8808
Merge pull request #82 from kanzure/show-filepath-in-statusbar
...
Show current filepath in status bar
2012-12-30 00:49:45 -08:00
Aldo Cortesi
d16b3ed8fa
Merge pull request #81 from kanzure/issue/79
...
Fix external viewer function by using shlex
2012-12-30 00:43:57 -08:00
Bryan Bishop
bf8367d6cf
show current filepath in status bar
...
Showing the filename is useful when looking at multiple .mitm files
simultaneously.
2012-12-26 22:14:39 -06:00
Bryan Bishop
4d250095cb
fix external viewer using shlex
...
This makes spawn_external_viewer not crash when $EDITOR or $PAGER have
spaces or multiple arguments.
In addition, spawn_external_viewer now chmods the file to read-only to
remind users who use only an $EDITOR that this function does not read
the file when the user returns.
Also, some of the redundant exception case handling for editing has been
consolidated.
fixes #79
2012-12-22 18:26:15 -06:00
Aldo Cortesi
0451eb193e
Merge pull request #75 from kanzure/whitespacefixing
...
Make trailing whitespace more consistent
2012-12-11 11:42:36 -08:00
Bryan Bishop
1c6139e013
remove trailing whitespace
2012-12-09 15:57:11 -06:00
Aldo Cortesi
9f0db83c48
Merge pull request #74 from kanzure/editexception
...
Show an error when $EDITOR/$PAGER are unset.
2012-12-05 14:32:14 -08:00
Bryan Bishop
505da188eb
Show an error when $EDITOR/$PAGER are unset.
...
This catches an exception that otherwise crashes mitmproxy.
fixes cortesi/mitmproxy#71
2012-12-05 12:58:29 -08:00
Aldo Cortesi
09c29e894e
Fix READMEs: we don't support Python 2.6
...
Fixes #70
2012-11-30 08:18:15 +13:00
Aldo Cortesi
8c976ac7f0
Substantially rewrite AMF decoding.
...
This is tricky, but we should now handle a lot more corner-cases.
2012-11-26 13:25:07 +13:00
Aldo Cortesi
64bf97bfb0
Merge pull request #69 from mat128/master
...
PIL imports -- packaging
2012-11-24 16:28:44 -08:00
Mathieu Mitchell
15c367ffb4
Workaround for PIL's ambiguious import method and/or easy_install PIL packaging problem.
...
PIL documents two different way to import it's modules:
* import Image (http://www.pythonware.com/library/pil/handbook/introduction.htm )
* from PIL import Image (http://www.pythonware.com/library/pil/handbook/image.htm )
The same problem was noted in Django at https://code.djangoproject.com/ticket/6054
2012-11-23 11:48:24 -05:00
Aldo Cortesi
75ce5772ea
We now require Urwid 1.1 or newer.
2012-11-23 15:45:19 +13:00
Aldo Cortesi
626fc39804
Move eventlog to new Urwid container API.
2012-11-23 15:44:43 +13:00
Aldo Cortesi
57d6650e8e
Urwid 1.1 compatibility.
2012-10-29 09:30:59 +13:00
Aldo Cortesi
68f1000e42
Improve error reporting for one-shot scripts.
2012-10-11 11:12:06 +13:00
Aldo Cortesi
0d59fd7e01
Move cleanBin and hexdump into netutils.
2012-09-24 11:21:12 +12:00
Aldo Cortesi
21f74efa10
Stub out ctypes structures for OSX transparent mode.
2012-09-17 11:05:20 +12:00
Aldo Cortesi
e039940f49
Doc stubs.
2012-09-17 11:04:57 +12:00
Aldo Cortesi
3f9263a57a
Doc reorg.
2012-09-16 15:35:58 +12:00
Aldo Cortesi
d115b5ae70
Expand Flow.match to accept either a string or a compiled filter expression.
2012-09-14 09:41:01 +12:00
Aldo Cortesi
54cee9db7f
Catch a potential exception on connection finalization.
2012-09-14 09:40:13 +12:00
Aldo Cortesi
b7d89f6919
Don't run replace or header hooks on error.
2012-09-02 12:57:49 +12:00
Aldo Cortesi
5630d3f660
Add help entry for H global header shortcut.
2012-09-02 11:53:00 +12:00
Aldo Cortesi
9c009a872e
Add U shortcut to add user-agent strings to global Headers editor.
2012-09-02 11:50:17 +12:00
Aldo Cortesi
3fc9af63c1
Fix a crash when re-editing a path prompt after an error.
2012-08-31 13:41:08 +12:00
Aldo Cortesi
26cefc95e8
Make grid editor file reading more robust.
2012-08-31 13:33:18 +12:00
Aldo Cortesi
a33e90f081
Add a shortcut to header editor to add standard User-Agent strings.
2012-08-31 13:28:04 +12:00
Aldo Cortesi
71ae158d7b
Display "No Content" instead of a parse error when there is no content.
2012-08-30 12:51:04 +12:00
Aldo Cortesi
a2f9ca1d4d
Add application/javascript to ~a filter asset matcher.
2012-08-30 12:42:31 +12:00
Aldo Cortesi
38ddbcc314
Add a snippet to GridEditor help text explaining that we're using escaped strings.
2012-08-25 13:29:05 +12:00
Aldo Cortesi
87463049f1
Add a "R" shortcut to GridEditor, letting the user read unescaped data from file.
2012-08-25 13:25:59 +12:00
Aldo Cortesi
514e19b172
Do away with explicit encodings, and display an error message for invalid values.
2012-08-25 13:13:16 +12:00
Aldo Cortesi
c6d1fe9e59
Use Python-style escaped strings in GridEditor.
2012-08-25 12:54:34 +12:00
Aldo Cortesi
82893ffae2
Add an "r" shortcut in grid editors to read value from file.
2012-08-25 12:21:45 +12:00
Aldo Cortesi
3787f8befb
Add a graphical editor for path components (e -> p shortcut from request view screen).
2012-08-19 13:15:54 +12:00
Aldo Cortesi
a77ccc406d
Getter and setter for path component on Requests.
2012-08-19 13:03:21 +12:00
Aldo Cortesi
60659a89c3
Little bit of love for the unit tests.
2012-08-19 00:22:42 +12:00
Aldo Cortesi
1b7990897e
Command-line options for header setting.
2012-08-19 00:14:16 +12:00
Aldo Cortesi
3e96015e61
Add SetHeaders, analogous to ReplaceHooks, with a graphical editor in mitmproxy (H shortcut).
...
SetHeaders defines headers that are set on flows, based on a matching pattern.
Existing headers are over-ridden.
2012-08-18 23:41:04 +12:00
Aldo Cortesi
53e453f72e
Use the new ODict get_first convenience function in a bunch of places.
2012-08-18 18:14:30 +12:00
Aldo Cortesi
15e234558d
Further content view cleaups.
2012-08-18 17:51:34 +12:00
Aldo Cortesi
b70e91bbd4
Send tracebacks from content viewers to event log.
...
Also, 100% test coverage for content viewers.
2012-08-18 17:42:40 +12:00
Aldo Cortesi
e8553f966f
Further simplifcation and testing of contentviews.
2012-08-18 17:29:29 +12:00
Aldo Cortesi
11c63dcb9f
Huge cleanup of content viewers.
2012-08-18 17:08:17 +12:00
Aldo Cortesi
5c80450ce7
Merge pull request #62 from slam/amf
...
Optional AMF decoding support
2012-08-17 19:50:50 -07:00
Sahn Lam
3189d144a5
Optional AMF decoding support
...
If PyAMF is installed, enable AMF decoding.
2012-08-17 18:45:26 -07:00
Aldo Cortesi
a66d018363
Fix unit tests after argparse conversion.
2012-08-18 10:27:31 +12:00
Aldo Cortesi
d88d72e50b
Merge pull request #61 from mhils/upgrade_to_argparse
...
Replace optparse with argparse
2012-08-17 15:24:00 -07:00
Maximilian Hils
b0566b9d4c
add dummy cert dir
2012-08-17 19:13:56 +02:00
Maximilian Hils
ed389d8f05
use argparse instead of optparse
2012-08-17 19:11:59 +02:00
Aldo Cortesi
bbaa8bdba5
Add an HTML text outline view.
...
Uses html2text, from here:
https://github.com/aaronsw/html2text
2012-08-18 01:37:30 +12:00
Aldo Cortesi
6200bfa13e
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
2012-08-18 00:24:14 +12:00
Aldo Cortesi
1bfe847a84
Stop server playback after current playback buffer is exhausted.
2012-08-18 00:23:41 +12:00
Aldo Cortesi
20b270ae9a
Server replay from current buffer.
2012-08-18 00:13:04 +12:00
Aldo Cortesi
111660854d
Merge pull request #60 from jimlloyd-st/preserve_dummy_certs
...
Preserve the genenerated dummy certs directory
2012-08-15 15:35:37 -07:00
Aldo Cortesi
76f2e6c9a4
Merge branch 'certdir'
2012-08-16 10:33:59 +12:00
Jim Lloyd
8b4b962643
Preserve the genenerated dummy certs directory
...
If --dummy-certs=CERTSDIR is provided, use CERTSDIR as the location
for generating/finding the dummy certs. And in this case, preserve
the CERTSDIR directory on exit.
2012-08-14 15:11:15 -07:00
Aldo Cortesi
1b225f2a55
Merge pull request #57 from cjneasbi/master
...
Updated readme docs with new PyOpenSSL dependency.
2012-08-10 20:41:26 -07:00
Chris Neasbitt
77f612eb61
Updated readme files with new PyOpenSSL 0.13 dependency.
2012-08-08 15:38:02 -04:00
Jim Lloyd
0ef18a7cba
Adds --dummy-certs option to specify certdir
...
If --dummy-certs=CERTSDIR is provided, use CERTSDIR as the location
for generating/finding the dummy certs. And in this case, preserve
the CERTSDIR directory on exit.
2012-08-06 14:09:35 -07:00
Aldo Cortesi
32ad26f8bf
Add a size() method to flow.Request and flow.Response.
2012-08-04 13:18:05 +12:00
Rob Wills
8e68426ad6
Return from Flow View behaviour
...
Following focus trumps the re-focusing the "current" (or just-viewed) flow.
2012-08-02 00:06:34 -07:00
Rob Wills
c985e22196
Press "F" to Follow
...
Following of the flow list
- ConsoleState now has a follow_focus property
-- when True it will cause focus to follow added flows
- ConsoleMaster implements toggle_follow_flows()
-- when enabling follow, also jumps to most recent flow
- StatusBar reports follow_focus state
-- adds "following" to option list when true
- Added "F" to FlowList keys
-- implementation requests ConsoleMaster to toggle_follow_flows()
2012-08-01 23:57:56 -07:00
Aldo Cortesi
87d05a95ff
Handle invalid headers.
2012-07-30 12:54:50 +12:00
Aldo Cortesi
bb124e23b2
Prevent mitmproxy from treating logged info as urwid markup.
2012-07-27 10:08:10 +12:00
Aldo Cortesi
47b5fd666d
Fix mitmproxy file reading.
2012-07-27 02:13:21 +12:00
Aldo Cortesi
31a092f6b4
Minor refactoring. Make stop_stream also close the associated file descriptor.
2012-07-27 00:19:18 +12:00
Aldo Cortesi
f93a621856
Only log real errors in WSGI apps.
2012-07-24 16:18:22 +12:00
Aldo Cortesi
84bffad3fc
Fix flow read unit test to accomodate more tolerant dumpfile parsing.
2012-07-24 15:30:52 +12:00
Aldo Cortesi
b4e9e55c34
Be more tolerant of corrupted or truncated flows.
...
We load as far as possible. mitmproxy will only terminate if it was not able to
recover any flows. mitmdump will stop loading as soon as an error is
encountered, but not exit with an error.
2012-07-24 15:15:41 +12:00
Aldo Cortesi
a5bf9d3eb3
Merge pull request #54 from mhils/fix_r_option
...
fix -r option, read file in binary mode
2012-07-23 18:47:03 -07:00
Maximilian Hils
c643234c98
fix -r option, read file in binary mode
2012-07-24 03:11:28 +02:00
Aldo Cortesi
4ce309107a
Merge pull request #52 from cjneasbi/master
...
Fixed a bug causing an AttributeError when request is set to false but response not None in ProxyHandler.handle_request
2012-07-23 15:34:25 -07:00
Chris Neasbitt
525a8f6a16
Fixed a bug causing an AttributeError when request is set to false but response not None in ProxyHandler.handle_request
2012-07-17 13:24:15 -04:00
Aldo Cortesi
2be31b726a
Merge pull request #51 from dnet/master
...
Test cleanup and missing dependencies
2012-07-16 16:54:09 -07:00
András Veres-Szentkirályi
1a26f8215d
removed assigned but unread variables
2012-07-15 22:42:59 +02:00
András Veres-Szentkirályi
da496669c2
removed unused imports
2012-07-15 22:42:45 +02:00
András Veres-Szentkirályi
013ca2a00a
added testing dependencies human_curl and pathod
2012-07-15 22:42:16 +02:00
András Veres-Szentkirályi
63324e0d52
added netlib dependency
2012-07-15 22:42:07 +02:00
Aldo Cortesi
e4079aa746
Add an ~a filter expression, matching an asset content type in responses.
...
Asset content types are Javascript, images, Flash and CSS. This is useful
because doing a quick "!~a" while auditing an app will filter out the majority
of the static asset cruft, letting you focus on what matters.
2012-07-14 16:55:21 +12:00
Aldo Cortesi
150814f6a8
Jump back to correct flow when limit is applied.
2012-07-14 15:22:44 +12:00
Aldo Cortesi
a44a76a7da
Merge branch 'master' of github.com:cortesi/mitmproxy
2012-07-11 07:17:20 +12:00
Aldo Cortesi
1d09a558a7
Fix a subtle termination condition when there's an error in a WSGI app.
2012-07-11 07:16:06 +12:00
Aldo Cortesi
01b8b0d876
Refine semantics of replay_request method.
2012-07-10 23:29:33 +12:00
Aldo Cortesi
04d9ec8c3c
Make WSGI apps work in transparent mode.
2012-07-10 15:53:53 +12:00
Aldo Cortesi
79af9e89c4
Test replay corner cases. Fix discovered bugs.
2012-07-09 11:18:03 +12:00
Aldo Cortesi
aab45078ad
Unit test request replay thread.
...
This is a small patch, but is the culmination of lots of work: we can now unit
test the deep innards of mitmproxy, with coverage. There's a lot more to come
in this vein.
2012-07-09 11:03:55 +12:00
Aldo Cortesi
e49c920d16
Refator server tests to use flow.FlowMaster and flow.State
2012-07-09 10:58:28 +12:00
Aldo Cortesi
3749d52b66
Make mitmproxy "W" over-write, not append.
...
The -w options in mitmdump and mitproxy should do the same thing. Append can
have unexpected consequences if the existing file is not a mitmdump.
2012-07-09 10:28:01 +12:00
Aldo Cortesi
729fd9301f
Use FlowMaster stream from mitmdump.
2012-07-09 10:26:45 +12:00
Aldo Cortesi
bbd9acf551
Use FlowMaster streaming for "W" in mitmproxy.
2012-07-09 10:22:14 +12:00
Aldo Cortesi
572e8a4962
Add streaming to FlowMaster
2012-07-09 10:18:37 +12:00
Aldo Cortesi
4b6fdc92dc
Remove ODict tests. ODict is now in netlib.
2012-07-09 09:54:15 +12:00
Aldo Cortesi
097b566e54
Handle new netlib.tcp.NetLibDisconnect exception.
2012-07-08 23:49:44 +12:00
Aldo Cortesi
ceb12438b6
Fix minor error in filter help.
2012-07-06 22:33:09 +12:00
Aldo Cortesi
d02bcade3a
Add a domain match filter (~d regex)
2012-07-06 22:21:44 +12:00
Aldo Cortesi
c4426952ad
Protect against exceptions thrown by third-party view libraries.
2012-07-06 15:43:33 +12:00
Aldo Cortesi
a7e64a1a03
mitmproxy: "W" shortcut key streams flows to file as responses arrive.
2012-07-06 14:41:10 +12:00
Aldo Cortesi
de294da2a7
Amalgamte saving "this flow" and "all flows" into a single keyboard shortcut.
2012-07-06 14:10:58 +12:00
Aldo Cortesi
40d63c9e7a
Fix error when viewing extended details of SSL flow.
2012-07-06 13:33:55 +12:00
Aldo Cortesi
aa708a2d28
Fix error when serializing reverted SSL flows.
2012-07-05 11:52:56 +12:00
Aldo Cortesi
4acc9aca27
Firm up handling of Unicode data
...
- Modify GridEditor to know about the destination encoding of data
- Ensure that get_url always returns ASCII
2012-07-05 11:27:40 +12:00
Aldo Cortesi
837fcc65f5
Make upstream-cert the default. There's now a --no-upstream-cert option to turn it off.
2012-07-03 22:56:25 +12:00
Aldo Cortesi
fe86194cc2
Fix Python coredump (!!) on SNI IDNA decoding.
2012-07-03 22:55:02 +12:00
Aldo Cortesi
9c30e2e86d
Correct handing of IDNA encoding of internationalized domain names.
...
- Use IDNA encoding for hostnames gleaned by upstream-cert sniffing
- Use IDNA decoding for URL display in mitmproxy and mitmdump.
2012-07-03 22:27:16 +12:00
Aldo Cortesi
ef986202ee
Make server version configurable.
2012-07-03 14:12:52 +12:00
Aldo Cortesi
35d5da9f11
Move palette option getting/setting to mitmproxy.
...
Unbreaks mitmdump.
2012-07-03 13:42:09 +12:00
Aldo Cortesi
c664801d7d
Merge pull request #48 from afh/pull/palette-option
...
Pull/palette option
2012-07-01 14:04:43 -07:00
Alexis Hildebrandt
a695cf177d
Improve palette colors for headings
2012-07-01 09:03:20 +02:00
Alexis Hildebrandt
e41c84335d
Add --palette option to select color palette
2012-07-01 08:48:30 +02:00
Aldo Cortesi
90365e270e
Catch and handle SSL connection errors.
2012-07-01 12:10:32 +12:00
Aldo Cortesi
4e9d4e8ddd
Tweak upstream SNI.
2012-07-01 11:53:46 +12:00
Aldo Cortesi
9985cf5473
Flush after terminal output.
...
Makes behaviour on the shell less mysterious.
2012-07-01 09:37:03 +12:00
Aldo Cortesi
35fdd16940
Serialize address as part of ClientConnect objects.
...
This is a serialization format change!
2012-07-01 00:16:30 +12:00
Aldo Cortesi
d74a341e5d
Beef up logging substantially.
2012-07-01 00:15:03 +12:00
Aldo Cortesi
9fd4c37834
Merge pull request #46 from afh/pull/palettes
...
Color palettes
2012-06-29 21:06:20 -07:00
Aldo Cortesi
f070e4523a
Handle invalid data more gracefully.
...
Fixes #47
2012-06-30 15:59:42 +12:00
Aldo Cortesi
16e87a81ac
Stub out a transparent resolver for OSX.
2012-06-30 15:42:10 +12:00
Aldo Cortesi
38ebc81590
Add error when -T is passed on an unsupported platform.
2012-06-30 11:24:41 +12:00
Alexis Hildebrandt
0a0a6aae0b
Update title palette colors for light backgrounds
2012-06-29 16:58:28 +02:00
Alexis Hildebrandt
3b80e8dd02
Add palettes for Solarized terminal color profiles
2012-06-29 12:45:02 +02:00
Alexis Hildebrandt
e287eac462
Add light palette for light backgrounds
2012-06-29 12:44:57 +02:00
Alexis Hildebrandt
3060ad5575
Replace double quotes with single quotes
2012-06-29 09:25:29 +02:00
Aldo Cortesi
8cd140ef33
Add dependency reference for netlib.
2012-06-28 15:14:57 +12:00
Aldo Cortesi
47651b1ff2
Serialization and de-serialization of new cert format.
2012-06-28 14:29:15 +12:00
Aldo Cortesi
243e0efefc
Adjust for new get_remote_cert API.
2012-06-28 10:02:14 +12:00
Aldo Cortesi
35ee0c098f
Remove certutils from mitmproxy.
2012-06-27 16:43:33 +12:00
Aldo Cortesi
49dedd361c
Fix replay.
2012-06-27 16:22:25 +12:00
Aldo Cortesi
dd55a3e0b6
Use SNI-indicated hostname for cert generation when not using upstream certs.
2012-06-27 12:12:11 +12:00
Aldo Cortesi
ceef6ee6be
Enable SSL in transparent mode.
2012-06-26 23:51:38 +12:00
Aldo Cortesi
e6cdbefb3b
Add transparent mode platform module for Linux.
2012-06-26 20:49:34 +12:00
Aldo Cortesi
ad893ad134
Transparent proxy command-line flag stub.
2012-06-26 20:08:24 +12:00
Aldo Cortesi
8ccfb376f3
Remove -T and -U command-line options.
...
They're redundant convenience options, and we need more space.
2012-06-26 19:57:59 +12:00
Aldo Cortesi
015a74fd14
We no longer store scheme on ServerConnection.
2012-06-26 18:29:12 +12:00
Aldo Cortesi
52d0536d2c
Use new TCPClient.convert_to_ssl API.
2012-06-25 15:53:26 +12:00
Aldo Cortesi
e08f91c237
Port to explicit netlib connection API.
2012-06-25 11:37:12 +12:00
Aldo Cortesi
eac3b29d5f
Factor read_response out into netlib.
2012-06-24 22:01:11 +12:00
Aldo Cortesi
4db2abc01c
read_headers now returns an ODictCaseless object.
2012-06-24 21:49:59 +12:00
Aldo Cortesi
e7c75933e7
read_http_body -> read_http_body_request/response
2012-06-23 15:08:01 +12:00
Aldo Cortesi
874649f134
Adapt for API changes in netlib.
2012-06-23 14:06:34 +12:00
Aldo Cortesi
7cb242c168
Move wsgi to netlib.
2012-06-19 10:42:55 +12:00
Aldo Cortesi
1b1ccab8b7
Extract protocol and tcp server implementations into netlib.
2012-06-19 09:58:50 +12:00
Aldo Cortesi
7b9756f48e
Refactor protocol.py to remove dependence on flow and utils.
2012-06-17 10:52:39 +12:00
Aldo Cortesi
aae8a9959c
Pull out protocol components into protocol.py
2012-06-16 21:23:32 +12:00
Aldo Cortesi
d5a0099f49
Test suite and refactoring for netlib.
2012-06-16 16:22:51 +12:00
Aldo Cortesi
18a03c063e
Simplify netlib and improve API.
2012-06-16 13:53:24 +12:00
Aldo Cortesi
4e53f1ee90
Rename our tcpserver to netlib, expand to include client network functions.
2012-06-16 13:38:10 +12:00
Aldo Cortesi
8ae64337ed
Create our own TCP server class.
...
We're going to need more control for advanced features and speed, and we can
also ditch some of the idiocies in the SocketServer module.
2012-06-16 11:40:44 +12:00
Aldo Cortesi
c7952371b7
Fix a problem in ODictCaseless that could cause duplicate headers.
2012-06-15 17:40:08 +12:00
Aldo Cortesi
8ae3270807
Basic transparent mode.
2012-06-15 09:47:04 +12:00
Aldo Cortesi
a9495dc02f
Refactor test suite to make room for transparent mode tests.
2012-06-15 09:20:10 +12:00
Aldo Cortesi
176d819559
Move server comms to OpenSSL.
2012-06-14 21:57:55 +12:00
Aldo Cortesi
8dabf88ae5
Remove ability to specify SSL ciphers.
...
We can re-introduce this if there's demand - the feature needs a bit more thought.
2012-06-14 15:29:54 +12:00
Aldo Cortesi
8a9352b3f7
First draft conversion of server to PyOpenSSL.
2012-06-13 18:16:47 +12:00
Aldo Cortesi
d032504b17
Fix an exception when replaying a flow with no response.
2012-06-10 17:10:43 +12:00
Aldo Cortesi
d60fa9918b
Localise client connection object manipulation.
...
This simplifies the call signature for a bunch of functions.
2012-06-10 16:49:59 +12:00
Aldo Cortesi
1f659948cd
Refactor request processing at mitmproxy's core.
...
Gradually cleaning up towards a state machine model.
2012-06-10 16:02:48 +12:00
Aldo Cortesi
236447c65f
Pass server HTTP version back to clients.
2012-06-10 13:29:09 +12:00
Aldo Cortesi
6ba5f0f35b
Add HTTP version to response objects.
...
Another change in the serialization format.
2012-06-10 13:27:43 +12:00
Aldo Cortesi
52779d9db9
Refactoring of proxy.py
...
- Correctly pass HTTP request version on to upstream servers
- Adjust tests not to hang due to a pathod response with no content-length
2012-06-10 13:17:18 +12:00
Aldo Cortesi
55ddf853cd
Add HTTP version to flow.Request
...
This is a serialization format change, that makes us incompatible with previous
versions.
2012-06-10 10:46:22 +12:00
Aldo Cortesi
a3b47e0cb5
Consolidate HTTP major and minor versions into a single variable.
2012-06-10 10:31:04 +12:00
Aldo Cortesi
8254187bf3
Add proxy.should_connection_close, and strip out unused code.
2012-06-10 10:10:46 +12:00
Aldo Cortesi
0c458e2f1a
Refactor ServerConnection API.
2012-06-10 08:13:50 +12:00
Aldo Cortesi
987f443b5d
Ignore incorrectnesses in traffic if they don't affect us.
2012-06-09 21:45:22 +12:00
Aldo Cortesi
9130cd63d3
Significant cleanup of proxy internals.
...
Dispense with the loose parsing of client requests that we had before. We now
have service modes ("proxy" and "reverse proxy" for now), and we only accept
requests that are appropriate for the mode we're in.
2012-06-09 21:27:43 +12:00
Aldo Cortesi
18c1b44475
Reverse proxy testing.
2012-06-09 20:41:28 +12:00
Aldo Cortesi
05492baf8d
Move from requests to human_curl.
...
It turns out that _none_ of the Python stdlib or anything that relies on it
supports CONNECT through a proxy. Beggars belief, but there you go.
2012-06-09 16:17:51 +12:00
Aldo Cortesi
22192d1a46
Nose mopup: docs, no cover pragmas, a few missing path specs.
2012-06-09 13:55:55 +12:00
Aldo Cortesi
b7b357528c
Port mitmproxy test suite entirely to nose.
2012-06-09 13:42:43 +12:00
Aldo Cortesi
a63240a848
Move pathod service testing truss to nose.
2012-06-09 12:13:01 +12:00
Aldo Cortesi
e78b48ab20
Start conversion to nose.
...
RIP pry.
2012-06-09 10:57:00 +12:00
Aldo Cortesi
7a312546f3
Shift mitmproxy test suite over to pathod.
...
This opens a whole brave new world of testing for mitmproxy.
2012-06-08 10:00:16 +12:00
Aldo Cortesi
903038b8de
Merge branch 'master' into develop
2012-06-07 08:44:36 +12:00
Maximilian Hils
2a194f98ec
add missing parser.add_option_group(group)
2012-06-06 01:26:19 +02:00
Aldo Cortesi
e9109812e1
Split parsing of intial line into separate protocols.
2012-06-03 06:04:57 -07:00
Aldo Cortesi
0a25c2263d
Factor out conversion to SSL connection.
2012-06-03 01:54:11 -07:00
Aldo Cortesi
491f9bdcee
Add unit tests for console/help.py
2012-06-03 01:11:07 -07:00
Aldo Cortesi
b36e37f9da
Fix a traceback that sometimes occurred when an invalid limit was entered.
2012-06-02 18:41:44 -07:00
Aldo Cortesi
f9b04b84cd
Silence a (rare) KeyboardInterrupt exception in mitmproxy.
2012-05-31 21:18:41 -07:00
Aldo Cortesi
ee2950cd19
Fix a crashing bug when replacing text in a flow with unicode bodies.
2012-05-25 18:10:31 -07:00
Aldo Cortesi
a0c63b6108
Fix crash when adding a Response when none existed before.
2012-05-24 16:56:18 -07:00
Paul
5f8855df55
Added a switch to send client certificates to hosts
2012-05-23 23:09:03 +02:00
Aldo Cortesi
08d6da2941
Fix AttributeError when shutting down a writing mitmdump.
2012-05-17 09:47:04 +12:00
Aldo Cortesi
0a90a3eaba
Refuse to replay a request with missing content.
2012-05-16 18:24:32 +12:00
Aldo Cortesi
b3901a7652
Add interface to mark content missing, and extend UI to indicate when content is missing.
2012-05-16 18:16:44 +12:00
Aldo Cortesi
0c2d894cea
Add the ability to flag content as missing in a request or a response.
...
We'll use this in a number of situations. First, we'll soon have response
streaming that directly pipes responses to clients. These will be content-less
from mitmproxy's perspective. Second, we'll be growing new events that fire
after headers are received, but before content is read.
2012-05-16 15:42:58 +12:00
Aldo Cortesi
12b8a43dbe
Bump version number.
2012-05-11 09:52:17 +12:00
Aldo Cortesi
d42fdc4ff6
Include a formatted exception in WSGI error page.
2012-05-07 21:34:01 +12:00
Aldo Cortesi
116fcfcf7a
Internal error page for WSGI.
...
Also, 100% test coverage.
2012-04-27 15:56:42 +12:00
Aldo Cortesi
2fe54d17df
Don't specify Content-Length on empty content.
...
Sometimes, mitmproxy would specify a content-length header value of 0 when
content was empty. Some rare servers (like piratebay.org) would barf on this.
2012-04-25 14:38:20 +12:00
Aldo Cortesi
efa98d514c
Docs and comments for WSGI app example.
2012-04-24 14:58:18 +12:00
Aldo Cortesi
c8d2b2594b
Add a WSGI adapter that lets us serve a WSGI app out of mitmproxy.
...
This commit adds:
- A WSGI App adapter for mitmproxy
- An app registry in the proxy instance that lets us link WSGI apps with
(hostname, port) combinations.
- Fixes for a number of bugs discovered while creating this feature.
2012-04-24 14:52:29 +12:00
Aldo Cortesi
51789228be
Fix PKCS12 cert generation.
2012-04-15 12:48:07 +12:00
Aldo Cortesi
2162ce1ae3
Shut mitmdump down gracefully on SIGTERM.
...
This is a hack at the moment, but needs must.
2012-04-15 10:35:19 +12:00
Aldo Cortesi
e5c076ab4e
Note dependency on PyASN1 > 0.1.2 in setup.py
2012-04-13 05:17:12 +12:00
Aldo Cortesi
8c96264304
Serialized data version check.
2012-04-11 10:10:53 +12:00