Protocols/OSCAR/Foodgroups/FEEDBAG/Auth Sequence: Difference between revisions

From NINA Wiki
Jump to navigation Jump to search
(Created page with "{{Protocols/OSCAR}} === From Aleksandr Shutko: ICQ SSI authorization sequence === <table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> <table w...")
 
 
(One intermediate revision by the same user not shown)
Line 25: Line 25:
<table width=100% cellSpacing=0 cellPadding=0 bgcolor="#4040FF" border=0>
<table width=100% cellSpacing=0 cellPadding=0 bgcolor="#4040FF" border=0>
<tr>
<tr>
<td><b><font size=2 color="white">&nbsp;<a name="description"></a>&nbsp;ICQ SSI authorization sequence description</font></b></td>
<td><b><font size=2 color="white">&nbsp;&nbsp;ICQ SSI authorization sequence description</font></b></td>
</tr>
</tr>
</table>
</table>
Line 74: Line 74:
<tr>
<tr>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>&lt;&lt;</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>&lt;&lt;</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>[[Protocols/OSCAR/SNAC_13_0e|SNAC(13,0E)]]</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>[[Protocols/OSCAR/SNAC_13_0E|SNAC(13,0E)]]</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;Server reply with error 0x0E (auth required for user #2)</td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;Server reply with error 0x0E (auth required for user #2)</td>
</tr>
</tr>
Line 114: Line 114:
<tr>
<tr>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>&lt;&lt;</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>&lt;&lt;</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>[[Protocols/OSCAR/SNAC_13_0e|SNAC(13,0E)]]</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>[[Protocols/OSCAR/SNAC_13_0E|SNAC(13,0E)]]</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;Server reply: operation finished succesfully</td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;Server reply: operation finished succesfully</td>
</tr>
</tr>
Line 152: Line 152:
<tr>
<tr>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>&lt;&lt;</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>&lt;&lt;</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>[[Protocols/OSCAR/SNAC_03_0b|SNAC(03,0B)]]</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;<b>[[Protocols/OSCAR/SNAC_03_0B|SNAC(03,0B)]]</b></td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;Presense notification for user #2 (if user #2 online)</td>
<td bgcolor=#f9f9f9 valign=top>&nbsp;&nbsp;Presense notification for user #2 (if user #2 online)</td>
</tr>
</tr>

Latest revision as of 02:42, 14 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)



From Aleksandr Shutko: ICQ SSI authorization sequence

 OSCAR sequences   



  ICQ SSI authorization sequence description
 

     There is "authorization" term in ICQ service. Every ICQ user can set its authorization flag to protect himself against undesirable talks. If user has enabled its authorization flag another user can't add it to contact list without permission (and theoretically can't get its presence notices). ICQ clones use BLM service to get presence for users they can't add to SSI. Here is the sequence to get permission from user to add it to contact list:

 Correct SSI auth sequence (user #1 adds user #2)
  >>   SNAC(13,11)   User #1 starts SSI transaction
  >>   SNAC(13,08)   User #1 sends SSI add user #2 request
  >>   SNAC(13,12)   User #1 ends SSI transaction
  <<   SNAC(13,0E)   Server reply with error 0x0E (auth required for user #2)
  >>   SNAC(13,14)   User #1 sends SSI future auth to user #2 (optional)
  >>   SNAC(13,18)   User #1 sends SSI authorization request to user #2
  >>   SNAC(13,11)   User #1 starts SSI transaction
  >>   SNAC(13,08)   User #1 sends add user request with TLV(0x66)
  >>   SNAC(13,12)   User #1 ends SSI transaction
  <<   SNAC(13,0E)   Server reply: operation finished succesfully
  Some time later... (after user #2 send authorization reply to user #1)
  <<   SNAC(13,1B)   Server sends SSI auth reply received from user #2
  <<   SNAC(13,11)   Server starts transaction to edit user ssi local copy
  <<   SNAC(13,09)   Server remove TLV(0x66) from contact awaiting auth
  <<   SNAC(13,12)   Server ends transaction
  Now client should move user #2 to contact list
  <<   SNAC(03,0B)   Presense notification for user #2 (if user #2 online)