Routing Sockets in iOS

Quinn,


whatever happened to getting Apple to release API(s) to allow access to the ARP table?


Your post Jan 16, 2013 4:48 AM

"I'm currently helping R&D engineering investigate future directions for low-level networking APIs on iOS and OS X <rdar://problem/12700128>>. Part of that investigation relates to routing sockets (and similar things, like using sysctl to get networking information). All of these techniques require the <sys/route.h> header, which is part of the OS X SDK but not part of the iOS SDK. I know that a number of developers have copied the OS X header, or declarations from that header, to their iOS project and I'd like to find out more about why they are doing this."


Thanks.

whatever happened to getting Apple to release API(s) to allow access to the ARP table?

There's nothing concrete announced about that.

In fact, this issue is getting trickier due to MAC address privacy issues. Starting with iOS 7, iOS apps no longer have access to the device's MAC address because that address represents a persistent identifier for the device. See WWDC 2013 Session 714 Protecting your Users' Privacy for details.

The ARP table represents a similar concern; while the local device's MAC address isn't in the ARP table, the presence of MAC addresses is still troubling (r. 22246722).

Regardless, at this point if you have specific requirements in this space, I encourage you to file an enhancement request describing those requirements. Please post your bug number, just for the record.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Routing Sockets in iOS
 
 
Q