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

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/00FA META_AFFILATIONS_USERINFO


Past/Affilations 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
 FA 00   word (LE)   data subtype: META_AFFILATIONS_USERINFO
 0A   char   success byte
 
 03   char   number of past cat (allways 3)
 
 xx xx   word (LE)   past1 category code
 xx xx   word (LE)   past1 keyword string length
 xx .. xx 00   asciiz str   past1 keyword string
 xx xx   word (LE)   past2 category code
 xx xx   word (LE)   past2 keyword string length
 xx .. xx 00   asciiz str   past2 keyword string
 xx xx   word (LE)   past3 category code
 xx xx   word (LE)   past3 keyword string length
 xx .. xx 00   asciiz str   past3 keyword string
 
 03   char   number of aff cat (allways 3)
 
 xx xx   word (LE)   aff1 category code
 xx xx   word (LE)   aff1 keyword string length
 xx .. xx 00   asciiz str   aff1 keyword string
 xx xx   word (LE)   aff2 category code
 xx xx   word (LE)   aff2 keyword string length
 xx .. xx 00   asciiz str   aff2 keyword string
 xx xx   word (LE)   aff3 category code
 xx xx   word (LE)   aff3 keyword string length
 xx .. xx 00   asciiz str   aff3 keyword string


Example SNAC dump with flap header:


  2A 02 5A D4 00 8A 00 15 00 03 00 00 00 27 00 02 *.Z..........'..
  00 01 00 7C 7A 00 8F E4 5E 00 DA 07 42 00 FA 00 ....z...^...B...
  0A 03 2E 01 0D 00 61 66 66 31 20 6B 65 79 77 6F ......aff1 keywo
  72 64 00 2C 01 0D 00 61 66 66 32 20 6B 65 79 77 rd.,...aff2 keyw
  6F 72 64 00 2D 01 0D 00 61 66 66 33 20 6B 65 79 ord.-...aff3 key
  77 6F 72 64 00 03 C8 00 0D 00 70 61 73 74 31 6B word......past1k
  65 79 77 6F 72 64 00 CA 00 0E 00 70 61 73 74 32 eyword.....past2
  20 6B 65 79 77 6F 72 64 00 CB 00 0E 00 70 61 73 keyword.....pas
  74 33 20 6B 65 79 77 6F 72 64 00 00 00 01 00 00 t3 keyword......