Adrien Béraud
4e2b11c24c
Update CMakeLists.txt
2016-11-28 01:47:33 -05:00
Simon Désaulniers
8c34e927ea
buildtools: add def.h to include files
2016-11-27 23:28:23 -05:00
Adrien Béraud
8a5de47aa0
hide symbols by default ( #140 )
2016-11-23 18:27:24 -05:00
Adrien Béraud
7f84c1e397
utils: remove useless definitions
2016-11-23 15:12:37 -05:00
Adrien Béraud
65c915fd9d
value: print hex value data contiguously
2016-11-23 11:01:14 -05:00
Adrien Béraud
0fd4f73ab1
network monitor: access proper dictionary key
2016-11-23 11:00:11 -05:00
Adrien Béraud
01117567b1
cmake: adapt pkg-config paths to GNUInstallDirs
2016-11-22 10:43:01 -05:00
Adrien Béraud
d68cc5cf40
Merge pull request #156 from sim590/cython-robust-check
...
autoconf: robustly check for cython3
2016-11-21 15:10:40 -05:00
Simon Désaulniers
6db16be2fa
autoconf: robustly check for cython3
2016-11-14 21:07:36 -05:00
Adrien Béraud
5166b1add9
tools: add network monitor
...
The network monitor allows to regularly
check the status of an OpenDHT network,
by performing listen and put operations at
random places on the DHT.
This first version exit with status code 1
if the test fails.
2016-11-10 01:03:29 -05:00
Adrien Béraud
9fadcc907c
python: add default port for bootstrap
2016-11-10 00:58:35 -05:00
Adrien Béraud
42171efc3f
dht: send values to all sockets for a node
...
We used to send values once to a given node,
however the receiving node may have canceled
or dropped the request since then,
so we now send the values for every socket and
the optimization will happen on the sending side.
2016-11-09 21:53:43 -05:00
Adrien Béraud
206f12648f
Merge pull request #155 from aviau/patch-1
...
Multi-Arch support
2016-11-09 13:10:08 -05:00
Alexandre Viau
ecd0573c4d
Multi-Arch support
2016-11-09 11:30:17 -05:00
Simon Désaulniers
2d9f6241a9
net: don't close socket on listen renew
2016-11-08 16:07:15 -05:00
Adrien Béraud
77ee50f5a6
Merge pull request #154 from savoirfairelinux/c_str
...
infohash: add helper to C string format conversion
2016-11-08 15:48:05 -05:00
Guillaume Roguez
297c37e609
infohash: add helper to C string format conversion
...
This const void* convertion method helps a lot with programs
that need to print the hash with a printf() like function.
2016-11-08 15:26:13 -05:00
Simon Désaulniers
9bb1ab43eb
net.h: moved to include/opendht/
2016-11-08 14:52:09 -05:00
Adrien Béraud
cd36b13c30
dht: prevent infinite loop in expireStorage()
2016-11-07 16:56:08 -05:00
Adrien Béraud
5d63084627
Merge pull request #152 from sim590/listen-consistency
...
Listen consistency
2016-11-07 10:33:05 -05:00
Simon Désaulniers
ab7d1d6582
dht,net: introduce socket, support multiple listen
...
Since the initial implementation of listen operation, multiple listen requests
from a single node on a same hash was not possible without singular
inconsistencies. The flaw was coming from the fact that nodes receiving listen
request could not differentiate between listen refresh request and a new
independent listen request.
This patch introduces the new net::Socket structure which in time will enable
remote nodes to send update for a storage while differentiating between
concurrent listen requests. A socket has a unique identifier which consists of a
transaction id as defined in the OpenDHT protocol.
2016-11-07 06:44:15 -05:00
Simon Désaulniers
77ea6d8c2f
net: create net namespace, moving relevant structs
2016-11-05 19:29:00 -04:00
Simon Désaulniers
b5cd629160
dht: callback if no storage maintenance
2016-11-04 09:15:10 -04:00
Adrien Béraud
39467c8b71
tools: add python cluster runner commands
2016-11-02 02:32:06 -04:00
Adrien Béraud
87740e3b38
tools: add python node cluster runner
2016-11-01 03:14:26 -04:00
Adrien Béraud
19848a9b72
python: encode log file name
2016-11-01 03:13:56 -04:00
Adrien Béraud
36e9998fe2
scanner: use urllib3
2016-11-01 03:13:56 -04:00
Adrien Béraud
b2529c241e
log: flush on new line
2016-11-01 03:13:56 -04:00
Adrien Béraud
83c47037d2
dht: remove unimplemented declaration
2016-11-01 03:13:56 -04:00
Adrien Béraud
125b6f9236
dht: make storage maintenance optional, default disabled
2016-10-31 14:43:56 -04:00
Adrien Béraud
e260ba6b78
infohash: remove misused restrict
2016-10-31 12:35:50 -04:00
Simon Désaulniers
eafb934e85
bump version to 1.2.1
1.2.1
2016-10-28 18:49:09 -04:00
Adrien Béraud
c3d3da20f6
Merge pull request #146 from sim590/permanent-put-enhancement
...
dht: make reannounce margin bigger, safer
2016-10-28 16:24:07 -04:00
Adrien Béraud
6036ccdbaa
dht: try inserting new nodes smarter ( #150 )
...
Attempt closest search and nearby searches
until we are too far instead of trying every
search.
2016-10-28 15:46:27 -04:00
Simon Désaulniers
9404a4d069
dht: make reannounce margin bigger, safer
...
Reannouncing margin going from 5 seconds to 10 seconds.
2016-10-28 15:24:09 -04:00
Adrien Béraud
274621dcec
dht: add searches(sa_family)
2016-10-27 18:12:05 -04:00
Adrien Béraud
2ab756906d
dht: getSearchLog for a specific search
2016-10-27 16:51:21 -04:00
Adrien Béraud
2b3f63443f
dht: maintain each storage independently
...
Schedule every storage maintenance independently,
to improve performance when there are a lot of storages.
2016-10-27 14:21:52 -04:00
Adrien Béraud
c71f960948
python: add ping-pong simple test
2016-10-26 18:07:06 -04:00
Adrien Béraud
9d3514e087
dhtrunner: don't run ops if disconnected and bootstraping
2016-10-26 17:50:30 -04:00
Adrien Béraud
6703e039b1
network_engine: deserialize proper number of fields
2016-10-26 17:50:30 -04:00
Adrien Béraud
29b81750ad
Merge pull request #148 from atraczyk/master
...
bump visual studio support
2016-10-26 12:48:51 -04:00
atraczyk
d6fff53f6b
bump visual studio support
2016-10-26 10:28:05 -04:00
Simon Désaulniers
7ee6281426
log: display time before each line in log
2016-10-25 16:40:48 -04:00
Adrien Béraud
28a5740c37
argon2: bump source
2016-10-25 16:40:48 -04:00
Adrien Béraud
09a3332cf0
Merge pull request #147 from savoirfairelinux/feature/log_filter
...
log: add filters
2016-10-24 16:55:23 -04:00
Adrien Béraud
f584c4849b
dht: unify creation date normalisation
2016-10-24 02:09:38 -04:00
Adrien Béraud
e3663c995a
log: add storage filter
2016-10-24 02:09:38 -04:00
Adrien Béraud
1d62b3ca64
log: add InfoHash filter
...
* filter log entries with new method setLogFilter
* filter by node id, search or infohash
* add optional parameter to 'log' in dhtnode
2016-10-24 02:09:38 -04:00
Adrien Béraud
3af04a4259
securedht: use default max expiration for putSigned
2016-10-23 17:23:39 -04:00