[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #2718 [Metrics]: Analyze Tor usage data for ways to automatically detect country-wide blockings
#2718: Analyze Tor usage data for ways to automatically detect country-wide
blockings
---------------------+------------------------------------------------------
Reporter: karsten | Owner:
Type: task | Status: assigned
Priority: normal | Milestone:
Component: Metrics | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
Comment(by karsten):
And here's another reply from George, also pasted here with his
permission:
[Individual relays] Roger mentioned to me that you have data from
individual relays that is quantised to the closest power of 2. I have not
yet started thinking about using those. We could pretend indeed that they
each are a "separate tor" and run the detector on them -- this is still
likely to miss instances of censorship if the numbers are very low. It is
something we will have to investigate after seeing the data feeds.
[Better model] You are right that we can make a more complex model that
combines observations from the past 1, 7 or 28 days -- I am happy to work
on that next.
[Code] I attach the python code after the most mild clean up. Right now it
has no interface and you have to manually edit the source to get to the
variables of interest:
def main():
# Change these to customize script
CSV_FILE = "direct-users.csv"
GRAPH_DIR = "img"
INTERV = 7
DAYS= 6 * 31
[...]
You can also use the functions & classes to define a set of graphs you
want with different days, intervals, colors, etc (the code should be happy
being loaded as a library). Its under a Clear BSD license (BSD + no-patent
license -- since I do not want to compromise my employer's IP
unknowingly). Feel free to put it in version control.
[Freakish weekly patterns in South Korea] Please do tell me they are not
normal, and there is some explanation about them.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2718#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs