Miguel Freitas
b8e264f4d1
0.9.28: better enforcement of DHT upload rate limit for non-locally generated requests.
...
the limit applies to: DHT replies, refreshes of stored items, checking for status/tracker and proxy server.
local requests (eg. dhtgets from the UI) are excluded from this limit, so user experience is not affected.
in other words: we limit only the band contributed back to twister network for maintenance tasks.
this should improve resilience against some sorts of denial-of-service attacks and also
prevents saturating the uplink as observed recently.
10 years ago
Denis Ryabov
00ae4b712d
fix work when dht is not loaded yet
10 years ago
Denis Ryabov
ab48764e38
add search method
10 years ago
Miguel Freitas
2168e34677
miniupnp dependency removed, yes! :-) fix #130
...
libtorrent implements a upnp client: use it to map the other twisterd port.
11 years ago
Miguel Freitas
0bd6bc4807
remove deprecated putData function from libtorrent
11 years ago
Miguel Freitas
5af649a58a
add consistency checks to node_impl::putDataSigned and a flag to mean that locally generated content should be kept for periodic refresh.
11 years ago
Miguel Freitas
7651134016
move dhtput signing to outside libtorrent.
...
old function (ses->dht_putData) is likely to be removed, i can't think of any use for it right now.
11 years ago
Miguel Freitas
fdb08e9ca0
make debug.log less verbose by default
11 years ago
Miguel Freitas
751e5c2530
don't check non-auto managed torrents against limits for now.
...
FIXME: another strategy is required as definitive fix.
11 years ago
Miguel Freitas
66ad21477d
rotate torrents in automanaged mode.
11 years ago
Adam Williamson
5d11289b4c
fix some 'format not a string literal's
11 years ago
Miguel Freitas
8287b2b1e1
use a single database for all swarms of the same libtorrent session.
...
upgrade resume file to version 2 and enforce on loading (to force existing clients to download all pieces again).
fixes #24 .
11 years ago
Miguel Freitas
60db413630
less noisy
11 years ago
miguel
1bae0176f5
implement refreshing dht storage every hour
11 years ago
miguel
5112e73a07
newpostmsg command, working.
11 years ago
miguel
4f51727c1b
use bitcoin network time reference, dm creation draft
11 years ago
miguel
6fb557e33c
more untested stuff: try to preserve piece_size when reading from disk.
...
first signature checking instead of hash.
11 years ago
Miguel Freitas
c81308b2a2
redirect log to bitcoin/util.h printf
11 years ago
Miguel Freitas
a35cdef738
dht_reply_data_done_alert to unlock client waiting for data
11 years ago
Miguel Freitas
36e2230b58
exporting get/put dht data to upper levels. completely untested.
11 years ago
Miguel Freitas
71e0da6705
initialize libtorrent session with external ip set
11 years ago
Miguel Freitas
b8b2302d59
added libtorrent (svn rev 8690)
11 years ago