Protocols/OSCAR/SNAC/FEEDBAG REQUEST AUTHORIZE TO HOST: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/FEEDBAG__REQUEST_AUTHORIZE_TO_HOST/Origin}} |name=FEEDBAG__REQUEST_AUTHORIZE_TO_HOST |id=0x0013...") |
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 | |||
|- | |||
| 4 bytes | |||
| Snac Request ID (always 0x0000 0018, but it's not important) | |||
|- | |||
| 1 byte | |||
| Length ''L<sub>1</sub>'' of the following ICQ number | |||
|- | |||
| ''L<sub>1</sub>'' bytes | |||
| Contains the ICQ number of the person you want to request authorization from. | |||
|- | |||
| 2 bytes | |||
| Length ''L<sub>2</sub>'' of the following request message. Max length in winicq is 64 | |||
|- | |||
| ''L<sub>2</sub>'' bytes | |||
| The message you want to send the person in the authorization request. | |||
|- | |||
| 2 bytes | |||
| Flags? (always 0x0000) | |||
|} | |||
=== From Aleksandr Shutko: SNAC(13,18) send authorization request command SNAC(13,18) FEEDBAG__REQUEST_AUTHORIZE_TO_HOST === | |||
<table width=640 cellSpacing=0 cellPadding=0 border=0> | |||
<tr> | |||
<td> | |||
<br> | |||
Client use this snac to send authorization request. It contain screen name | |||
(uin) of the user and reason string. After that you may receive | |||
[[Protocols/OSCAR/SNAC_13_1b|SNAC(13,1B)]] - authorization reply.<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 18</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 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> | |||
<tr> | |||
<td width=20%> 00 00</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>unknown</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 2C 6A 00 1C 00 13 00 18 00 00 00 01 00 18 *..j............ | |||
07 36 32 31 38 38 39 36 00 06 70 6C 65 61 73 65 .6218896..please | |||
00 00 .. | |||
</pre></font> | |||
</td></tr></table> | |||
</td></tr></table> | |||
[[Category:With_Contrib]] | |||
=== FEEDBAG SNACs === | === FEEDBAG SNACs === |
Latest revision as of 06:20, 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, 0x0018 | Client | FEEDBAG__REQUEST_AUTHORIZE_TO_HOST | Unspecified | BOS | Active | 4.0 |
Send authorization request.
SNAC Header
Foodgroup | uint16 (word) | 00 13 |
Subgroup | uint16 (word) | 00 18 |
Flags | uint16 (word) | 00 00 |
Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
Unconfirmed: This SNAC contains no data
Length | Description |
---|---|
4 bytes | Snac Request ID (always 0x0000 0018, but it's not important) |
1 byte | Length L1 of the following ICQ number |
L1 bytes | Contains the ICQ number of the person you want to request authorization from. |
2 bytes | Length L2 of the following request message. Max length in winicq is 64 |
L2 bytes | The message you want to send the person in the authorization request. |
2 bytes | Flags? (always 0x0000) |
From Aleksandr Shutko: SNAC(13,18) send authorization request command SNAC(13,18) FEEDBAG__REQUEST_AUTHORIZE_TO_HOST
|
Example SNAC dump with flap header:
|
FEEDBAG SNACs
|