From a8cb8a01a30ad1432ff5d25ecc183aa54c72815a Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 10 May 2015 20:29:34 +0200 Subject: docs: add parantheses for ignore parameters. --- doc-src/features/passthrough.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc-src/features') diff --git a/doc-src/features/passthrough.html b/doc-src/features/passthrough.html index 15e36434..3da8692c 100644 --- a/doc-src/features/passthrough.html +++ b/doc-src/features/passthrough.html @@ -62,13 +62,13 @@ Here are some other examples for ignore patterns: # Exempt traffic from the iOS App Store (the regex is lax, but usually just works): --ignore apple.com:443 # "Correct" version without false-positives: ---ignore ^(.+\.)?apple\.com:443$ +--ignore "^(.+\.)?apple\.com:443$" # Ignore example.com, but not its subdomains: ---ignore ^example.com: +--ignore "^example.com:" # Ignore everything but example.com and mitmproxy.org: ---ignore ^(?!example\.com)(?!mitmproxy\.org) +--ignore "^(?!example\.com)(?!mitmproxy\.org)" # Transparent mode: --ignore 17\.178\.96\.59:443 @@ -81,4 +81,4 @@ Here are some other examples for ignore patterns: - [TCP Proxy](@!urlTo("tcpproxy.html")!@) - [Response Streaming](@!urlTo("responsestreaming.html")!@) -[^explicithttp]: This stems from an limitation of explicit HTTP proxying: A single connection can be re-used for multiple target domains - a GET http://example.com/ request may be followed by a GET http://evil.com/ request on the same connection. If we start to ignore the connection after the first request, we would miss the relevant second one. \ No newline at end of file +[^explicithttp]: This stems from an limitation of explicit HTTP proxying: A single connection can be re-used for multiple target domains - a GET http://example.com/ request may be followed by a GET http://evil.com/ request on the same connection. If we start to ignore the connection after the first request, we would miss the relevant second one. -- cgit v1.2.3 From d88c3a0e95b22c1714ba28557ba8b2a6b576e97f Mon Sep 17 00:00:00 2001 From: TearsDontFalls Date: Sat, 16 May 2015 11:53:49 +0200 Subject: docs: Single Qoute for ignore pattern with "!" because wouldnt work with default bash settings as its part of history expansion in bash --- doc-src/features/passthrough.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc-src/features') diff --git a/doc-src/features/passthrough.html b/doc-src/features/passthrough.html index 3da8692c..7b377c82 100644 --- a/doc-src/features/passthrough.html +++ b/doc-src/features/passthrough.html @@ -68,7 +68,7 @@ Here are some other examples for ignore patterns: --ignore "^example.com:" # Ignore everything but example.com and mitmproxy.org: ---ignore "^(?!example\.com)(?!mitmproxy\.org)" +--ignore '^(?!example\.com)(?!mitmproxy\.org)' # Transparent mode: --ignore 17\.178\.96\.59:443 -- cgit v1.2.3 From a05a70d8168a07c92b2a3ecbbb1958d85532efe3 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 30 May 2015 12:03:28 +1200 Subject: Add coding style check, reformat. --- doc-src/features/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc-src/features') diff --git a/doc-src/features/index.py b/doc-src/features/index.py index 693b4439..fdab1714 100644 --- a/doc-src/features/index.py +++ b/doc-src/features/index.py @@ -16,4 +16,4 @@ pages = [ Page("tcpproxy.html", "TCP Proxy"), Page("upstreamcerts.html", "Upstream Certs"), Page("upstreamproxy.html", "Upstream proxy mode"), -] \ No newline at end of file +] -- cgit v1.2.3 From 06fba18106a8f759ec6f08453e86772a170c653b Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 31 May 2015 03:14:14 +0200 Subject: fix #599 --- doc-src/features/passthrough.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc-src/features') diff --git a/doc-src/features/passthrough.html b/doc-src/features/passthrough.html index 7b377c82..17cc0259 100644 --- a/doc-src/features/passthrough.html +++ b/doc-src/features/passthrough.html @@ -51,10 +51,10 @@ $ mitmdump -v 127.0.0.1:50588: request -> CONNECT example.com:443 HTTP/1.1 127.0.0.1:50588: Set new server address: example.com:443 -127.0.0.1:50588: serverconnect - -> example.com:443 +127.0.0.1:50588: serverconnect + -> example.com:443 ^C -$ mitmproxy --ignore ^example\.com:443$ +$ mitmproxy --ignore ^example\.com:443$ Here are some other examples for ignore patterns: @@ -62,10 +62,10 @@ Here are some other examples for ignore patterns: # Exempt traffic from the iOS App Store (the regex is lax, but usually just works): --ignore apple.com:443 # "Correct" version without false-positives: ---ignore "^(.+\.)?apple\.com:443$" +--ignore '^(.+\.)?apple\.com:443$' # Ignore example.com, but not its subdomains: ---ignore "^example.com:" +--ignore '^example.com:' # Ignore everything but example.com and mitmproxy.org: --ignore '^(?!example\.com)(?!mitmproxy\.org)' -- cgit v1.2.3