Adrien Béraud
27738e5992
configure: add msgpack required version
2015-08-18 16:03:33 -04:00
Adrien Béraud
86a21b7aa3
cmake: add required dependency versions
2015-08-18 15:50:46 -04:00
Adrien Béraud
aae6484a58
dhtrunner: delay ops until dht is connected (except bootstrap)
2015-08-18 13:47:33 -04:00
Adrien Béraud
ee501d0060
Filter: cleanup
2015-08-18 12:18:19 -04:00
Adrien Béraud
790c32048c
ValueSerializable: refactoring
2015-08-18 10:57:46 -04:00
Adrien Béraud
d5ff0e2187
dhtrunner: unpack value
2015-08-14 21:37:51 -04:00
Adrien Béraud
73c53cc0ec
make nettle a depencency, link with it
2015-08-14 10:50:30 -04:00
Adrien Béraud
fa304786c1
IceCandidates: use private value ID
2015-08-13 16:23:49 -04:00
Adrien Béraud
c4dfd40199
tools: allow IPv6 bootstrap cmd argument
2015-08-13 16:02:12 -04:00
Adrien Béraud
fcbaa28439
enable back IPv6
...
It seems that msgpack fixed the IPv6 issue.
Enabling back.
2015-08-13 15:26:24 -04:00
Adrien Béraud
844d371320
add initial cmake support
2015-08-13 11:28:29 -04:00
Adrien Béraud
cdcaebbc80
crypto: use AES-GCM + RSA for encryption rather than RSA-ECB
2015-08-13 11:28:29 -04:00
Adrien Béraud
70dfb4bbcf
use msgpack for dht protocol and value serialization
2015-08-13 11:28:29 -04:00
Adrien Béraud
46d59141ac
tools: add "-v" cmd argument to enable logging
2015-08-13 11:28:29 -04:00
Adrien Béraud
8d92884c1a
Update README.md
2015-08-09 01:41:44 -04:00
Adrien Béraud
0c686bd695
python tools: adapt to latest cython API changes
2015-08-07 19:58:37 -04:00
Adrien Béraud
d2be36b615
Merge pull request #11 from EckoEdc/patch-7
...
Correctly close socket on win32
2015-08-07 12:57:46 -04:00
Edric
623dd4f2a7
Correctly close socket on win32
...
Refs : https://msdn.microsoft.com/en-us/library/windows/desktop/ms740126%28v=vs.85%29.aspx
2015-08-07 12:45:56 -04:00
Adrien Béraud
873fbd3d8e
dht: add public address reporting
2015-08-06 15:41:16 -04:00
Adrien Béraud
02d4afa555
python: split pxd file, remove Py* from Python type names
2015-08-05 21:55:20 -04:00
Adrien Béraud
15f3dee293
introduce configuration structure
2015-08-05 21:55:20 -04:00
Adrien Béraud
30f083d45a
dhtnode: make ID generation optional
2015-08-04 23:40:30 -04:00
Adrien Béraud
59182aa0c4
securedht, dhtrunner: support bootstrap mode
2015-08-04 23:39:15 -04:00
Adrien Béraud
2130d38820
securedht: allow null key or certificate
...
If no key is provided, no value is decrypted.
If no certficate is provided, it is not published and
a random node Id is choosed.
2015-08-04 14:02:04 -04:00
Adrien Béraud
948475301e
infohash: add getRandom()
2015-08-04 14:02:04 -04:00
Adrien Béraud
830c39e8f6
tools: add usage (-h, --help)
2015-07-31 15:51:06 -04:00
Adrien Béraud
761b9b73ec
tools: use getopt to parse cmd args
2015-07-31 15:26:24 -04:00
Adrien Béraud
3cba698cdd
Travis CI: use apt addon
2015-07-31 11:23:19 -04:00
Adrien Béraud
02d8742af0
add initial Travis CI configuration
2015-07-31 11:14:07 -04:00
Adrien Béraud
3dc1966dcc
python: check both done callback existence and value
2015-07-29 17:27:44 -04:00
Adrien Béraud
c10494557c
dht: fix done callback sometimes called more than once
2015-07-29 16:58:15 -04:00
Adrien Béraud
c964d0e5df
python: cleanup
2015-07-29 16:58:15 -04:00
Adrien Béraud
930e3e890b
Merge pull request #10 from EckoEdc/patch-5
...
Install rng header for external use of random_device
2015-07-29 15:51:19 -04:00
Edric
baa2a14596
Install rng header for external use of random_device
2015-07-29 14:43:50 -04:00
Adrien Béraud
b2bc9d7ad5
Merge pull request #9 from sim590/benchmark-refactor
...
Benchmark refactoring
2015-07-28 17:58:12 -04:00
Simon Désaulniers
9bfe07cf6d
benchmark: refactor tests into functions
2015-07-28 17:29:20 -04:00
Adrien Béraud
ac3d29c041
python/dhtnetwork: add fallback bootstrap
2015-07-28 16:53:52 -04:00
Adrien Béraud
69cf65d1b2
dhtrunner: update doc
2015-07-28 16:26:46 -04:00
Adrien Béraud
f13b28fed4
dht: add connectivityChanged()
2015-07-28 16:26:35 -04:00
Adrien Béraud
3f7d2df9b1
python: add listen, cancelListen
2015-07-28 15:18:54 -04:00
Adrien Béraud
c9ee6eca44
move python to top directory
2015-07-27 15:18:23 -04:00
Adrien Béraud
3cbae5526a
dht: add bootstap mode
...
The bootstrap mode is used only for bootstrap nodes.
A bootstrap node will maintain a tree of the whole dht
up to 6 bits deep (8*2^6 = 4096 nodes).
This allows to provide better initial answers to new nodes.
Bootstrap nodes act otherwise normally.
2015-07-27 14:47:58 -04:00
Adrien Béraud
76413c25ef
python: scanner improvements
2015-07-27 14:33:53 -04:00
Adrien Béraud
8287416164
dht: add getNodes, isExpired with no time argument
2015-07-27 14:33:47 -04:00
Adrien Béraud
ced114eba4
dht: combine counting of get and announce/listen requests
2015-07-27 14:33:39 -04:00
Adrien Béraud
433f690bed
dht: don't make new nodes candidates
2015-07-27 14:33:39 -04:00
Adrien Béraud
5323ebd6b1
dht: use a listen keep-alive of 30 seconds
2015-07-27 14:33:39 -04:00
Adrien Béraud
4ad1495e39
dht: improve listen, announce timing consistency
2015-07-24 01:02:35 -04:00
Adrien Béraud
a2eed7e7af
dht: limit total node number per search
2015-07-24 01:02:35 -04:00
Adrien Béraud
cf3fa7b954
dht: increase max requests per second
2015-07-24 01:02:35 -04:00