[tor-bugs] #12376 [Tor]: Refactor and unit-test all the code that looks at network interfaces to get current IP

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 30 20:51:37 UTC 2014


#12376: Refactor and unit-test all the code that looks at network interfaces to get
current IP
-----------------------------+--------------------------------
     Reporter:  rl1987       |      Owner:  rl1987
         Type:  enhancement  |     Status:  assigned
     Priority:  normal       |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor          |    Version:  Tor: unspecified
   Resolution:               |   Keywords:  refactoring
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------

Comment (by rl1987):

 I have covered most of `resolve_my_address()` function with tests:

 [https://github.com/rl1987/tor/commits/resolvemyaddr
 https://github.com/rl1987/tor/tree/resolvemyaddr]

 Also, I have done some refactoring and unit testing regarding the rather
 messy `get_interface_addresses_raw()` function:

 https://github.com/rl1987/tor/tree/if_addr_refactoring

 What should I do next? What should be in the checklist of things to get
 done to get the above changes merged into Tor master?

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


More information about the tor-bugs mailing list