The Serval Project's core daemon that implements Distributed Numbering Architecture (DNA), MDP, VoMP, Rhizome, MeshMS, etc.
Go to file
2016-10-13 16:23:18 +10:30
Debian/etc Improve Debian init.d script and default file 2013-01-24 13:24:11 +10:30
doc Rename configure.in to configure.ac 2016-10-13 16:05:58 +10:30
fec-3.0.1 Fix -Wsign-compare warnings: use size_t or unsigned for byte counts 2013-12-10 16:52:53 +10:30
java/org/servalproject Add helper class for formatting multipart mime 2016-10-10 15:55:27 +10:30
javatest/org/servalproject/test Add Java api to add identity with name and number 2016-06-07 12:30:42 +09:30
m4 Rename configure.in to configure.ac 2016-10-13 16:05:58 +10:30
openwrt/packages/serval-dna Modify OpenWRT Makefile for development 2014-03-03 15:21:53 +10:30
sqlite-amalgamation-3140200 Upgrade to SQLite 3.14.2 2016-09-21 22:47:35 +09:30
tests Add server status test case 2016-10-13 16:01:22 +10:30
utilities Fix Markdown formatting 2013-02-22 00:05:34 -08:00
win32 Allow clients to request variables for all records by passing empty did. 2011-04-27 12:17:26 +09:30
.dir-locals.el Add file to set emacs variables to match the prevailing style. 2012-07-29 13:52:46 +09:30
.gitignore Overhaul Makefile.in 2016-10-13 16:23:09 +10:30
android.c Move DEBUGF() from "log.h" to "debug.h" 2015-07-13 18:24:04 +09:30
Android.mk Overhaul Makefile.in 2016-10-13 16:23:09 +10:30
base64.c Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
base64.h Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
build-libsodium.sh Improve build-libsodium.sh 2016-09-15 16:55:59 +09:30
cc-by-4.0.png Add copyright notices and CC-BY license to README.md and INSTALL.md 2014-05-20 14:52:57 +09:30
CC-BY-4.0.md Add text of CC BY 4.0 license 2014-05-21 17:37:23 +09:30
check-in-out-return.c Uniform copyright notices 2013-12-04 17:15:36 +10:30
cli.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
cli.h Fix the DEBUG_cli_parsed() macro 2016-09-06 11:18:59 +09:30
commandline.c Make all cli_ output functions return void 2016-10-13 16:01:22 +10:30
commandline.h Make all cli_ output functions return void 2016-10-13 16:01:22 +10:30
conf_cli.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
conf_om.c Improve config overflow message 2015-12-14 10:31:38 +10:30
conf_parse.c Improve config overflow message 2015-12-14 10:31:38 +10:30
conf_schema.c Format scaled integers using strbuf 2016-09-21 18:47:49 +09:30
conf_schema.h Fix a failing keyring test 2016-09-06 15:00:21 +09:30
conf.c Move DEBUGF() from "log.h" to "debug.h" 2015-07-13 18:24:04 +09:30
conf.h Remove duplicate global variables 2016-03-30 16:25:43 +10:30
config.guess Update config.guess and config.sub scripts 2016-01-18 11:53:52 +10:30
config.sub Update config.guess and config.sub scripts 2016-01-18 11:53:52 +10:30
configure.ac Rename configure.in to configure.ac 2016-10-13 16:05:58 +10:30
console.c Don't continuously toggle fd blocking mode 2016-03-30 16:25:43 +10:30
console.h Overhaul Makefile and header files 2014-05-26 15:36:26 +09:30
constants.h Fix an intermittent server test failure 2016-09-06 12:33:29 +09:30
context1.c Fix compiler warning 2013-11-21 16:49:44 +10:30
CONTRIBUTORS.md Add CONTRIBUTORS.md file, fix alternative links in README.md 2013-12-03 15:05:05 +10:30
COPYRIGHT.txt Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
crypto.c Simplify BK handling using new signing key typedefs 2016-09-27 15:20:12 +09:30
crypto.h Simplify BK handling using new signing key typedefs 2016-09-27 15:20:12 +09:30
dataformats.c Un-inline a function in "rhizome_types.h" 2016-09-21 18:47:49 +09:30
dataformats.h Add identity_t type & rename signing key api to identity. 2016-08-16 12:22:13 +09:30
debug.h Fix the DEBUG_cli_parsed() macro 2016-09-06 11:18:59 +09:30
directory_client.c Rework route print command to use newer mdp api, show live updates & deprecate monitor messages 2016-05-10 10:28:14 +09:30
directory_service.c Add buf_strncpy_nul(), use in place of strlcpy() 2015-11-02 10:11:41 +10:30
dna_helper.c Move URI primitives from "str.h" to "uri.h" 2016-09-21 18:47:49 +09:30
fakeradio.c Use libsodium for retrieving random bytes 2016-05-09 10:32:04 +09:30
fdqueue.c Overhaul Makefile.in 2016-10-13 16:23:09 +10:30
fdqueue.h Remove terminating semicolons from within macros 2015-11-02 10:11:41 +10:30
features.h Fix broken clang and Android builds 2015-11-23 15:00:25 +10:30
fifo.h Uniform copyright notices 2013-12-04 17:15:36 +10:30
golay.c Refactor to fix some OS-X compile warnings 2014-08-14 17:39:44 +09:30
golay.h Uniform #ifdef __SERVAL_DNA__... for headers 2013-12-04 17:15:36 +10:30
GPL-2.0.txt Add full text of GPL version 2.0 2013-12-04 02:52:31 +10:30
headerfiles.mk Upgrade to SQLite 3.14.2 2016-09-21 22:47:35 +09:30
http_server.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
http_server.h Improve HTTP responses 2015-12-01 00:51:15 +10:30
httpd.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
httpd.h Reduce redundant reading of message ply's 2016-08-23 14:28:13 +09:30
install-sh Artefacts created by libtoolize -c -i 2012-09-12 15:21:50 +09:30
INSTALL.md Overhaul Makefile.in 2016-10-13 16:23:09 +10:30
instance.c Add Java API for setting the instance path 2016-01-18 13:22:36 +10:30
instance.h Fix broken clang and Android builds 2015-11-23 15:00:25 +10:30
keyring_cli.c Wait for path establishment in network scan test 2016-09-27 15:51:23 +09:30
keyring_restful.c Wait for path establishment in network scan test 2016-09-27 15:51:23 +09:30
keyring.c Wait for path establishment in network scan test 2016-09-27 15:51:23 +09:30
keyring.h Wait for path establishment in network scan test 2016-09-27 15:51:23 +09:30
LICENSE-DOCUMENTATION.md Add text of CC BY 4.0 license 2014-05-21 17:37:23 +09:30
limit.c Move rate limit code to separate file 2014-05-12 13:44:50 +09:30
limit.h Move rate limit code to separate file 2014-05-12 13:44:50 +09:30
log_context.c Add log_context 2015-06-29 15:39:19 +09:30
log_on_config_change.c Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
log_stderr.c Move serverMode flag from log.c to server.c 2014-06-11 14:53:26 +09:30
log_util.c Add strbuf_local_buf() macro 2015-11-02 10:11:41 +10:30
log.c Fix compile warning - readdir_r() is deprecated 2016-10-13 16:01:22 +10:30
log.h Fix the DEBUG_cli_parsed() macro 2016-09-06 11:18:59 +09:30
logMessage.c Overhaul Makefile and header files 2014-05-26 15:36:26 +09:30
lsif.c Poll netlink socket for interface changes on linux systems 2015-10-12 18:11:44 +10:30
ltmain.sh Artefacts created by libtoolize -c -i 2012-09-12 15:21:50 +09:30
macconfig Fixed broadcast address discovery to work on Mac. 2011-08-08 16:11:05 +09:30
main.c Use libsodium for retrieving random bytes 2016-05-09 10:32:04 +09:30
Makefile.dbg Move debug options to Makefile.dbg so we don't have to re-run configure. 2012-07-29 14:55:10 +09:30
Makefile.in Overhaul Makefile.in 2016-10-13 16:23:09 +10:30
mdp_client.c Add some MDP client DEBUG trace statements 2016-09-06 13:31:38 +09:30
mdp_client.h Rework route print command to use newer mdp api, show live updates & deprecate monitor messages 2016-05-10 10:28:14 +09:30
mdp_filter.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
mem.c Move if(config.debug.xxx) tests into DEBUGF() 2015-07-13 16:00:05 +09:30
mem.h Fix broken clang and Android builds 2015-11-23 15:00:25 +10:30
meshmb.c Wait for path establishment in network scan test 2016-09-27 15:51:23 +09:30
meshms_cli.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
meshms_restful.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
meshms.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
meshms.h Reduce redundant reading of message ply's 2016-08-23 14:28:13 +09:30
meshpotato_build Assorted unknown changes. Updated Makefile.in etc to properly build serval.c for building asterisk module. 2011-06-15 13:52:30 +09:30
message_ply.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
message_ply.h Allow for arbitrary extra manifest fields on broadcast messages 2016-08-24 16:33:39 +09:30
monitor-cli.c Build the array of console commands by using linkage tricks 2014-08-22 10:36:52 +09:30
monitor-client.c Fix an intermittent server test failure 2016-09-06 12:33:29 +09:30
monitor-client.h Uniform #ifdef __SERVAL_DNA__... for headers 2013-12-04 17:15:36 +10:30
monitor.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
mpbuild Added mesh potato build script. 2011-08-10 15:39:40 +02:00
msp_client.c Add API for msp from within the daemon 2016-05-09 11:10:50 +09:30
msp_client.h Add API for msp from within the daemon 2016-05-09 11:10:50 +09:30
msp_common.h Transfer bundles via msp, triggered by key sync 2016-05-09 11:10:50 +09:30
msp_proxy.c Move msp_proxy state from a global to the stack 2016-05-10 12:05:49 +09:30
msp_server.c Lower mdp qos priority of new rhizome sync, bias bundles with no reachable receiver 2016-05-10 13:34:38 +09:30
msp_server.h Lower mdp qos priority of new rhizome sync, bias bundles with no reachable receiver 2016-05-10 13:34:38 +09:30
net.c Absorb ENOTRECOVERABLE in read_nonblock() 2016-09-06 12:07:00 +09:30
net.h Include "whence.h" instead of "log.h" where suitable 2015-07-13 18:24:16 +09:30
network_cli.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
nibble_tree.c Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
nibble_tree.h Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
numeric_str.c Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
numeric_str.h Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
os.c Use libsodium for retrieving random bytes 2016-05-09 10:32:04 +09:30
os.h Use libsodium for retrieving random bytes 2016-05-09 10:32:04 +09:30
overlay_address.c Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
overlay_address.h Refactor storage of binary values to enable reuse 2016-09-13 15:25:39 +09:30
overlay_buffer.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
overlay_buffer.h Refactor meshms ply handling into separate source file 2016-07-25 16:54:11 +09:30
overlay_interface.c Add configuration for idle_tick_ms so tests can complete faster without wasting power 2016-05-10 11:19:49 +09:30
overlay_interface.h Remove overlay_interface_find_name 2016-04-27 13:10:31 +09:30
overlay_link.c Add identity_t type & rename signing key api to identity. 2016-08-16 12:22:13 +09:30
overlay_mdp_services.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
overlay_mdp.c Test reachable bit flags about ourself 2016-09-20 15:04:28 +09:30
overlay_olsr.c Roll an in memory identity when the keyring is empty 2016-08-02 11:01:32 +09:30
overlay_packet.h Add API for msp from within the daemon 2016-05-09 11:10:50 +09:30
overlay_packetformats.c Roll an in memory identity when the keyring is empty 2016-08-02 11:01:32 +09:30
overlay_packetradio.c Move if(config.debug.xxx) tests into DEBUGF() 2015-07-13 16:00:05 +09:30
overlay_payload.c Allow for different routes per packet destination 2014-09-23 14:54:22 +09:30
overlay_queue.c Fix a failing keyring test 2016-09-06 15:00:21 +09:30
performance_timing.c Move if(config.debug.xxx) tests into DEBUGF() 2015-07-13 16:00:05 +09:30
radio_link.c Move if(config.debug.xxx) tests into DEBUGF() 2015-07-13 16:00:05 +09:30
radio_link.h Uniform #ifdef __SERVAL_DNA__... for headers 2013-12-04 17:15:36 +10:30
README.md Update copyright messages in documentation 2016-09-21 18:31:31 +09:30
rhizome_bundle.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome_cli.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome_crypto.c Wait for path establishment in network scan test 2016-09-27 15:51:23 +09:30
rhizome_database.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome_direct_http.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome_direct.c Add strbuf_local_buf() macro 2015-11-02 10:11:41 +10:30
rhizome_fetch.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome_http.c Add strbuf_local_buf() macro 2015-11-02 10:11:41 +10:30
rhizome_packetformats.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome_restful.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome_store.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome_sync_keys.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome_sync.c Refactor storage of binary values to enable reuse 2016-09-13 15:25:39 +09:30
rhizome_types.h Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome.c Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
rhizome.h Simplify BK handling using new signing key typedefs 2016-09-27 15:20:12 +09:30
rotbuf.c Fix bug in rotbuf_next_chunk() when rotation == 0 2013-05-15 16:46:39 +09:30
rotbuf.h Remove spurious rotbuf_log() declaration, fixes #75 2014-04-03 10:43:14 +10:30
route_link.c Test reachable bit flags about ourself 2016-09-20 15:04:28 +09:30
route_link.h Rework route print command to use newer mdp api, show live updates & deprecate monitor messages 2016-05-10 10:28:14 +09:30
section.h Flip section linking tests 2016-03-30 16:25:43 +10:30
serval_packetvisualise.c Overhaul Makefile and header files 2014-05-26 15:36:26 +09:30
serval_types.h Introduce new typedef for signing keys to expose their internal structure 2016-09-27 10:28:46 +09:30
serval.h Rework route print command to use newer mdp api, show live updates & deprecate monitor messages 2016-05-10 10:28:14 +09:30
servalwrap.c Overhaul Makefile.in 2016-10-13 16:23:09 +10:30
server_httpd.c Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
server.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
server.h Add support for running and stopping servald from a JVM thread 2015-05-25 11:46:37 +09:30
sighandlers.c Fix broken clang and Android builds 2015-11-23 15:00:25 +10:30
sighandlers.h Overhaul Makefile and header files 2014-05-26 15:36:26 +09:30
simulator.c Fix calculated size of struct sockaddr_un on OSX #104 2016-05-09 09:07:34 +09:30
simulator.h Create new AF_UNIX based network simulator 2014-05-23 10:47:22 +09:30
socket.c Fix calculated size of struct sockaddr_un on OSX #104 2016-05-09 09:07:34 +09:30
socket.h Fix MDP client packet receive bug on OSX 2016-01-19 04:05:46 +10:30
sourcefiles.mk Upgrade to SQLite 3.14.2 2016-09-21 22:47:35 +09:30
str.c Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
str.h Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
strbuf_helpers.c Avoid undefined behaviour as highlighted by clang 2016-01-27 16:27:47 +10:30
strbuf_helpers.h Format network addresses using posix API 2015-09-28 11:58:48 +09:30
strbuf.c Optimise strbuf_ncat() 2015-11-17 00:42:06 +10:30
strbuf.h Workaround stack alignment bugs when compiling with clang 2016-01-27 16:27:47 +10:30
strlcpy.c Reimplement strlcpy() using strncpy_nul() 2015-11-02 10:11:41 +10:30
strlcpy.h Reimplement strlcpy() using strncpy_nul() 2015-11-02 10:11:41 +10:30
sync_keys.c Keep syncing when a peer has nothing, and all existing bundles are replaced before transfer 2016-05-23 15:38:40 +09:30
sync_keys.h Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
test_cli.c Add missing #include "str.h" 2016-09-21 18:47:49 +09:30
testconfig.sh.in Trival test of dna JNI command line entry point 2012-04-23 18:25:26 +09:30
testdefs_java.sh Split java test classes into a separate folder 2016-01-19 10:41:52 +10:30
testdefs_json.sh Improve JSON test defs to ensure setup_jq is called before jq 2016-02-15 18:41:54 +10:30
testdefs_meshms.sh Reduce redundant reading of message ply's 2016-08-23 14:28:13 +09:30
testdefs_rhizome.sh Remove file hash command 2016-08-16 12:22:13 +09:30
testdefs.sh Fix a failing keyringrestful test 2016-09-21 12:16:50 +09:30
testframework.sh Improve test framework 2016-10-13 16:01:22 +10:30
testnacl.c Swap from included nacl to host libsodium 2016-05-09 10:32:04 +09:30
tfw_createfile.c Move numeric conversions from "str.h" to "numeric_str.h" 2016-09-21 18:47:49 +09:30
timeit.c add context switching speed test to "test memory" command. 2013-10-22 13:12:10 -07:00
trigger.h Remove terminating semicolons from within macros 2015-11-02 10:11:41 +10:30
uri.c Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
uri.h Updated some copyright messages and COPYRIGHT.txt 2016-10-13 16:23:18 +10:30
uuid.c Change #include "sodium.h" to <sodium.h> 2016-09-12 15:25:08 +09:30
uuid.h Rename uuid_t --> serval_uuid_t 2014-02-17 13:26:03 +10:30
version_servald.c Add "servald version" command and "make copyright" 2013-12-05 14:32:01 +10:30
version_string.sh Don't depend on .git folders or on error text strings 2014-12-12 11:01:34 +10:30
vomp_console.c Don't continuously toggle fd blocking mode 2016-03-30 16:25:43 +10:30
vomp.c Use libsodium for retrieving random bytes 2016-05-09 10:32:04 +09:30
whence.c Add alloca_sourceloc(), refactored from log.c 2015-06-29 15:39:19 +09:30
whence.h Add alloca_sourceloc(), refactored from log.c 2015-06-29 15:39:19 +09:30
xprintf.c Add XPRINT strbuf adapter 2013-03-25 12:02:48 +10:30
xprintf.h Fix broken clang and Android builds 2015-11-23 15:00:25 +10:30

