-
Notifications
You must be signed in to change notification settings - Fork 0
/
icq_ssi_auth.html
200 lines (164 loc) · 7.63 KB
/
icq_ssi_auth.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<html>
<head>
<title>ICQ SSI authorization sequence</title>
<style type="text/css">
body {background-color: white; font-size: 13px;}
td {font-size: 16px;}
</style>
</head>
<body bgcolor=white>
<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"> OSCAR sequences </font></b></td>
<td width=40% align=right><b><font color="white"> </font></b></td>
</tr>
</table>
</td></tr>
</table>
</td></tr></table>
<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=100% cellSpacing=0 cellPadding=0 bgcolor="#4040FF" border=0>
<tr>
<td><b><font size=2 color="white"> <a name="description"></a> ICQ SSI authorization sequence description</font></b></td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#E9E9E9>
<table width=100% cellSpacing=0 cellPadding=0 border=0>
<tr><td colspan=3 height=5></td></tr>
<tr><td width=5> </td>
<td>
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 <a href="families.html#f0003">BLM service</a> 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:
<br><br>
<table width=100% cellSpacing=0 cellPadding=0 align=center border=0>
<tr><td width=20></td>
<td>
<table width=580 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#7070D0><b><font size=2 color=white> Correct SSI auth sequence (user #1 adds user #2)</font></b></td></tr>
<tr><td bgcolor=#E5E5E5>
<table width=580 cellSpacing=1 cellPadding=1 border=0>
<tr>
<td bgcolor=#f9f9f9 width=35 valign=top> <b>>></b></td>
<td bgcolor=#f9f9f9 width=120 valign=top> <b><a href="snac_13_11.html">SNAC(13,11)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> User #1 starts SSI transaction</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=35 valign=top> <b>>></b></td>
<td bgcolor=#f9f9f9 width=120 valign=top> <b><a href="snac_13_08.html">SNAC(13,08)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> User #1 sends SSI add user #2 request</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=35 valign=top> <b>>></b></td>
<td bgcolor=#f9f9f9 width=120 valign=top> <b><a href="snac_13_12.html">SNAC(13,12)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> User #1 ends SSI transaction</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_13_0e.html">SNAC(13,0E)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Server reply with error 0x0E (auth required for user #2)</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 colspan=3 height=10 valign=middle></td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b>>></b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_13_14.html">SNAC(13,14)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> User #1 sends SSI future auth to user #2 (optional)</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b>>></b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_13_18.html">SNAC(13,18)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> User #1 sends SSI authorization request to user #2</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=35 valign=top> <b>>></b></td>
<td bgcolor=#f9f9f9 width=120 valign=top> <b><a href="snac_13_11.html">SNAC(13,11)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> User #1 starts SSI transaction</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b>>></b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_13_08.html">SNAC(13,08)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> User #1 sends add user request with TLV(0x66)</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=35 valign=top> <b>>></b></td>
<td bgcolor=#f9f9f9 width=120 valign=top> <b><a href="snac_13_12.html">SNAC(13,12)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> User #1 ends SSI transaction</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_13_0e.html">SNAC(13,0E)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Server reply: operation finished succesfully</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 colspan=3 height=25 valign=middle><font size=2> Some time later... (after user #2 send authorization reply to user #1)</font></td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_13_1B.html">SNAC(13,1B)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Server sends SSI auth reply received from user #2</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_13_11.html">SNAC(13,11)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Server starts transaction to edit user ssi local copy</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_13_09.html">SNAC(13,09)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Server remove TLV(0x66) from contact awaiting auth</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_13_12.html">SNAC(13,12)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Server ends transaction</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 colspan=3 height=25 valign=middle><font size=2> Now client should move user #2 to contact list</font></td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_03_0b.html">SNAC(03,0B)</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Presense notification for user #2 (if user #2 online)</td>
</tr>
</table>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<br>
</td><td width=15>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<br>
<table width=640 bgcolor=darkgray cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E9E9E9>
<table width=100% cellSpacing=0 cellPadding=0 border=0><tr>
<td align=center valign=middle><b><font color=black size=2>
<a href="index.html" target="_top">Main</a> |
<a href="basic.html" target="_top">Basic</a> |
<a href="login.html" target="_top">Login</a> |
<a href="families.html" target="_top">Snaclist</a> |
<a href="sequences.html" target="_top">Sequences</a> |
<a href="lists.html" target="_top">Misc</a> |
<a href="changes.html" target="_top">Changes</a> |
<a href="credits.html" target="_top">Credits</a> |
<a href="terms.html" target="_top">Terms</a>
</font></b>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<!--#include virtual="_bottom.htxt" -->
</body>
</html>