In September 2012, The Serval Project commenced a second round of work for the New America Foundation's Open Technology Institute to integrate and document the wireless mesh security mechanisms and an OpenBTS dialplan developed for the Commotion Wireless Project in the First Agreement.
The VoMP channel driver for Asterisk developed under New America Foundation - First Contractor Agreement “NAF1” was tested using two OpenBTS units:
The integration tests are described in app_dna/README-OpenBTS.md. The remedial work was required to:
A policy for technical documentation was developed to address the problem of Wiki content becoming out of date with respect to the source code, and to ensure that all technical instructions are included with the source code so that users attempting to build or configure the software can do so without depending on access to the Wiki web site.
The following technical documents were then produced:
Additionally, the following major Technology Roadmap entries were produced:
The Linux.conf.au 2013 trial could not test with OpenBTS units because the conference was situated in a major metropolitan centre. Instead, the trial aimed to test the VoMP channel driver for Asterisk by setting up a PSTN gateway to a commercial VoIP provider in order to provide free VoMP calls to conventional phones for the duration of the conference.
In practice, the Wi-Fi coverage in the conference areas could not be used for VoMP calls, mostly because of congestion as described in the Linux.conf.au 2013 conference report, so the gateway was never used by conference attendees. Testing was limited to a few calls made from within range of the project's own Wi-Fi router outside conference hours. Despite this setback, the trial was valuable because it revealed the practical obstacles to operating a Mesh network using public infrastructure or in areas with Wi-Fi saturation. The Linux.conf.au 2013 conference report discusses this in more detail.
The KiwiEx 2013 field trial with New Zealand Red Cross did not directly test Commotion OpenBTS integration, but indirectly improved it by advancing development of the Serval Mesh app for Android, in particular Voice over Mesh Protocol (VoMP) and Rhizome. A main focus of the trial was the prototype Serval Mesh Extender, which could vastly increase the range between meshed Commotion OpenBTS units.
The trial was conducted using six Samsung Galaxy S2 GT-I9100 phones whose purchase was funded under the Second Agreement.
Experience had shown that many issues in the field either arose from incorrect configuration or required configuration changes to diagnose. Ongoing development was increasing the demand on the configuration system, whose minimal, ad hoc implementation was causing problems:
It was becoming plain that the existing configuration system would soon become the cause of degrading software quality and field diagnosis headaches. So a completely new configuration parser and schema definition were developed. It was then straightforward to improve the Serval DNA logging system to multiplex output to more than one kind of log at once, under control of configuration:
The new configuration system made it very easy to log the entire configuration at the start of every new (rotated) log file, so that every file carries a complete description of the operational context.
With automatic rotation and expiry of log files, it is now a short step to finish implementing Field diagnosis.
Following Dan Bernstein's recommendation, Serval DNA was upgraded to the newer “ref10” implementation of the NaCl
crypto_sign component, with the following benefits:
The Security Framework document was finalised ready for review by Dan Bernstein.
The lack of the
-fPIC option in the NaCl Makefile remains an issue, so NaCl still cannot be built as a shared library on 64-bit Linux systems.