Re: SOCKS proxy support
Re: SOCKS proxy support
- Subject: Re: SOCKS proxy support
- From: Mark Pauley <email@hidden>
- Date: Wed, 27 Jul 2011 10:28:17 -0700
There isn't a method to configure SOCKS proxy on iOS via the System Preferences anyhow. Actually, I'm not sure if we officially support SOCKS on iOS via NSURLConnection (because the proxy info is supposed to come from the system configuration and said setting can't be set), though it should work just fine with the CFHTTPReadStreamAPI.
_Mark
On Jul 27, 2011, at 10:22 AM, Quinn The Eskimo! wrote:
>
> 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
_______________________________________________
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