Protocols/OSCAR/SNAC/STATS REPORT EVENTS: Difference between revisions

From NINA Wiki
Jump to navigation Jump to search
(Created page with "{{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/STATS__REPORT_EVENTS/Origin}} |name=STATS__REPORT_EVENTS |id=0x000B, 0x0003 |service={{Protocol...")
 
No edit summary
 
Line 19: Line 19:
=== SNAC Data ===
=== SNAC Data ===
Unconfirmed: This SNAC contains no data
Unconfirmed: This SNAC contains no data
=== From Aleksandr Shutko: SNAC(0B,03) client stats report ===
<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=#4040FF>
<table width=100% cellSpacing=0 cellPadding=0 border=0><tr><td>
<b><font color="white">SNAC(0B,03)&nbsp;</font></b></td>
<td width=70% align=right><b><font color="white">STATS__REPORT_EVENTS&nbsp;</font></b></td>
</tr>
</table>
</td></tr>
</table>
</td></tr></table>
<table width=640 cellSpacing=0 cellPadding=0 border=0>
<tr>
<td>
<br>This is the client stats report. It contains local system info.<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=185>&nbsp;00 0B</td>
<td width=5>&nbsp;</td>
<td>word</td>
<td width=5>&nbsp;</td>
<td width=55%>SNAC family</td>
</tr>
<tr>
<td>&nbsp;00 03</td>
<td>&nbsp;</td>
<td>word</td>
<td>&nbsp;</td>
<td>SNAC subtype</td>
</tr>
<tr>
<td>&nbsp;00 00</td>
<td>&nbsp;</td>
<td>word</td>
<td>&nbsp;</td>
<td>SNAC flags</td>
</tr>
<tr>
<td>&nbsp;xx xx xx xx</td>
<td>&nbsp;</td>
<td>dword</td>
<td>&nbsp;</td>
<td>SNAC request-id</td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#E9E9E9>
<!-- TLV 0x09 -->
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0>
<tr><td height=8 colspan=3></td></tr><tr><td width=30></td><td>
<table width=600 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=600 cellSpacing=0 cellPadding=0 align=center border=0 >
  <tr>
  <td width=25%>&nbsp;00 09</td>
  <td width=5>&nbsp;</td>
  <td>word</td>
  <td width=5>&nbsp;</td>
  <td width=60%>TLV.Type(0x09) - local configuration (?)</td>
  </tr>
  <tr>
  <td>&nbsp;xx xx</td>
  <td width=5>&nbsp;</td>
  <td>word</td>
  <td width=5>&nbsp;</td>
  <td width=60%>TLV.Length</td>
  </tr>
  </table>
  </td></tr>
  <tr><td bgcolor=#f9f9f9>
  <table width=600 cellSpacing=0 cellPadding=0 align=center border=0>
  <tr >
  <td width=25%>&nbsp;xx xx xx xx</td>
  <td width=5>&nbsp;</td>
  <td>dword</td>
  <td width=5>&nbsp;</td>
  <td width=60%>probably, info creation time in time_t format (local)</td>
  </tr>
  <tr >
  <td>&nbsp;xx xx xx xx</td>
  <td>&nbsp;</td>
  <td>dword</td>
  <td>&nbsp;</td>
  <td>time in time_t format (same value, but in GMT)</td>
  </tr>
  <tr>
  <td>&nbsp;00 00 00 00<br>&nbsp;00 00 00 00<br>
      &nbsp;00 00 00 00<br>&nbsp;00 00 00 00</td>
  <td>&nbsp;</td>
  <td valign=top>16 bytes</td>
  <td>&nbsp;</td>
  <td valign=top>unknown (zero values)</td>
  </tr>
  <tr><td colspan=5 height=5></td></tr>
  <tr>
  <td>&nbsp;xx</td>
  <td>&nbsp;</td>
  <td>byte</td>
  <td>&nbsp;</td>
  <td>length of the screenname (uin) string</td>
  </tr>
  <tr>
  <td>&nbsp;xx ..</td>
  <td>&nbsp;</td>
  <td>ascii</td>
  <td>&nbsp;</td>
  <td>screenname (uin) string</td>
  </tr>
  <tr>
  <td>&nbsp;xx xx</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>unknown (machine class ?)</td>
  </tr>
  <tr>
  <td>&nbsp;xx xx</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>length of the OS name</td>
  </tr>
  <tr>
  <td>&nbsp;xx ..</td>
  <td>&nbsp;</td>
  <td>ascii</td>
  <td>&nbsp;</td>
  <td>OS name (ex: Windows 2000)</td>
  </tr>
  <tr>
  <td>&nbsp;xx xx</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>length of the OS version string</td>
  </tr>
  <tr>
  <td>&nbsp;xx ..</td>
  <td>&nbsp;</td>
  <td>ascii</td>
  <td>&nbsp;</td>
  <td>OS version (ex: 5.1.2600)</td>
  </tr>
  <tr>
  <td>&nbsp;xx xx</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>length of the processor type</td>
  </tr>
  <tr>
  <td>&nbsp;xx ..</td>
  <td>&nbsp;</td>
  <td>ascii</td>
  <td>&nbsp;</td>
  <td>processor type (ex: Intel.Pentium)</td>
  </tr>
  <tr>
  <td>&nbsp;xx xx</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>length of the winsock description string</td>
  </tr>
  <tr>
  <td>&nbsp;xx ..</td>
  <td>&nbsp;</td>
  <td>ascii</td>
  <td>&nbsp;</td>
  <td>winsock DLL description string</td>
  </tr>
  <tr>
  <td>&nbsp;xx xx</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>length of the winsock version string</td>
  </tr>
  <tr>
  <td>&nbsp;xx ..</td>
  <td>&nbsp;</td>
  <td>ascii</td>
  <td>&nbsp;</td>
  <td>winsock DLL version (ex: 5.1.2600.0)</td>
  </tr>
  <tr><td colspan=5 height=5></td></tr>
  <tr>
  <td>&nbsp;00 00</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>Unknown field</td>
  </tr>
  <tr>
  <td>&nbsp;00 02</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>Unknown field</td>
  </tr>
  <tr>
  <td>&nbsp;00 01</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>Unknown field</td>
  </tr>
  <tr>
  <td>&nbsp;00 01</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>Unknown field</td>
  </tr>
  <tr>
  <td>&nbsp;00 02</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>Unknown field</td>
  </tr>
  <tr>
  <td>&nbsp;00 02</td>
  <td>&nbsp;</td>
  <td>word</td>
  <td>&nbsp;</td>
  <td>Unknown field</td>
  </tr>
  </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>
<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 1B A6 00 9B 00 0B 00 03 00 00 00 01 00 03  *..�.�..........
  00 09 00 8D 3E DE 02 8E 3E DE 2C BE 00 00 00 00  ...�>�.�>�,-....
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00  ................
  0A 57 69 6E 64 6F 77 73 20 39 38 00 0D 34 2E 31  .Windows 98..4.1
  30 2E 36 37 37 36 36 34 34 36 00 0D 49 6E 74 65  0.67766446..Inte
  6C 20 50 65 6E 74 69 75 6D 00 2F 4D 69 63 72 6F  l Pentium./Micro
  73 6F 66 74 20 43 6F 72 70 6F 72 61 74 69 6F 20  soft Corporatio
  42 53 44 20 53 6F 63 6B 65 74 20 41 50 49 20 66  BSD Socket API f
  6F 72 20 57 69 6E 64 6F 77 73 00 09 34 2E 31 30  or Windows..4.10
  2E 31 39 39 38 00 00 00 02 00 01 00 01 00 02 00  .1998...........
  02 2A 02 1B A7 00 0C 00 01 00 04 00 00 00 01 00  .*..�...........
  04 00 18 2A 02 1B A8 00 0C 00 01 00 04 00 00 00  ...*..�.........
  02 00 04 00 0F 2A 02 1B A9 00 0A 00 02 00 09 00  .....*..�.......
  00 00 01 00 09 2A 02 1B AA 00 0A 00 02 00 0F 00  .....*..�.......
  00 00 02 00 0F                                  .....
</pre></font>
</td></tr></table>
</td></tr></table>


=== STATS SNACs ===
=== STATS SNACs ===
{{Protocols/OSCAR/Foodgroups/STATS/SNACs/Simple}}
{{Protocols/OSCAR/Foodgroups/STATS/SNACs/Simple}}


[[Category:With_Contrib]]
[[Category:Stub]]
[[Category:Stub]]
[[Category:AOL]]
[[Category:AOL]]

Latest revision as of 02:17, 13 February 2021

OSCAR Protocol
IntroductionTermsClients
Basic
DatatypesFLAPSNACTLV
UUIDsErrorsTool IDs
Host Interaction
Rate LimitsMigrationMessages
Other Services
ADMINADVERTALERT
BARTBOSBUCPCHAT
CHAT_NAV
Tutorials
Sign OnBARTRendezvous
ICBMLocateBuddies
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
0x000B, 0x0003 Client STATS__REPORT_EVENTS Unspecified BOS Active 1.13

Client event report. Typically this contains local system information.

SNAC Header

Foodgroup uint16 (word) 00 0B
Subgroup uint16 (word) 00 03
Flags uint16 (word) 00 00
Request ID uint32 (dword) 00 00 00 00

SNAC Data

Unconfirmed: This SNAC contains no data


From Aleksandr Shutko: SNAC(0B,03) client stats report

SNAC(0B,03)  STATS__REPORT_EVENTS 


This is the client stats report. It contains local system info.

 00 0B   word   SNAC family
 00 03   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 09   word   TLV.Type(0x09) - local configuration (?)
 xx xx   word   TLV.Length
 xx xx xx xx   dword   probably, info creation time in time_t format (local)
 xx xx xx xx   dword   time in time_t format (same value, but in GMT)
 00 00 00 00
 00 00 00 00
 00 00 00 00
 00 00 00 00
  16 bytes   unknown (zero values)
 xx   byte   length of the screenname (uin) string
 xx ..   ascii   screenname (uin) string
 xx xx   word   unknown (machine class ?)
 xx xx   word   length of the OS name
 xx ..   ascii   OS name (ex: Windows 2000)
 xx xx   word   length of the OS version string
 xx ..   ascii   OS version (ex: 5.1.2600)
 xx xx   word   length of the processor type
 xx ..   ascii   processor type (ex: Intel.Pentium)
 xx xx   word   length of the winsock description string
 xx ..   ascii   winsock DLL description string
 xx xx   word   length of the winsock version string
 xx ..   ascii   winsock DLL version (ex: 5.1.2600.0)
 00 00   word   Unknown field
 00 02   word   Unknown field
 00 01   word   Unknown field
 00 01   word   Unknown field
 00 02   word   Unknown field
 00 02   word   Unknown field


Example SNAC dump with flap header:


  2A 02 1B A6 00 9B 00 0B 00 03 00 00 00 01 00 03  *..�.�..........
  00 09 00 8D 3E DE 02 8E 3E DE 2C BE 00 00 00 00  ...�>�.�>�,-....
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00  ................
  0A 57 69 6E 64 6F 77 73 20 39 38 00 0D 34 2E 31  .Windows 98..4.1
  30 2E 36 37 37 36 36 34 34 36 00 0D 49 6E 74 65  0.67766446..Inte
  6C 20 50 65 6E 74 69 75 6D 00 2F 4D 69 63 72 6F  l Pentium./Micro
  73 6F 66 74 20 43 6F 72 70 6F 72 61 74 69 6F 20  soft Corporatio
  42 53 44 20 53 6F 63 6B 65 74 20 41 50 49 20 66  BSD Socket API f
  6F 72 20 57 69 6E 64 6F 77 73 00 09 34 2E 31 30  or Windows..4.10
  2E 31 39 39 38 00 00 00 02 00 01 00 01 00 02 00  .1998...........
  02 2A 02 1B A7 00 0C 00 01 00 04 00 00 00 01 00  .*..�...........
  04 00 18 2A 02 1B A8 00 0C 00 01 00 04 00 00 00  ...*..�.........
  02 00 04 00 0F 2A 02 1B A9 00 0A 00 02 00 09 00  .....*..�.......
  00 00 01 00 09 2A 02 1B AA 00 0A 00 02 00 0F 00  .....*..�.......
  00 00 02 00 0F                                   .....



STATS SNACs

SNAC List
Subgroup Origin Name
0x0001 Any STATS__ERR
This is the error SNAC for the STATS foodgroup.
0x0002 Host STATS__SET_MIN_REPORT_INTERVAL
Set client's minimum report interval.
0x0003 Client STATS__REPORT_EVENTS
Client event report. Typically this contains local system information.
0x0004 Host STATS__REPORT_ACK
Host acknowledgement of STATS__REPORT_EVENTS.