Andrew Bettison
6371203703
Finish removing SLIP code and test case
...
More simplification of "serval.h"
2014-04-07 16:22:31 +09:30
Jeremy Lakeman
1228df2b70
Remove bitrot related to voip testing
2014-04-07 15:48:10 +09:30
Jeremy Lakeman
025726dcab
Fix android build, related to issue #76 fix
2014-04-07 15:25:43 +09:30
Andrew Bettison
1f49ee47ae
Add missing copyright messages
2014-04-07 14:39:21 +09:30
Andrew Bettison
97850835da
Clean up "serval.h" a bit
...
Move some defs to more appropriate header file
Remove unused function prototypes
Remove unused SLIP and CRC32 code
2014-04-07 14:27:32 +09:30
Jeremy Lakeman
81d349211a
Remove spurius include of netinet/if_ether.h, fixes #76
2014-04-07 13:22:39 +09:30
Jeremy Lakeman
dd9f5fb713
Only report that a payload exists if it actually exists
2014-04-07 13:22:27 +09:30
Andrew Bettison
938d645dbd
Create skeleton MSP tech document
2014-04-07 12:12:53 +09:30
Andrew Bettison
1dea703d18
Remove spurious rotbuf_log() declaration, fixes #75
2014-04-03 10:43:14 +10:30
Andrew Bettison
76cce8fe7e
Fix enum compiler warnings (clang -Wenum-conversion)
2014-04-03 10:36:38 +10:30
Jeremy Lakeman
f6f1752437
Shortcut equals test when objects are the same instance
2014-03-27 13:32:15 +10:30
Jeremy Lakeman
89f6d533cd
Don't report error when dropping a packet due to no peers
2014-03-27 13:31:43 +10:30
Jeremy Lakeman
2226a529af
Use slightly cheaper JNI exception test
2014-03-27 13:30:46 +10:30
Andrew Bettison
ba44088eb8
Move Android INSTANCE_PATH from instance.c to Android.mk
2014-03-26 16:07:28 +10:30
Andrew Bettison
53c1b1c04c
Filesystem Heirarchy Standard (FHS) paths
...
If no instance directory specified, then use paths like
/etc/serval/serval.conf
/var/cache/serval
/var/log/serval
/var/run/serval
etc. for files, instead of all in a single directory.
Log all directory creation as INFO messages.
Interpretation of log.file.directory_path has changed slightly.
Updated servald configuration tech doc.
2014-03-26 15:35:43 +10:30
Andrew Bettison
d228165814
New "instance.h" header
...
Remove unused
2014-03-24 15:29:57 +10:30
Andrew Bettison
53d5a8734b
Fix Rhizome cleanup to remove temporary payloads
...
Fix test case to properly assert that all stale payloads are
deleted
2014-03-18 16:03:26 +10:30
Andrew Bettison
dc588e964d
Fix "name=/file" bug in Rhizome add
...
Improved Rhizome test scripts and added new assert_manifest_fields()
function to Rhizome test defs
2014-03-12 15:48:00 +10:30
Jeremy Lakeman
a6d6175576
Add config set warning if attempting to drop packets on datagram sockets
2014-03-12 14:55:46 +10:30
Jeremy Lakeman
2e4835d7d6
Ensure tests with packet filtering are using the dummy network interface
2014-03-12 14:32:59 +10:30
Jeremy Lakeman
f0ce85bd8d
Throw an explicit error instead of a NullPointerException
2014-03-12 14:32:59 +10:30
Jeremy Lakeman
ee68856878
Reduce log spam from debug.rhizome
2014-03-12 14:32:59 +10:30
Andrew Bettison
0bef066949
Store Rhizome external blob files in "blob" subdirectory
...
This will make issue #50 a bit easier to tackle
2014-03-07 16:55:38 +10:30
Jeremy Lakeman
fa6c563e5b
Cleanup git version arguments
2014-03-05 10:26:54 -08:00
Jeremy Lakeman
0217b2b9db
Don't check the database again after tranfer completes
2014-03-05 10:04:33 -08:00
Jeremy Lakeman
4269ed0f05
Tidy up rhizome fetch status, remove duplicate data
2014-03-05 09:58:05 -08:00
Jeremy Lakeman
b5c0687ff7
Don't allow link_send() to dominate the scheduler
2014-03-05 09:57:17 -08:00
Jeremy Lakeman
6b17cd580f
Enable rhizome HTTP transfers over loopback while using local sockets
2014-03-05 09:55:23 -08:00
Andrew Bettison
b066aafe62
Fix broken link
2014-03-05 19:54:10 +10:30
Andrew Bettison
d8ba926492
Fix broken links and formatting
2014-03-05 19:51:23 +10:30
Andrew Bettison
d16a6e13b3
Fix missing links in README
...
Also improve readability of some parts
2014-03-05 15:39:16 +10:30
Andrew Bettison
734368608e
Update README, INSTALL and OpenWRT instructions
...
Instructions for releasing Serval DNA for OpenWRT
2014-03-05 15:26:28 +10:30
Andrew Bettison
e1949c15de
Refactor Makefile.in and Android.mk
...
Immediate benefit: does not recompile sqlite3.c when any Serval header
file is touched.
Also makes it a bit clearer which source files are imported and which
can be used in "client" binaries other than servald.
2014-03-04 21:53:01 +10:30
Jeremy Lakeman
7081e7044f
Ensure AF_UNIX DGRAM sockets don't block during tests
2014-03-03 14:06:31 -08:00
Andrew Bettison
319031b79d
OpenWRT build instructions
2014-03-03 15:21:53 +10:30
Andrew Bettison
dc996e7065
Modify OpenWRT Makefile for development
...
Now that OpenWRT Makefiles for the OpenWRT release feeds are in the
servalproject/openwrt-packages repository, there should be no OpenWRT release
Makefiles anywhere else. So the Makefile that was in the Serval DNA repo now
serves for developers who want to edit Serval DNA source and compile for
OpenWRT without having to commit and push to GitHub before every compile.
2014-03-03 15:21:53 +10:30
Andrew Bettison
8e9440860b
version_string.sh uses VERSION.txt if not in a Git repo
2014-03-03 15:21:53 +10:30
Andrew Bettison
30590ab140
./configure checks for GCC stack smashing protection
2014-03-03 15:21:53 +10:30
Andrew Bettison
e10c4d92a1
Replace ./configure --enable-instance-path=<path> with INSTANCE_PATH=<path>
2014-03-03 15:16:53 +10:30
Andrew Bettison
2854821678
Improve version_string.sh: add <refspec> argument
2014-03-03 15:16:53 +10:30
Andrew Bettison
fd1b36a9da
Refactor new MissingPayload test case
...
Move more code into fixture, add TODO comment
2014-03-03 15:14:34 +10:30
Andrew Bettison
19aed8ecb5
Fix test defs: pop_instance did not restore instance
...
Add push_and_set_instance() function
Remove redundant set_instance calls in test cases
Cope if error() returns (can happen during teardown)
2014-03-03 15:14:34 +10:30
Andrew Bettison
08e02b18db
Improve test framework: tfw_run() function
2014-03-03 15:14:34 +10:30
Jeremy Lakeman
89b1ca2e2f
Tidy up android build file for inclusion in other projects
2014-03-02 17:46:11 -08:00
Jeremy Lakeman
974c87adf2
Remove orphan file rows if we notice the payload is missing
2014-03-01 05:45:32 +10:30
Jeremy Lakeman
880117f6db
Reduce peak bandwidth usage (though we really need a dynamic limit)
2014-03-01 05:28:54 +10:30
Jeremy Lakeman
1ade36f8df
A missing payload should be re-fetched
2014-02-28 10:00:49 +10:30
Jeremy Lakeman
487eab49cd
Parse DNA replies with no phone or name gracefully
2014-02-25 15:26:13 +10:30
Jeremy Lakeman
f78a4d69a2
Don't shuffle monitor client connections on close
2014-02-25 13:55:49 +10:30
Jeremy Lakeman
ef533e0c55
Fix extra bracket in error detection
2014-02-25 12:45:55 +10:30