Andreas Traczyk
1778f64048
cmake: remove vcxproj files and use cmake on windows
2020-10-20 13:04:26 -04:00
Adrien Béraud
c41ee417fb
tools: cleanup
2020-04-29 19:22:24 -04:00
Adrien Béraud
47ba0415ca
tools: use bootstrap split/default port from dht
2020-04-29 17:12:11 -04:00
Adrien Béraud
99857e25cc
dhtnode: use async version of getNodeInfo
2020-04-29 16:13:36 -04:00
Adrien Béraud
c961e2e99f
dht: allow to configure max searches & store size
2020-04-16 02:08:00 -04:00
Adrien Béraud
ceb35c05c1
securedht: add option to disable cache
2020-02-08 20:27:44 -05:00
Adrien Béraud
8597267c63
dht: add 'public stable' node configuration
2020-01-27 16:27:21 -05:00
Adrien Béraud
616d6fe4b8
update copyright date
2020-01-03 15:14:32 -05:00
Adrien Béraud
c62f27c929
tools: add missing include
2019-12-12 17:00:35 -05:00
Adrien Béraud
17a1178054
tools: add missing includes for indexation support
2019-12-12 15:00:17 -05:00
Adrien Béraud
01f2ad9ea4
tools: show connectivity change in log
2019-11-11 11:54:44 -05:00
Adrien Béraud
2dd4cde035
tools: factorize print_node_info
2019-11-08 16:52:27 -05:00
Adrien Béraud
cb0005d0eb
tools: factor configuration parsing
2019-11-08 16:12:04 -05:00
Adrien Béraud
eca340b785
tools: add argument to disable rate limiting
2019-11-08 15:29:53 -05:00
Seva
c7d633e609
dhtnode: separate proxy privkey, cert & pwd arguments
2019-09-18 15:02:21 -04:00
Seva
b31a29ea26
dhtproxy: run in both http & https
2019-09-18 15:02:21 -04:00
Adrien Béraud
c1f805e6e2
tools: use default port from network utils
2019-08-02 19:53:39 -04:00
Adrien Béraud
89ff131750
tools: close stdin on sigint
2019-06-22 18:37:58 -04:00
Adrien Béraud
777505434c
tools: always handle signals, don't block in signal handling
2019-06-08 09:23:34 -04:00
Adrien Béraud
18c3161261
tools: allow to use existing certificate/private key
2019-06-08 01:43:07 -04:00
Adrien Béraud
c7e2483160
dht: add logger to constructor
2019-05-22 00:47:25 -04:00
Adrien Béraud
332cab10ef
tools: don't chdir to / when deamonizing
2019-04-25 21:17:44 -04:00
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