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
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
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
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
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
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
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
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
Adrien Béraud
132fe66699
dhtnode: cleanup
2016-07-29 15:49:43 -04:00
Adrien Béraud
a28fc4dfb1
tools: remove optional arguments
2016-07-29 15:39:50 -04:00
Simon Désaulniers
0fa8cfdb71
tools: enable queries in dhtnode
2016-07-10 19:26:13 +02:00
Simon Désaulniers
49129ec1b2
tools: specify optional arg syntax -o[ARG]
2016-06-30 01:33:14 +02:00
Simon Désaulniers
29834b714e
dhtnode: manpage and add all options in help text
2016-06-28 18:51:40 +02:00
Adrien Béraud
b09e3df2e2
add network id to distinguish different networks
2016-06-21 03:06:47 -04:00
Simon Désaulniers
ba5953bc6b
reference instead of copy, removing forgotten cout
2016-05-02 15:25:15 -04:00
Simon Désaulniers
4e54ac3ac3
dht: adding dht::log common utilities namespace
2016-04-08 18:36:02 -04:00
Adrien Béraud
e00c8e9598
update copyright headers for 2016
2016-01-07 18:02:35 -05:00
Adrien Béraud
439b7d966c
dhtnode: daemonize with the new -d argument
...
Running dhtnode with -d will make it detach and fork.
Add an argument to -v to log to a file instead of stdio.
2015-12-19 20:33:03 -05:00
Adrien Béraud
74aae03b5f
dhtnode: gracefully stop node
2015-12-10 13:18:55 -05:00
Adrien Béraud
af6f33e9ee
Merge branch 'casparcedro-master'
2015-12-07 12:20:09 -05:00
casparcedro
fb0450d309
Updated tools/dhtnode.cpp to remove std::to_string
...
Fixed for building with cygwin.
2015-12-06 23:06:06 -05:00
Adrien Béraud
7e346cfcb8
update license terms
...
* removed OpenSSL exception
(OpenDHT doesn't make use of OpenSSL)
* properly capitalize "Savoir-faire Linux"
2015-11-08 16:06:30 -05:00
Adrien Béraud
014bf168bb
tools: use GNU Readline
...
* live command edition
* history browsing
2015-11-04 00:50:12 -05:00
Adrien Béraud
a298c2065c
dhtnode: add command b to ping a node
2015-10-18 02:32:51 -04:00
Adrien Béraud
4caa8ce126
dhtnode: improve help messages
2015-10-18 02:32:51 -04:00
Adrien Béraud
4ecd212517
dhtrunner: support port 0 (OS assigned port)
2015-10-18 02:32:51 -04:00
Adrien Béraud
30a484cbe2
dhtnode: move help to it's own function
2015-10-18 02:32:51 -04:00
Simon Désaulniers
167a447d5f
fix dhtnode typo
2015-08-21 19:42:32 -04:00
Adrien Béraud
c4dfd40199
tools: allow IPv6 bootstrap cmd argument
2015-08-13 16:02:12 -04:00
Adrien Béraud
46d59141ac
tools: add "-v" cmd argument to enable logging
2015-08-13 11:28:29 -04:00
Adrien Béraud
873fbd3d8e
dht: add public address reporting
2015-08-06 15:41:16 -04:00
Adrien Béraud
30f083d45a
dhtnode: make ID generation optional
2015-08-04 23:40:30 -04:00
Adrien Béraud
830c39e8f6
tools: add usage (-h, --help)
2015-07-31 15:51:06 -04:00