Adrien Béraud
eda121297b
proxy client: protect searches when updating push token
2026-03-13 15:10:12 -04:00
Adrien Béraud
603e777c9e
dht: refresh token on listen confirmation
2026-03-13 15:10:12 -04:00
Adrien Béraud
8fcb19627d
dht: mark listen as non-synced on auth failure
2026-03-13 13:06:08 -04:00
Adrien Béraud
b6ea2ed8e2
proxy client: resubscribe on new endpoint
2026-03-13 13:05:34 -04:00
Adrien Béraud
4bd796cddd
dht: state is connecting if bootstrap is pending
2026-03-13 11:53:32 -04:00
Adrien Béraud
ad372bf232
dht: restart searches on connect
2026-03-13 11:52:57 -04:00
Adrien Béraud
ae44ac98fb
dht: open new socket if previous was closed
2026-03-13 11:06:50 -04:00
Adrien Béraud
f94f072ad6
dht: send token in listen confirmation
2026-03-13 00:53:05 -04:00
Adrien Béraud
c51beca374
dht: properly persist expiration time
2026-03-13 00:38:31 -04:00
Adrien Béraud
4b9a6489c3
dht: persist storage usage
2026-03-13 00:28:38 -04:00
Adrien Béraud
34722cab7a
dht: clarify storage log
2026-03-13 00:04:49 -04:00
Adrien Béraud
9e1dc3f793
dht: log stats about imported values
2026-03-13 00:04:49 -04:00
Adrien Béraud
0eacd7fe6c
tools: move to dht::tools namespace
2026-03-13 00:04:49 -04:00
Adrien Béraud
9a902fa80c
dht: fix incorrect id in log
2026-03-08 12:27:00 -04:00
Adrien Béraud
931d79b701
dht: handle out-of-order partial messages
2026-03-08 12:26:23 -04:00
Adrien Béraud
33b2bf12fa
dht: fix recycling of existing search
2026-03-06 23:19:51 -05:00
Adrien Béraud
08e9f0b763
network_engine: always erase partial message after processing
2026-03-06 23:19:51 -05:00
Adrien Béraud
a32d76d312
securedht: cleanup
2026-02-27 00:18:20 -05:00
Adrien Béraud
8ebecfa25a
securedht: stop storing certificate at sha1(publicKey)
2026-02-27 00:12:40 -05:00
Adrien Béraud
166566dbf4
remove automake files
2026-02-22 23:34:16 -05:00
Adrien Béraud
0fc7e451e6
dhtrunner: move getNodeInfo implementation to securedht
2026-02-22 17:16:28 -05:00
Adrien Béraud
85cbee0f1a
dht: add local storage stats in NodeInfo
2026-02-22 16:27:35 -05:00
Adrien Béraud
724b5e592e
dht: use independent storage quota for local values
2026-02-22 16:27:35 -05:00
Adrien Béraud
28001840fa
dht: avoid infinite loop when largest quota empty
...
Ensure the selected store_quota entry is non-empty before entering the
expiry loop. If an empty entry is encountered, log a warning and break
out to prevent repeatedly attempting to expire from an empty quota
(which could hang the expiry routine).
2026-02-21 18:34:07 -05:00
Adrien Béraud
047c10cf85
dht: handle empty values when updating storage quota
2026-02-21 18:34:00 -05:00
Adrien Béraud
152f9a2f54
dht: take shared_ptr by const-ref in sortedBucketInsert
2026-02-19 22:02:32 -05:00
Adrien Béraud
2c71662af7
dht_proxy_client: prevent disconnect on local ip change
2026-02-09 15:05:43 -05:00
Adrien Béraud
64032eb6d2
utils: use fmt::format for getaddrinfo error
...
Use fmt::format to build the std::invalid_argument message in
SockAddr::resolve
instead of manual std::string concatenation when getaddrinfo fails.
2026-02-09 13:26:02 -05:00
Adrien Béraud
d91f3bdbbd
dhtrunner: implement getStorageLimit
2026-02-09 13:26:00 -05:00
Adrien Béraud
73dc55155e
utils: make unpackMsg take const Blob& and inline
...
Change the template unpackMsg to accept a const Blob& to avoid an
unnecessary copy of the Blob argument. Move the non-template unpackMsg
(returning msgpack::unpacked) into the header as an inline function and
remove its out-of-line definition from src/utils.cpp. Update
declarations accordingly.
2026-02-05 21:31:42 -05:00
Adrien Béraud
aa000ee586
http: cleanup
2026-02-05 21:31:42 -05:00
Adrien Béraud
ec4c3e343c
dht: format request targets with fmt
2026-02-05 21:31:42 -05:00
Adrien Béraud
40ffafa756
logger: use file and line number
2026-01-29 22:38:57 -05:00
Adrien Béraud
c59c0ef64d
log: add tag and filter mechanism
2026-01-26 17:31:37 -05:00
Adrien Béraud
29f87169f8
proxy server: use TLS 1.3
2026-01-21 15:29:25 -05:00
Adrien Béraud
f9cba71d51
Switch project license from GPL-3.0-or-later to MIT
2026-01-17 22:25:43 -05:00
Adrien Béraud
4fd4745647
update copyright to 2026
2026-01-17 17:09:06 -05:00
Adrien Béraud
db8ca78943
securedht: refactor lambda captures
2026-01-07 00:30:56 -05:00
Adrien Béraud
da9360143d
dht: fix typo in comment
2026-01-07 00:14:25 -05:00
Adrien Béraud
d978b471a3
thread pool: cleanup
2026-01-07 00:14:25 -05:00
Adrien Beraud
9f7e4aaa96
Revert "log: add tag and filter mechanism"
...
This reverts commit afce0fb0b4 .
2025-12-10 12:12:05 -05:00
Adrien Béraud
0bfd3cd9fc
network engine: check on_expired
2025-12-09 15:46:57 -05:00
Adrien Béraud
cd07d68bef
crypto: only support webPush with GnuTLS 3.8.2+
2025-12-09 10:39:58 -05:00
Adrien Béraud
88f3870f20
dhtrunner: add registerInsecureType method and header file
2025-12-09 09:43:30 -05:00
Adrien Béraud
d9d2c44e0f
format
2025-12-09 09:43:19 -05:00
Adrien Béraud
a1c881d914
network engine: replace lambda with direct on_expired callback
2025-12-09 09:42:52 -05:00
Adrien Béraud
fbc489863f
http: use string_view for resolver, url
2025-12-02 22:28:32 -05:00
Adrien Béraud
504a3638d9
proxy server: add support for encrypted WebPush
2025-12-02 22:28:32 -05:00
Adrien Béraud
a85abccd62
proxy server: improve unifiedpush support
2025-12-01 22:20:37 -05:00
Adrien Béraud
afce0fb0b4
log: add tag and filter mechanism
2025-12-01 22:20:37 -05:00