1. 20 Jul, 2022 1 commit
  2. 13 Jul, 2022 1 commit
  3. 12 Jul, 2022 2 commits
  4. 07 Jul, 2022 1 commit
  5. 06 Jul, 2022 4 commits
  6. 31 May, 2022 1 commit
  7. 30 May, 2022 6 commits
    • zhifan huang's avatar
      test(net): add a simple test for restart · f4a0b6a9
      zhifan huang authored
      f4a0b6a9
    • zhifan huang's avatar
      chore: add .gitingore in test file · 51ccf12b
      zhifan huang authored
      51ccf12b
    • zhifan huang's avatar
      test: bypass new community side effect · 0389379e
      zhifan huang authored
      0389379e
    • zhifan huang's avatar
      test: fix nemu device name too long · 0b811fd5
      zhifan huang authored
      nemu use "%.4x%.3x" % (os.getpid(), n) to generate device name, but it
      define the min length not the max length, when pid is high, this will
      exceed 16 bytes IFNAMSIZ
      0b811fd5
    • zhifan huang's avatar
      test: deploy re6st on net ns, and run ping test · 5bc6419c
      zhifan huang authored
      network_build: use nemu to create net namespace, provide several network
      
      re6st_wrap: wrap the deploy of re6st node, ease the creation of cert
      file and run of the node
      
      test_net contain the tests:
        - ping test: net segment(router), multi-net segment(demo),test after a
          reboot. Because net_demo contain a subnet UPnP, test is not stable.
      
      ping is like ping file in demo, a script to run multiping
      5bc6419c
    • zhifan huang's avatar
      test: add unit tests for registry, conf, tunnel · e7636b86
      zhifan huang authored
      registry: add test for RegistryServer and registryClient,
      testRegistryServer mainly test methods concerned to http rpc request.
      Other methods that call request_dump like getBootStrpPeer is not
      include.
      testRegistryClient test the rpc call with or not with "cn" parameter.
      
      cli.conf: test each situation call the cli conf.
      
      tunnel: add test for BaseTunnelManager, MultGatewayManager
      
      tools is a util cotain method to make cert and ket files
      e7636b86
  8. 12 May, 2022 1 commit
  9. 05 May, 2022 1 commit
  10. 04 May, 2022 5 commits
  11. 10 Dec, 2021 1 commit
  12. 31 Jul, 2021 2 commits
    • Julien Muchembled's avatar
      f1e95660
    • Julien Muchembled's avatar
      debian: fix restart on old OS · 865763b6
      Julien Muchembled authored
      On Debian < 10:
      - debhelper extends postint with 'try-restart', which caused re6st to
        remain stopped after upgrading from a re6st package that stopped
        services unconditionally in prerm (see previous commit);
      - deb-systemd-invoke does not check whether the service is enabled
        so 'try-restart' can't be replaced blindly with 'restart'
        (as it is the case in recent Debian).
      865763b6
  13. 03 Jul, 2021 1 commit
  14. 01 Jul, 2021 1 commit
  15. 30 Jun, 2021 1 commit
  16. 07 Jun, 2021 6 commits
  17. 04 May, 2021 1 commit
  18. 08 Apr, 2021 1 commit
  19. 31 Mar, 2021 1 commit
  20. 27 Mar, 2021 1 commit
  21. 23 Mar, 2021 1 commit
    • Joanne Hugé's avatar
      Fix TypeError in _updateCountry · ecda9f06
      Joanne Hugé authored
      Addresses passed to _updateCountry can contain countries if
      cache.my_address is used to initialize address in BaseTunnelManager init
      function, which causes resolve to be called with too many arguments.
      ecda9f06