Adrien Béraud
|
12a52c78ac
|
x509: make PrivateKey::getPublicKey() thread-safe
|
2022-06-28 14:12:45 -04:00 |
|
Adrien Béraud
|
dc9a211fb0
|
crypto: protect Id caching with atomic_bool
|
2022-06-27 15:40:45 -04:00 |
|
Adrien Béraud
|
d49b394eae
|
crypto: cache public key id
|
2022-06-27 15:40:45 -04:00 |
|
Adrien Béraud
|
f82c68a871
|
crypto: remove support for GnuTLS < 3.4
|
2022-06-27 15:40:45 -04:00 |
|
Adrien Béraud
|
0a70b0f80f
|
dhtrunner: don't bind port if proxy is used
|
2022-06-22 22:20:15 -04:00 |
|
Adrien Béraud
|
efad2ada89
|
dhtrunner: make getPublicAddress const
|
2022-06-22 22:20:15 -04:00 |
|
Adrien Béraud
|
d825f4e5ae
|
misc: use std::make_unique
|
2022-06-08 13:14:09 -04:00 |
|
Adrien Béraud
|
baa2a5d21c
|
dhtrunner: remove support for running both dht and proxy client
If configured to run as a proxy client, no port will be bound and the local dht node
won't be instantiated.
|
2022-06-08 13:14:09 -04:00 |
|
Sébastien Blin
|
b3f9683018
|
securedht: avoid to update cache if not necessary
|
2022-06-08 13:07:06 -04:00 |
|
Adrien Béraud
|
6d1819acb9
|
securedht: fix warning
|
2022-06-07 15:58:16 -04:00 |
|
Adrien Béraud
|
d6ee44b640
|
dhtrunner: use consistent path for state
|
2022-06-07 15:38:44 -04:00 |
|
Adrien Béraud
|
5f743344e5
|
value: cleanup, move sign & encrypt to cpp
|
2022-05-25 11:04:46 -04:00 |
|
Michael Cho
|
56442acc84
|
value: fix build without jsoncpp
|
2022-05-25 09:49:30 -04:00 |
|
Adrien Béraud
|
5a6b9db60c
|
securedht: move crypto ops to Value
|
2022-04-25 13:43:57 -04:00 |
|
Adrien Béraud
|
61b7bed0f8
|
network engine: minor refactoring
|
2022-04-22 20:25:18 -04:00 |
|
Adrien Béraud
|
db3a4e52b2
|
dht: add config max_store_keys
|
2022-04-22 20:24:59 -04:00 |
|
Adrien Béraud
|
9646eb9374
|
NodeInfo: add storage stats
|
2022-04-20 16:10:25 -04:00 |
|
Adrien Béraud
|
c8eb704a92
|
dhtrunner: prevent integer underflow in UDP rx callback
|
2022-04-19 14:51:24 -04:00 |
|
Adrien Béraud
|
724c3e431c
|
dht: notify listeners when value is removed because of limits
|
2022-04-18 17:19:32 -04:00 |
|
Adrien Béraud
|
a9ddf49ecc
|
storage: check size before returning oldest
|
2022-04-18 17:18:08 -04:00 |
|
Adrien Béraud
|
ed972fd365
|
dht: allow to store up to 64k values per hash
|
2022-04-15 20:12:48 -04:00 |
|
Adrien Béraud
|
75834fb08f
|
dht: fix potential of-by-one largest computation, cleanup
|
2022-04-15 20:12:48 -04:00 |
|
Adrien Béraud
|
9991c976ff
|
dht: prevent potential use-after-free in storageChanged
|
2022-04-15 20:12:48 -04:00 |
|
Adrien Béraud
|
92b08bbbc9
|
dht: pass value directly to storageChanged
|
2022-04-15 20:12:48 -04:00 |
|
Adrien Béraud
|
4f9b50dd60
|
print_addr: use ostringstream insted of stringstream
|
2022-04-15 19:18:24 -04:00 |
|
Adrien Béraud
|
d6d73efa37
|
dht: update storage bucket on refresh
|
2022-04-15 19:14:12 -04:00 |
|
Adrien Béraud
|
405b8739ab
|
dhtrunner: always call opEnded once per op
|
2022-04-14 20:12:55 -04:00 |
|
Adrien Béraud
|
12b75a612c
|
misc: fix various clang-tidy warnings
|
2022-04-06 12:18:20 -04:00 |
|
Adrien Béraud
|
7915b987ec
|
misc: use more string_view
|
2022-04-02 17:14:36 -04:00 |
|
Adrien Béraud
|
1bc65bc5f5
|
network engine: use string_view for better performance
|
2022-04-01 11:04:59 -04:00 |
|
Adrien Béraud
|
a22566599c
|
proxy client: fix building Listener map
|
2022-03-29 14:47:42 -04:00 |
|
Adrien Béraud
|
f9b2285593
|
use string view literals where relevant
|
2022-03-29 14:47:01 -04:00 |
|
Adrien Béraud
|
9c2268fa41
|
fix various cppcheck warnings/errors
|
2022-03-29 10:15:00 -04:00 |
|
Adrien Béraud
|
d4e6fd545a
|
search: use const for iterator comparison
|
2022-03-24 21:33:51 -04:00 |
|
Adrien Béraud
|
21a71b1559
|
proxy server: support c++17
|
2022-03-23 13:35:30 -04:00 |
|
Adrien Béraud
|
ca5455302d
|
value: support std::string_view
|
2022-03-23 13:35:14 -04:00 |
|
Adrien Béraud
|
290e8594b6
|
update copyright
|
2022-03-21 11:32:56 -04:00 |
|
Adrien Béraud
|
c59f951e5a
|
update copyright
|
2022-03-10 19:51:25 -05:00 |
|
Adrien Béraud
|
5654816f5a
|
dhtrunner: re-throw exception directly in init
|
2022-03-10 19:43:10 -05:00 |
|
Adrien Béraud
|
b0fb476d97
|
dhtrunner: pass function argument by value
|
2022-03-10 19:42:37 -05:00 |
|
Adrien Béraud
|
de68a47a16
|
dhtrunner: handle exception during initialization
|
2022-03-09 14:32:22 -05:00 |
|
Adrien Béraud
|
ac51c2300e
|
dht: remove canceled tasks from scheduler
|
2022-02-27 03:34:36 -05:00 |
|
Adrien Béraud
|
5dbade3d0b
|
value cache: move to lambda
|
2022-02-26 22:16:15 -05:00 |
|
Adrien Béraud
|
c2415f38fa
|
dht: avoid job & search leak
|
2022-02-24 13:33:42 -05:00 |
|
Adrien Béraud
|
1ae28e07b6
|
storage: cleanup
|
2022-02-19 10:53:31 -05:00 |
|
Adrien Béraud
|
bc32f848cb
|
thread pool: cleanup
|
2022-02-19 10:53:31 -05:00 |
|
Adrien Béraud
|
32f72c245d
|
dht: add max bootstrap period
|
2022-02-19 09:23:57 -05:00 |
|
Adrien Béraud
|
043ef8da72
|
dht: reset bootstrap period on connectivity change
Also starts a bootstrap if disconnected.
|
2022-02-19 09:23:57 -05:00 |
|
Adrien Béraud
|
6812b733bb
|
dht: respect exponential backoff
|
2022-02-19 09:23:57 -05:00 |
|
Adrien Béraud
|
2ec28dcb83
|
dhtrunner: use configured logger for dropped packets
|
2022-02-19 09:23:57 -05:00 |
|