[tor-bugs] #2461 [Tor Weather]: Notify people about relays that recently qualified for a Tor t-shirt

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 30 20:41:25 UTC 2013


#2461: Notify people about relays that recently qualified for a Tor t-shirt
-------------------------+--------------------------------------------------
 Reporter:  karsten      |          Owner:  kaner
     Type:  enhancement  |         Status:  new  
 Priority:  normal       |      Milestone:       
Component:  Tor Weather  |        Version:       
 Keywords:               |         Parent:       
   Points:               |   Actualpoints:       
-------------------------+--------------------------------------------------
Changes (by StalkR):

 * cc: tor+trac@… (added)


Comment:

 While working on #2862 I looked how this feature works: weather is based
 on subscriptions. You can get a tshirt if 1) you subscribe for
 notification 2) you are up for X hours after that (+ get min required
 bandwidth). Problem: if you ever unsubscribe and re-subscribe, too bad,
 you need to wait again. I'd be curious if some exploited that to get
 multiple t-shirts :)

 For reference, this is how a TShirtSub is created:
 https://gitweb.torproject.org/weather.git/blob/HEAD:/weather/weatherapp/views.py#l52
 https://gitweb.torproject.org/weather.git/blob/HEAD:/weather/weatherapp/models.py#l1206

 So as arma suggested, a quick solution would be to subscribe every node
 for tshirt, and keep that updated when new nodes appears in the consensus.

 So yes weather would need to be up maintaining its database. I didn't see
 a way to import old consensuses, but I agree it would be nice. Question:
 using the fact that both uptime and bandwidth are trusted values because
 in the consensus, we can immediately tell if someone has earned a tshirt,
 right?
 That would be an interesting alternate solution: no need for t-shirt
 subscriptions, just listen to consensuses and e-mail (once) when
 requirements are met.

 Thoughts? (and please correct me if I missing something)

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2461#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list