aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-02-08 13:24:32 +0100
committerMaximilian Hils <git@maximilianhils.com>2015-02-08 13:24:32 +0100
commitc9240812d9239591915b521524e8a1dbbef05b0f (patch)
treecda94e4bc69372f91f9cb423d4569971296c78ca
parent5d568708188086c6deb747bee4365552483b6807 (diff)
downloadmitmproxy-c9240812d9239591915b521524e8a1dbbef05b0f.tar.gz
mitmproxy-c9240812d9239591915b521524e8a1dbbef05b0f.tar.bz2
mitmproxy-c9240812d9239591915b521524e8a1dbbef05b0f.zip
fix #468
-rw-r--r--doc-src/features/passthrough.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc-src/features/passthrough.html b/doc-src/features/passthrough.html
index 7c830639..15e36434 100644
--- a/doc-src/features/passthrough.html
+++ b/doc-src/features/passthrough.html
@@ -59,13 +59,16 @@ $ <span style="color: white">mitmproxy --ignore ^example\.com:443$</span>
Here are some other examples for ignore patterns:
<pre>
-# Exempt traffic from the iOS App Store (usually just works):
+# 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 example.com on all ports, but no subdomains:
+# Ignore example.com, but not its subdomains:
--ignore ^example.com:
+
+# Ignore everything but example.com and mitmproxy.org:
+--ignore ^(?!example\.com)(?!mitmproxy\.org)
# Transparent mode:
--ignore 17\.178\.96\.59:443