Commit Graph
2511 Commits
Author SHA1 Message Date
Adrien Béraud c2896afebf dht: fix message parsing with msgpack 1.0 2015-10-17 02:56:28 -04:00
Adrien Béraud e961d7c8ca travis: attempt to fix Ubuntu build 2015-10-16 21:07:43 -04:00
Adrien Béraud b2689adfa7 dht: improve parsing robustness
Accept msgpack STR, ARRAY and BIN formats when
parsing binary data.
2015-10-16 17:18:12 -04:00
Adrien Béraud 5815fa01f7 dht: fix backward compatibility
Pack "token" as ARRAY, as it was with msgpack 1.0,
instead of BIN.
2015-10-16 17:18:12 -04:00
Adrien Béraud b71008303b crypto: prevent reference to temporary 2015-10-16 17:18:12 -04:00
Adrien Béraud 1b7ba2a24d ImMessage: add id, use MSGPACK_DEFINE_MAP 2015-10-16 13:44:18 -04:00
Adrien Béraud 4aca35a5a8 defaul_types: add override 2015-10-16 13:44:18 -04:00
Adrien Béraud 3596f8a97c default_types: fix unused warning 2015-10-16 13:44:18 -04:00
Adrien Béraud 3cb11ef114 crypto: avoid reading key id twice 2015-10-16 13:44:18 -04:00
Adrien Béraud ff520d61f9 crypto: make new certificates valid 5 years
Bump from 700 days (less than 2 years).
2015-10-16 13:44:18 -04:00
Adrien Béraud 6df6d1c1c0 scanner: fix typo 2015-10-16 13:44:18 -04:00
Adrien Béraud 42c32f98c8 dht: count incoming packets 2015-10-16 13:44:18 -04:00
Guillaume Roguez 0a9bd2b783 Simplify the simplification
lol!
2015-10-13 18:37:05 -04:00
Adrien Béraud 8a01291b16 Merge pull request #16 from maitesin/master
Simplified a method.
2015-10-12 16:30:36 -04:00
Maitesin 08a5ce387b Simplified a method. 2015-10-11 19:00:06 +01:00
Adrien Béraud eea097961a dht: add message counting 2015-10-06 11:58:26 -04:00
Adrien Béraud 80363a9343 dht: header cleanup 2015-09-30 23:05:34 -04:00
Adrien Béraud 8f52e27fe1 scanner: clear nodeset on restart 2015-09-30 23:04:38 -04:00
Adrien Béraud 09ff99faa0 scanner: handle search failure 2015-09-30 22:42:38 -04:00
Adrien Béraud eab69240d3 travis: add msgpack 2015-09-10 13:39:03 -04:00
Adrien Béraud 19ef7a29cf python: add some doc 2015-09-10 11:08:20 -04:00
Adrien Béraud 6850e012e1 Add python API example 2015-09-09 17:36:36 -04:00
Adrien Béraud 3d4ca69fb4 python: wait until search completion for blocking get 2015-09-09 16:57:19 -04:00
Adrien Béraud 948a617d51 add build instructions for cmake 2015-09-09 14:51:53 -04:00
Adrien Béraud e9e3fd69c3 python: add blocking version of get 2015-09-02 19:40:50 +02:00
Adrien Béraud a7bea1c953 infohash: add support for std::hash 2015-09-02 19:40:31 +02:00
Adrien Béraud f41afe4a0f python: use setuptools instead of distutils 2015-09-02 19:31:12 +02:00
Adrien Béraud 7c2823bf52 python: install to default prefix
on Ubuntu, installing to /usr makes th module
unfindable
2015-09-02 13:54:24 +02:00
Adrien Béraud ca8fb2b3ec dht: revert to 15-45 minutes secret rotation 2015-09-01 22:47:25 +02:00
Adrien Béraud 461dfb29f3 dht: expire search with only candidates 2015-09-01 18:10:30 +02:00
Adrien Beraud 6e6882ca7a dht: cleanup 2015-09-01 18:10:00 +02:00
Adrien Beraud 0ea48ed1de dht: remove custom memmem 2015-09-01 17:42:07 +02:00
Adrien Béraud 2e38a307f9 log: unify format 2015-09-01 17:42:07 +02:00
Adrien Béraud 69c047e380 dhtrunner: enable back IPv6 2015-09-01 16:47:02 +02:00
Adrien Béraud 4096e7ff03 dht: bootstrap local id on first connection 2015-09-01 16:46:42 +02:00
Adrien Béraud 98908f7284 dht: add version to UA 2015-09-01 16:44:21 +02:00
Adrien Béraud a31bd73a6d python: properly build and install with cmake and autotools 2015-08-31 20:33:59 +02:00
Adrien Béraud 45d8817e32 tools: install to bin instead of libexec
tools are meant to be used by humans (for testing the DHT),
not by programs.
2015-08-25 22:12:21 +02:00
Adrien Béraud 95da14254b cmake: install tools 2015-08-25 21:39:33 +02:00
Adrien Béraud cfe5b1c348 cmake: cleanup 2015-08-25 21:39:33 +02:00
Adrien Béraud 6b6d18b750 python: implement Value.owner, Value.recipient 2015-08-25 21:39:33 +02:00
Adrien Béraud e60b6bead5 python: install module 2015-08-25 21:32:24 +02:00
Adrien Béraud 3cee7c579b python: add missing return 2015-08-25 15:01:14 +02:00
Adrien Béraud 6182dce1ad python: add wrapper for Value::data 2015-08-24 16:38:40 +02:00
Adrien Béraud be1cc96a91 scanner: autodownload GeoIP database 2015-08-24 16:38:40 +02:00
Adrien Béraud f3eb11270d rng: static initialisation of hasRdrand() 2015-08-24 16:38:40 +02:00
Simon Désaulniers ddc7b2fb3f benchmark refactor for manual cluster start 2015-08-24 16:38:40 +02:00
Adrien Béraud ac08beb582 dht: search own id 2015-08-24 16:38:40 +02:00
Adrien Béraud 40f7399d48 value: encypted value is not signed (until decrypted) 2015-08-23 17:36:24 +02:00
Adrien Béraud fe3ded9d0f dht: my_v cleanup 2015-08-23 17:36:24 +02:00