[tor-commits] [tor/master] Be explicit about units for timeout.

nickm at torproject.org nickm at torproject.org
Wed Dec 26 04:34:55 UTC 2012


commit da5c398d79c890966339558749662fa8ffabf480
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Fri Nov 2 12:37:26 2012 -0700

    Be explicit about units for timeout.
---
 src/or/circuitbuild.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index eda36d3..215ca14 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1392,7 +1392,7 @@ entry_guard_inc_first_hop_count(entry_guard_t *guard)
                  "circuits. To avoid potential route manipluation attacks, "
                  "Tor has disabled use of this guard. Success "
                  "counts are %d/%d, with %d timeouts. For reference, your "
-                 "timeout cutoff is %ld.",
+                 "timeout cutoff is %ld seconds.",
                  guard->nickname, hex_str(guard->identity, DIGEST_LEN),
                  guard->circuit_successes, guard->first_hops, guard->timeouts,
                  (long)circ_times.close_ms/1000);
@@ -1407,7 +1407,7 @@ entry_guard_inc_first_hop_count(entry_guard_t *guard)
                  "circuits. This could indicate a route manipulation attack, "
                  "extreme network overload, or a bug. "
                  "Success counts are %d/%d, with %d timeouts. "
-                 "For reference, your timeout cutoff is %ld.",
+                 "For reference, your timeout cutoff is %ld seconds.",
                  guard->nickname, hex_str(guard->identity, DIGEST_LEN),
                  guard->circuit_successes, guard->first_hops, guard->timeouts,
                  (long)circ_times.close_ms/1000);
@@ -1422,7 +1422,7 @@ entry_guard_inc_first_hop_count(entry_guard_t *guard)
                  "overloaded, but it could also mean an attack against "
                  "you or the potentially the guard itself. Success counts "
                  "are %d/%d, with %d timeouts. For reference, your timeout "
-                 "cutoff is %ld.",
+                 "cutoff is %ld seconds.",
                  guard->nickname, hex_str(guard->identity, DIGEST_LEN),
                  guard->circuit_successes, guard->first_hops, guard->timeouts,
                  (long)circ_times.close_ms/1000);
@@ -1435,7 +1435,7 @@ entry_guard_inc_first_hop_count(entry_guard_t *guard)
                    "Your Guard %s=%s is failing more circuits than usual. "
                    "Most likely this means the Tor network is overloaded. "
                    "Success counts are %d/%d, with %d timeouts. For "
-                   "reference, your timeout cutoff is %ld.",
+                   "reference, your timeout cutoff is %ld seconds.",
                    guard->nickname, hex_str(guard->identity, DIGEST_LEN),
                    guard->circuit_successes, guard->first_hops,
                    guard->timeouts, (long)circ_times.close_ms/1000);





More information about the tor-commits mailing list