https://g2.doxu.org/index.php?title=KHLA&feed=atom&action=historyKHLA - Revision history2024-03-28T19:39:23ZRevision history for this page on the wikiMediaWiki 1.38.4https://g2.doxu.org/index.php?title=KHLA&diff=2938&oldid=prevCyberBob: Fixed typo2009-01-29T09:49:34Z<p>Fixed typo</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:49, 29 January 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l32">Line 32:</td>
<td colspan="2" class="diff-lineno">Line 32:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Unique ID which must be same as sent on corresponding /KHLR packet. Client requesting</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Unique ID which must be same as sent on corresponding /KHLR packet. Client requesting</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Known Hub List should compare if ID is same as corresponding /KHLR packet for <del style="font-weight: bold; text-decoration: none;">sequrity</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Known Hub List should compare if ID is same as corresponding /KHLR packet for <ins style="font-weight: bold; text-decoration: none;">security</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>reason.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>reason.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
</table>CyberBobhttps://g2.doxu.org/index.php?title=KHLA&diff=2937&oldid=prevCyberBob: tiny update2009-01-29T03:05:14Z<p>tiny update</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:05, 29 January 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l12">Line 12:</td>
<td colspan="2" class="diff-lineno">Line 12:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Receiving ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Receiving ==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Upon receiving a known hub list, the detailed hubs should be stored in appropriate</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Upon receiving a known hub list, the detailed hubs should be stored in appropriate data structures.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>data structures<del style="font-weight: bold; text-decoration: none;">. Neighbouring hubs must be retained in the hub cluster records,</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">while cached hubs should be merged with the local accessible hub cache</del>.</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Payload ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Payload ==</div></td></tr>
</table>CyberBobhttps://g2.doxu.org/index.php?title=KHLA&diff=2936&oldid=prevCyberBob: Added detail of KHLA packet. (incomplete)2009-01-29T03:03:21Z<p>Added detail of KHLA packet. (incomplete)</p>
<p><b>New page</b></p><div>{{Packets}}<br />
<br />
= /KHLA =<br />
<br />
The known hub list acknowledgement packet is part of UKHL implementation, used to<br />
answer back to request of packet list of known Gnutella2 hubs with /KHLR packet.<br />
<br />
== Sending ==<br />
<br />
This packet should be sent through UDP when received /KHLR packet.<br />
<br />
== Receiving ==<br />
<br />
Upon receiving a known hub list, the detailed hubs should be stored in appropriate<br />
data structures. Neighbouring hubs must be retained in the hub cluster records,<br />
while cached hubs should be merged with the local accessible hub cache.<br />
<br />
== Payload ==<br />
<br />
This packet has no payload at the current time.<br />
<br />
== Children ==<br />
<br />
This packet has several child packet types defined at the current time:<br />
<br />
* /KHLA/UKHLID - Unique ID<br />
* /KHLA/YOURIP - IP address of requester.<br />
* /KHLA/URL - URL to UKHL services for bootstrap propagation.<br />
* /KHLA/TS - Timestamp<br />
* /KHLA/NH - Neighbouring Hub<br />
* /KHLA/CH - Cached Hub<br />
<br />
== /KHLA/UKHLID - Unique ID ==<br />
<br />
Unique ID which must be same as sent on corresponding /KHLR packet. Client requesting<br />
Known Hub List should compare if ID is same as corresponding /KHLR packet for sequrity<br />
reason.<br />
<br />
=== Sending ===<br />
<br />
This child is optional but recommended.<br />
<br />
=== Payload ===<br />
<br />
16Byte unique ID such as GUID.<br />
<br />
== /KHLA/TS - Timestamp ==<br />
<br />
The /KHLA/TS child provides a timestamp representing the current universal time at<br />
the sending node. This can be used as a reference when considering other<br />
timestamps in the packet, allowing them to be adjusted to eliminate differences<br />
between the time setting on the local and remote node.<br />
<br />
=== Sending ===<br />
<br />
This child is optional but recommended.<br />
<br />
=== Payload ===<br />
<br />
A 32-bit integer representing the current UNIX time, or time (NULL).<br />
<br />
=== Children ===<br />
<br />
This packet has no known children at the current time.<br />
<br />
== /KHLA/NH - Neighbouring Hub ==<br />
<br />
This child packet represents a neighbouring hub.<br />
<br />
=== Sending ===<br />
<br />
One should be included for each Gnutella2 neighbour hub, with the possible<br />
exception of the one to which this packet is being sent.<br />
<br />
=== Payload ===<br />
<br />
The node address of the hub. See [[datatypes]] for more information.<br />
<br />
=== Children ===<br />
<br />
This packet has several child packet types defined at the current time:<br />
<br />
* /KHLA/NH/GU - GUID<br />
* /KHLA/NH/V - Vendor Code<br />
* /KHLA/NH/LS - Library Statistics<br />
* /KHLA/NH/HS - Hub Status<br />
<br />
=== /KHLA/NH/GU - GUID ===<br />
<br />
The /KHLA/NH/GU child packet specifies the globally unique identifier of the hub.<br />
<br />
==== Sending ====<br />
<br />
This child is optional.<br />
<br />
==== Payload ====<br />
<br />
The 16 byte globally unique node identifier of the hub.<br />
<br />
==== Children ====<br />
<br />
This packet has no known children at the current time.<br />
<br />
=== /KHLA/NH/V - Vendor Code ===<br />
<br />
The /KHLA/NH/V child packet specifies the vendor code of the software operating the<br />
hub.<br />
<br />
==== Sending ====<br />
<br />
This child is optional.<br />
<br />
==== Payload ====<br />
<br />
A four byte vendor code.<br />
<br />
==== Children ====<br />
<br />
This packet has no known children at the current time.<br />
<br />
=== /KHLA/NH/LS - Library Statistics ===<br />
<br />
The /KHLA/NH/LS packet provides information about the content library of the hub<br />
and its connected leaves.<br />
<br />
==== Sending ====<br />
<br />
This child is optional.<br />
<br />
==== Payload ====<br />
<br />
Two 32-bit integers representing the number of files, and the total KB of available<br />
content in the hub's own library and the libraries of its connected leaves. The<br />
payload may grow beyond 8 bytes in the future.<br />
<br />
==== Children ====<br />
<br />
This packet has no known children at the current time.<br />
<br />
=== /KHLA/NH/HS - Hub Status ===<br />
<br />
The /KHLA/NH/HS packet contains the status of the hub.<br />
<br />
==== Sending ====<br />
<br />
This child is optional.<br />
<br />
==== Payload ====<br />
<br />
Two 16-bit integers representing the current leaf count and the maximum leaf count<br />
respectively. This packet may grow beyond 4 bytes in the future.<br />
<br />
==== Children ====<br />
<br />
This packet has no known children at the current time.<br />
<br />
== /KHLA/CH - Cached Hub ==<br />
<br />
This child packet represents a hub from the hub cache.<br />
<br />
=== Sending ===<br />
<br />
An arbitrary number of these children should be included, constrained by space and<br />
the number of available cached hubs. A selection of freshly time stamped but<br />
previously unknown hubs should be included, and the list should not include hubs in<br />
the local cluster.<br />
<br />
=== Payload ===<br />
<br />
The node address of the hub, followed by the time this hub was last seen as a 32-bit<br />
timestamp. The last seen time can be adjusted based on the difference between the<br />
/KHLA/TS timestamp and the local time. Note that the node address is of variable<br />
length, so it is important to consider the last 4 bytes as the timestamp rather than<br />
assuming a fixed length node address.<br />
<br />
=== Children ===<br />
<br />
This packet has several child packet types defined at the current time:<br />
<br />
* /KHLA/CH/GU - GUID<br />
* /KHLA/CH/V - Vendor Code<br />
* /KHLA/CH/LS - Library Statistics<br />
* /KHLA/CH/HS - Hub Status<br />
<br />
This extra information is considered less relevant for a cached hub because it is<br />
unlikely to be up to date enough to be useful.<br />
<br />
=== /KHLA/CH/GU - GUID ===<br />
<br />
The /KHLA/CH/GU child packet specifies the globally unique identifier of the hub.<br />
<br />
==== Sending ====<br />
<br />
This child is optional.<br />
<br />
==== Payload ====<br />
<br />
The 16 byte globally unique node identifier of the hub.<br />
<br />
==== Children ====<br />
<br />
This packet has no known children at the current time.<br />
<br />
=== /KHLA/CH/V - Vendor Code ===<br />
<br />
The /KHLA/CH/V child packet specifies the vendor code of the software operating the<br />
hub.<br />
<br />
==== Sending ====<br />
<br />
This child is optional.<br />
<br />
==== Payload ====<br />
<br />
A four byte vendor code.<br />
<br />
==== Children ====<br />
<br />
This packet has no known children at the current time.<br />
<br />
=== /KHLA/CH/LS - Library Statistics ===<br />
<br />
The /KHLA/NH/LS packet provides information about the content library of the hub<br />
and its connected leaves.<br />
<br />
==== Sending ====<br />
<br />
This child is optional.<br />
<br />
==== Payload ====<br />
<br />
Two 32-bit integers representing the number of files, and the total KB of available<br />
content in the hub's own library and the libraries of its connected leaves. The<br />
payload may grow beyond 8 bytes in the future.<br />
<br />
==== Children ====<br />
<br />
This packet has no known children at the current time.<br />
<br />
=== /KHLA/CH/HS - Hub Status ===<br />
<br />
The /KHLA/CH/HS packet contains the status of the hub.<br />
<br />
==== Sending ====<br />
<br />
This child is optional.<br />
<br />
==== Payload ====<br />
<br />
Two 16-bit integers representing the current leaf count and the maximum leaf count<br />
respectively. This packet may grow beyond 4 bytes in the future.<br />
<br />
==== Children ====<br />
<br />
This packet has no known children at the current time.</div>CyberBob