Protocols/OSCAR/SNAC/FEEDBAG RESPOND AUTHORIZE TO CLIENT: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/FEEDBAG__RESPOND_AUTHORIZE_TO_CLIENT/Origin}} |name=FEEDBAG__RESPOND_AUTHORIZE_TO_CLIENT |id=0x...") |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 19: | Line 19: | ||
=== SNAC Data === | === SNAC Data === | ||
Unconfirmed: This SNAC contains no data | Unconfirmed: This SNAC contains no data | ||
{| border="1" | |||
! Length | |||
! Description | |||
|- | |||
| 2 bytes | |||
| Family (0x0013) | |||
|- | |||
| 2 bytes | |||
| Subtype (0x001b) | |||
|- | |||
| 2 bytes | |||
| Flags | |||
|- | |||
| 4 bytes | |||
| Snac Request ID | |||
|- | |||
| 2 bytes | |||
| Length ''L<sub>1</sub>'' of the following (always 0x0006) | |||
|- | |||
| ''L<sub>1</sub>'' bytes | |||
| Flags? (always 0x0001 0002 0002) | |||
|- | |||
| 1 byte | |||
| Length ''L<sub>2</sub>'' of the following | |||
|- | |||
| ''L<sub>2</sub>'' bytes | |||
| The ICQ number of the person who granted you authorization | |||
|- | |||
| 1 byte | |||
| Flags (0x00 if declined, 0x01 if accepted) | |||
|- | |||
| 2 bytes | |||
| Length ''L<sub>3</sub>'' of the following | |||
|- | |||
| ''L<sub>3</sub>'' bytes | |||
| The message sent as the reason for declining (or accepting?) | |||
|- | |||
| 2 bytes | |||
| Flags? (always 0x0000) | |||
|} | |||
=== From Aleksandr Shutko: SNAC(13,1B) Authorization reply from server SNAC(13,1B) FEEDBAG__RESPOND_AUTHORIZE_TO_CLIENT === | |||
<table width=640 cellSpacing=0 cellPadding=0 border=0> | |||
<tr> | |||
<td> | |||
<br> | |||
This snac received when someone grant or declines you authorization, sent | |||
via [[Protocols/OSCAR/SNAC_13_18|SNAC(13,18)]]. It contain screen name (uin) | |||
of the user, result flag and reason string.<br><br> | |||
<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=20%> 00 13</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>SNAC family</td> | |||
</tr> | |||
<tr> | |||
<td> 00 1B</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>SNAC subtype</td> | |||
</tr> | |||
<tr> | |||
<td> 00 00</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>SNAC flags</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td width=5> </td> | |||
<td>dword</td> | |||
<td width=5> </td> | |||
<td width=60%>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 width=20%> xx</td> | |||
<td width=5> </td> | |||
<td>byte</td> | |||
<td width=5> </td> | |||
<td width=60%>length of the uin string</td> | |||
</tr> | |||
<tr> | |||
<td> xx ..</td> | |||
<td width=5> </td> | |||
<td>string</td> | |||
<td width=5> </td> | |||
<td width=60%>uin string (ascii)</td> | |||
</tr> | |||
<tr> | |||
<td> xx</td> | |||
<td width=5> </td> | |||
<td>byte</td> | |||
<td width=5> </td> | |||
<td width=60%>flag: 1-auth accepted, 0-auth declined</td> | |||
</tr> | |||
<tr> | |||
<td width=20%> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>length of the reason string</td> | |||
</tr> | |||
<tr> | |||
<td width=20%> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>reason (message) string</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
<br>Example SNAC dump with flap header: | |||
<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> | |||
<font size=3><pre style="font-size: 13px"> | |||
2A 02 3C 6A 00 1A 00 13 00 1B 00 00 00 01 00 1B *..j............ | |||
07 36 32 31 38 38 39 35 00 00 05 73 6F 72 72 79 .6218895...sorry | |||
</pre></font> | |||
</td></tr></table> | |||
</td></tr></table> | |||
[[Category:With_Contrib]] | |||
=== FEEDBAG SNACs === | === FEEDBAG SNACs === | ||
Latest revision as of 05:14, 13 February 2021
| OSCAR Protocol |
| Introduction • Terms • Clients |
| Basic |
| Datatypes • FLAP • SNAC • TLV |
| UUIDs • Errors • Tool IDs |
| Host Interaction |
| Rate Limits • Migration • Messages |
| Other Services |
| ADMIN • ADVERT • ALERT |
| BART • BOS • BUCP • CHAT |
| CHAT_NAV |
| Tutorials |
| Sign On • BART • Rendezvous |
| ICBM • Locate • Buddies |
| Foodgroups |
| OSERVICE (0x0001) |
| LOCATE (0x0002) |
| BUDDY (0x0003) |
| ICBM (0x0004) |
| ADVERT (0x0005) |
| INVITE (0x0006) |
| ADMIN (0x0007) |
| POPUP (0x0008) |
| PD (0x0009) |
| USER_LOOKUP (0x000A) |
| STATS (0x000B) |
| TRANSLATE (0x000C) |
| CHAT_NAV (0x000D) |
| CHAT (0x000E) |
| ODIR (0x000F) |
| BART (0x0010) |
| FEEDBAG (0x0013) |
| ICQ (0x0015) |
| BUCP (0x0017) |
| ALERT (0x0018) |
| PLUGIN (0x0022) |
| UNNAMED_FG_24 (0x0024) |
| MDIR (0x0025) |
| ARS (0x044A) |
| ID | Origin | Name | Foodgroup | Service | Status | Version |
|---|---|---|---|---|---|---|
| 0x0013, 0x001B | Host | FEEDBAG__RESPOND_AUTHORIZE_TO_CLIENT | Unspecified | BOS | Active | 4.0 |
Host notice of grant or denial of authorization.
SNAC Header
| Foodgroup | uint16 (word) | 00 13 |
| Subgroup | uint16 (word) | 00 1B |
| Flags | uint16 (word) | 00 00 |
| Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
Unconfirmed: This SNAC contains no data
| Length | Description |
|---|---|
| 2 bytes | Family (0x0013) |
| 2 bytes | Subtype (0x001b) |
| 2 bytes | Flags |
| 4 bytes | Snac Request ID |
| 2 bytes | Length L1 of the following (always 0x0006) |
| L1 bytes | Flags? (always 0x0001 0002 0002) |
| 1 byte | Length L2 of the following |
| L2 bytes | The ICQ number of the person who granted you authorization |
| 1 byte | Flags (0x00 if declined, 0x01 if accepted) |
| 2 bytes | Length L3 of the following |
| L3 bytes | The message sent as the reason for declining (or accepting?) |
| 2 bytes | Flags? (always 0x0000) |
From Aleksandr Shutko: SNAC(13,1B) Authorization reply from server SNAC(13,1B) FEEDBAG__RESPOND_AUTHORIZE_TO_CLIENT
|
|
Example SNAC dump with flap header:
|
FEEDBAG SNACs
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||