Re: SOCKS proxy support
Re: SOCKS proxy support
- Subject: Re: SOCKS proxy support
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 27 Jul 2011 18:22:08 +0100
On 27 Jul 2011, at 16:39, Elliott wrote:
> Any Apple people out there know if there are any Apple applications that support SOCKS with authentication using settings from SystemPreferences?
Which platform? Both Mac OS X and iOS have SOCKS support built in at the CFSocketStream level, with support for both SOCKS v4 and v5 (including authentication in v5). Anyone using the various networking CFStream APIs directly can enable SOCKS support via the properties in <CFNetwork/CFSocketStream.h>. And anyone using NSURLConnection or higher will get SOCKS support for free.
However, there's a standard problem with authenticating proxies on iOS, which is that the proxy credentials are stored in a keychain access group that's not accessible to third party code. So if you're working with iOS, you will have to either configure the SOCKS credentials yourself, either directly in the stream or by adding them to your access group within the keychain.
Having said all that, I should stress that I've not personally tested this (-:
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden