From c9240812d9239591915b521524e8a1dbbef05b0f Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 8 Feb 2015 13:24:32 +0100 Subject: fix #468 --- doc-src/features/passthrough.html | 7 +++++-- 1 file 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 @@ $ mitmproxy --ignore ^example\.com:443$ Here are some other examples for ignore patterns:
-# 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
-- 
cgit v1.2.3