1. 01 Feb, 2014 1 commit
    • Julien Muchembled's avatar
      Disable clean up of unused tap interface · d46b09e1
      Julien Muchembled authored
      Current implementation is too aggressive and after some time, babeld stops
      working properly, with log full of:
      
        setsockopt(IPV6_JOIN_GROUP): Cannot allocate memory
        setsockopt(IPV6_LEAVE_GROUP): Cannot assign requested address
      d46b09e1
  2. 16 Jan, 2014 1 commit
  3. 23 Dec, 2013 1 commit
  4. 25 Nov, 2013 1 commit
  5. 21 Nov, 2013 1 commit
  6. 20 Nov, 2013 2 commits
    • Julien Muchembled's avatar
      Disable UDP protocol by default for OpenVPN tunnels · cd653523
      Julien Muchembled authored
      UDP protocol is useless if nothing is done to prevent fragmentation.
      Otherwise, it is at best unefficient.
      
      There exist routers on the internet that filter fragmented packets with specific
      data. This is hard to debug because TCP connections hang randomly when there is
      no OpenVPN encryption.
      
      Now, only TCP is enabled by default. A second protocol should be there for
      better performance when possible, either existing UDP one (provided it is
      guaranteed there is no fragmentation) or something better (GRE ?).
      cd653523
    • Julien Muchembled's avatar
      Apply tun_mtu when starting TAP interfaces · a6be6881
      Julien Muchembled authored
      For the moment, this does nothing since it should always be 1500.
      a6be6881
  7. 13 Nov, 2013 1 commit
  8. 01 Oct, 2013 1 commit
  9. 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
  10. 09 Aug, 2013 1 commit
  11. 02 Aug, 2013 2 commits
  12. 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
  13. 18 Jun, 2013 2 commits
  14. 11 Jun, 2013 2 commits
  15. 03 Jun, 2013 2 commits
  16. 20 May, 2013 1 commit
  17. 13 May, 2013 5 commits
  18. 07 May, 2013 1 commit
  19. 23 Apr, 2013 2 commits
  20. 22 Apr, 2013 2 commits
  21. 17 Apr, 2013 1 commit
  22. 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
  23. 27 Mar, 2013 1 commit
  24. 25 Mar, 2013 1 commit
  25. 19 Mar, 2013 3 commits
  26. 18 Mar, 2013 2 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