Guest User

Untitled

a guest
Jan 16th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. 4.5. NETINFO cells
  2.  
  3. If version 2 or higher is negotiated, each party sends the other a
  4. NETINFO cell. The cell's payload is:
  5.  
  6. Timestamp [4 bytes]
  7. Other OR's address [variable]
  8. Number of addresses [1 byte]
  9. This OR's addresses [variable]
  10.  
  11. The address format is a type/length/value sequence as given in
  12. section 6.4 below, without the final TTL. The timestamp is a
  13. big-endian unsigned integer number of seconds since the Unix epoch.
  14.  
  15. ...
  16.  
  17. 6.4. Remote hostname lookup
  18.  
  19. ...
  20.  
  21. Type (1 octet)
  22. Length (1 octet)
  23. Value (variable-width)
  24. TTL (4 octets)
  25. "Length" is the length of the Value field.
  26. "Type" is one of:
  27. 0x00 -- Hostname
  28. 0x04 -- IPv4 address
  29. 0x06 -- IPv6 address
  30. 0xF0 -- Error, transient
  31. 0xF1 -- Error, nontransient
Add Comment
Please, Sign In to add comment