So I am a mitmproxy newb and I have an awkward network situation. I am considering if mitmproxy can help. However a search in docs and forums so far has not been conclusive.
My use case is that I wish to drop traffic
The version I am using is v0.15 (its what the version of ubuntu supports).
I see from other discussions for this version that I want a limit filter (l) however its not clear to me the syntax for the filter exactly. An example would be great. I am familiar with regex so I am comfortable with the domain/ip regex I need. However its not clear to me exactly how that would be entered at the prompt. Using http://docs.mitmproxy.org/en/stable/features/filters.html as a guide I am guessing I would enter ~hq host:regex at the Limit: prompt.
But it does not appear to help.