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

Karsten Loesing karsten.loesing at gmx.net
Tue May 1 09:52:42 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

> 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)
 .LP
 .TP
+\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)
+.LP
+.TP
 \fBDirPort \fR\fIPORT\fP
 Advertise the directory service on this port.
 .LP
@@ -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.
 .LP
 .TP
+.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.
+.LP
+.TP
 .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.
 .LP

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

iD8DBQFGNw3q0M+WPffBEmURApIGAJ9FfabZ/+5fuC/mz+9ULAM6N1EZhgCfcOjQ
MNyjBv5c5O6f7czj2CAVkrU=
=jO3n
-----END PGP SIGNATURE-----



More information about the tor-dev mailing list