The Serval Project's core daemon that implements Distributed Numbering Architecture (DNA), MDP, VoMP, Rhizome, MeshMS, etc.
Go to file
Andrew Bettison 3f4ee701ec Artefacts created by libtoolize -c -i
Replaces symbolic links created from previous libtoolize -i (without -c) which
of course do not work across all platforms.
2012-09-12 15:21:50 +09:30
asterisk_include
java/org/servalproject/servald
m4 Artefacts created by libtoolize -c -i 2012-09-12 15:21:50 +09:30
nacl Check we could actually build something. 2012-09-06 15:27:26 +09:30
sqlite-amalgamation-3070900 Reduce use of stderr in many places 2012-08-01 17:54:02 +09:30
tests Create #! line correctly (no need to escape !). 2012-09-07 15:42:20 +09:30
win32
.dir-locals.el Add file to set emacs variables to match the prevailing style. 2012-07-29 13:52:46 +09:30
.gitignore Fix issues arising from new strlcpy.c 2012-08-14 11:23:27 +09:30
aclocal.m4
Android.mk Move str functions to c file to enable reuse 2012-08-09 13:30:52 +09:30
asterisk_app.c Expunge old DNA protocol code (cleans up warnings) 2012-06-25 15:37:11 +09:30
audio_alsa.c
audio_msm_g1.c Fix rhizome transfers 2012-06-27 16:54:42 +09:30
audio_reflector.c
audiodevices.c Try detecting ALSA better. 2012-09-06 12:43:06 +09:30
batman.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
BUILD.txt
ciphers.c
client.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
codecs.c Use new typedef time_ms_t everywhere 2012-08-09 12:14:32 +09:30
commandline.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
conf.c Remove carnal knowledge of conf.c from serval.h and commandline.c by providing a function to set the instance path override. 2012-07-29 18:58:41 +09:30
conf.h Remove carnal knowledge of conf.c from serval.h and commandline.c by providing a function to set the instance path override. 2012-07-29 18:58:41 +09:30
config.guess Artefacts created by libtoolize -c -i 2012-09-12 15:21:50 +09:30
config.sub Artefacts created by libtoolize -c -i 2012-09-12 15:21:50 +09:30
configure.in Artefacts created by libtoolize -c -i 2012-09-12 15:21:50 +09:30
constants.h Improve SAS resolution debug messages 2012-08-14 14:06:59 +09:30
dataformats.c Rewrite many fprintf(stderr,...) to DEBUGF(...) 2012-07-27 11:29:27 +09:30
dna_helper.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
dna_identity.c
dnawrap.c
encode.c
fdqueue.c Listen to INADDR_ANY on OSX, otherwise we can't hear broadcasts 2012-08-09 13:32:08 +09:30
fifo.c
fifo.h
gateway.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
install-sh Artefacts created by libtoolize -c -i 2012-09-12 15:21:50 +09:30
jni.c
keyring.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
log.c Include stdint.h for intmax_t. 2012-09-06 15:26:40 +09:30
log.h Add WARNF_perror() macro 2012-08-27 13:03:13 +09:30
lsif.c Listen to INADDR_ANY on OSX, otherwise we can't hear broadcasts 2012-08-09 13:32:08 +09:30
ltmain.sh Artefacts created by libtoolize -c -i 2012-09-12 15:21:50 +09:30
macconfig
main.c various fixes for libmonitorclient and commits made by others 2012-07-29 12:35:53 +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 Add OSX magic so we can use things like u_short (which is off for POSIX source which is presumably turned on by _XOPEN_SOURCE). 2012-09-06 14:32:17 +09:30
meshpotato_build
mkdir.c
monitor-cli.c Use new typedef time_ms_t everywhere 2012-08-09 12:14:32 +09:30
monitor-client.c Fix snprintf arguments 2012-08-21 13:32:55 +09:30
monitor-client.h Improve monitor client interface and vomp for asterisk channel driver 2012-08-09 13:32:08 +09:30
monitor.c Hide the LOCAL_PEERCRED/SO_PEERCRED behind #ifdef linux. 2012-09-06 14:31:25 +09:30
mpbuild
net.c Introduce struct __sourceloc 2012-08-23 12:31:07 +09:30
net.h Introduce struct __sourceloc 2012-08-23 12:31:07 +09:30
openwrt-makefile
overlay_abbreviations.c Fix SEGV bug in new overlay abbreviation code 2012-07-25 17:45:57 +09:30
overlay_advertise.c Refactor packet envelope and sid abbreviation reading and writing 2012-07-17 15:30:50 +09:30
overlay_broadcast.c Convert fprintf(stderr,...) to DEBUGF() 2012-07-30 18:35:06 +09:30
overlay_buffer.c Introduce struct __sourceloc 2012-08-23 12:31:07 +09:30
overlay_interface.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
overlay_mdp.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
overlay_packetformats.c Use new typedef time_ms_t everywhere 2012-08-09 12:14:32 +09:30
overlay_payload.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
overlay_route.c Don't wander off the end of the array and trash things. 2012-09-06 11:52:32 +09:30
overlay.c Refactoring of Rhizome http server code so that we can supply a 2012-08-31 13:01:28 +09:30
pa_phone.c
packetformats.c Reduce use of stderr in many places 2012-08-01 17:54:02 +09:30
peers.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
performance_timing.c Use new typedef time_ms_t everywhere 2012-08-09 12:14:32 +09:30
randombytes.c
README.DUMMYNETS Added explanation of changed semantics when using dummynets. 2012-06-15 15:13:45 +09:30
README.WHYNOTSIPS Add a note about why we aren't using SIPS/ZRTP. 2012-08-27 11:28:06 +09:30
responses.c Refactor log.h constants.h serval.h 2012-07-30 16:15:42 +09:30
rhizome_bundle.c Introduce struct __sourceloc 2012-08-23 12:31:07 +09:30
rhizome_crypto.c Finish sleep-retry on locked Rhizome db 2012-08-24 15:38:39 +09:30
rhizome_database.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
rhizome_direct.c Added boundarystring field to rhizome_http_request structure. 2012-09-01 14:11:23 +09:30
rhizome_fetch.c Improve Rhizome INFO messages 2012-08-17 19:42:11 +09:30
rhizome_http.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
rhizome_packetformats.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
rhizome.c Reduce and improve logging 2012-08-09 13:30:52 +09:30
rhizome.h Added boundarystring field to rhizome_http_request structure. 2012-09-01 14:11:23 +09:30
serval_packetvisualise.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
serval.h Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
servalwrap.c Fix compilation for android 2012-07-24 16:04:59 +09:30
server.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
sha2.c Initial stab at porting to Solaris. 2012-09-05 20:42:50 +09:30
sha2.h
sighandlers.c more work on dna helper interface. 2012-06-21 16:35:28 +09:30
simulate.c Code improvements while debugging 'dnaprotocol' tests 2012-07-03 15:36:51 +09:30
socket.c Refactor out socket name setting code into one place. 2012-07-29 22:20:54 +09:30
socket.h Refactor out socket name setting code into one place. 2012-07-29 22:20:54 +09:30
srandomdev.c
str.c swapped arg order to what seemed a more sensible order. #9 2012-08-31 13:01:29 +09:30
str.h added str_str() to help parse http POST requests for rhizome direct. #9 2012-08-31 13:01:29 +09:30
strbuf_helpers.c Improve copyright attributions and comments 2012-07-30 16:15:42 +09:30
strbuf_helpers.h Improve copyright attributions and comments 2012-07-30 16:15:42 +09:30
strbuf.c Fix bug in alloca_toprint() that caused SEGV 2012-08-06 15:39:08 +09:30
strbuf.h Introduce struct __sourceloc 2012-08-23 12:31:07 +09:30
strlcpy.c Fix issues arising from new strlcpy.c 2012-08-14 11:23:27 +09:30
strlcpy.h Add strlcpy as it appears some systems (Ubuntu and probably Debian) don't have it. 2012-08-13 18:24:19 +09:30
testconfig.sh.in
testdefs_rhizome.sh Issue #9, add test case for local HTTP add 2012-08-27 17:57:41 +09:30
testdefs.sh Detect Solaris and use GNU versions of awk, sed and grep. 2012-09-06 16:41:24 +09:30
testframework.sh Nuke debug message 2012-09-06 17:28:40 +09:30
testnacl.c
TODO
vomp.c Pass remote sequence number through monitor interface 2012-08-21 13:32:55 +09:30
xprintf.c Add xprintf() extensible stream formatter 2012-08-03 16:44:05 +09:30
xprintf.h Add xprintf() extensible stream formatter 2012-08-03 16:44:05 +09:30

When we were looking at implementing secure calls for OpenBTS it was suggested
that we configure Asterisk to use SIPS/ZRTP. This would have been relatively
easy to setup, however there are a few problems.

Number one is that when Asterisk checks the certificates it will either
validate the certificate (checking the chain of trust and so on) and then
check that the common name attribute on the certificate matches the hostname
of the peer, or it will do none of these checks. This code is in main/tcptls.c
line 206 (in version 1.8.14.1).

This is undesirable in a setup where there is limited or no infrastructure as
there is not likely to be a DNS server setup, or even rigid IP assignments
that would allow a static hosts file based setup. This situation would force
the administrator to disable the checks completely which would allow a trivial
man in the middle attack.

It would be possible to modify Asterisk to have a third way where it validates
the certificate and checks the chain of trust but does not look at the common
name. We decided against this approach as the VOMP channel driver was written
in time to avoid it.