Skip to content

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Dec 14:36
· 844 commits to master since this release
v0.2.0
dc1a3a2

Added

  • Link local peer discovery over IPv6. The system will automatically detect peers on the same LAN and try to connect to them.
    This makes sure peers on the same network don't needlessly use bandwidth on external "hop" peers.
  • Data packets now carry a Hop Limit field as part of the header. Every node decrements this value, and if it is decremented
    to zero, the packet is discarded
  • Intermediate nodes can now send ICMP packets back to the source in
    reply to a dropped packet. This is useful if a hop does not have route
    to forward a packet, or the hop count for a packet reaches 0.
  • Local node now returns an ICMP Destination unreachable - no route if a
    packet is sent on the TUN interface and there is no key for the remote
    address (so the user data can't be encrypted).
  • Peers connected over IPv4 now incur a higher processing cost, causing
    IPv6 connections to be preferred for forwarding data.
  • Peer addresses now include a protocol specifier, so multiple underlay
    connections can be specified in the future.

Changed

  • The peer manager now tracks sufficient info of each connected peer to
    avoid going through the router every time to see if it needs to
    reconnect to said peers.
  • We don't send the receiver nodes IP address in IHU packets anymore, as the packet is sent over a unicast link.
    This is valid per the babel rfc.
  • Setting the peers on the CLI now requires specifying the protocol to use.
    For now only TCP is supported.
  • Change --port flag to --tcp-listen-port to more accurately reflect
    what it controls, as well as the fact that it is only for TCP.

Removed

  • Handshake when connecting to a new peer has been removed.