Re: OSCAR / AIM over HTTP protocol question
Michal Migurski <[email protected]> Mon, 24 Apr 2006 13:39:17 -0700
| Newsgroups | gmane.network.fire.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the reply, Graham! > Much of the reason for the difference is that the document you > found is old. I am not sure if there really is any up to date > document other than the code, but I have run across this wiki from > time to time: http://joust.kano.net/wiki/oscar/moin.cgi/ I only > recognize the information over the wire because I have read so much > of the code and seen so many traces. > > IIRC, using an HTTP proxy means that you connect to the proxy using > HTTP, and tell it where you wish to connect, and upon completion of > the connection, then the socket is treated in the same manner as if > there were no proxy at all. This means the protocol over HTTP > should be the same (minus the Proxy setup). I was hoping it would be, though I'm seeing some extra padding and a few other changes. I've posted my interpretation of one very short call/response pair here: http://mike.teczno.com/img/oscar.html Those are the bodies of an HTTP Post request and a Get response passed through the proxy - the entire message does pass through the HTTP tunnel, but there seems to be 20 bytes of unexplained padding at the front of each one. There's another 20+ bytes at the end. There's also 16 bytes worth of space for the LCMB ID, which should be only 8 bytes. This is not actually a deal-killer - I really only care about the screen name and the message content for my purposes, I'm happy to ignore everything else. > Since you seem to have some experience with HTTP proxies... > Perhaps you could help me with a question. In the code, we have > support for SOCKS proxies for most of the services (including AIM), > and can add support for the HTTP proxy, but I am not sure on a few > details in the system preferences. You can set an web proxy, but I > don't know if fire should be honoring this setting or is this just > for web browsers? I think it should be honored - iCal does, and I think even cURL on the command line does. iChat offers the option of honoring it, but doesn't by default. Oddly, Firefox does not honor it at all and provides its own UI for proxy prefs. I'm guessing this is because it's been ported without much of a nod to the Mac platform. -mike. ---------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642