Commit Graph
3503 Commits
Author SHA1 Message Date
Adrien Béraud f6d81a5797 generate 4096 bits RSA keypairs by default 2015-01-25 03:09:57 -05:00
Adrien Béraud 504935cacd add missing header 2015-01-24 00:13:44 -05:00
Adrien Béraud 129fded029 allow access to privatekey GnuTLS pointers 2015-01-23 17:10:18 -05:00
Adrien Béraud 902c604b98 using namespace std::chrono in periodic 2015-01-19 10:30:33 -05:00
Adrien Béraud 6003770d6a zero initialize sockaddr fields 2015-01-19 10:30:14 -05:00
Adrien Béraud 8fd96383c9 more logs 2015-01-15 10:21:10 -05:00
Adrien Béraud a9dab6efd2 delete old bad nodes at searchStep 2015-01-13 11:36:26 -05:00
Adrien Béraud 3c30718c59 RequestStatus for get/sync 2015-01-12 23:33:48 -05:00
Adrien Béraud d1b7fb3b97 set current time before running basic ops 2015-01-12 15:19:09 -05:00
Adrien Béraud 6ee327a3a4 fix compilation issues with xcode 2015-01-07 17:50:58 -05:00
Adrien Béraud f6b3c263b2 fix clang compilation and warnings 2015-01-07 14:29:53 -05:00
Adrien Béraud 31bd66b4c1 avoid gcc warning 2014-12-30 15:31:11 -05:00
Adrien Béraud 7f1de35490 log correct listening/announcement status 2014-12-30 15:30:32 -05:00
Adrien Béraud 9339f71f31 keep bad nodes in searches
reduces operation times with knwon hashes
2014-12-29 16:46:01 -05:00
Adrien Béraud 11af8de312 cleanup 2014-12-25 19:41:05 -05:00
Adrien Béraud 33542e932a use std::chrono for time tracking 2014-12-24 01:13:43 -05:00
Adrien Béraud fde26fef5b Update README.md 2014-12-17 14:54:38 -05:00
Adrien Béraud 24ed251517 Use constexpr for integer constants 2014-12-17 11:46:16 -05:00
Adrien Béraud 4e998250c7 don't import already expired values 2014-12-17 10:44:23 -05:00
Adrien Béraud df1368f510 fix wrong method call causing stack overflow 2014-12-16 17:57:40 -05:00
Adrien Béraud b97e323f78 fix some encryption issues 2014-12-16 15:10:22 -05:00
Adrien Béraud 73d9b692ee allow to cancel listen through dhtrunner 2014-12-15 16:34:45 -05:00
Adrien Béraud c9528f3536 securedht: retransmit return value 2014-12-15 16:33:24 -05:00
Adrien Béraud 96ab433aee Update README.md 2014-12-15 14:42:03 -05:00
Adrien Béraud 726e651572 listeners: also listen for local storage changes 2014-12-15 14:35:59 -05:00
Adrien Béraud 3ee8149178 run operation unlocked 2014-12-12 00:53:13 -05:00
Adrien Béraud 2f2177e957 runner: use a queue to process operations 2014-12-11 16:46:29 -05:00
Adrien Béraud 07d51ae155 reduce search timeout 2014-12-11 01:25:37 -05:00
Adrien Béraud 2df200ab86 dhtrunner: clarify comment 2014-12-11 01:25:24 -05:00
Adrien Béraud 63d50805ed node: allow to print log 2014-12-09 19:01:54 -05:00
Adrien Béraud 6e12193f7f fix put callback 2014-12-09 19:00:53 -05:00
Adrien Béraud 3d4ecd4064 Show listener IP in logs 2014-12-08 15:16:43 -05:00
Adrien Béraud 1789a5680e disable lto 2014-12-08 12:48:17 -05:00
Adrien Béraud 5c4a68ccb2 dhtnode: fix error message 2014-12-08 11:53:19 -05:00
Adrien Béraud 38265d587a dhtrunner: reduce max blocking time to 5 seconds 2014-12-07 18:25:03 -05:00
Adrien Béraud 33b3765679 node: cleanup 2014-12-07 18:20:13 -05:00
Adrien Béraud d9b1635899 dht: status is connected from one good node 2014-12-07 18:19:43 -05:00
Adrien Béraud c780c3d14a dhtrunner: add cancelPut 2014-12-07 18:19:19 -05:00
Adrien Béraud d436afccb5 infohash: fill with 0 when provided data is not long enough 2014-12-07 18:18:32 -05:00
Adrien Béraud f5aaaf8b49 add missing headers 2014-12-07 16:26:12 -05:00
Adrien Béraud 1daff73b34 node: make a proper CLI 2014-12-07 16:25:17 -05:00
Adrien Béraud 6c9f93df53 securedht: make parent class Dht public 2014-12-07 16:24:02 -05:00
Adrien Béraud 21039927af reduce request timeout times to 6 seconds 2014-12-06 23:37:38 -05:00
Adrien Béraud 65eec58860 clarify debug messages 2014-12-06 23:17:25 -05:00
Adrien Béraud 7aaa794bd5 better handling of error messages 2014-12-06 22:44:34 -05:00
Adrien Béraud 183bb8ffd7 add enable debug 2014-12-06 20:25:58 -05:00
Adrien Béraud cc940a9fb3 enable tools by default 2014-12-06 20:18:15 -05:00
Adrien Béraud e0794b9a87 manage multiple simultaneous local gets 2014-12-06 19:52:46 -05:00
Adrien Béraud eaa7fc77ed searches: improve handling of disconnected nodes in search tables 2014-12-06 16:14:58 -05:00
Adrien Béraud 6d6a2214db crypto: save private keys in PEM 2014-12-06 16:11:45 -05:00