1. 03 Feb, 2014 1 commit
  2. 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
  3. 16 Jan, 2014 1 commit
  4. 23 Dec, 2013 1 commit
  5. 25 Nov, 2013 1 commit
  6. 21 Nov, 2013 1 commit
  7. 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
  8. 13 Nov, 2013 1 commit
  9. 01 Oct, 2013 1 commit
  10. 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
  11. 09 Aug, 2013 1 commit
  12. 02 Aug, 2013 2 commits
  13. 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
  14. 18 Jun, 2013 2 commits
  15. 11 Jun, 2013 2 commits
  16. 03 Jun, 2013 2 commits
  17. 20 May, 2013 1 commit
  18. 13 May, 2013 5 commits
  19. 07 May, 2013 1 commit
  20. 23 Apr, 2013 2 commits
  21. 22 Apr, 2013 2 commits
  22. 17 Apr, 2013 1 commit
  23. 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
  24. 27 Mar, 2013 1 commit
  25. 25 Mar, 2013 1 commit
  26. 19 Mar, 2013 3 commits
  27. 18 Mar, 2013 1 commit