Andrew Bettison
7e71870093
mdp_send() and mdp_recv() do not pass zero-length buffer in iovec
2014-04-16 19:28:16 +09:30
Andrew Bettison
67e3079aa3
Fix return value of mdp_send()
2014-04-16 19:28:11 +09:30
Andrew Bettison
5d9e3f1287
New config option: 'debug.config'
...
Logs some information about configuration file loading and re-loading
2014-04-16 19:12:01 +09:30
Andrew Bettison
d022bbdf27
New config option: server.config_reload_interval_ms
2014-04-16 18:24:16 +09:30
Andrew Bettison
2716228074
Add server watchdog and config reload test
2014-04-16 18:06:27 +09:30
Andrew Bettison
c7d6ce71d5
Fix "mdp ping" to exit after <count> pongs
2014-04-15 15:03:41 +09:30
Jeremy Lakeman
c6e461bcb0
Attempt to create folders for binding AF_UNIX sockets
2014-04-11 17:00:47 +09:30
gardners
1dc09f513c
Document MSP API
2014-04-11 11:24:50 +09:30
Jeremy Lakeman
14be44d211
Enhance console command to allow multiple concurrent calls
2014-04-10 13:46:07 +09:30
Jeremy Lakeman
23cb4600e2
Improve VOMP testing
2014-04-10 11:14:46 +09:30
Andrew Bettison
bb677e50fd
Refactor keyring open/seed out of server()
...
Now the keyring is opened and seeded before the server daemon process is
forked, and any keyring error prevents the server from starting
No longer necessary to pass a (cli_parsed*) argument to server()
2014-04-07 16:22:31 +09:30
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