146 Commits
Author SHA1 Message Date
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
Adrien Béraud 761b9b73ec tools: use getopt to parse cmd args 2015-07-31 15:26:24 -04:00
Adrien Béraud d4094bed9b tools: update copyright 2015-07-23 14:32:52 -04:00
Adrien Béraud 5bec9f6764 log cleanup 2015-07-10 23:31:09 -04:00
Adrien Béraud 2470dab029 dht: add a simpler Done Callback 2015-07-06 11:27:45 -04:00
Adrien Béraud 3383ce7a11 dhtnode: print operation completion time 2015-07-02 02:59:28 -04:00
Adrien Béraud 3e5a3c3f2d dht: getId renamed to getNodeId 2015-06-17 22:34:57 -04:00
Adrien Béraud 5920b2bac3 infohash: make string constructor explicit 2015-04-02 17:03:13 -04:00
Adrien Béraud 1b10e5952c tools: remove unsued includes 2015-03-30 11:47:48 -04:00
Adrien Béraud 30d5ad5f33 dhtrunner: add bootstrap from host and service strings 2015-03-29 13:09:36 -04:00
Adrien Béraud 441cad2e86 bootstrap: carry sockaddr length 2015-03-18 15:09:44 -04:00
Adrien Béraud cb2d14e905 add DhtMessage type for node-to-node communication 2015-02-22 21:04:46 -05:00
Adrien Béraud 63d50805ed node: allow to print log 2014-12-09 19:01:54 -05:00
Adrien Béraud 5c4a68ccb2 dhtnode: fix error message 2014-12-08 11:53:19 -05:00
Adrien Béraud 33b3765679 node: cleanup 2014-12-07 18:20:13 -05:00
Adrien Béraud 1daff73b34 node: make a proper CLI 2014-12-07 16:25:17 -05:00
Adrien Béraud b5884c079d node: allow to put signed data 2014-12-05 00:18:35 -05:00
Adrien Béraud dfaacb49ef tools: add more ways to stop the node 2014-12-03 11:10:56 -05:00
Adrien Béraud 139c8a71c7 more listener fixes 2014-11-26 13:22:50 -05:00
Adrien Béraud 88f5590cef add dhtnode command-line tool 2014-11-25 22:20:55 -05:00