Sorry for the delay in responding (it's been a busy week for me).
You've found a a bug! The IPSec configuration is actually associated
with the interface and would be accessible via the
SCNetworkInterface(Get|Set)ExtendedInterfaceConfiguration APIs. Can
you kindly file a bug report.
- Allan
On Jan 10, 2008, at 3:50 PM, Nathan Duran wrote:
On Dec 20, 2007, at 10:28 AM, Allan Nathanson wrote:
"IPSec" is not a protocol type.
OK, so why, when I call SCNetworkServiceCopyProtocols on an Apple
created L2TP service, is there one named "IPSec" in the array that
is returned?
CFArrayRef services = SCNetworkServiceCopyAll(prefs);
int serviceCount = CFArrayGetCount(services);