1. 27 Sep, 2013 1 commit
    • Julien Muchembled's avatar
      Speed up bootstrap and reconnection · c4c04f4b
      Julien Muchembled authored
      The way peer addresses were exchanged polluted caches with information about
      dead nodes. In particular, bootstrapping often took a long time because the
      cache of the primary node was mostly useless.
      
      This also fixes bootstrap of registry.
      c4c04f4b
  2. 09 Aug, 2013 1 commit
  3. 02 Aug, 2013 2 commits
  4. 25 Jun, 2013 1 commit
    • Julien Muchembled's avatar
      Fix OverflowError on Windows · e3874b09
      Julien Muchembled authored
      Traceback (most recent call last):
        File "/opt/re6stnet/re6stnet", line 403, in main
          tunnel_manager.handlePeerEvent()
        File "/cygdrive/d/slapos/opt/git/re6stnet/re6st/tunnel.py", line 472, in handlePeerEvent
          self.sock.sendto('\1' + ''.join(msg), address)
      e3874b09
  5. 18 Jun, 2013 2 commits
  6. 11 Jun, 2013 2 commits
  7. 03 Jun, 2013 2 commits
  8. 20 May, 2013 1 commit
  9. 13 May, 2013 5 commits
  10. 07 May, 2013 1 commit
  11. 23 Apr, 2013 2 commits
  12. 22 Apr, 2013 2 commits
  13. 17 Apr, 2013 1 commit
  14. 16 Apr, 2013 1 commit
    • Julien Muchembled's avatar
      Fix use of alternate addresses · 620b9e98
      Julien Muchembled authored
      When a peer advertised several addresses, a node trying to create a tunnel to
      it never tried any other address than the first one.
      
      Before, we wrongly assumed OpenVPN would try all addresses before aborting
      (--ping-exit). New code reexecutes OpenVPN until all addresses are tried
      and update the peer db to reorder addresses if the first one failed.
      620b9e98
  15. 27 Mar, 2013 1 commit
  16. 25 Mar, 2013 1 commit
  17. 19 Mar, 2013 3 commits
  18. 18 Mar, 2013 3 commits
    • Julien Muchembled's avatar
      Add a warning about a possible misuse of multiple --ip arguments · 9dac60f9
      Julien Muchembled authored
      '--ip any' was also broken due to missing parenthesis.
      9dac60f9
    • Julien Muchembled's avatar
      Fix possible bootstrap issue · ed2846b4
      Julien Muchembled authored
      When 2 nodes were started for the first time whereas:
      - one of them is in client-only mode, connected to the other one
      - the registry node is temporarily down
      then the normal node never tried to rebootstrap or connect directly to the
      only node it knows (the registry node).
      Such case required to restart the daemon when the registry is back.
      
      Moreover, there was no reason to query the registry node immediately after
      having open new tunnels to peers found in cache, when this number is less than
      expected.
      ed2846b4
    • Julien Muchembled's avatar
      Select gateway in turns instead of randomly · 6b35d638
      Julien Muchembled authored
      This reduces the probability to lose all connections at the same time when a
      gateway becomes out-of-order.
      6b35d638
  19. 15 Mar, 2013 4 commits
  20. 13 Mar, 2013 2 commits
  21. 12 Mar, 2013 2 commits