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

Re: [tor-bugs] #2372 [BridgeDB]: Export BridgeDB's pool assignments



#2372: Export BridgeDB's pool assignments
--------------------------+-------------------------------------------------
  Reporter:  karsten      |              Owner:              
      Type:  enhancement  |             Status:  needs_review
  Priority:  normal       |          Milestone:              
 Component:  BridgeDB     |            Version:              
  Keywords:               |             Parent:  #2537       
    Points:               |   Actualpointsdone:              
Pointsdone:               |       Actualpoints:              
--------------------------+-------------------------------------------------

Comment(by kaner):

 Replying to [comment:12 karsten]:

 > > They exist in the database. Is that not enough?
 >
 > From reading the code it seems that bucket assignment are made
 persistent in the database.  But I didn't play with BridgeDB enough to be
 sure.

 Yes, they are.

 > > Maybe I'm totally off, but I don't think you need any tweaks in
 BridgeDB for what Karsten wants to accomplish -- if I understood
 correctly. I think he could just call `TorBridgeDB --dump-bridges' and
 read bridge pool assignments from those files. Of course a script needs to
 run over those and sanitize them. But that's another discussion maybe.
 >
 > I don't think that `--dumpbridges` is doing what I want.  Doesn't that
 just write the file buckets to disk?  I want the assignments of bridges to
 the https/email distributors as well as the unallocated bridges.  Also, I
 want the assignment file to be updated whenever BridgeDB loads new network
 statuses and descriptors and refreshes its internal state.

 It writes all pool assignments to file. After running it, you have, for
 instance: (actual numbers changed)

 $ wc -l *.brdgs
  9000 email-2011-02-13.brdgs
  9000 https-2011-02-13.brdgs
   400 twitter-2011-02-13.brdgs
  1000 unallocated-2011-02-13.brdgs

 Each *.brdgs file contains ip:port pairs. You decide if that is what you
 need.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2372#comment:15>
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