-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnac_01_1e.html
402 lines (364 loc) · 10.4 KB
/
snac_01_1e.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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
<html>
<head>
<title>SNAC(01,1E) client update status and dc info</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">SNAC(01,1E) </font></b></td>
<td width=70% align=right><b><font color="white">CLI_SETxSTATUS </font></b></td>
</tr>
</table>
</td></tr>
</table>
</td></tr></table>
<table width=640 cellSpacing=0 cellPadding=0 border=0>
<tr>
<td>
<br>
Client use this SNAC to update status and direct connection information. Also it contain last info update time information.
<br><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=640 cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=169> 00 01</td>
<td width=5> </td>
<td>word</td>
<td width=5> </td>
<td width=55%>SNAC family</td>
</tr>
<tr>
<td> 00 1E</td>
<td> </td>
<td>word</td>
<td> </td>
<td>SNAC subtype</td>
</tr>
<tr>
<td> 00 00</td>
<td> </td>
<td>word</td>
<td> </td>
<td>SNAC flags</td>
</tr>
<tr>
<td> xx xx xx xx</td>
<td> </td>
<td>dword</td>
<td> </td>
<td>SNAC request-id</td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#E9E9E9>
<!-- TLV -->
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0>
<tr><td height=8 colspan=3></td></tr>
<tr><td width=20> </td>
<td>
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 >
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=147> 00 06</td>
<td width=5> </td>
<td>word</td>
<td width=5> </td>
<td width=60%>TLV.Type(0x06) - user status / status flags</td>
</tr>
<tr>
<td> xx xx</td>
<td> </td>
<td>word</td>
<td> </td>
<td>TLV.Length</td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#f9f9f9>
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=147> xx xx xx xx</td>
<td width=5> </td>
<td>dword</td>
<td width=5> </td>
<td width=60%><a href="lists.html#user_status">Client status and status flags</a></td>
</tr>
</table>
</td></tr>
</table>
</td></tr></table>
</td><td width=5> </td>
</tr>
<tr><td height=5 colspan=3> </td></tr>
</table>
<!-- TLV -->
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0>
<tr><td height=8 colspan=3></td></tr>
<tr><td width=20> </td>
<td>
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 >
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=147> 00 0C</td>
<td width=5> </td>
<td>word</td>
<td width=5> </td>
<td width=60%>TLV.Type(0x0C) - dc info (optional)</td>
</tr>
<tr>
<td> 00 25</td>
<td> </td>
<td>word</td>
<td> </td>
<td>TLV.Length</td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#f9f9f9>
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=147> xx xx xx xx</td>
<td width=5> </td>
<td>dword</td>
<td width=5> </td>
<td width=60%>DC Internal ip address</td>
</tr>
<tr>
<td> xx xx xx xx</td>
<td> </td>
<td>dword</td>
<td> </td>
<td>DC tcp port</td>
</tr>
<tr>
<td> xx</td>
<td> </td>
<td>byte</td>
<td> </td>
<td><a href="lists.html#dc_type">DC type</a></td>
</tr>
<tr>
<td> xx xx</td>
<td> </td>
<td>word</td>
<td> </td>
<td>DC protocol version</td>
</tr>
<tr>
<td> xx xx xx xx</td>
<td> </td>
<td>dword</td>
<td> </td>
<td>DC auth cookie</td>
</tr>
<tr>
<td> xx xx xx xx</td>
<td> </td>
<td>dword</td>
<td> </td>
<td>Web front port</td>
</tr>
<tr>
<td> 00 00 00 03</td>
<td> </td>
<td>dword</td>
<td> </td>
<td>Client futures</td>
</tr>
<tr>
<td> xx xx xx xx</td>
<td> </td>
<td>dword</td>
<td> </td>
<td>last info update time</td>
</tr>
<tr>
<td> xx xx xx xx</td>
<td> </td>
<td>dword</td>
<td> </td>
<td>last ext info update time (i.e. icqphone status)</td>
</tr>
<tr>
<td> xx xx xx xx</td>
<td> </td>
<td>dword</td>
<td> </td>
<td>last ext status update time (i.e. phonebook)</td>
</tr>
<tr>
<td> xx xx</td>
<td> </td>
<td>word</td>
<td> </td>
<td>unknown</td>
</tr>
</table>
</td></tr>
</table>
</td></tr></table>
</td><td width=5> </td>
</tr>
<tr><td height=5 colspan=3> </td></tr>
</table>
<!-- TLV -->
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0>
<tr><td height=8 colspan=3></td></tr>
<tr><td width=20> </td>
<td>
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 >
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=147> 00 11</td>
<td width=5> </td>
<td>word</td>
<td width=5> </td>
<td width=60%>TLV.Type(0x11) - times update (optional)</td>
</tr>
<tr>
<td> xx xx</td>
<td> </td>
<td>word</td>
<td> </td>
<td>TLV.Length</td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#f9f9f9>
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=147> xx</td>
<td width=5> </td>
<td>byte</td>
<td width=5> </td>
<td width=60%>update type #1 (01 - last info update time, 02 - ... )</td>
</tr>
<tr>
<td> xx xx xx xx</td>
<td> </td>
<td>byte</td>
<td> </td>
<td>updated time #1</td>
</tr>
<tr>
<td> ....</td>
<td> </td>
<td>....</td>
<td> </td>
<td>....</td>
</tr>
<tr>
<td> xx</td>
<td> </td>
<td>byte</td>
<td> </td>
<td>update type #n</td>
</tr>
<tr>
<td> xx xx xx xx</td>
<td> </td>
<td>byte</td>
<td> </td>
<td>updated time #n</td>
</tr>
</table>
</td></tr></table>
</td></tr></table>
</td><td width=5> </td>
</tr><tr><td height=5 colspan=3>
</td></tr></table>
<!-- TLV -->
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0>
<tr><td height=8 colspan=3></td></tr>
<tr><td width=20> </td>
<td>
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 >
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=147> 00 12</td>
<td width=5> </td>
<td>word</td>
<td width=5> </td>
<td width=60%>TLV.Type(0x12) - unknown (optional)</td>
</tr>
<tr>
<td> 00 02</td>
<td> </td>
<td>word</td>
<td> </td>
<td>TLV.Length</td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#f9f9f9>
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=147> xx xx</td>
<td width=5> </td>
<td>word</td>
<td width=5> </td>
<td width=60%>unknown value</td>
</tr>
</table>
</td></tr>
</table>
</td></tr></table>
</td><td width=5> </td>
</tr>
<tr><td height=5 colspan=3> </td></tr>
</table>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<br>Example SNAC dumps with flap header:
<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>
<font size=3><pre style="font-size: 13px">
2A 02 1F B6 00 41 00 01 00 1E 00 00 00 00 00 1E *....A..........
00 06 00 04 00 03 00 00 00 08 00 02 00 00 00 0C ................
00 25 0A 0A 0A 08 00 00 26 2C 04 00 07 34 F9 C6 .%......&,...4..
54 00 00 00 50 00 00 00 03 3D DA EE D0 3D E1 8A T...P....=...=..
3B 00 00 00 00 00 00 ;......
-----------------------------------------------------------------
2A 02 23 2B 00 12 00 01 00 1E 00 00 00 00 00 1E *.#+............
00 06 00 04 20 03 00 20 .... ..
-----------------------------------------------------------------
2A 02 7D 0E 00 4A 00 01 00 1E 00 00 00 00 00 1E *....J..........
00 06 00 04 00 02 00 00 00 0C 00 25 0A 0A 0A 08 ...........%....
00 00 4F 24 04 00 07 F4 5E 6B EC 00 00 00 50 00 ..O$....^k....P.
00 00 03 3E 20 8F E5 3D F2 44 FB 3D F7 EF 47 00 ...> ..=.D.=..G.
00 00 11 00 05 01 E5 8F 20 3E 00 12 00 02 00 00 ........ >......
</pre></font>
</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>