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
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
Sébastien Blin
393a403ff2
proxy_client: fix address split
2018-03-29 11:00:33 -04:00
Adrien Béraud
c9cbced0c8
build: make indexation optional
2018-02-27 21:48:49 -05:00
Sébastien Blin
37a9a3d9da
dhtproxy: inject push notifications in opendht
...
+ add the ability to inject push notifications in opendht to call
correct callbacks
+ if a timeout occurs and no cancelListen was called, relaunch the
listen operation
+ Pass devicekey to enable push notifications for DhtProxyClient
+ Update sockaddr to fix the build on all platforms
Note: update dhtnode
2017-12-12 15:03:02 -06:00
Sébastien Blin
75cca66d7e
dhtproxy: support push notifications for mobile clients
...
+ Add SUBSCRIBE and UNSUBSCRIBE for DhtProxyServer
+ Add the ability to stop Listen via a timeout (and send a push
Notification for the client)
+ Add the ability to use gorush to send push notifications
Note: Update dhtnode
2017-12-12 10:24:54 -06:00
AmarOk
d19ba2cb41
proxyserver: add lock_guard to avoid to manually unlock
2017-12-06 14:43:28 -06:00
Sébastien Blin
cb72c104fd
proxy: implement basic DhtProxyClient with the ability to get and put.
...
+ Add an abstract class to describe the Dht
+ Now, we can modify the Dht linked to a SecureDht. So we can choose
between the classic Dht and the Dht using a proxy.
+ Implement a basic client which can Get and Put values on the Dht using
the proxy.
Note: Update dhtnode to have the ability to use the DhtProxyClient.
Todo: Implement Listen, ping, connectivityChanged for the client.
2017-11-20 15:45:29 -05:00
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
Adrien Beraud
834d62e6e9
InfoHash: use bool operator where relevent
2017-11-01 16:28: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
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
atraczyk
d6fff53f6b
bump visual studio support
2016-10-26 10:28:05 -04:00
Adrien Béraud
9440c03048
dht: log cleanup
2016-10-16 22:36:24 -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
Simon Désaulniers
d45f777099
pht tools
2016-09-01 18:02:23 -04:00
Adrien Béraud
a28fc4dfb1
tools: remove optional arguments
2016-07-29 15:39:50 -04:00
Simon Désaulniers
49129ec1b2
tools: specify optional arg syntax -o[ARG]
2016-06-30 01:33:14 +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
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
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
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
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
64d52f7418
tools: more constness
2015-11-04 00:50:12 -05:00
Adrien Béraud
4ecd212517
dhtrunner: support port 0 (OS assigned port)
2015-10-18 02:32:51 -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
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