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
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
Simon Désaulniers
bba27adf4d
dhtnode: fix getopt optional arg parsing
2016-06-27 21:14:54 +02:00
Adrien Béraud
b09e3df2e2
add network id to distinguish different networks
2016-06-21 03:06:47 -04:00
Adrien Béraud
5bcf1da505
autotools: cleanup
2016-06-11 16:10:27 -04:00
Adrien Béraud
8cc53b1751
add node cache, split dhtrunner.h from dht.h
2016-05-08 00:37:52 -04:00
Simon Désaulniers
8cce5cd6e8
removed commented duplicate utility function
2016-05-02 15:25:15 -04:00
Adrien Béraud
3367043e92
NE fixes
2016-05-02 15:25:15 -04:00
Simon Désaulniers
badf9a3027
replaced tabs with spaces in multiple files.
2016-05-02 15:25:15 -04:00
Simon Désaulniers
ba5953bc6b
reference instead of copy, removing forgotten cout
2016-05-02 15:25:15 -04:00
Simon Désaulniers
4b13fcac70
fixing various compilation errors
2016-05-02 15:25:14 -04:00
Adrien Béraud
6e0e63c3a5
CMake: add static/shared library build options
...
Add -DOPENDHT_STATIC=Off to disable static library build,
add -DOPENDHT_SHARED=Off to disable shared library build.
2016-04-30 03:16:05 -04:00
Baptiste Jonglez
269fc57f22
dhtscanner: Report both IPv4 and IPv6 for the same ID (dual-stacked peers)
2016-04-28 12:08:22 +02: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
2842f45cbd
dhtchat: show public key ID
2015-12-09 14:40:58 -05:00
Adrien Béraud
af6f33e9ee
Merge branch 'casparcedro-master'
2015-12-07 12:20:09 -05:00
casparcedro
895492450c
Updated tools/tools_common.h to remove std::to_string
...
Fixed for building with cygwin.
2015-12-06 23:07:55 -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