[tor-commits] [ooni-probe/master] Option -g help updates in order to warn user about IP disclosure in report.

art at torproject.org art at torproject.org
Fri Jan 13 12:39:58 UTC 2017


commit fdd215907d0c98460daaf88f8ecf5050818624ea
Author: ioef <iosifidise at gmail.com>
Date:   Wed Jan 11 14:40:49 2017 +0200

    Option -g help updates in order to warn user about IP disclosure in report.
---
 data/ooniprobe.1                 | 1 +
 docs/source/manual/ooniprobe.rst | 3 ++-
 ooni/ui/cli.py                   | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/data/ooniprobe.1 b/data/ooniprobe.1
index 52ec4a8..cee8817 100644
--- a/data/ooniprobe.1
+++ b/data/ooniprobe.1
@@ -52,6 +52,7 @@ Disable writing to disk
 .TP
 .B \-g\fP,\fB  \-\-no\-geoip
 Disable geoip lookup on start
+Warning: By using this option the IP address of the user executing ooniprobe is not excluded from the report.
 .TP
 .B \-s\fP,\fB  \-\-list
 List the currently installed ooniprobe nettests
diff --git a/docs/source/manual/ooniprobe.rst b/docs/source/manual/ooniprobe.rst
index 7d71795..928b99e 100644
--- a/docs/source/manual/ooniprobe.rst
+++ b/docs/source/manual/ooniprobe.rst
@@ -26,7 +26,8 @@ Options
     Disable writing to disk
 
 -g, --no-geoip
-    Disable geoip lookup on start
+    Disable geoip lookup on start. 
+    Warning: By using this option the IP address of the user executing ooniprobe is not excluded from the report.
 
 -s, --list
     List the currently installed ooniprobe nettests
diff --git a/ooni/ui/cli.py b/ooni/ui/cli.py
index c545d82..adaef30 100644
--- a/ooni/ui/cli.py
+++ b/ooni/ui/cli.py
@@ -26,7 +26,8 @@ class Options(usage.Options):
     optFlags = [["help", "h"],
                 ["no-collector", "n", "Disable writing to collector"],
                 ["no-njson", "N", "Disable writing to disk"],
-                ["no-geoip", "g", "Disable geoip lookup on start"],
+                ["no-geoip", "g", "Disable geoip lookup on start."
+                                  "With this option your IP address can be disclosed in the report."],
                 ["list", "s", "List the currently installed ooniprobe "
                               "nettests"],
                 ["verbose", "v", "Show more verbose information"],





More information about the tor-commits mailing list