Adrien Béraud
99da0be2b7
misc: remove lock mutex template argument
2026-03-15 00:00:33 -04:00
Adrien Béraud
0eacd7fe6c
tools: move to dht::tools namespace
2026-03-13 00:04:49 -04:00
Adrien Béraud
9ebe6e8bb6
tools: pretty print byte count
2026-02-24 00:15:47 -05:00
Adrien Béraud
85cbee0f1a
dht: add local storage stats in NodeInfo
2026-02-22 16:27:35 -05:00
Adrien Béraud
f9cba71d51
Switch project license from GPL-3.0-or-later to MIT
2026-01-17 22:25:43 -05:00
Adrien Béraud
4fd4745647
update copyright to 2026
2026-01-17 17:09:06 -05:00
Adrien Béraud
b3dfbf13d8
tools: header cleanup
2025-08-16 21:22:57 -04:00
Adrien Béraud
d3e2fd1099
fixes for msvc
2025-06-12 10:32:20 -04:00
Andrey Vukolov
68dc6a64be
Definitions fix for #756
2025-05-30 23:05:59 -04:00
Andrey Vukolov
54a8fef0ee
Windows build fixed for tools (wingetopt, signals)
...
- Addresses https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2089286643
- Structures wingetopt and win32 compatibility files for builds on Windows with MSVC
- Adjusts opendht_EXPORTS definition when building tools on MSVC
2025-05-30 23:05:59 -04:00
Adrien Béraud
c4e75ae66c
update copyright year
2025-05-22 19:07:32 -04:00
Adrien Béraud
21fd58a39c
tools: show log on PublicAddressChanged
2023-08-30 17:58:45 -04:00
Adrien Béraud
fafd2f0233
update copyright year
2023-06-02 23:16:04 -04:00
Adrien Béraud
e176e4baa6
logs: use fmt
2023-05-17 23:43:55 -04:00
Sébastien Blin
6e73a78a8b
unifiedpush: remove unifiedpush parameter
...
Because there is multiple unifiedpush endpoint (ntfy.sh is one),
we should not pass it as an option to dhtnode, but use the one
provided by the user in the token (from unified push library).
2022-12-30 20:36:49 -05:00
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
c59f951e5a
update copyright
2022-03-10 19:51:25 -05:00
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