HAW: Difference between revisions

From Gnutella2
Jump to navigation Jump to search
(initial version)
 
(added some detail of HAW packet. (still incomplete))
Line 11: Line 11:
== Receiving ==
== Receiving ==


...
Upon receiving HAW packet, re-send packet to another neighbour. reduce TTL and increase Hops should be done before re-send.


== Payload ==
== Payload ==


A 16 bit GUID
* 1byte TTL
* 1byte Hops
* 16byte GUID
 
TTL should probably be 100 and Hops should be set to 0 when packet first created. GUID is not node ID, it is packet ID for determine where the packet should be routed. rule of routing is if TTL has enough amount, and the packet has ever been to routed to the neighbour. as GUID on HAW packet is not node ID, it can be used to determine if the packet has been routed to the neighbour or not.
 


== Children ==
== Children ==

Revision as of 06:06, 13 March 2008

<< CRAWLR | KHL >> | Packet Index

/HAW - Hub Advertising Walker

The HAW packet ...

Sending

The /HAW packet ... TODO

Receiving

Upon receiving HAW packet, re-send packet to another neighbour. reduce TTL and increase Hops should be done before re-send.

Payload

  • 1byte TTL
  • 1byte Hops
  • 16byte GUID

TTL should probably be 100 and Hops should be set to 0 when packet first created. GUID is not node ID, it is packet ID for determine where the packet should be routed. rule of routing is if TTL has enough amount, and the packet has ever been to routed to the neighbour. as GUID on HAW packet is not node ID, it can be used to determine if the packet has been routed to the neighbour or not.


Children

The /HAW packet has the following child packets defined:

  • /HAW/NA - Network Address
  • /HAW/HS - Hub Status
  • /HAW/V - Vendor Code