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

Re: [tor-bugs] #28593 [Core Tor/Tor]: On macOS/iOS, experiment with SystemConfiguration.framework to get a list of network interfaces



#28593: On macOS/iOS, experiment with SystemConfiguration.framework to get a list
of network interfaces
--------------------------+------------------------
 Reporter:  rl1987        |          Owner:  (none)
     Type:  enhancement   |         Status:  new
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  macos ios     |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------

Comment (by teor):

 Do we already link to SystemConfiguration.framework?
 If not, this kind of platform-specific code could cause dependency issues.
 (Apple is better with dependencies than Microsoft, but they have caused us
 issues in the past few macOS releases.)

 Also, the configuration keys don't seem to be documented anywhere. (I
 can't find out how to get the IPv4 or IPv6 address.)
 https://developer.apple.com/documentation/systemconfiguration/1517352-scnetworkprotocolgetconfiguratio?language=objc

 This will make writing code that's portable across macOS versions really
 difficult: how will we know the macOS version when keys were added?

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