Protocols/OSCAR/SNAC/ICQ DB REPLY/RESP INFORMATION/INFO INTERESTS

From NINA Wiki
Revision as of 06:38, 14 February 2021 by AD (talk | contribs) (Created page with " {{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/ICQ__DB_REPLY/Origin}} |name=ICQ__DB_REPLY |id=0x0015, 0x0003 |foodgroup=ICQ |service={{Protoc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/00F0 META_INTERESTS_USERINFO


Interests email user information packet. If success byte doesn't equal 0x0A - it is last SNAC byte.

 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
 F0 00   word (LE)   data subtype: META_INTERESTS_USERINFO
 0A   char   success byte
 
 04   char   number of interests (allways 4)
 
 xx xx   word (LE)   interest1 category code
 xx xx   word (LE)   interest1 keyword string length
 xx .. xx 00   asciiz str   interest1 keyword string
 xx xx   word (LE)   interest2 category code
 xx xx   word (LE)   interest2 keyword string length
 xx .. xx 00   asciiz str   interest2 keyword string
 xx xx   word (LE)   interest3 category code
 xx xx   word (LE)   interest3 keyword string length
 xx .. xx 00   asciiz str   interest3 keyword string
 xx xx   word (LE)   interest4 category code
 xx xx   word (LE)   interest4 keyword string length
 xx .. xx 00   asciiz str   interest4 keyword string


Example SNAC dump with flap header:


  2A 02 5A C5 00 64 00 15 00 03 00 01 00 23 00 02 *.Z..d.......#..
  00 01 00 56 54 00 8F E4 5E 00 DA 07 3B 00 F0 00 ...VT...^...;...
  0A 04 64 00 0E 00 69 6E 74 65 72 65 73 74 31 5F ..d...interest1_
  6B 65 79 00 67 00 0E 00 69 6E 74 65 72 65 73 74 key.g...interest
  32 5F 6B 65 79 00 68 00 0E 00 69 6E 74 65 72 65 2_key.h...intere
  73 74 33 5F 6B 65 79 00 6F 00 0E 00 69 6E 74 65 st3_key.o...inte
  72 65 73 74 34 5F 6B 65 79 00                   rest4_key.