Commit Graph

3559 Commits

Author SHA1 Message Date
Jeremy Lakeman
9f4f56b663 Add Java api to add identity with name and number 2016-06-07 12:30:42 +09:30
Jeremy Lakeman
7e497d01d6 Allow java nio channels to throw IOException 2016-06-07 11:31:04 +09:30
Jeremy Lakeman
1e3236e89c Initialise variable to avoid spurious warning 2016-06-06 22:52:02 +09:30
Jeremy Lakeman
848f01e7d3 Only log debug statements if a keyring identity cannot be opened 2016-05-31 13:51:54 +09:30
Jeremy Lakeman
ce2131870c Fix rhizome op test that used recipient field 2016-05-31 13:05:06 +09:30
Jeremy Lakeman
802310c6f1 Don't append meshms timestamps if the clock is considered unreliable 2016-05-31 13:00:48 +09:30
Jeremy Lakeman
d9e89fd299 Add meshms restful stress test 2016-05-31 12:53:37 +09:30
Jeremy Lakeman
16a14269af Encrypt payloads without needing a sender
- reworked keyring identity handling to reduce memory searching
2016-05-31 12:50:32 +09:30
Jeremy Lakeman
89ab832c21 Link multiple versions of a journal payload to the same file 2016-05-24 14:47:49 +09:30
Jeremy Lakeman
4a4e4c2dcf Fix timeout waiting for route print if server has died 2016-05-23 15:38:41 +09:30
Jeremy Lakeman
00f49c249e Keep syncing when a peer has nothing, and all existing bundles are replaced before transfer 2016-05-23 15:38:40 +09:30
Jeremy Lakeman
ade7428687 Don't overrun MDP MTU 2016-05-23 15:38:40 +09:30
Jeremy Lakeman
177f695671 Rework handling of race conditions when storing the same bundle (#109) 2016-05-23 15:38:40 +09:30
Jeremy Lakeman
267a7da0d9 Don't crash if the rhizome store is busy (#108) 2016-05-23 11:24:59 +09:30
Jeremy Lakeman
dced3bbb91 Avoid 1 second delay in tests when using curl to post forms 2016-05-18 12:11:58 +09:30
Jeremy Lakeman
92af9769ec Vacuum sqlite db pages if 1/4 of the db file is free space 2016-05-18 10:40:10 +09:30
Jeremy Lakeman
6f388cec63 Add java classes for receiving routing table updates 2016-05-11 14:18:31 +09:30
Jeremy Lakeman
2b991a0917 Lower mdp qos priority of new rhizome sync, bias bundles with no reachable receiver 2016-05-10 13:34:38 +09:30
Jeremy Lakeman
32dd9f7b15 Move msp_proxy state from a global to the stack 2016-05-10 12:05:49 +09:30
Jeremy Lakeman
b55926b081 Add configuration for idle_tick_ms so tests can complete faster without wasting power 2016-05-10 11:19:49 +09:30
Jeremy Lakeman
6feaddf24d Rework route print command to use newer mdp api, show live updates & deprecate monitor messages 2016-05-10 10:28:14 +09:30
Jeremy Lakeman
6cedb2d0ac Cleanup sync state when complete, or peers move out of range 2016-05-09 11:10:50 +09:30
Jeremy Lakeman
c5957e9c85 Transfer bundles via msp, triggered by key sync 2016-05-09 11:10:50 +09:30
Jeremy Lakeman
6b7aa800e4 Start syncing rhizome based on manifest hashes 2016-05-09 11:10:50 +09:30
Jeremy Lakeman
c625a598d9 Use malloc / free for manifest structs 2016-05-09 11:10:50 +09:30
Jeremy Lakeman
76be37a04e Add API for msp from within the daemon 2016-05-09 11:10:50 +09:30
Jeremy Lakeman
0563879707 Split common msp code into a reusable header 2016-05-09 11:10:50 +09:30
Jeremy Lakeman
9b5b82d972 Allow port reuse for mdp bindings 2016-05-09 11:10:50 +09:30
Jeremy Lakeman
5feb67512c Generate encryption key from signing key for new identities 2016-05-09 10:51:52 +09:30
Jeremy Lakeman
37bdd0b5f9 Link against pre-built libsodium.a in android build 2016-05-09 10:32:04 +09:30
Jeremy Lakeman
bd47a8eb60 Use libsodium for retrieving random bytes 2016-05-09 10:32:04 +09:30
Jeremy Lakeman
e15e332072 Swap from included nacl to host libsodium 2016-05-09 10:32:04 +09:30
Jeremy Lakeman
7f5f71aec8 Fix calculated size of struct sockaddr_un on OSX #104 2016-05-09 09:07:34 +09:30
Jeremy Lakeman
c78ee668d5 Add interface index to UP/DOWN monitor message 2016-04-27 13:16:00 +09:30
Jeremy Lakeman
884a6211eb Remove overlay_interface_find_name 2016-04-27 13:10:31 +09:30
Jeremy Lakeman
39520f5bd8 Reduce technical debt 2016-04-26 10:21:43 +09:30
Jeremy Lakeman
dd8f98a2ab Ensure we rollback if commit fails 2016-04-18 16:06:27 +09:30
Jeremy Lakeman
ebb7500119 Fix bug with syncing config within a multi-threaded java process 2016-04-13 11:24:24 +09:30
Jeremy Lakeman
c7203ee639 Don't add an integer to a char * 2016-04-12 15:44:27 +09:30
Jeremy Lakeman
206f06f3f9 Throw exceptions in java server start for any failures 2016-04-11 13:36:35 +09:30
Jeremy Lakeman
7939a780fb Fix case where eof mime boundary overlaps buffer boundary 2016-04-11 13:10:37 +09:30
Jeremy Lakeman
2241a15e48 Use file locking to better detect if the server really is running 2016-04-06 14:57:30 +09:30
Jeremy Lakeman
1cf46dcef9 Add default instance path for android debug servald binary 2016-04-04 11:46:31 +09:30
Jeremy Lakeman
2efcfa24d5 Only trigger bundle add hooks within the daemon thread / process 2016-03-30 17:18:40 +10:30
Jeremy Lakeman
c04d015bc6 Don't continuously toggle fd blocking mode 2016-03-30 16:25:43 +10:30
Jeremy Lakeman
256fdb11c9 Avoid remeasuring string 2016-03-30 16:25:43 +10:30
Jeremy Lakeman
8d015d9c2f Remove duplicate global variables 2016-03-30 16:25:43 +10:30
Jeremy Lakeman
b516ff686d Flip section linking tests 2016-03-30 16:25:43 +10:30
Jeremy Lakeman
5636edfe20 Append manifest into zip file comment 2016-03-30 16:25:43 +10:30
Jeremy Lakeman
a5ff0ed2a3 Remove asserts in ob_makespace, that's what ob_overrun is for (Fixes #98) 2016-03-15 10:51:46 +10:30