Sébastien Blin
b9ccc968b2
proxyserver: add support for UnifiedPush standard
...
Make the proxy able to support the UnifiedPush platform, so that
applications using the proxy server can use any UnifiedPush provider.
Documentation: https://unifiedpush.org/
How to test:
+ Install a UnifiedPush provider on a device (e.g. https://ntfy.sh )
+ Run dhtnode with a proxyserver and --unifiedpush https://ntfy.sh
+ Subscribe to a random topic on ntfy (e.g. "dhtproxytest")
+ Subscribe to a hash on the DHT:
curl -X SUBSCRIBE http://my.dht.proxy:8000/key/foo \
-d '{"key":"dhtproxytest", "platform":"unifiedpush"}'
+ Send data on the subscribed hash
Note: the topic should be completely random.
2022-10-11 15:14:51 -04:00
Adrien Béraud
577f2a0645
proxy server: allow to configure address to bind
2022-07-05 19:32:29 -04:00
kkostiuk
ead21d24a0
proxyserver: add application bundle id option
2022-07-04 18:17:12 -04:00
Adrien Béraud
af8e66b813
tools/dhtnode: show basic storage stats on "ll"
2022-04-20 16:11:21 -04:00
Adrien Béraud
478d28a326
dhtnode: display total count of values for get and listen
2022-03-30 17:56:39 -04:00
Adrien Béraud
c59f951e5a
update copyright
2022-03-10 19:51:25 -05:00
Adrien Béraud
de68a47a16
dhtrunner: handle exception during initialization
2022-03-09 14:32:22 -05:00
Adrien Béraud
e58d09e5da
dht: always display value ID as hex
2021-08-05 12:42:29 -04:00
Andreas Traczyk
1778f64048
cmake: remove vcxproj files and use cmake on windows
2020-10-20 13:04:26 -04:00
Adrien Béraud
a27815b4a9
proxy server: persist ops on disk
2020-05-19 19:50:20 -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
a7092c2dc7
dhtnode: show value id in put response
2020-01-22 13:15:37 -05:00
Adrien Béraud
5b15fdeeef
proxy server: use shared_ptr for stats, remove statsMutex_
2020-01-15 13:54:24 -05:00
Adrien Béraud
616d6fe4b8
update copyright date
2020-01-03 15:14:32 -05:00
Adrien Béraud
6a7ad871e2
value: toString prints raw data if text/plain
2019-12-19 15:12:23 -05:00
Adrien Béraud
c10aa32596
cpp: include config.h when necessary
2019-12-12 14:51:59 -05:00
Adrien Béraud
83f2b272a7
dhtrunner: add ongoing op count to node info
2019-12-01 15:07:35 -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
Adrien Béraud
347f404a92
dhtchat: respect new arguments
2019-10-07 12:11:46 -04:00
Adrien Béraud
ed1b0220e5
dhtnode: always load node certificate
2019-10-07 11:06:38 -04:00
Seva
77356b0539
dhtnode: restore gen identity ifndef proxy server
2019-09-18 15:02:21 -04:00
Seva
c7d633e609
dhtnode: separate proxy privkey, cert & pwd arguments
2019-09-18 15:02:21 -04:00
Seva
2576d95aa0
dhtnode: start ssl node only with valid identity
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
624f36467e
proxy: don't use shared_ptr for Identity
2019-08-14 17:30:29 -04:00
Adrien Béraud
e0393ff8ad
Merge pull request #403 from binarytrails/proxy_restinio
...
dhtproxy: replace restbed by restinio & asio
2019-08-14 15:50:14 -04:00
Seva
023b4aff61
dhtnode: use generated identity only if specified
2019-08-13 14:53:45 -04:00
Seva
86429aa360
http: support all connections contd.
2019-08-13 13:45:10 -04:00
Seva
96992b803c
dhtproxy: implement https in server
2019-08-10 15:34:36 -04:00
Seva
b01d3cfca5
dhtproxy: add identity to constructor if openssl
2019-08-07 11:57:18 -04:00
Adrien Béraud
c1f805e6e2
tools: use default port from network utils
2019-08-02 19:53:39 -04:00
Seva
a72ddfdb03
dhtnode: fix shutdown deadlock
2019-07-16 15:57:19 -04:00
Seva
cf18effebb
dhtnode: fix logging
2019-06-25 15:21:49 -04:00
Seva
2067cb052f
dhtproxy: default to curly brakets instead of nullptr
2019-06-21 13:10:33 -04:00
Seva
971f590941
Merge branch 'master' github.com:savoirfairelinux/opendht into proxy_restinio
2019-06-13 17:19:49 -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
Seva
2e7767d192
dhtproxy: fix restinio start w/o dhtlogger
2019-06-03 13:52:35 -04:00
Seva
330ad8ed12
dhtproxy: pipe restinio logs to opendht logger
2019-05-29 16:02:25 -04:00
Adrien Béraud
e4516772ee
dht: log cleanup
2019-05-22 11:20:27 -04:00
Adrien Béraud
c7e2483160
dht: add logger to constructor
2019-05-22 00:47:25 -04:00
Adrien Béraud
d0362e58e0
dhtnode: update dht instance name
...
Avoid confusion with the namespace
2019-04-25 23:33:22 -04:00
Adrien Béraud
958cb250a3
dhtnode: show both IPv4, IPv6 bound ports
2019-04-23 12:13:53 -04:00
Adrien Béraud
c2fdf6ae92
dhtnode: show grouped get results, improve duration display
2019-04-21 21:39:54 -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