Skip to content
Snippets Groups Projects
  1. Mar 26, 2025
  2. Mar 25, 2025
    • Amna Snene's avatar
      docs: update README · 96dd3d0d
      Amna Snene authored
      Removed the packaging documentation from the main README and added a packaging section next to the tools sections.
      
      The main README should be only about the dhtnet library, while the packaging documentation is part of the tools documentation, as it mainly focuses on the dnc server and client.
      
      Change-Id: Ida8a1dab34dedb095d41b6444d882d0a34e14d52
      96dd3d0d
  3. Mar 19, 2025
  4. Feb 28, 2025
  5. Feb 27, 2025
  6. Feb 26, 2025
  7. Feb 24, 2025
  8. Feb 20, 2025
  9. Jan 24, 2025
  10. Jan 23, 2025
  11. Jan 22, 2025
  12. Jan 17, 2025
  13. Jan 16, 2025
    • François-Simon Fauteux-Chapleau's avatar
      nat_pmp: remove duplicate logic · d16f8162
      François-Simon Fauteux-Chapleau authored
      This patch removes the custom retry limit and timeout in the
      NatPmp::readResponse function; they were not necessary given that
      libnatpmp already implements this functionality.
      
      This change means that readResponse can no longer return the
      NATPMP_TRYAGAIN error code. The fact that it could previously seems to
      be what enabled the bug described in the following issue:
      jami-client-qt#1898
      More precisely, it seems that the readResponse function was repeatedly
      returning NATPMP_TRYAGAIN (even though the mapping requests had actually
      succeeded), which isn't a "fatal" error (as determined by the
      NatPmp::isErrorFatal function) and therefore didn't cause the error
      counter to be incremented and the IGD to be invalidated.
      
      GitLab: #43
      Change-Id: I1374ba1b40e867399dab0f2dc4f6f75424f4a6b6
      d16f8162
  14. Jan 15, 2025
  15. Jan 06, 2025
  16. Jan 05, 2025
    • ovari's avatar
      tls_session.cpp: cleanup · dc96183f
      ovari authored
      authentification → authentication
      chunck → chunk
      DTLS
      GnuTLS
      IPv4
      IPv6
      MiM attack → MITM attack
      MTU
      non-reliable → unreliable
      non-valid → invalid
      OCSP
      OK
      Renogotiate → Renegotiate
      retry → reattempt
      shuting → shutting
      tried → attempt
      try → attempt
      URI
      x509 → X.509
      
      Change-Id: I5ab67f1fb10b24aa8de79217cba219137de6a88b
      dc96183f
  17. Dec 22, 2024
    • ovari's avatar
      cleanup · 385acfc3
      ovari authored
      Change-Id: Id59bce284de0a8a683c62d5eb4388fe228f4d950
      385acfc3
  18. Dec 19, 2024
    • ovari's avatar
      cleanup · 67e71478
      ovari authored
      I/O queue
      ID
      intermidiate → intermediate
      IP address
      IPv4
      IPv6
      not initialized → Uninitialized
      STUN
      too much → Too many
      
      Change-Id: Ice56bef0cf363ce676f516ed32f475c9cd248b15
      67e71478
  19. Dec 15, 2024
    • ovari's avatar
      cleanup · 78890174
      ovari authored
      …
      
      Change-Id: I8dfaa1fab2dd712bc09d9689b9eaf657b72a2c5e
      78890174
  20. Dec 13, 2024
  21. 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
  22. Dec 02, 2024
    • ovari's avatar
      cleanup · 9b4b5852
      ovari authored
      ... → …
      wish → want
      
      Change-Id: Iedfd8fcf6cdb56819b80a954d511f83eb2b8e906
      9b4b5852
  23. Nov 27, 2024
  24. Nov 26, 2024
  25. Nov 24, 2024
  26. Nov 18, 2024
  27. 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
  28. Oct 25, 2024
  29. 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
Loading