Protocols/OSCAR/SNAC/BUCP CHALLENGE REQUEST: Difference between revisions
From Toxi's Wiki
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{{Template:Protocols/OSCAR}} | {{Template:Protocols/OSCAR}} | ||
This is the first SNAC sent by the | This is the first SNAC sent, by BUCP clients, right after the FLAP versions are exchanged. It is, obviously, used for requesting a challenge, of which the server replies with [[Protocols/OSCAR/SNAC/BUCP__CHALLENGE_RESPONSE|BUCP__CHALLENGE_RESPONSE]], with the challenge they requested. | ||
<!-- | |||
=== SNAC Header === | === SNAC Header === | ||
{{Template:Protocols/OSCAR/SNAC/Header | {{Template:Protocols/OSCAR/SNAC/Header | ||
Line 23: | Line 24: | ||
=== SNAC Dump === | === SNAC Dump === | ||
--> | |||
<table width="640" bgcolor="darkblue" cellspacing="0" cellpadding="0" border="0"> | |||
<tr><td> | |||
<table width="100%" cellspacing="2" cellpadding="0" border="0"> | |||
<tr><td bgcolor="#E9E9E9"> | |||
<table width="640" cellspacing="0" cellpadding="0" align="center" border="0"> | |||
<tr> | |||
<td width="23%"> 00 17</td> | |||
<td width="5"> </td> | |||
<td>uint16 (word)</td> | |||
<td width="5"> </td> | |||
<td width="58%">SNAC foodgroup</td> | |||
</tr> | |||
<tr> | |||
<td> 00 04</td> | |||
<td> </td> | |||
<td>uint16 (word)</td> | |||
<td> </td> | |||
<td>SNAC subgroup</td> | |||
</tr> | |||
<tr> | |||
<td> 00 00</td> | |||
<td> </td> | |||
<td>uint16 (word)</td> | |||
<td> </td> | |||
<td>SNAC flags</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword (uint32)</td> | |||
<td> </td> | |||
<td>SNAC request ID</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor="#E9E9E9"> | |||
<table width="640" cellspacing="0" cellpadding="0" align="center" border="0"> | |||
<tr> | |||
<td height="8" colspan="3"></td> | |||
</tr> | |||
<tr> | |||
<td width="20"></td> | |||
<td> | |||
<table width="610" bgcolor="darkgreen" cellspacing="0" cellpadding="0" border="0"> | |||
<tr><td> | |||
<table width="100%" cellspacing="2" cellpadding="0" align="center" border="0"> | |||
<tr><td bgcolor="#f9f9f9"> | |||
<table width="610" cellspacing="0" cellpadding="0" align="center" border="0"> | |||
<tr> | |||
<td width="20%"> 00 01</td> | |||
<td width="5"> </td> | |||
<td>uint16 (word)</td> | |||
<td width="5"> </td> | |||
<td width="60%">TLV Type (0x01) - screen name</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td width="5"> </td> | |||
<td>uint16 (word)</td> | |||
<td width="5"> </td> | |||
<td width="60%">TLV Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor="#f9f9f9"> | |||
<table width="610" cellspacing="0" cellpadding="0" align="center" border="0"> | |||
<tr> | |||
<td width="20%"> xx xx .. ..</td> | |||
<td width="5"> </td> | |||
<td>string</td> | |||
<td width="5"> </td> | |||
<td width="60%">Screen name</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td> | |||
<td width="5"></td> | |||
</tr> | |||
<tr> | |||
<td height="5" colspan="3"></td> | |||
</tr> | |||
<tr> | |||
<td width="20"></td> | |||
<td> | |||
<table width="610" bgcolor="darkgreen" cellspacing="0" cellpadding="0" border="0"> | |||
<tr><td> | |||
<table width="100%" cellspacing="2" cellpadding="0" align="center" border="0"> | |||
<tr><td bgcolor="#f9f9f9"> | |||
<table width="610" cellspacing="0" cellpadding="0" align="center" border="0"> | |||
<tr> | |||
<td> May contain other [[Protocols/OSCAR/TLV#Common_TLVs|common TLVs]]</td> | |||
</td> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td> | |||
<td width="5"></td> | |||
</tr> | |||
<tr> | |||
<td height="5" colspan="3"></td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
Example SNAC dump (with a FLAP header): | |||
<pre> | <pre> | ||
0000 2a 02 17 8a 00 18 00 17 00 06 00 00 00 00 00 00 *............... | 0000 2a 02 17 8a 00 18 00 17 00 06 00 00 00 00 00 00 *............... | ||
0010 00 01 00 0a 74 6f 78 69 64 61 74 69 6f 6e ....toxidation | 0010 00 01 00 0a 74 6f 78 69 64 61 74 69 6f 6e ....toxidation | ||
</pre> | </pre> |
Revision as of 17:57, 21 July 2024
OSCAR Protocol |
Introduction • Terms • Clients |
Basic |
TODO |
Tutorials |
Sign On |
Foodgroups |
OSERVICE (0x0001) |
BUCP (0x0017) |
This is the first SNAC sent, by BUCP clients, right after the FLAP versions are exchanged. It is, obviously, used for requesting a challenge, of which the server replies with BUCP__CHALLENGE_RESPONSE, with the challenge they requested.
|
Example SNAC dump (with a FLAP header):
0000 2a 02 17 8a 00 18 00 17 00 06 00 00 00 00 00 00 *............... 0010 00 01 00 0a 74 6f 78 69 64 61 74 69 6f 6e ....toxidation