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

Re: [tor-bugs] #2286 [Tor]: We still use self-published relay bandwidth sometimes



#2286: We still use self-published relay bandwidth sometimes
------------------------------------------------+---------------------------
 Reporter:  arma                                |          Owner:  andrea            
     Type:  enhancement                         |         Status:  needs_revision    
 Priority:  major                               |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor                                 |        Version:                    
 Keywords:  arma-cares needs-proposal tor-auth  |         Parent:                    
   Points:                                      |   Actualpoints:                    
------------------------------------------------+---------------------------

Comment(by andrea):

 My bug2286_unit_test branch has a refactoring of the v3_networkstatus test
 and a new unmeasured bandwidth clipping unit test.  Per my preceding
 comment, this unit test currently fails.  If you comment out the tests on
 measured_bw and has_measured_bw on lines 1992, 1994, 2024 and 2026 of
 src/test/test_dir.c, it passes.  I've verified that this test
 distinguishes the new behavior (i.e., the same test fails if you run it
 with consensus method 16 instead).

 We still need to decide about the Unmeasured flag, and I should add a
 variant of this to check overriding the default clipping value in the
 consensus, and squash the branch, then we're good to go on this.

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