[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Anonymity-preserving collection of usage data of a hidden service authoritative directory

Hash: SHA1


> Great; thanks!  I checked it in as r10067, and made some small changes
> in r10068.  Roger also tweaked it a bit in r10077.

Cool. :) Looking forward to evaluating the first statistics file --
whenever that will be.

Last time I forgot to include the (few) changes to the man page in the
SVN patch. They are at the bottom of this mail.

- --Karsten

- --- begin SVN patch ---

Index: /media/diss/tor/tor-trunk/doc/tor.1.in
- --- /media/diss/tor/tor-trunk/doc/tor.1.in	(revision 10083)
+++ /media/diss/tor/tor-trunk/doc/tor.1.in	(working copy)
@@ -869,6 +869,12 @@
 accepts and serves hidden service descriptors. (Default: 0)
+\fBHSAuthorityRecordStats \fR\fB0\fR|\fB1\fR\fP
+When this option is set in addition to \fBHSAuthoritativeDir\fP, Tor
+periodically (every 15 minutes) writes statistics about hidden service
usage to
+a file \fBhsusage\fP  in its data directory. (Default: 0)
 \fBDirPort \fR\fIPORT\fP
 Advertise the directory service on this port.
@@ -1076,6 +1082,10 @@
 Used to track bandwidth accounting values (when the current period
starts and ends; how much has been read and written so far this period).
 This file is obsolete, and the data is now stored in the 'state' file
as well.  Only used when bandwidth accounting is enabled.
+.B \fIDataDirectory\fP/hsusage
+Used to track hidden service usage in terms of fetch and publish
requests to this hidden service authoritative directory. Only used when
recording of statistics is enabled.
 .B \fIDataDirectory\fP/control_auth_cookie
 Used for cookie authentication with the controller. Regenerated on
startup.  See control-spec.txt for details.  Only used when cookie
authentication is enabled.

- --- end SVN patch ---
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org