[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #12376 [Tor]: Refactor and unit-test all the code that looks at network interfaces to get current IP
#12376: Refactor and unit-test all the code that looks at network interfaces to get
current IP
-------------------------+----------------------------------
Reporter: rl1987 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Tor | Version: Tor: unspecified
Keywords: refactoring | Actual Points:
Parent ID: | Points:
-------------------------+----------------------------------
Right now Tor has large hairy functions such as `get_interface_address6()`
and `get_interface_addresses_raw()` that attempt to use system-specific
API to try and get an IP address of network interface Tor instance is
currently using. They should be refactored to improve code readability and
maintainability. Also, we need to make sure there are unit tests for this
kind of code.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12376>
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