1. 03 Sep, 2014 1 commit
  2. 02 Sep, 2014 1 commit
  3. 26 Aug, 2014 1 commit
  4. 20 Aug, 2014 1 commit
    • Julien Muchembled's avatar
      Do not fail on unexpected 'route_up' notifications from OpenVPN clients · d7d7b425
      Julien Muchembled authored
      This fixes the following error:
      
        TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
        Traceback (most recent call last):
          File "/usr/sbin/re6stnet", line 438, in main
            tunnel_manager.handleTunnelEvent(read_pipe.readline())
          File "/usr/lib/python2.7/dist-packages/re6st/tunnel.py", line 389, in handleTunnelEvent
            m(*args)
          File "/usr/lib/python2.7/dist-packages/re6st/tunnel.py", line 412, in _ovpn_route_up
            self._connection_dict[prefix].connected()
          File "/usr/lib/python2.7/dist-packages/re6st/tunnel.py", line 76, in connected
            i = self._retry - 1
      
      What happened is probably that a route_up notification was received just before
      killing/recreating the connection for the same node, and then process twice
      the same OpenVPN notification: in this case, the first was for a previous
      connection and should have been ignored.
      d7d7b425
  5. 31 Jul, 2014 2 commits
  6. 29 Jul, 2014 2 commits
  7. 22 Jul, 2014 1 commit
  8. 18 Jul, 2014 2 commits
  9. 16 Jul, 2014 2 commits
  10. 12 Jul, 2014 1 commit
  11. 11 Jul, 2014 3 commits
  12. 10 Jul, 2014 1 commit
  13. 07 Jul, 2014 1 commit
  14. 03 Jul, 2014 1 commit
  15. 02 Jul, 2014 2 commits
  16. 29 Apr, 2014 1 commit
  17. 20 Feb, 2014 1 commit
  18. 19 Feb, 2014 2 commits
  19. 03 Feb, 2014 1 commit
  20. 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
  21. 16 Jan, 2014 1 commit
  22. 23 Dec, 2013 1 commit
  23. 25 Nov, 2013 1 commit
  24. 21 Nov, 2013 1 commit
  25. 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
  26. 13 Nov, 2013 1 commit
  27. 01 Oct, 2013 1 commit
  28. 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
  29. 09 Aug, 2013 1 commit
  30. 02 Aug, 2013 2 commits