Adium

Ticket #10880 (new defect)

Opened 4 months ago

Last modified 3 months ago

Facebook account ignores Socks 4/5 proxy settings

Reported by: bakercp Assigned to: cbarrett
Priority: normal Milestone: Adium 1.3.3
Component: Facebook Chat Version: 1.3
Severity: normal Keywords: proxy socks
Cc: Patch: None
Pending: 0

Description

I run all of my accounts through a local SSH socks proxy. They all work, except for a new Facebook account, which ignores the proxy settings and authenticates and logs in through the local settings. I have attempted to delete and recreate the account, turned proxy settings off and on, and then confirmed that the Facebook account is not using the proxy by both LittleSnitch warnings and tcpdump.

I am not using the Systemwide proxy, just a local Socks Proxy @ 127.0.0.1:8080

I am using Adium 1.3 (English) and running OS X 10.5.4 on a MacBook Pro.

Change History

(follow-up: ↓ 2 ) 08/31/2008 08:17:43 PM changed by jas8522

  • milestone set to Adium 1.3.3.

So any proxy settings entered in the Facebook account settings are ignored?

(in reply to: ↑ 1 ) 09/01/2008 02:20:25 AM changed by bakercp

Replying to jas8522:

So any proxy settings entered in the Facebook account settings are ignored?

I set up a Systemwide SOCKS proxy on my machine and then set my Adium Facebook account settings to use the "Systemwide SOCKS4 Settings" and "Systemwide SOCKS5 Settings". BOTH worked fine.

So, this seems to confirm that this issue is limited to NON-systemwide SOCKS4 / SOCKS5 proxys on the Facebook Account settings.

Unfortunately, I do not have an HTTP proxy set up and cannot test the Facebook HTTP or Systemwide HTTP proxy settings.

09/01/2008 06:16:46 PM changed by cbarrett

  • owner set to cbarrett.

I'm going to investigate and report back, I have a hunch.

09/01/2008 10:22:32 PM changed by cbarrett

As far as I can tell we don't do anything in AIFacebookAccount with the custom proxies, so that might be why they don't work ;)

Here's my theory:

Using -[NSURLProtectionSpace initWithProxyHost:port:type:realm:authenticationMethod:] and NSCredentialStorage we can store our custom SOCKS/HTTP proxies in the NSURL system for WebKit to use.

I'm going to write a test application to see if this works how I think it works.

10/17/2008 10:23:20 AM changed by Robby

  • summary changed from Facebook Account Ignores Ignores Socks 4/5 Proxy Settings to Facebook account ignores Socks 4/5 proxy settings.