comparison src/protocols/oscar/auth.c @ 4070:6efe00ee7de8

[gaim-migrate @ 4282] Just shuffling around some version stuff. I'm planning on changing things to be aim 5.1ish, but I want to do it in a separate patch, so it will be easy to unpatch if there are problems. Also, I figured out what those PleaseUpgrade000 buddies are. Like, if you add "someone@mac.com" to your buddy list, then sign on with an aim client that advertises an old version of the ssi protocol (eg. gaim), then the server replaces "someone@mac.com" with "PleaseUpgrade000" on the fly. It might replace other screen names, as well, I'm not exactly sure. Uh, so that problem should hopefully go away when I change the ssi family to 4, along with change other versions to be 5.1ish. Ribbit. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 13 Dec 2002 06:51:17 +0000
parents e73c48cf1645
children c5ce82228a2f
comparison
equal deleted inserted replaced
4069:5b56c42c2717 4070:6efe00ee7de8
177 aim_addtlvtochain16(&tl, 0x0016, (fu16_t)ci->clientid); 177 aim_addtlvtochain16(&tl, 0x0016, (fu16_t)ci->clientid);
178 aim_addtlvtochain16(&tl, 0x0017, (fu16_t)ci->major); 178 aim_addtlvtochain16(&tl, 0x0017, (fu16_t)ci->major);
179 aim_addtlvtochain16(&tl, 0x0018, (fu16_t)ci->minor); 179 aim_addtlvtochain16(&tl, 0x0018, (fu16_t)ci->minor);
180 aim_addtlvtochain16(&tl, 0x0019, (fu16_t)ci->point); 180 aim_addtlvtochain16(&tl, 0x0019, (fu16_t)ci->point);
181 aim_addtlvtochain16(&tl, 0x001a, (fu16_t)ci->build); 181 aim_addtlvtochain16(&tl, 0x001a, (fu16_t)ci->build);
182 aim_addtlvtochain32(&tl, 0x0014, 0x00000055); /* distribution chan */ 182 aim_addtlvtochain32(&tl, 0x0014, (fu32_t)ci->distrib); /* distribution chan */
183 aim_addtlvtochain_raw(&tl, 0x000f, strlen(ci->lang), ci->lang); 183 aim_addtlvtochain_raw(&tl, 0x000f, strlen(ci->lang), ci->lang);
184 aim_addtlvtochain_raw(&tl, 0x000e, strlen(ci->country), ci->country); 184 aim_addtlvtochain_raw(&tl, 0x000e, strlen(ci->country), ci->country);
185 185
186 aim_writetlvchain(&fr->data, &tl); 186 aim_writetlvchain(&fr->data, &tl);
187 187
199 * This is the initial login request packet. 199 * This is the initial login request packet.
200 * 200 *
201 * NOTE!! If you want/need to make use of the aim_sendmemblock() function, 201 * NOTE!! If you want/need to make use of the aim_sendmemblock() function,
202 * then the client information you send here must exactly match the 202 * then the client information you send here must exactly match the
203 * executable that you're pulling the data from. 203 * executable that you're pulling the data from.
204 *
205 * WinAIM 4.8.2540
206 * clientstring = "AOL Instant Messenger (SM), version 4.8.2540/WIN32"
207 * clientid = 0x0109
208 * major = 0x0004
209 * minor = 0x0008
210 * point = 0x0000
211 * build = 0x09ec
212 * t(0x0014) = 0x000000af
213 * t(0x004a) = 0x01
214 *
215 * WinAIM 4.3.2188:
216 * clientstring = "AOL Instant Messenger (SM), version 4.3.2188/WIN32"
217 * clientid = 0x0109
218 * major = 0x0400
219 * minor = 0x0003
220 * point = 0x0000
221 * build = 0x088c
222 * unknown = 0x00000086
223 * lang = "en"
224 * country = "us"
225 * unknown4a = 0x01
226 *
227 * Latest WinAIM that libfaim can emulate without server-side buddylists:
228 * clientstring = "AOL Instant Messenger (SM), version 4.1.2010/WIN32"
229 * clientid = 0x0004
230 * major = 0x0004
231 * minor = 0x0001
232 * point = 0x0000
233 * build = 0x07da
234 * unknown= 0x0000004b
235 *
236 * WinAIM 3.5.1670:
237 * clientstring = "AOL Instant Messenger (SM), version 3.5.1670/WIN32"
238 * clientid = 0x0004
239 * major = 0x0003
240 * minor = 0x0005
241 * point = 0x0000
242 * build = 0x0686
243 * unknown =0x0000002a
244 * 204 *
245 * Java AIM 1.1.19: 205 * Java AIM 1.1.19:
246 * clientstring = "AOL Instant Messenger (TM) version 1.1.19 for Java built 03/24/98, freeMem 215871 totalMem 1048567, i686, Linus, #2 SMP Sun Feb 11 03:41:17 UTC 2001 2.4.1-ac9, IBM Corporation, 1.1.8, 45.3, Tue Mar 27 12:09:17 PST 2001" 206 * clientstring = "AOL Instant Messenger (TM) version 1.1.19 for Java built 03/24/98, freeMem 215871 totalMem 1048567, i686, Linus, #2 SMP Sun Feb 11 03:41:17 UTC 2001 2.4.1-ac9, IBM Corporation, 1.1.8, 45.3, Tue Mar 27 12:09:17 PST 2001"
247 * clientid = 0x0001 207 * clientid = 0x0001
248 * major = 0x0001 208 * major = 0x0001
301 aim_addtlvtochain16(&tl, 0x0016, (fu16_t)ci->clientid); 261 aim_addtlvtochain16(&tl, 0x0016, (fu16_t)ci->clientid);
302 aim_addtlvtochain16(&tl, 0x0017, (fu16_t)ci->major); 262 aim_addtlvtochain16(&tl, 0x0017, (fu16_t)ci->major);
303 aim_addtlvtochain16(&tl, 0x0018, (fu16_t)ci->minor); 263 aim_addtlvtochain16(&tl, 0x0018, (fu16_t)ci->minor);
304 aim_addtlvtochain16(&tl, 0x0019, (fu16_t)ci->point); 264 aim_addtlvtochain16(&tl, 0x0019, (fu16_t)ci->point);
305 aim_addtlvtochain16(&tl, 0x001a, (fu16_t)ci->build); 265 aim_addtlvtochain16(&tl, 0x001a, (fu16_t)ci->build);
266 aim_addtlvtochain32(&tl, 0x0014, (fu32_t)ci->distrib);
306 aim_addtlvtochain_raw(&tl, 0x000e, strlen(ci->country), ci->country); 267 aim_addtlvtochain_raw(&tl, 0x000e, strlen(ci->country), ci->country);
307 aim_addtlvtochain_raw(&tl, 0x000f, strlen(ci->lang), ci->lang); 268 aim_addtlvtochain_raw(&tl, 0x000f, strlen(ci->lang), ci->lang);
308 269
309 /* 270 /*
310 * If set, old-fashioned buddy lists will not work. You will need 271 * If set, old-fashioned buddy lists will not work. You will need