Protocols/OSCAR/SNAC/ICQ DB REPLY/RESP INFORMATION/WHITE FOUND

From NINA Wiki
Jump to navigation Jump to search
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
0x0015, 0x0003 Host ICQ__DB_REPLY ICQ BOS Active 1.2

From Aleksandr Shutko: SNAC(15,03)/07DA/01A4 SRV_USER_FOUND


This is the server response to search request. This is not last search packet. SNAC flags bit1 allways=1. Server sends last search found record via SNAC(15,03)/07DA/01AE. Success byte allways = 0xA (SEARCH_SUCCESS).

 00 15   word   SNAC family
 00 03   word   SNAC subtype
 00 01   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(1) - encapsulated META_DATA
 xx xx   word   TLV.Length
 xx xx   word (LE)   data chunk size (TLV.Length-2)
 xx xx xx xx   dword (LE)   request owner uin
 DA 07   word (LE)   data type: META_DATA
 02 00   word (LE)   request sequence number
 A4 01   word (LE)   data subtype: META_USER_FOUND
 0A   char   success byte
 
 xx xx   word (LE)   following data size
 
 xx xx xx xx   dword (LE)   found user uin
 xx xx   word (LE)   nickname string length
 xx .. xx 00   asciiz str   nickname string
 xx xx   word (LE)   first name string length
 xx .. xx 00   asciiz str   first name string
 xx xx   word (LE)   last name string length
 xx .. xx 00   asciiz str   last name string
 xx xx   word (LE)   email string length
 xx .. xx 00   asciiz str   email string
 xx   char   authorization flag
 xx xx   word (LE)   online status (0 - offline, 1 - online, 2 - non_webaware)
 xx   char   gender
 xx xx   word (LE)   age


Example SNAC dump with flap header:


  2A 02 5A 5F 00 5E 00 15 00 03 00 01 00 06 00 02 *.Z_.^..........
  00 01 00 50 4E 00 8F E4 5E 00 DA 07 07 00 A4 01 ...PN...^.......
  0A 3D 00 90 E4 5E 00 0B 00 52 65 67 72 65 73 73 .=...^...Regress
  6F 72 32 00 09 00 41 6C 65 78 61 6E 64 72 00 07 or2...Alexandr..
  00 4D 6F 73 6B 6F 72 00 14 00 73 61 6E 79 61 40 .Moskor...sanya@
  6B 70 73 6D 2E 6B 68 73 74 75 2E 72 75 00 01 00 kpsm.khstu.ru...
  00 00 00 00                                     ....