File opendht.changes of Package opendht
------------------------------------------------------------------- Mon Sep 30 17:37:12 UTC 2024 - kilgore.trout@idesmi.eu - Update to version 3.2.0: * http: use appropriate string format syntax * DecryptError cause by low level error * peer discovery: add a timer to schedule `connectivityChanged` with a maximum interval of one minute * Get off of deprecated GCM AES methods * pkgconfig: add optional liburing dependency * Fix an unused parameter warning in dhtrunnertester * peer discovery: address requested changes * peer discovery: re-publish and re-discover immediately when a node disconnects, instead of on the connectivityChanged signal. * peer discovery: post reDiscover() and publish() to the ioContext when connectivity changes. * cmake, meson: allow to use io_uring * ci/github: update to latest action versions * fix getif_workaround_android.h * make crypto error messages more readable * make crypto error messages more readable * rust: update to 2021, fix memory issues * dht: add support to behave as a client node * peer discovery: cleanup * fix android workaround * peer_discovery: add a workaround for Android hotspot * README: add llhttp dependency * ci/github: update before install * update version to 3.2.0 * ci: build proxy client for Autotools build * http: migrate from http-parser to llhttp * update http, dht_proxy_client * update http.h, http.cpp * proxy client: decrease the frequency of keepalive for listen op * http: allow to modify keepalive option * return to 386943de * cleanup * Update http.cpp * Adjust TCP keepalive options for listen op * network_utils: use poll instead of select * thread pool: add function to detach threads * tests/proxy: use random port * meson: disable long tests by default * meson: add test for PeerDiscovery * meson: add test prefix for unit tests * update version to 3.1.11 * meson: configure pkgconfig files * proxy: add long test * meson: add ability to build static or shared * meson: link tests with msgpack * op cache: return cache result in onValue * proxy client: cancel http request on listen cancel * meson: fix build with proxy server * meson: allow to build unit tests * meson: build thread pool * dht_proxy_server: use lambda instead of std::bind for listen callback * update version to 3.1.10 * provide value IDs for push notifications * replace CPPFLAGS += ... (2) * replace CPPFLAGS += ... * update version to 3.1.9 * meson: support building with push notification support * ci: use Cython from pip * meson: support building python * meson: support building with indexation * Revert "ci: build proxy client for Autotools build" * docker: use cython, meson from pip * update version to 3.1.8 * crypto: remove legacy decrypt * dhtnode: fix small typo in put encrypted log * crypto: always zero-initialize gnutls_datum_t * use new log format * dhtrunner: avoid blocking when stopping * proxy client: cancel resolver on stop * Request: cancel resolver on cancel * http: allow to cancel resolver * ci: build proxy client for Autotools build * http: use OCSP_check_validity to check OCSP validity * build/cmake: require cmake 3.16 * ci/github: use Cython from pip on Ubuntu 22.04 * ci/github: use recent Meson for build * ci/github: use BUILD_TESTING instead of OPENDHT_TESTS * dht_proxy_server: Allow user to specify non-standard ports in UnifiedPush endpoint * build: update version to 3.1.7 * move secure_vector to its own file * aesEncrypt: allow to provide salt * build/meson: allow to build c binding * build: remove rng.cpp * getDerivedRandomEngine: use 32 bit input for std::seed_seq * build: update version to 3.1.6 * pht: move to std::random_device * rng: drop custom random_device implementation for MinGW/Windows * rng: improve getSeededRandomEngine * dhtrunner: allow to configure rng used by the dht * dht: allow to provide rng to constructor * search: return if added node is actually removed * build: update version to 3.1.4 * tests: add test for aesBuildEncrypted * crypto: add aesBuildEncrypted * crypto: fix typo in comment * ci/github: use macOS 12 * build: update version to 3.1.3 * build/cmake: Link libatomic where needed for 64-bit atomic ops. * python: add aesEncrypt, aesDecrypt with password * tests: add tests for AES encryption and key streching * crypto: add aesGetKey, aesGetSalt, aesGetEncrypted * build: update version to 3.1.2 * python: add putSigned, putEncrypted to DhtRunner * Add loadIdentity * python: add cancelPut * python: add biding for missing DhtConfig fields * python: add binding for SockAddr.resolve * python: use shared_ptr, make_shared from Cython * python: support 'permanent' argument for put * proxy client: retry permanent put after reconnect * proxy server: use isMember for timeout * update version to 3.0.0 * ci, docker: update restinio * iOS: use high priority for resubscribe notifications * python: make callbacks noexcept * callbacks: make raw callbacks except * callbacks: make raw callbacks noexcept * python: update classifiers * unit tests: make testListen run 256 times * update README.md * Revert "build: do not define ASN1_time_parse when using openssl" * meson, autotools: link with fmt * proxy client: use [[maybe_unused]] * proxy client: implement OnPublicAddressChanged * http: don't encode whole url * tools: show log on PublicAddressChanged * dht: implement OnPublicAddressChanged * dht interface: add OnPublicAddressChanged * storage: remove unused variable * add syncLevel to send announce/listen early * build: do not define ASN1_time_parse when using openssl * thread pool: add missing header * thread pool: simplify cleanup logic * thread pool: wait for tasks to complete on stop * thread pool: allow pool to reduce in size after some time * tests/http: wait for the server to start * dhtcnode: reduce exposed stack storage * doc: fix dhtnode(1) man page formatting * http: remove incorrect static usage * build/cmake: remove unsupported attribute * url_encode: escape url query * network engine: remove link-local condition from isMartian() * log: cleanup, avoid using default constructor * network_engine: add missing headers * dhtnode.cpp: fix void print_usage() * network engine: make UA private, constexpr * logger: make class public * dht: update User-Agent (UA) to "o2" * log: fix build on Windows * node cache: increase cleanup period * node: properly skip id 0 * dockerfile: use deps from ghcr * docker/alpine: use Alpine 3.18 * update copyright year * securedht: destroy dht before other fields * log: simplify logger * proxyServer: no need for a pushServer_ for type==UnifiedPush * build/cmake: apply OPENDHT_SANITIZE to the C binding * dht: remove deprecated constructor * update version to 2.6.0 * logger: remove OPENDHT_LOG, rename to logger.h * hash: add fmt formatter * sockaddr: add fmt formatter * logs: use fmt * logs: use fmt * DhtRunner, dht_interface: remove setLoggers * log: move Color, printLog as private * meson: build dhtchat, dhtscanner * update version to 2.5.5 * cmake: use full path for pkgconfig * update version to 2.5.4 * docker: build using current repo state * CMake: handle missing SYSTEMD_UNIT_INSTALL_DIR * Hash: add Hash<N>::get(Hash<M>) to compute an hash from another * securedht: allow certificate to be stored on longId hash * update version to 2.5.3 * build/cmake: handle empty SYSTEMD_UNIT_FILE_LOCATION * misc: use bootstrap.jami.net instead of ring.cx * build/cmake: don't use testing on MSVC * cmake: fix msvc build * update version to 2.5.2 * msgpack: support more package names * msgpack: support more package names * msgpack: support more package names * update version to 2.5.1 * Makefile: add node_export * docker: use dep alpine base image * ci/github: cleanup * thread pool: handle exceptions starting threads * dht: send large amounts of values in multiple messages * docker: add Alpine deps * ci/github: don't run ci with autotools * ci/github: use ninja with meson * meson: install, include public dir from tools * ci/github: add meson build * ci/github: add meson build * NodeExport: add missing include * NodeExport: use SockAddr, move to separate header * build/meson: build durl with http and tools * use ostringstream instead of stringstream where possible * certificate: add public key cache * more attempts to find msgpackc-cxx in a universal way * thread pool: increase max io pool size to 512 * update version to 2.5.0 * build/meson: make tools an option * meson: add initial support * Revert "cmake: update msgpack package name" * use proper image name for github action * add Alpine image * readme: cleanup * cmake: update msgpack package name * pkgconfig: gnutls jsoncpp, openssl are public dependencies * cmake: use CTest * build/cmake: unify static and shared build * move filter * proxy server: allow to ping push * update version to 2.4.11 * build/cmake: add SOVERSION for c binding * update version to 2.4.11 * use pkg-config for gnutls, fix msgpack * cmake: use IMPORTED_TARGET with pkg_search_module * dht: fix value edition, add unit test * crypto: compare public keys with longId * securedht: compare public key content instead of pointer * build/cmake: Set variables needed by pkg-config files. * ci: build macOS with push notifications * proxy client: protect resolver * value: use move in where * value: inline filter * infohash: add to_view() * proxy client: cleanup * unifiedpush: remove unifiedpush parameter * build/cmake: Set opendht-c-static's OUTPUT_NAME to opendht-c. * proxyclient: add possibility to set the platform * proxyserver: add support for UnifiedPush standard * dht_proxy_server: fix push notifications if tls is enabled * proxy server: don't send refresh notification for non-push operations * proxyserver: send correct value id to client * rust: update os_socketaddr to latest version * proxyserver: add topic to msgpack * dht_proxy_server: fix permanent put * docker, ci: update restinio * ci/github: update restinio * update version to 2.4.10 * crypto: allow to build all from std::string_view * dht_proxy_client: fix not contextually convertible to 'bool' error * proxy_client: reconnect account if local ip changes * http: modify timeout behaviour * crypto: allow to build all from std::string_view * thread pool: release tasks on stop * iOS: drop support for voip notifications * thread pool: release tasks on stop * update version to 2.4.9 * misc: fix various warnings * proxy server: export symbols for ProxyServerConfig * peer discovery: cleanup, reduce memory usage * procy client: use new routes * dhtrunner: only start peer discovery if proxy is disabled * ci/github: cleanup * build: use Wno-deprecated ------------------------------------------------------------------- Wed Jul 06 21:18:53 UTC 2022 - idesmi@protonmail.com - Update to version 2.4.8.1rc2+0~git20220705.acadeb22: * docker: add dhtnode image * build/dev: build in sanitize mode * proxy server: allow to configure address to bind * ci/github: update release action * docker: install systemd * ci/github: use secrets.AUTH_TOKEN * ci/github: release on tag * docker: add python3-virtualenv * docker: use Ubuntu 22.04 for LLVM build * ci/github: don't build static lib * docker: use Ubuntu 22.04 * ci/github: use unique names for steps * ci/github: build Python Wheel * ci/github: build LLVM Docker images * build/python: add dist target * build/python: add pyproject.toml * build/cmake: refactor library linking * proxyserver: cleanup, avoid ref-to-temporary * proxyserver: add bundleId at the end of ProxyServerConfig * proxyserver: add application bundle id option * update version to 2.4.8 * ios: support multiple notification types * Update codeql-analysis.yml * Create codeql-analysis.yml * ci/github: add experimental docker build action * build/autotools: don't export internal symbols * update version to 2.4.7 * build/cmake: use max version for cmake_minimum_required * x509: make PrivateKey::getPublicKey() thread-safe * build/autotols: allow to build with header-only msgpack-cxx installation * build/pkgconfig: update project description * buiild/autotools: use -fvisibility=hidden in release mode * crypto: protect Id caching with atomic_bool * crypto: cache public key id * crypto: remove support for GnuTLS < 3.4 * infohash: fix alignment warning * infohash: remove optimization due to weird warnings * cmake: allow to build with header-only msgpack-cxx installation * update version to 2.4.6 * dhtrunner: don't bind port if proxy is used * sockaddr: allow to release ownership * dhtcnode: cleanup * dhtrunner: make getPublicAddress const * misc: use std::make_unique * dhtrunner: remove support for running both dht and proxy client * securedht: avoid to update cache if not necessary * securedht: fix warning * dhtrunner: use consistent path for state * python/tools: network builder v2 * python/tools: update network builder * autotools: fix check for CppUnit * github: add minimal build * update version to 2.4.5 * tasks: generate compile commands * value: cleanup, move sign & encrypt to cpp * value: fix build without jsoncpp * value: add inline specifier to inline methods * update version to 2.4.4 * tests/dhtrunner: split count per key * c: use void for dht_version * securedht: move crypto ops to Value * update version to 2.4.3 * tools/dhtcnode: use version arg, cleanup * dht: increase max hashes to 1G * c: add dht_infohash_from_hex_null * network engine: minor refactoring * tests/dhtrunner: use unlimited store size * tests/dhtrunner: consider value expiration for counting * dht: add config max_store_keys * tools/dhtnode: show basic storage stats on "ll" * NodeInfo: add storage stats * tools/dhtcnode: print version on startup * tools/dhtcnode: include stdio.h before readline.h * c: add dht_version() * dht: add getStorageLimit * tools/dhtcnode: count values in listen, add "ll" * tools/dhtcnode: use memset instead of bzero * update version to 2.4.2 * update version to 2.4.1 * tests/dhtrunner: increase put count * dhtrunner: prevent integer underflow in UDP rx callback * net: increase max queue size * dht: notify listeners when value is removed because of limits * storage: check size before returning oldest * cmake/c: respect OPENDHT_STATIC/SHARED flags * tools/dhtcnode: increase shutdown pooling period * dht: allow to store up to 64k values per hash * dht: fix potential of-by-one largest computation, cleanup * dht: prevent potential use-after-free in storageChanged * dht: pass value directly to storageChanged * print_addr: use ostringstream insted of stringstream * dht: update storage bucket on refresh * test/dhtrunner: use random port, add more assertions * dhtrunner: always call `opEnded` once per op * c: cleanup dhtcnode * build/dev: cleanup launch.json * docker: install libtool * c: update dhtcnode * c: support log to stdout/stderr * c: support building with autotools * build/dev: build in build_dev * tests: wait for put callback before retrieving certificate * misc: fix various clang-tidy warnings * cmake: fix incorrectly linking to libatomic on macOS * unit tests: run on pull request * misc: use more string_view * Revert "cmake: check atomic for `RISC-V` architecture" * build/dev: use gdb on linux, llvm on macOS with vscode tasks * cmake: fix incorrect variable name * cmake: simplify atomic checks * cmake: check atomic for `RISC-V` architecture * build/dev: add tests to vscode tasks * network engine: use string_view for better performance * dhtnode: display total count of values for get and listen * ci: use scan-build with debug mode * value: use namespace std::literals * build/dev: add vscode devcontainer and dhtnode task * proxy client: fix building Listener map * use string view literals where relevant * fix various cppcheck warnings/errors * search: use const for iterator comparison * ci/github: add Clang static analysis * autotools: update m4 for C++17 * ci/github: update to checkout@v3 * update readme * ci: remove travis * docker: fix Bionic (Ubuntu 18.04) support * docker: build with tools, peer discovery * python: adapt for C++17 * proxy server: support c++17 * value: support std::string_view * infohash: support std::string_view * update Dockerfiles, remove Travis * build: use C++17 * build: remove OPENDHT_LTO * update dockerfiles * update copyright * update copyright * c: add license header * c: include errno.h * c: add dht_privatekey_decrypt, handle crypto exceptions * c: add callback to dht_runner_ping * c: add dht_runner_is_running, dht_runner_get_bound_port * dhtrunner: re-throw exception directly in init * dhtrunner: pass function argument by value * c: handle exception during initialization * build: update version to 2.3.5 * dhtrunner: handle exception during initialization * c: specify void argument for dht_runner_new * build: update version to 2.3.4 * cmake: update CheckAtomic * dht: remove canceled tasks from scheduler * infohash: include cstddef * value cache: move to lambda * build: update version to 2.3.3 * build: use msgpack cmake * dht: avoid job & search leak * tools/c: adapt include directory * tools/c: use new api * c: add missing value apis * scheduler: remove debug log * c: install header to opendht directory * value: cleanup * storage: cleanup * cmake: support some policies * thread pool: cleanup * build: use msgpack without boost * c: install header * dht: add max bootstrap period * dht: reset bootstrap period on connectivity change * dht: respect exponential backoff * dhtrunner: use configured logger for dropped packets * build: update version to 2.3.2 * perftest: cleanup * crypto: cleanup * storage: 0-init size_diff * crypto: add parameter to change Certificate's validity period ------------------------------------------------------------------- Sat May 7 04:53:27 UTC 2022 - Luigi Baldoni <aloisio@gmx.com> - Update to version 2.4.4 ------------------------------------------------------------------- Fri Jan 15 14:06:02 UTC 2021 - Luigi Baldoni <aloisio@gmx.com> - Initial package (v2.1.10)