Adrien Béraud
6c96a47f13
c wrapper: update dhtcnode, add dht_op_token_delete
2019-10-16 14:27:54 -04:00
Adrien Beraud
083a28f5d8
c wrapper: add wrapper foundations
...
Wrapper can be enabled/disabled with
-DOPENDHT_C=On/Off when configuring the cmake
project.
This commit add foundations for a C wrapper
by building an opendht-c shared library that
wraps dhtrunner (for now only creation/destruction).
It also adds a test executable, dhtcnode, using the
C wrapper library.
2019-10-16 10:57:10 -04:00
Adrien Béraud
347f404a92
dhtchat: respect new arguments
2019-10-07 12:11:46 -04:00
Adrien Béraud
ed1b0220e5
dhtnode: always load node certificate
2019-10-07 11:06:38 -04:00
Seva
77356b0539
dhtnode: restore gen identity ifndef proxy server
2019-09-18 15:02:21 -04:00
Seva
c7d633e609
dhtnode: separate proxy privkey, cert & pwd arguments
2019-09-18 15:02:21 -04:00
Seva
2576d95aa0
dhtnode: start ssl node only with valid identity
2019-09-18 15:02:21 -04:00
Seva
b31a29ea26
dhtproxy: run in both http & https
2019-09-18 15:02:21 -04:00
Seva
c211055bf9
tester: add https support to proxy_node
2019-08-20 15:17:10 -04:00
Adrien Béraud
624f36467e
proxy: don't use shared_ptr for Identity
2019-08-14 17:30:29 -04:00
Adrien Béraud
e0393ff8ad
Merge pull request #403 from binarytrails/proxy_restinio
...
dhtproxy: replace restbed by restinio & asio
2019-08-14 15:50:14 -04:00
Seva
023b4aff61
dhtnode: use generated identity only if specified
2019-08-13 14:53:45 -04:00
Seva
86429aa360
http: support all connections contd.
2019-08-13 13:45:10 -04:00
Seva
96992b803c
dhtproxy: implement https in server
2019-08-10 15:34:36 -04:00
Seva
b01d3cfca5
dhtproxy: add identity to constructor if openssl
2019-08-07 11:57:18 -04:00
Adrien Béraud
c1f805e6e2
tools: use default port from network utils
2019-08-02 19:53:39 -04:00
Seva
a72ddfdb03
dhtnode: fix shutdown deadlock
2019-07-16 15:57:19 -04:00
Seva
2daf36c97e
Merge branch 'master' into proxy_restinio
2019-07-03 14:07:35 -04:00
Seva
cf18effebb
dhtnode: fix logging
2019-06-25 15:21:49 -04:00
Adrien Béraud
89ff131750
tools: close stdin on sigint
2019-06-22 18:37:58 -04:00
Seva
2067cb052f
dhtproxy: default to curly brakets instead of nullptr
2019-06-21 13:10:33 -04:00
Seva
21ec9129c3
tools: rename proxy benchmark to loadtester
2019-06-20 12:24:44 -04:00
Seva
cfeeaf7950
tools: add listen & subscribe to proxy_benchmark
2019-06-17 13:57:46 -04:00
Seva
07efe8c76e
tools: add locust proxy_benchmark.py
2019-06-17 11:46:29 -04:00
Seva
971f590941
Merge branch 'master' github.com:savoirfairelinux/opendht into proxy_restinio
2019-06-13 17:19:49 -04:00
Adrien Béraud
777505434c
tools: always handle signals, don't block in signal handling
2019-06-08 09:23:34 -04:00
Adrien Béraud
18c3161261
tools: allow to use existing certificate/private key
2019-06-08 01:43:07 -04:00
Seva
2e7767d192
dhtproxy: fix restinio start w/o dhtlogger
2019-06-03 13:52:35 -04:00
Seva
330ad8ed12
dhtproxy: pipe restinio logs to opendht logger
2019-05-29 16:02:25 -04:00
Adrien Béraud
e4516772ee
dht: log cleanup
2019-05-22 11:20:27 -04:00
Adrien Béraud
c7e2483160
dht: add logger to constructor
2019-05-22 00:47:25 -04:00
Adrien Béraud
d0362e58e0
dhtnode: update dht instance name
...
Avoid confusion with the namespace
2019-04-25 23:33:22 -04:00
Adrien Béraud
9aa56dd464
dhtnode/systemd: use simple service mode
2019-04-25 21:32:35 -04:00
Adrien Béraud
ec3b259ead
dhtnode/systemd: update default bootstrap
2019-04-25 21:18:11 -04:00
Adrien Béraud
332cab10ef
tools: don't chdir to / when deamonizing
2019-04-25 21:17:44 -04:00
Adrien Béraud
958cb250a3
dhtnode: show both IPv4, IPv6 bound ports
2019-04-23 12:13:53 -04:00
Adrien Béraud
c2fdf6ae92
dhtnode: show grouped get results, improve duration display
2019-04-21 21:39:54 -04:00
Adrien Béraud
5257ac314f
add API to retrieve version string
2019-04-14 00:19:01 -04:00
Adrien Béraud
96347d83e1
tools: add argument for peer discovery
2019-04-08 11:34:52 -04:00
Adrien Béraud
4401e47002
cleanup, fix clang-tidy warnings
2019-03-17 17:43:52 -04:00
Adrien Béraud
f418b3651f
update copyright date
2019-03-16 12:37:23 -04:00
Adrien Béraud
04850e1701
dht: add configuration to persist state
2019-03-10 16:39:16 -04:00
Adrien Béraud
55f6c847b8
build: use define flags for proxy
2019-02-19 18:43:14 -05:00
Adrien Béraud
92979fa96a
dhtchat: add logging support
2018-12-21 19:55:27 -05:00
Adrien Béraud
ff83a6daab
proxy: support value expiration
2018-10-29 12:45:52 -04:00
Dale Mellor
77da72c603
Some additions to automake infrastructure to get clean default build.
...
Be sure to pull in paths to headers for json and MsgPack dependencies.
Be sure to always build the base64 encoder and decoder, as they are
needed.
2018-09-17 09:40:07 +01:00
Sébastien Blin
f54fcd768f
proxyserver: add stats endpoint for monitoring
2018-08-10 15:03:09 -04:00
Adrien Béraud
1fe9f2fdb1
dhtnode: default-initialize dht config
2018-05-23 11:21:25 -04:00
Adrien Béraud
9f35acf559
dhtnode: continue cmd loop on connectivity change
2018-05-05 18:23:52 -04:00
Adrien Béraud
8b6dcb1cd5
dhtnode: allow to trigger connectivity change
2018-04-19 11:31:08 -04:00