Skip to content
Snippets Groups Projects
  1. Dec 13, 2024
  2. Dec 04, 2024
    • François-Simon Fauteux-Chapleau's avatar
      upnpctrl: don't open mappings by default · 6642a625
      François-Simon Fauteux-Chapleau authored
      The UPnPContext class currently has hardcoded limits on the number of
      mappings that need to be "available" at any given time. This patch adds
      the ability to modify these limits and sets them to zero in the upnpctrl
      tool. This changes the behavior of the tool in two ways:
      1) setting the minimum limit to zero means that no mappings are opened
         when upnpctrl starts;
      2) setting the maximum limit to zero means that the "close" command will
         always cause the relevant mapping to be closed immediately instead of
         (potentially) being put back in the list of available mappings.
      
      Change-Id: Idcf4262ce80a8b39f19ce7d3a201b40b3ea56911
      6642a625
  3. Dec 02, 2024
    • ovari's avatar
      cleanup · 9b4b5852
      ovari authored
      ... → …
      wish → want
      
      Change-Id: Iedfd8fcf6cdb56819b80a954d511f83eb2b8e906
      9b4b5852
  4. Nov 27, 2024
  5. Nov 26, 2024
  6. Nov 24, 2024
  7. Nov 18, 2024
  8. Nov 11, 2024
    • Adrien Béraud's avatar
      ice transport: use dedicated struct to hold pending upnp state · 57135162
      Adrien Béraud authored
      * fix: use the same mutex in callback and to wait
      * fix: notify with mutex locked
      * fix: avoid accessing this from callback, preventing potential use-after-free
      * allows to stop waiting for upnp mappings immediately
       when the transport is stopped
      * perform single allocation of shared state,
       and free the memory of mutex and cv after mapping completes
      
      Change-Id: I573937d2e8a90b31501a237607bbc7f52942bcea
      57135162
  9. Oct 25, 2024
  10. Oct 24, 2024
    • Louis Maillard's avatar
      packaging: fix paths when building packages · ce79ae14
      Louis Maillard authored
      On Ubuntu/debian, it have happenned that some build have inconsistent
      paths like /usr/usr/lib. To avoid this, hard-coded most of the paths
      like we are doing in Fedora.
      
      Change-Id: I8c1a3567490e02ac11ec57315bc3a7cc38d02ea0
      ce79ae14
    • Louis Maillard's avatar
      packaging: clean post-install script · f39d52f7
      Louis Maillard authored
      Cleaned all the dead code in debian/ubuntu post install script.
      
      Change-Id: Idb23b5974e544d704ee9feb753990bf185575ec5
      f39d52f7
    • Louis Maillard's avatar
      packaging: add ubuntu 24.10 build · ea0ddeb2
      Louis Maillard authored
      Building dhtnet for ubuntu 24.10 require the addition of libzstd for
      compilation to work (linker require it).
      
      Change-Id: I2168a84ee9fde3dc21925f000d5f136ef76fb207
      ea0ddeb2
    • Louis Maillard's avatar
      packaging: add Fedora 40 and 39 support · 9edce5fe
      Louis Maillard authored and Adrien Béraud's avatar Adrien Béraud committed
      Add dhtnet.spec for RPM build and fedora_40,39 dockerfile for env build.
      Fix and changes was required in Cmake instruction in order to build:
      - Dependencies can now be built in static mode even with dynamic library
      - Remove occurence of INSTALL_DIR path in dhtnet.pc and dnc.service
        but only when option TRIM_PREFIX_PATH is turned On.
      
      Fix and replace previously-reverted review 28703
      Replace change id (I2f2161d7c65241a35c4acbcc006ba27bfcc1f176)
      
      Change-Id: I5a80317d83791743ba6ee443fae7f89156e8013b
      9edce5fe
    • Adrien Béraud's avatar
      misc: fix various warnings · 08fcd48a
      Adrien Béraud authored
      Change-Id: Ifef17404e31f7478d310179255092d0e17743b16
      08fcd48a
    • Adrien Béraud's avatar
      ConnectionManager: avoid handling shutdown twice · 792b18e6
      Adrien Béraud authored
      Only process the callback if it was not already done by the tls
      shutdown callback.
      
      Change-Id: Iee9b479100268c4815f40f7b5d51b9db7dbb22cd
      792b18e6
  11. Oct 23, 2024
  12. Oct 22, 2024
  13. Oct 21, 2024
  14. Oct 18, 2024
  15. Oct 17, 2024
  16. Oct 14, 2024
  17. Oct 11, 2024
  18. Oct 10, 2024
  19. Oct 09, 2024
    • Louis Maillard's avatar
      packaging: Add Fedora 40 and 39 support · eab419d3
      Louis Maillard authored
      Add dhtnet.spec for RPM build and fedora-40,39 dockerfile for env build.
      Fix and changes was required in Cmake instruction in order to build:
      - Add `llhttp` and `neddle` library linking when building tools
      - `llhttp` liking is disabled by default for debian, enabled for fedora
      - Remove occurence of INSTALL_DIR path in dhtnet.pc and dnc.service
      
      Change-Id: I2f2161d7c65241a35c4acbcc006ba27bfcc1f176
      eab419d3
    • Louis Maillard's avatar
      config: replace jami.net servers by sfl.io · f6b2962e
      Louis Maillard authored
      We was using jami.net tun server and bootstrap node in docs, config and
      even source code as default. To split concerns, DHTNet now have it's
      own turn.sfl.io and bootstrap.sfl.io services for demonstration and
      public testing purpose. They are still not intended for production use.
      
      Also change default conf to allow anonymous by default.
      This is not a security concern as by default we only allow SSH access,
      which is secure and restricted by key / password.
      
      Change-Id: Ibcd3607dcd7f46ed21c0ac396fde0459edc2c92e
      f6b2962e
    • Louis Maillard's avatar
      jenkins: add build pipeline for .deb artefacts · 503d3644
      Louis Maillard authored
      Add a Jenkinsfile for automation of building artefacts for debian, ubuntu
      and following distros.
      Jenkins read a build.version file to determine version to build.
      
      We don't just run `extras/packaging/build_package.sh -a` because this
      would lead to running unverified shell script from unapproved commit
      outside of docker isolation, directly on jenkins server.
      
      Change-Id: I0482aa489272952755b88efefa0674175ca88cdd
      503d3644
  20. Sep 30, 2024
  21. Sep 26, 2024
  22. Sep 24, 2024
  23. Sep 23, 2024
Loading