Adrien Beraud
51febbe627
wip
2017-09-20 13:55:31 +02:00
Adrien Beraud
7a94890e75
wip
2017-09-18 20:38:24 +02:00
Adrien Beraud
c53e0f9272
libsodium
2017-09-18 20:37:22 +02:00
Adrien Beraud
3517c2e2e3
wip
2017-09-18 20:36:42 +02:00
Adrien Beraud
8cfb71f079
python: add SockAddr support
2017-09-18 20:36:42 +02:00
Adrien Beraud
6156d241ca
dhtrunner: add method to bootstrap with a single SockAddr
2017-09-18 20:36:42 +02:00
Adrien Beraud
f27ae30b16
tcp
2017-09-18 20:36:42 +02:00
Adrien Beraud
0cbb3f0e30
infohash: use 256 bits and SHA256
2017-09-18 20:33:38 +02:00
Adrien Beraud
f75afda8a6
expired
2017-09-18 20:33:38 +02:00
Adrien Beraud
d644a9fe01
use libuv for networking and event scheduling
2017-09-18 20:33:38 +02:00
Adrien Beraud
22f54e7335
secure_vector: use mlock to prevent swapping to disc
2017-09-18 20:23:19 +02:00
Adrien Beraud
f5dbf8ed52
getId compatible with HASH_LEN = 32
2017-09-18 20:23:19 +02:00
Adrien Beraud
2d54d53ec5
crypto: use SecureBlob
2017-09-18 20:23:19 +02:00
Adrien Beraud
a82f575232
NodeExport: add ostream operator
2017-08-30 10:48:49 +02:00
Adrien Beraud
1d84b34cf6
value: avoid checking failbit directly
...
failbit is implementation defined, use the bool operator instead.
2017-08-30 10:46:30 +02:00
Adrien Beraud
bedb51bf52
crypto: add EC curve identity generation
2017-08-28 12:03:15 -04:00
Adrien Béraud
1b9e9452c4
NodeExport: add msgpack serialization
2017-08-28 12:02:09 -04:00
Adrien Beraud
3bdaf2e20b
update to version 1.3.6
...
Bugfix release.
1.3.6
2017-08-11 14:54:31 -04:00
Adrien Beraud
a1d67b881b
python: fix invalid pointer access
2017-08-11 12:44:40 -04:00
Adrien Beraud
c40750f6e4
dht: use proper value type to compute expiration
2017-08-10 15:00:34 -04:00
Adrien Béraud
63b40d3e3a
cmake: check library paths
2017-07-22 11:25:40 -04:00
Adrien Béraud
21f5918af8
cmake: use version 3.1, cleanup
2017-07-22 10:59:36 -04:00
Adrien Beraud
6989236985
update to version 1.3.5
...
Bugfix release.
1.3.5
2017-07-20 00:49:29 -04:00
Adrien Beraud
1efa120010
dhtcluster: allow to resize cluster
2017-07-20 00:47:47 -04:00
Adrien Béraud
a99ca1cf05
Merge pull request #205 from atraczyk/master
...
add listener.h, search.h, and storage.h to VS project
2017-07-19 19:03:14 -04:00
atraczyk
8fc8209731
add listener.h, search.h, and storage.h to VS project
2017-07-19 18:39:49 -04:00
Adrien Beraud
6f3eafc5ee
dht: set refill time even when no nodes where found
2017-07-16 23:30:58 -04:00
Adrien Beraud
83d1cb97c8
dht: cleanup sendCachedPing
2017-07-16 23:30:58 -04:00
Adrien Beraud
477799a2b9
dht: remove unused method
2017-07-16 23:30:58 -04:00
Adrien Beraud
7e8c9ce944
dht: use SockAddr& in makeToken
2017-07-16 23:30:58 -04:00
Adrien Beraud
6decb6609a
dht: use uint64_t to store secret
2017-07-16 23:30:58 -04:00
Adrien Beraud
f1e7cd897d
dht: use crypto::hash
2017-07-16 18:11:06 -04:00
Adrien Beraud
9bfaa224bc
dht: move set_nonblocking to NetworkEngine
2017-07-16 18:10:49 -04:00
Adrien Beraud
5657661249
dht: move Search out of the Dht class
2017-07-16 17:46:54 -04:00
Adrien Beraud
e69d61d8c7
dht: move request to src
2017-07-16 17:45:24 -04:00
Adrien Beraud
729c055f5b
scanner: fix reset and IPv6 print issue
2017-07-16 16:23:18 -04:00
Adrien Beraud
61f91d626b
dht: move Storage, Listener out of the Dht class
2017-07-16 15:04:18 -04:00
Adrien Beraud
732d10713d
dht: minor coverity fixes
2017-07-16 13:39:14 -04:00
Adrien Beraud
15e5fa433b
network engine: handle EAFNOSUPPORT
2017-07-15 23:46:33 -04:00
Adrien Beraud
43ff0e9e52
network engine: handle EAGAIN, ENETUNREACH
...
Handle a few common error codes from send():
* EAGAIN: reschedule without increasing retry count.
This prevent nodes from failing on slow/very slow connections.
* ENETUNREACH, EHOSTUNREACH: expire the node immediately instead
of waiting for an answer, to expire IPv6 nodes quickly if no
IPv6 network is available.
2017-07-15 23:36:33 -04:00
Adrien Beraud
cf32e78f1b
scanner: enable logging, use rbegin() instead of prev(end())
2017-07-15 23:25:17 -04:00
Adrien Beraud
f170726b4b
scanner: make steps asynchronously from UI
2017-07-15 23:24:19 -04:00
Adrien Beraud
ebb20bdf0c
python: NodeSet: return insertion status
2017-07-15 14:17:51 -04:00
Adrien Beraud
2ca7302352
ice candidates: reduce lifetime to 1 minute
2017-07-13 09:58:03 -04:00
Adrien Beraud
8a123f9f68
network: prevent sending packets larger than 1280 bytes
2017-07-12 11:24:58 -04:00
Adrien Béraud
7e92eb6192
Merge pull request #202 from atraczyk/master
...
clean up vs2015 project files and add a build script
2017-07-11 11:41:10 -04:00
atraczyk
56edf1720c
clean up vs2015 project files and add a build script
2017-07-11 10:51:50 -04:00
Adrien Beraud
7c32dc49b1
update to version 1.3.4
...
Bugfix release that also adds SystemD modules
1.3.4
2017-06-30 01:32:23 +02:00
Adrien Beraud
5cb5ab019f
routing table: fix invalid iterator access
...
When calling findClosestNodes with an key referencing the first bucket,
the itp iterator could point to before-begin() and dereference it.
2017-06-29 13:07:31 +02:00
Adrien Beraud
42fa09a6fa
dhtnode: graceful signal handling in service and daemon modes
2017-06-29 10:20:31 +02:00