Andrew Bettison 62f8d223ea Improve alloca_toprint() functions
Replace "..." quoting with `...` quoting in output, to avoid slosh-escaping the
common double-quote character (") in log output.

Introduce alloca_str_toprint() function that produces an entire null-terminated
string in printable form.

Change various toprint strbuf helper functions to take two optional quote chars
instead of one mandatory.
2012-09-28 17:46:40 +09:30
2012-09-12 15:21:50 +09:30
2012-09-28 12:16:55 +09:30
2012-05-11 08:14:00 +09:30
2012-06-27 16:54:42 +09:30
2012-05-11 08:14:00 +09:30
2012-09-06 12:43:06 +09:30
2012-09-05 20:42:50 +09:30
2012-05-24 17:11:55 +09:30
2012-09-05 20:42:50 +09:30
2012-08-09 12:14:32 +09:30
2012-09-05 20:42:50 +09:30
2012-09-28 12:16:55 +09:30
2012-09-28 17:46:40 +09:30
2012-09-28 17:46:40 +09:30
2012-05-14 18:37:32 +09:30
2012-08-21 13:32:55 +09:30
2011-08-10 15:39:40 +02:00
2012-08-23 12:31:07 +09:30
2012-08-23 12:31:07 +09:30
2012-08-23 12:31:07 +09:30
2012-09-05 20:42:50 +09:30
2012-08-23 12:31:07 +09:30
2012-08-09 13:30:52 +09:30
2012-07-24 16:04:59 +09:30
2012-09-05 20:42:50 +09:30
2012-09-05 20:42:50 +09:30
2012-02-23 12:45:42 +10:30
2012-08-23 12:31:07 +09:30
2012-09-28 12:05:22 +09:30
2012-09-28 12:16:55 +09:30
2011-10-25 13:39:14 +10: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.

Description
The Serval Project's core daemon that implements Distributed Numbering Architecture (DNA), MDP, VoMP, Rhizome, MeshMS, etc.
Readme
Languages
C 89.4%
Shell 5.9%
Java 2%
M4 1.1%
Assembly 0.6%
Other 0.9%