aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-01-13 14:29:07 +0100
committerGitHub <noreply@github.com>2017-01-13 14:29:07 +0100
commit028a98380d602b8b5e018039d302fdb735471c19 (patch)
tree110a8fa0a84cbf0024c8dce0997146c6ef8a6d04
parent6f9422dfb998a1b6c8ba49a0076942f201f54e07 (diff)
parent9cedfa7ddd3565f4b2e7e771ccb38376eed864a3 (diff)
downloadmitmproxy-028a98380d602b8b5e018039d302fdb735471c19.tar.gz
mitmproxy-028a98380d602b8b5e018039d302fdb735471c19.tar.bz2
mitmproxy-028a98380d602b8b5e018039d302fdb735471c19.zip
Merge pull request #1926 from tripleee/patch-1
reSt verbatim formatting error
-rw-r--r--docs/transparent.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/transparent.rst b/docs/transparent.rst
index 71b48595..8befbac5 100644
--- a/docs/transparent.rst
+++ b/docs/transparent.rst
@@ -27,7 +27,7 @@ Fully transparent mode
By default mitmproxy will use its own local ip address for its server-side connections.
In case this isn't desired, the --spoof-source-address argument can be used to
use the client's ip address for server-side connections. The following config is
-required for this mode to work:
+required for this mode to work::
CLIENT_NET=192.168.1.0/24
TABLE_ID=100
@@ -42,7 +42,7 @@ required for this mode to work:
This mode does require root privileges though. There's a wrapper in the examples directory
called 'mitmproxy_shim.c', which will enable you to use this mode with dropped priviliges.
-It can be used as follows:
+It can be used as follows::
gcc examples/mitmproxy_shim.c -o mitmproxy_shim -lcap
sudo chown root:root mitmproxy_shim