Adrien Béraud
4430b1e616
Merge pull request #217 from AmarOk1412/dhtproxy
...
Communicate with OpenDHT through a REST API
2017-11-08 14:35:31 -05:00
Sébastien Blin
38ad5b9ef2
add --proxyserver option for dhtnode
2017-11-06 16:49:46 -05:00
Sébastien Blin
67ba435ba6
base64: take the old implementation from ring-daemon
2017-11-06 16:24:00 -05:00
Sébastien Blin
6413571301
clean code
2017-11-06 12:53:35 -05:00
Sébastien Blin
9abc88f378
add --enable-proxy-server option for autotools
2017-11-01 17:11:14 -04:00
Adrien Beraud
834d62e6e9
InfoHash: use bool operator where relevent
2017-11-01 16:28:17 -04:00
Sébastien Blin
61a148e83f
update README.md
2017-11-01 14:52:29 -04:00
Sébastien Blin
8e43775394
update dhtnode + clean code
2017-11-01 14:52:29 -04:00
Sébastien Blin
1413d32ee6
add listen endpoint
2017-11-01 14:52:29 -04:00
Sébastien Blin
58fdfa9452
add get hash endpoint
2017-11-01 14:51:36 -04:00
Sébastien Blin
32153b11ab
proxy putSigned
2017-11-01 14:51:36 -04:00
Sébastien Blin
e33ac02351
test restbed
2017-11-01 14:51:36 -04:00
Adrien Béraud
eb9f314356
dhtnode: allow to perform and cancel persistent put
2017-10-30 13:12:16 -04:00
Adrien Béraud
6378840d33
dhtnode: allow to cancel a listen operation
2017-10-30 13:12:16 -04:00
Adrien Beraud
bedb51bf52
crypto: add EC curve identity generation
2017-08-28 12:03:15 -04:00
Adrien Beraud
cf32e78f1b
scanner: enable logging, use rbegin() instead of prev(end())
2017-07-15 23:25:17 -04:00
Adrien Beraud
42fa09a6fa
dhtnode: graceful signal handling in service and daemon modes
2017-06-29 10:20:31 +02:00
Adrien Beraud
673884a409
dhtnode: add service mode
...
Service mode is similar to the daemon mode but:
* doesn't fork
* logs to stdout/stderr by default
instead of syslog
2017-06-29 09:57:55 +02:00
Adrien Beraud
c11dcf5d76
dhtcluster: add systemd module
2017-06-01 18:35:43 +02:00
Adrien Beraud
74c3c5bc87
systemd service: use pkg-config to find proper install location
2017-05-30 13:47:30 +02:00
Adrien Beraud
b6bfa14872
systemd service: bind on port 4222 by default
2017-05-30 13:22:58 +02:00
Adrien Beraud
50a769c8fb
dhtnode: add systemd service
...
Install a systemd service when configured
with -DOPENDHT_SYSTEMD (CMake only).
2017-05-30 12:41:47 +02:00
Adrien Beraud
39a254ce9f
log: add syslog support
...
Add support to log using standard syslog,
add related option in dhtnode.
dhtnode will use syslog by default
when starting in daemon mode and
no logfile is defined.
2017-05-30 12:20:09 +02:00
Adrien Beraud
73bcebf355
license cleanup
2017-04-10 01:43:20 +02:00
Adrien Beraud
7db0c15483
tools: catch exceptions
2017-04-05 18:35:19 +02:00
Adrien Beraud
6bb00ab732
Merge pull request #175 from sim590/argon2-submodule
...
argon2: use as submodule (reverted from commit c424eb9160 ) (reverted from commit 3c45e1996d )
2017-03-30 21:24:49 +02:00
Adrien Beraud
3c45e1996d
Merge pull request #175 from sim590/argon2-submodule
...
argon2: use as submodule (reverted from commit c424eb9160 )
2017-03-29 02:51:06 +02:00
Simon Désaulniers
19c36284dc
argon2: use as submodule
2017-03-22 17:18:23 -04:00
Simon Désaulniers
c17508862c
tools: add help -h flag for dhtscanner, dhtchat
2017-03-15 22:11:25 -04:00
Adrien Beraud
d5427df9eb
build: allow to use argon2 system library
...
allow to use system argon2 library, use system library by default:
* add --with(out)-argon2 configure options
* add -DOPENDHT_ARGON2=(On/Off) cmake option
also bump argon2 to latest git
2017-03-13 14:58:25 +01:00
Simon Désaulniers
b03a8b5b50
update license notice (2017)
2017-01-13 17:27:29 -05:00
Adrien Béraud
b6dca5ccd6
dht: use new NodeStats structure to provide stats
2017-01-10 23:34:56 -05:00
Adrien Béraud
c72ea8ce77
tools/scanner: don't use a certificate
2016-12-09 02:41:40 -05:00
Adrien Béraud
2ab756906d
dht: getSearchLog for a specific search
2016-10-27 16:51:21 -04:00
atraczyk
d6fff53f6b
bump visual studio support
2016-10-26 10:28:05 -04:00
Adrien Béraud
e3663c995a
log: add storage filter
2016-10-24 02:09:38 -04:00
Adrien Béraud
1d62b3ca64
log: add InfoHash filter
...
* filter log entries with new method setLogFilter
* filter by node id, search or infohash
* add optional parameter to 'log' in dhtnode
2016-10-24 02:09:38 -04:00
Adrien Béraud
9440c03048
dht: log cleanup
2016-10-16 22:36:24 -04:00
Adrien Béraud
65bdfaf22b
autotools: fix 'make dist'
2016-09-18 13:55:14 -04:00
Adrien Béraud
25b339956e
tools: gnutls cleanup
2016-09-16 01:43:58 -04:00
Adrien Béraud
3283e34dcf
pht: rebase over queries
2016-09-01 18:02:23 -04:00
kaldoran
2d8fe502f2
Fix print of the lookup output
2016-09-01 18:02:23 -04:00
kaldoran
d2ccde4859
pht: bit padding when the key is too short
2016-09-01 18:02:23 -04:00
Simon Désaulniers
b6832869b1
pht: moved some defs in cpp file
2016-09-01 18:02:23 -04:00
Simon Désaulniers
f8cf1316ad
pht: add key spec, handling maximum prefix length
...
This commit adds the new KeySpec in the Pht constructor signature so that all
keys used inside a same PHT structure have the same maximal length.
2016-09-01 18:02:23 -04:00
Simon Désaulniers
736606a845
pht: a Key is rather map str:Blob not str:Prefix
2016-09-01 18:02:23 -04:00
Adrien Béraud
eb90fffb5e
update for API changes
2016-09-01 18:02:23 -04:00
kaldoran
041e280bde
benchmark: timing pht insert operations
2016-09-01 18:02:23 -04:00
Simon Désaulniers
63c4eeb9c9
cover empty leaf case in inexact match lookup
...
In case this is inexact match lookup and we end up on an empty leaf (diffrent
than the root), the search goes on in the leaf's sibling subtree.
2016-09-01 18:02:23 -04:00
Simon Désaulniers
d45f777099
pht tools
2016-09-01 18:02:23 -04:00