1. 11 Feb, 2021 1 commit
    • Joanne Hugé's avatar
      New --country option; add country in addresses · 85d77bd8
      Joanne Hugé authored
      This commit concerns networks that use the --same-country option.
      We recently discovered that the IP geolocation database contains
      incorrect entries. To work around this, the protocol needs to be
      changed by adding the country as 4th field in addresses (the first 3
      are: ip, port, protocol) and the new --country option allows a node
      to announce a country that differs from the one the GeoIP DB.
      
      Thanks to the previous commits it's possible to implement backward
      compatibility, by not sending the 4th field (country) to nodes that
      can't parse it. Of course, these old nodes would continue to not
      create appropriate tunnels and after a while, the administrator of
      the network may decide to increase registry's --min-protocol (7).
      
      In a network with only nodes that implement this last version of the
      protocol, the nodes may only use the GeoIP DB to resolve their own IPs.
      
      See merge request !27
      85d77bd8
  2. 10 Jan, 2020 1 commit
    • Julien Muchembled's avatar
      Bump protocol version · 5b765db0
      Julien Muchembled authored
      To reenable RTT-based metric, we usually want to force old nodes
      to upgrade, so that they don't always look faster that others.
      5b765db0
  3. 19 Jun, 2019 1 commit
    • Killian Lufau's avatar
      Implement HMAC for babel · 12ba2ee4
      Killian Lufau authored
      HMAC is added in babel call to prevent babel communication between nodes of different re6st networks. 
      This solves the problem of machines in different re6st networks but on the same LAN that exchange routes through babel. 
      The key used to authenticate packets is randomly created on 16 bytes by the registry and sent to nodes when they fetch network parameters. 
      This uses the WIP hmac branch of jech/babeld with Nexedi patches and the added possibility to not check HMAC in incoming packets for better HMAC integration on a HMAC-less network.
      
      /reviewed-on !18
      12ba2ee4
  4. 02 Jul, 2018 1 commit
  5. 19 Sep, 2016 1 commit
  6. 21 Jun, 2016 1 commit
    • Julien Muchembled's avatar
      Bump protocol version · cfb7e3f7
      Julien Muchembled authored
      Commit 6c4a5443 fixes a routing issue and
      as usual, all nodes without exception must either route correctly or die:
      in the future, we may want to force all nodes to upgrade.
      cfb7e3f7
  7. 06 Mar, 2015 1 commit
  8. 23 Oct, 2014 1 commit
  9. 18 Jul, 2014 1 commit
    • Julien Muchembled's avatar
      New re6st.version module · e15da4c4
      Julien Muchembled authored
      - new -V/--version command line option
      - protocol extended to get the version of any node in the network,
        which will allow to track those running an old version of re6st
      e15da4c4