Serval DNA

Serval Project, September 2016

Serval DNA is the core component of the Serval Mesh app for Android and the Serval Mesh Extender long-range mesh networking device. It is a daemon process that performs all the central services of the Serval mesh network such as dynamic routing, encryption and authentication, file distribution, messaging, and voice telephony.

Any device with Wi-Fi connectivity that runs the Serval DNA daemon can participate in the Serval mesh network.

Download, build and test

  • INSTALL.md contains instructions for downloading, building and testing Serval DNA on Linux, Mac OS-X, and similar platforms

  • Notes for Developers contains useful information for developers of Serval DNA, which may also help resolve build issues

Configuration

Documentation

Bugs and issues

Bugs can be reported and inspected using the GitHub issue tracker.

What is in this repository?

This repository contains the GNU C source code for the servald executable, a test framework and test scripts written in Bash, some technical documentation, and various support files for installation and configuration on various platforms.

The servald executable is a multi-purpose program that can be invoked directly from the command line, run as a daemon process, or invoked via JNI from within a Java program. The servald executable is really many commands built into one; the command-line arguments select which command to run. Some commands are stand-alone utilities, some start and stop the servald daemon process, some communicate with the servald daemon as an MDP client, and others via a two-way pipe called the monitor interface.

The following protocols and services are implemented in servald:

  • The Distributed Numbering Architecture (DNA) is the key innovation that makes mesh telephony viable in the absence of any infrastructure, eg, in the aftermath of a natural disaster or in remote locations. DNA is a protocol carried over MDP (see below) that asks many devices at once if they will answer a phone number (DID). A device will respond with its own subscriber identity (SID) if its user has “claimed” that DID. This allows phone calls to be established over the mesh using conventional phone numbers.

  • The Serval Keyring is a flat file containing all the user identities on a single device. Each identity is a set of elliptic curve secret cryptographic keys that belong to a single “mesh subscriber”, indexed by the subscriber's 256-bit public key, called a SID. Each identity in the keyring is locked by its own user-chosen password (called a PIN in the code and documentation), using elliptic curve cryptography to protect locked entries from theft or tampering, and steganography to allow the user to plausibly deny the existence of locked identities.

  • The Mesh Datagram Protocol (MDP) is Serval's own layer 3 protocol designed for secure mesh networking. It is completely independent of Internet protocols such as IP and UDP, although for the time being it is implemented as an “overlay” network based on UDP/IP because that is the interface that Linux and other operating systems provide for sending data over Wi-Fi. However, MDP could easily be implemented directly over a layer 2 data link such as Wi-Fi or Ethernet MAC. MDP uses subscribers' public keys (SID) as source and destination addresses, has a 32-bit port number analogous to the 16-bit port number used in TCP/IP, and encrypts all packet contents by default, using the public key (SID) of the destination.

  • The Voice over Mesh Protocol (VoMP) is Serval's own call negotiation and two-way audio streaming protocol used to implement mesh voice calls. It fills the same role as SIP/RTS, the dominant protocol used for Voice over Internet Protocol, but VoMP is designed for the variable and unstable conditions of wireless mesh networks. VoMP's session state model and signalling can handle packet loss, mid-call re-routing and re-connection where SIP would fail. VoMP's audio streaming can encapsulate many codecs and even DTMF (dialpad button) signalling.

  • Rhizome is a content storage and distribution service implemented using SQLite and a content-exchange protocol based on MDP. It can be used to disseminate content like images, videos, documents, software upgrades, etc. Each piece of content in Rhizome is called a “bundle”, which has two parts: a manifest that describes the content, and the payload, which is the content itself. Each bundle has its own unique cryptographic identifier that allows any recipient to verify that it has not been tampered with. A bundle's payload may be encrypted by the author so that only the designated recipient can read it.

  • The MeshMS messaging service sends short text messages using Rhizome as its transport. Each message thread is stored and carried in a pair of journal bundles, one for each direction (ply).

  • Serval Infrastructure services may optionally be deployed on any devices in the mesh to expose external services to mesh subscribers and vice versa (eg, VoIP gateways, SMS satellite links, packetised web), and to overcome scalability limitations of a perfectly decentralised mesh (eg, central telephone directory). Serval Infrastructure is implemented as a daemon with its own executable called directory_service.

Serval DNA is free software produced by the Serval Project and many contributors. Its source code is licensed to the public under the GNU General Public License version 2. Its technical documentation is licensed to the public under the Creative Commons Attribution 4.0 International licence. All source code and technical documentation is freely available from the Serval Project's serval-dna Git repository on GitHub.

The copyright in most of the source code in Serval DNA is held by Serval Project Inc., a not-for-profit association incorporated in the state of South Australia in the Commonwealth of Australia for the purpose of developing the Serval mesh software. The COPYRIGHT file contains a full list of all those who hold copyright in portions of the Serval DNA source code.

The Serval Project will accept contributions for which copyright has been assigned to Serval Project Inc., or which are licensed to either Serval Project Inc. or to the public on terms that allow the Serval Project to freely redistribute and re-license the code under non-restrictive terms, for example, to release Serval DNA as part of a product distributed through the Apple app store.

Individual developers may assign copyright in their contributions by signing the Serval Project Developer Agreement - Individual, and organisations by signing the Serval Project Developer Agreement - Entity.


Copyright 2015 Serval Project Inc.
Copyright 2016 Flinders University
CC-BY-4.0 This document is available under the Creative Commons Attribution 4.0 International licence.