[Adium-devl] Alternative connections methods

Alan Humpherys alangh at adiumx.com
Thu Jan 18 00:15:08 UTC 2007


Just an FYI,  Yahoo servers are listening on a number of ports, to  
prevent being blocked by overprotective network admins...  The  
fallback path used in Fire is to try the following ports (in order):

5050, 23, 25, 80, 20, 119, 8001, 8002

A brief perusal of the libgaim code for Yahoo shows that it tries  
port 5050 with a partial implementation of a fallback to 80 in some  
rare circumstances, but the coding for the port 80 fallback is not  
complete.

...The short answer is that libgaim is, for all intents and purposes,  
hardcoded to connect to yahoo on port 5050, without an automatic  
fallback mechanism.  Making it easier for network admins to block  
adium access to yahoo, by merely blocking access to port 5050  
outbound to the yahoo domain.

:: BEGIN CAVEAT ::
I just did a 3 minute code review in ./libgaim/protocols/yahoo/yahoo. 
[ch] and may have missed the fallback code in my haste
:: END CAVEAT ::

Alan
______
Alan Humpherys
Adium Development Team
alangh at adiumx.com
http://www.adiumx.com



On Jan 17, 2007, at 1:19 PM, Andre-John Mas wrote:

> Hi,
>
> Sometime back I posted that it would be good if we tried a secondary
> connection method for Google Talk, if the default port is not
> accessible. Something that Google Talk does if it finds itself
> behind a firewall ( it switches to port 443 ).
>
> I now find, through the use of the official Yahoo client, that
> it to seems to attempt a connection on an alternative port in
> such a situation. The port Yahoo uses in such a case is port 80.
>
> Is anyone aware if any work has been made to support this kind
> of behaviour, for a future release of Adium?
>
> Andre
>
>
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>





More information about the devel mailing list