Adrien Béraud
1c536a4c51
update version to 2.4.7
2.4.7
2022-06-28 14:23:23 -04:00
Adrien Béraud
502a649f42
build/cmake: use max version for cmake_minimum_required
2022-06-28 14:22:49 -04:00
Adrien Béraud
12a52c78ac
x509: make PrivateKey::getPublicKey() thread-safe
2022-06-28 14:12:45 -04:00
Adrien Béraud
df2a775927
build/autotols: allow to build with header-only msgpack-cxx installation
2022-06-28 14:12:45 -04:00
Adrien Béraud
2c86ccbe15
build/pkgconfig: update project description
2022-06-28 14:12:45 -04:00
Adrien Béraud
b9321a338b
buiild/autotools: use -fvisibility=hidden in release mode
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
Sébastien Blin
3f4235da69
infohash: fix alignment warning
2022-06-27 15:32:50 -04:00
Sébastien Blin
e259cb0847
infohash: remove optimization due to weird warnings
...
Current operator== creates a very weird warning about using an
uninitialized value (no warning without the reinterpret_cast).
2022-06-27 14:37:25 -04:00
Adrien Béraud
08f9b424de
cmake: allow to build with header-only msgpack-cxx installation
2022-06-23 14:26:26 -04:00
Adrien Béraud
d33c3515f8
update version to 2.4.6
2.4.6
2022-06-23 10:05:28 -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
949cbb9fc7
sockaddr: allow to release ownership
2022-06-22 22:20:15 -04:00
Adrien Béraud
37cfbffdca
dhtcnode: cleanup
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
Peter Saveliev
383c53d71f
python/tools: network builder v2
...
* `-n`: interfaces number check (1 <= ifnum <= 245)
* `-b`: turn on NDB debug logging, very chatty, dump topology DB files
* `-v`: verbose mode, print main operations
* fix code formatting (isort, flake8, black)
* code refactoring
2022-06-07 15:29:07 -04:00
Peter Saveliev
833c647524
python/tools: update network builder
...
Use updated pyroute2 API:
* NSPopen import from the root
* NDB instead of IPDB
No logic changes, only translated obsoleted API calls.
No code formatting.
2022-06-07 15:29:07 -04:00
Adrien Béraud
7f6f50411c
autotools: fix check for CppUnit
2022-05-30 10:07:04 -04:00
Adrien Béraud
1c7089c055
github: add minimal build
2022-05-25 11:27:15 -04:00
Adrien Béraud
4641780fe6
update version to 2.4.5
2.4.5
2022-05-25 11:05:34 -04:00
Adrien Béraud
c67df2ead3
tasks: generate compile commands
2022-05-25 11:04:59 -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
41c9104b8a
value: add inline specifier to inline methods
2022-05-05 11:33:53 -04:00
Adrien Béraud
126f0ca966
update version to 2.4.4
2.4.4
2022-05-03 14:46:07 -04:00
Adrien Béraud
adeca7fa1f
tests/dhtrunner: split count per key
2022-04-25 13:48:57 -04:00
Adrien Béraud
5527b6553d
c: use void for dht_version
2022-04-25 13:43:59 -04:00
Adrien Béraud
5a6b9db60c
securedht: move crypto ops to Value
2022-04-25 13:43:57 -04:00
Adrien Béraud
8f1c075897
update version to 2.4.3
2.4.3
2022-04-22 21:12:54 -04:00
Adrien Béraud
fca11e621c
tools/dhtcnode: use version arg, cleanup
2022-04-22 21:10:53 -04:00
Adrien Béraud
38a7234ae3
dht: increase max hashes to 1G
2022-04-22 21:01:36 -04:00
Adrien Béraud
115a0c683f
c: add dht_infohash_from_hex_null
2022-04-22 21:00:18 -04:00
Adrien Béraud
61b7bed0f8
network engine: minor refactoring
2022-04-22 20:25:18 -04:00
Adrien Béraud
dcd8ec7394
tests/dhtrunner: use unlimited store size
2022-04-22 20:25:18 -04:00
Adrien Béraud
51880afcce
tests/dhtrunner: consider value expiration for counting
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
af8e66b813
tools/dhtnode: show basic storage stats on "ll"
2022-04-20 16:11:21 -04:00
Adrien Béraud
9646eb9374
NodeInfo: add storage stats
2022-04-20 16:10:25 -04:00
Adrien Béraud
0df2fbe5de
tools/dhtcnode: print version on startup
2022-04-20 16:09:24 -04:00
Adrien Béraud
c39eceeddf
tools/dhtcnode: include stdio.h before readline.h
2022-04-20 16:09:08 -04:00
Adrien Béraud
11396c315e
c: add dht_version()
2022-04-20 16:08:12 -04:00
Adrien Béraud
955af06e29
dht: add getStorageLimit
2022-04-20 15:56:14 -04:00
Adrien Béraud
e207e59226
tools/dhtcnode: count values in listen, add "ll"
2022-04-20 12:23:25 -04:00