*** empty log message ***

This commit is contained in:
Arvid Norberg
2004-04-02 10:43:37 +00:00
parent 98c1c824df
commit 653a4a970d
3 changed files with 61 additions and 4 deletions

View File

@@ -52,6 +52,37 @@ retrying.</p>
</tr>
</tbody>
</table>
<p>optional part</p>
<table border class="table">
<colgroup>
<col width="18%" />
<col width="28%" />
<col width="54%" />
</colgroup>
<thead valign="bottom">
<tr><th>size</th>
<th>name</th>
<th>description</th>
</tr>
</thead>
<tbody valign="top">
<tr><td>int8_t</td>
<td>flags</td>
<td>1 = authentication</td>
</tr>
<tr><td>int8_t[8]</td>
<td>username</td>
<td>&nbsp;</td>
</tr>
<tr><td>int8_t[8]</td>
<td>password_hash</td>
<td>sha1-hash of the tracker password</td>
</tr>
</tbody>
</table>
<p>what is the point of having a fixed size username field instead of
a null-terminated string?</p>
<p>Why send the hash of the password instead of the password itself?</p>
<p>Server replies with packet:</p>
<table border class="table">
<colgroup>

View File

@@ -40,6 +40,24 @@ Client sends packet:
| int32_t | transaction_id | Randomized by client. |
+-------------+---------------------+----------------------------------------+
optional part
+-------------+---------------------+----------------------------------------+
| size | name | description |
+=============+=====================+========================================+
| int8_t | flags | 1 = authentication |
+-------------+---------------------+----------------------------------------+
| int8_t[8] | username | |
+-------------+---------------------+----------------------------------------+
| int8_t[8] | password_hash | sha1-hash of the tracker password |
+-------------+---------------------+----------------------------------------+
what is the point of having a fixed size username field instead of
a null-terminated string?
Why send the hash of the password instead of the password itself?
Server replies with packet:
+-------------+---------------------+----------------------------------------+