Arvid Norberg
|
0e04ab8d72
|
reorder the node-list in the DHT traversal algorithm if a node updates its ID
|
2014-03-03 05:09:53 +00:00 |
Arvid Norberg
|
8403e58f3c
|
make dht test program able to get and put mutable items. fixed some DHT bugs along the mutable put/get path
|
2014-03-02 23:35:35 +00:00 |
Arvid Norberg
|
86c704a6ff
|
fix dht_bootstrap_alert being posted. add additional alert for dht put completion. add utility to test immutable put/get. fix issue in DHT preventing stores on router nodes (even when they return write tokens). immutable put and get confirmed to be working
|
2014-02-28 04:02:48 +00:00 |
Arvid Norberg
|
1188ec2dcd
|
expose new DHT put/get functionality in the public session API
|
2014-02-24 00:31:13 +00:00 |
Arvid Norberg
|
a943fec777
|
update copyright
|
2014-02-23 19:12:25 +00:00 |
Arvid Norberg
|
715b60c8ff
|
attempted windows build fix
|
2014-02-17 07:24:43 +00:00 |
Arvid Norberg
|
6c22d426d4
|
make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts)
|
2014-02-05 09:38:32 +00:00 |
Arvid Norberg
|
6bda2f7430
|
change peer priority to use crc32c instead of sha1
|
2014-01-23 02:28:04 +00:00 |
Arvid Norberg
|
e0644ce8f5
|
invariant check macro fixes
|
2014-01-21 19:26:09 +00:00 |
Arvid Norberg
|
fec7407461
|
send implied_port in dht announce messages when uTP is enabled
|
2014-01-20 06:35:06 +00:00 |
Arvid Norberg
|
702b68ecc4
|
clean up assert related defines and debuf-only fields less error-prone. fix missing initialization in file_pool caused by mistake in defines under which the debug field was initialized
|
2014-01-19 19:45:50 +00:00 |
Arvid Norberg
|
a5b5cf0f62
|
ignore unused parts of the internet on the DHT by default
|
2014-01-19 07:44:16 +00:00 |
Arvid Norberg
|
bec02dd953
|
fix valgrind build
|
2014-01-19 04:13:46 +00:00 |
Arvid Norberg
|
4a7543bdb8
|
remove a DHT observer right away when the response has an invalid node ID
|
2014-01-17 05:16:37 +00:00 |
Arvid Norberg
|
b621f3f00a
|
merged DHT fix from RC_0_16
|
2014-01-17 04:49:04 +00:00 |
Arvid Norberg
|
86b68e65e4
|
merged dht node ID change from RC_0_16
|
2014-01-11 08:08:43 +00:00 |
Arvid Norberg
|
89d5582560
|
merged dht fix from RC_0_16
|
2014-01-07 08:52:53 +00:00 |
Arvid Norberg
|
ae7bb20170
|
update node ID generation algorithm from RC_0_16
|
2014-01-06 05:46:46 +00:00 |
Arvid Norberg
|
db6a22d5c1
|
handle DHT error responses correctly
|
2014-01-03 08:02:53 +00:00 |
Arvid Norberg
|
54bbd3cae0
|
support salt feature in DHT put
|
2014-01-03 04:18:46 +00:00 |
Arvid Norberg
|
260e97c4e0
|
document salt feature in put and get DHT extensions. include a test vector and add that to the unit test. (salt is not implemented)
|
2013-12-31 08:37:42 +00:00 |
Arvid Norberg
|
d6b1aa4c36
|
DHT refactoring and support for storing arbitrary data with put
|
2013-12-27 04:28:25 +00:00 |
Arvid Norberg
|
4e6b1cfbfb
|
update copyright
|
2013-12-25 17:07:16 +00:00 |
Arvid Norberg
|
11a584991b
|
fix bug in dht logging build
|
2013-12-21 09:22:10 +00:00 |
Arvid Norberg
|
70735a0a67
|
minor ifdef tweaks and DHT logging
|
2013-12-21 07:18:49 +00:00 |
Arvid Norberg
|
5d822706e1
|
add invariant check to dht routing_table
|
2013-12-20 04:54:52 +00:00 |
Arvid Norberg
|
ce99fd47f2
|
enable all DHT logging (when building with dht logging enabled)
|
2013-12-20 04:54:27 +00:00 |
Arvid Norberg
|
412842365a
|
add backwards compatible reading of IP field in DHT messages
|
2013-12-20 04:47:41 +00:00 |
Arvid Norberg
|
93d7d89ced
|
fix issue with obfuscated_get_peers where peers in responses to obfuscated requests would still be returned. slight refactoring to move traversal algorithm level logic to traversal_observer class
|
2013-12-14 23:25:38 +00:00 |
Arvid Norberg
|
f11959b235
|
fix initialization order warnings
|
2013-11-28 08:48:17 +00:00 |
Arvid Norberg
|
d03d50b6a8
|
reorder some more fields to reduce padding
|
2013-11-26 02:23:33 +00:00 |
Arvid Norberg
|
f9d3571915
|
merged fix from RC_0_16
|
2013-11-23 11:06:35 +00:00 |
Arvid Norberg
|
8f2683fe5d
|
improve routing_table::depth() performance
|
2013-11-13 02:17:33 +00:00 |
Arvid Norberg
|
0f298dbe88
|
make the definition of routing table depth a bit more reliaxed in the DHT
|
2013-11-02 16:07:47 +00:00 |
Arvid Norberg
|
b911129a12
|
merged fixes from RC_0_16
|
2013-11-02 03:35:45 +00:00 |
Arvid Norberg
|
1d55894bef
|
improve obfuscated get_peers
|
2013-10-26 22:59:55 +00:00 |
Arvid Norberg
|
dd55082321
|
fixed typo in dht put signature parsing
|
2013-10-22 07:12:31 +00:00 |
Arvid Norberg
|
1a2226b8f0
|
fix test_dht to take into account the slightly more relaxed semantics of routing_table::find_node
|
2013-10-22 05:20:00 +00:00 |
Arvid Norberg
|
a627a4e156
|
add negative test for put/get DHT feature. fix bug in signature verification and in DHT unit test
|
2013-10-22 01:24:33 +00:00 |
Arvid Norberg
|
1b888eeec6
|
optimize DHT
|
2013-10-20 07:06:42 +00:00 |
Arvid Norberg
|
17d276e060
|
move dht_flood.py into tools. only reveal 3 bits passed the shared target prefix when doing obfuscated dht lookups
|
2013-10-16 23:19:18 +00:00 |
Arvid Norberg
|
5388f0af74
|
improve valgrind runs of test_dht
|
2013-10-14 07:43:18 +00:00 |
Arvid Norberg
|
afd80cffb7
|
add option to enforce node ID in the DHT
|
2013-10-14 01:03:43 +00:00 |
Arvid Norberg
|
50f051433a
|
merged DHT change from RC_0_16
|
2013-10-13 23:04:40 +00:00 |
Arvid Norberg
|
f2e3e613b2
|
merged dht fix from libtorrent_aio
|
2013-10-06 01:48:57 +00:00 |
Arvid Norberg
|
4ec97bfaaa
|
make verbose dht logging work again
|
2013-09-14 22:00:41 +00:00 |
Arvid Norberg
|
40941608a9
|
improve DHT routing table some, by replacing high RTT nodes within a node ID prefix
|
2013-09-14 21:49:08 +00:00 |
Arvid Norberg
|
f1f89123e8
|
don't count pad-files as partial download pieces in the piece picker. prioritize which immutable dht items to keep also based on distance from our ID. remove some todo comments that probably should not be done
|
2013-09-14 10:08:31 +00:00 |
Arvid Norberg
|
39264c5ad3
|
introduce new, optional, get_peers mechanism that is more privacy preserving (doesn't leak the info-hash to as many DHT nodes)
|
2013-09-09 07:08:02 +00:00 |
Arvid Norberg
|
8ab8172cb7
|
improve DHT routing table to return better nodes (lower RTT and closer to target)
|
2013-09-09 04:16:52 +00:00 |