CRAWLA: Difference between revisions

From Gnutella2
Jump to navigation Jump to search
(initial version)
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[CRAWLR|CRAWLR >>]] | [[Root_packets_index|Packet Index]]
{{Packets}}


 
= /CRAWLA - Crawler Answer =
= /CRAWLA - Local Node Information =


The crawl answer packet is the response to a [[CRAWLR|crawl request packet]]. It contains information about the current node for a Gnutella2 crawler.
The crawl answer packet is the response to a [[CRAWLR|crawl request packet]]. It contains information about the current node for a Gnutella2 crawler.
Line 8: Line 7:
== Sending ==
== Sending ==


The /LNI packet should be sent to a TCP neighbour upon connection, and at regular
The /CRAWLA packet ... TODO
intervals following that if the information within it has changed. A minimum update
time of one minute is recommended.


== Receiving ==
== Receiving ==
Line 25: Line 22:


* /CRAWLA/SELF - Vendor Code and Version
* /CRAWLA/SELF - Vendor Code and Version
* /CRAWLA/NA - Network Address
* /CRAWLA/SELF/HUB - Only present if the host is a hub
* /CRAWLA/HS - Hub Status
* /CRAWLA/SELF/LEAF - Only present if the host is a leaf
* /CRAWLA/NAME - User Nickname
* /CRAWLA/NH - Neighbouring Hub
* /CRAWLA/V - Vendor Code
* /CRAWLA/NL - Neighbouring Leaf
* /CRAWLA/CV - Current Version
* /CRAWLA/*/NA - Network Address
* /CRAWLA/HUB - Only present if the host is a hub
* /CRAWLA/*/HS - Hub Status
* /CRAWLA/LEAF - Only present if the host is a leaf
* /CRAWLA/*/GPS - GPS information
* /CRAWLA/GPS -  
* /CRAWLA/*/NAME - Nickname
* /CRAWLA/NH - Neighbour Host

Latest revision as of 21:54, 11 January 2009

Root Packets
CRAWLA - CRAWLR
HAW - LNI
KHL - KHLA - KHLR
PI - PO - PUSH
QKA - QKR
Q2 - QA - QH2 - QHT
UPROC - UPROD

/CRAWLA - Crawler Answer

The crawl answer packet is the response to a crawl request packet. It contains information about the current node for a Gnutella2 crawler.

Sending

The /CRAWLA packet ... TODO

Receiving

A /CRAWLA packet should only be received by a crawler in response to a /CRAWLR packet, which should use it to gather information about the Gnutella2 network.

Payload

This packet has no payload at the current time.

Children

The /CRAWLA packet has the following child packets defined:

  • /CRAWLA/SELF - Vendor Code and Version
  • /CRAWLA/SELF/HUB - Only present if the host is a hub
  • /CRAWLA/SELF/LEAF - Only present if the host is a leaf
  • /CRAWLA/NH - Neighbouring Hub
  • /CRAWLA/NL - Neighbouring Leaf
  • /CRAWLA/*/NA - Network Address
  • /CRAWLA/*/HS - Hub Status
  • /CRAWLA/*/GPS - GPS information
  • /CRAWLA/*/NAME - Nickname