Commit Graph

3534 Commits

Author SHA1 Message Date
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
Jeremy Lakeman
9feffb89c0 Add test for missing file 2016-03-08 14:59:13 +10:30
Jeremy Lakeman
edc1658cfd Rework detection of rhizome add from cli to trigger bundle_add 2016-03-08 13:33:23 +10:30
Jeremy Lakeman
49ec0f61c4 Make sure sync still works for add via command line 2016-03-08 12:20:43 +10:30
Jeremy Lakeman
9c7d9c6100 Define trigger for changes to the neighbour list 2016-03-08 11:24:09 +10:30
Jeremy Lakeman
cf8932d5ba Use trigger for interface up/down 2016-03-08 10:16:20 +10:30
Jeremy Lakeman
b5afcf9a8f Fix vomp stun test after route print change 2016-03-07 16:11:27 +10:30
Jeremy Lakeman
231ab257e4 Define internal port bindings with section linking tricks 2016-03-07 15:50:34 +10:30
Jeremy Lakeman
3cacf63eaa Add sqlite column for the hash of the manifest (before any signatures) 2016-03-07 14:34:53 +10:30
Jeremy Lakeman
ab15369af5 Use trigger function to clear out sync bars 2016-03-07 14:33:50 +10:30
Jeremy Lakeman
c1947cf774 Add prior hop SID to route print output 2016-03-02 10:51:16 +10:30
Andrew Bettison
518740bcf2 Report missing Content-Disposition header 2016-02-22 18:14:53 +10:30
Andrew Bettison
463e27684c Split REST API documentation into several files 2016-02-22 17:41:49 +10:30
Andrew Bettison
fa4fd02fbd Fix MSP test case after switching to nc6 2016-02-15 18:41:54 +10:30
Andrew Bettison
afc1cc5dbe Improve test defs to ensure setup_curl is called before curl 2016-02-15 18:41:54 +10:30
Andrew Bettison
46678c2b39 Improve JSON test defs to ensure setup_jq is called before jq 2016-02-15 18:41:54 +10:30
Andrew Bettison
3e4470bf4a Use nc6 in MSP tests instead of nc
On OS-X (BSD), nc6 appears to be the only available variant of
netcat that matches the Linux version.

Introduces a guard function to catch invocations of nc6 when
setup_netcat6 has not been called in the fixture.  Introduce
guard functions to prevent invocations of nc and netcat.
2016-02-15 18:41:54 +10:30
Jeremy Lakeman
2da3f12cfa Expose more rhizome add command line arguments to the Java API 2016-02-15 15:34:29 +10:30
Jeremy Lakeman
b8f10fd40d Delay interface re-detection after errors to rate limit continuous failures 2016-02-10 10:23:27 +10:30
Jeremy Lakeman
3b88b50d01 Make sure the test is performed on the correct serval instance 2016-02-01 15:05:27 +10:30
Andrew Bettison
f0d3dec67a Suppress sqlite.c compile warnings with gcc 5.3 2016-02-01 13:49:53 +10:30
Jeremy Lakeman
4fd86004ab Reduce unintentional chattiness 2016-02-01 11:40:56 +10:30
Jeremy Lakeman
bf0abad719 Redirect any output from the server to stderr to the log file
Mainly to capture the output of any 3rd party libraries
2016-01-27 16:27:47 +10:30
Jeremy Lakeman
389f16d2bb Establish a unicast link to a configured host on demand 2016-01-27 16:27:47 +10:30
Jeremy Lakeman
d0da910b19 Avoid undefined behaviour as highlighted by clang 2016-01-27 16:27:47 +10:30
Jeremy Lakeman
ef208c9932 Workaround stack alignment bugs when compiling with clang 2016-01-27 16:27:47 +10:30