25607 Commits

Author SHA1 Message Date
Jeff Lenk
4fe481cb49 FS-5377 --resolve 2014-02-15 23:15:58 -06:00
Anthony Minessale
5bddc33113 FS-6230 --resolve There was no NAT detection enabled on the calls, this patch will activate it explicitly when used with force-rport to avoid a similar problem with other users
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2014-02-14 23:52:13 +05:00
Anthony Minessale
ab3f4f395b regression from 8f82979d8af920415bce2f9e9e3cb84cdc0ca682 using wrong values to calculate buffer size
Conflicts:
	src/mod/applications/mod_conference/mod_conference.c
2014-02-14 22:42:13 +05:00
Anthony Minessale
10242c3040 FS-6228 --resolve 2014-02-14 21:05:06 +05:00
Anthony Minessale
28e8194de9 FS-6223 --resolve v1.2.22 2014-02-13 22:12:09 +05:00
Ken Rice
0a1bb0e9d5 rev bump 2014-02-13 11:03:33 -06:00
Chris Rienzo
3bb135ffcc FS-6218 --resolve 2014-02-13 09:18:10 -05:00
Anthony Minessale
27bfa2b65e FS-6217 --resolve 2014-02-13 06:22:24 +05:00
Anthony Minessale
bdc4005678 FS-6221 --resolve 2014-02-13 03:26:47 +05:00
Anthony Minessale
c12d491465 limit size of input buffer in conference
Conflicts:
	src/mod/applications/mod_conference/mod_conference.c
2014-02-13 03:19:54 +05:00
Ken Rice
8dbad1172e copyright header update 2014-02-12 15:25:54 -06:00
Nathan Neulinger
c65f288474 FS-6220 fix sql quoting of queries from mod_skinny 2014-02-12 15:22:49 -06:00
Anthony Minessale
b35196f78e fix switch_split_user_domain to parse sip:foo.com properly 2014-02-12 23:11:54 +05:00
Jeff Lenk
f0a785a0cd FS-6213 --resolve 2014-02-12 08:45:48 -06:00
Travis Cross
3680199268 Fix copy/paste error
This amends commit b9a858317881315c52cd33c61d90b1e6c75156bd.
2014-02-12 11:43:52 +00:00
Ken Rice
a2d659facf version bump
had to fix an issue that broke centos 5
v1.2.21
2014-02-11 18:51:37 -06:00
Chris Rienzo
b1c7efb60e mod_rayo: shut up CentOS 5 warning 2014-02-11 17:58:44 -05:00
Anthony Minessale
73acee7146 use portable switch_inet_ntop 2014-02-12 03:31:34 +05:00
Travis Cross
81863e44b6 Force sofia rebuild
The rebuild is needed for commit cd6154b49ea2420378c6f3bb16a0fb475aec43af.
2014-02-11 17:47:09 +00:00
Travis Cross
311d7249fa Add voicemail parameter storage-dir-shared
If this is set to true (default false) we assume the storage-dir is
shared, organized by realm/domain, with uses other than voicemail, so
we adopt a directory structure of:

  <storage_dir>/<realm>/voicemail/<id>
2014-02-11 17:43:06 +00:00
Travis Cross
0ac4dcb8a6 Add vm-domain-storage-dir param
This replaces the semantics of the storage-dir parameter without the
deprecation notice.  The behavior of storage-dir never should have
been deprecated, though it was probably correct to deprecate the name
itself.

Rather than having both vm-storage-dir and vm-domain-storage-dir it
might be nice if the config system could just notice at what level it
was defined and do the right thing.  Indeed, this is why I'd left
things as-is for so long.

But as Master Foo famously said, "which one will reach the other side
of the river: the one who dreams of a raft, or the one that hitchhikes
to the next bridge?"

FS-5329
2014-02-11 15:53:03 +00:00
Travis Cross
cd6154b49e Add mod_sofia support for setting socket TCP keepalive
Some OSes like linux provide a mechanism for sending TCP keepalive
pings.  Sofia provides its own mechanism for doing this in userspace.
We shouldn't conflate these two mechanisms.

FS-6104
2014-02-11 06:40:10 +00:00
Travis Cross
92e2caf86b Rework handling of Linux TCP keepalives in Sofia
This separates out the Linux socket TCP keepalive timeout interval
from Sofia's internal mechanisms.  Earlier we tied these together.  In
retrospect this seems improper.

These two values can now be set separately.

You might, for example, want to keep the Sofia internal mechanism
disabled completely while enabling the platform-based mechanism if
your platform supports it.

We also here reform the default value of the socket TCP keepalive
parameter to 30 seconds.

This is what commit 1bf17857c9a322df50305606ca41203053001818 should
have been.

FS-6104
2014-02-11 06:39:50 +00:00
Travis Cross
f7c4dd79f5 Add additional debugging output to keepalive handling 2014-02-11 06:34:43 +00:00
Travis Cross
01a4aeaaeb Synchronize Sofia and Linux TCP keepalive timeout units
Sofia keeps the TCP keepalive timeout in milliseconds, but Linux
expects the value in seconds.  Before this change, it's unlikely the
TCP_KEEPIDLE and TCP_KEEPINTVL calls were having much effect as we
would have been passing them a huge value.

FS-6104
2014-02-11 06:34:40 +00:00
Ken Rice
2e6562af22 rev bump v1.2.20 2014-02-10 17:30:05 -06:00
Anthony Minessale
5b18879813 FS-6128 FS-6200 --resolve allocating the sofia_private on the nua_handle seems to lead to memory corruption, changing it back to malloc as done in the version before the regression 2014-02-11 04:06:11 +05:00
Anthony Minessale
38d679b205 FS-6208 --resolve that patch is correct but this other code will protect the seg in either case 2014-02-10 21:44:33 +05:00
Chris Rienzo
a6dfbf9442 mod_http_cache: fixed validation of S3 URL 2014-02-10 08:55:09 -05:00
Travis Cross
e2639e1d4d Add ifdefs around TLS v1.1 and v1.2 handling
This is needed to support squeeze for awhile longer.
2014-02-10 04:09:52 +00:00
Travis Cross
517c1b77ae Add some hardening to the debian build 2014-02-10 00:09:20 +00:00
Travis Cross
1b78cee611 Add support for setting custom LDFLAGS 2014-02-09 23:18:48 +00:00
Travis Cross
063545dfca Reorder build flags variables 2014-02-09 22:55:03 +00:00
Travis Cross
4985440032 Use simply-expanding variables for build flags 2014-02-09 22:54:00 +00:00
Jonathan Lennox
50791508b1 Fix inline functions when compiling as C99.
Make private inlines in C files 'static inline', not just 'inline', or the compiler
can discard the definition if it chooses not to inline it.

Make functions declared in header files not be declared inline (if they're defined in a
.c file).  It looks like no functions in this category are used in LibSRTP's critical
path, only for unit tests or generating AES tables.

To see the problem prior to this commit, compile with "gcc -O0 -std=gnu99".

Signed-off-by: Travis Cross <tc@traviscross.com>

This cherry-picks commit e2774dbd551ffe5f872eaec2b2d40b712a54e1ba from
libsrtp upstream.

FS-6196 --resolve
2014-02-09 22:34:05 +00:00
Travis Cross
d1e40b088a Add OpenSSL version check around ECDH
...we'll try to support ancient OpenSSL versions on v1.2 for awhile
longer.
2014-02-09 22:33:52 +00:00
Travis Cross
1398975622 Add support for EECDH to Sofia-SIP
This adds support for the ephemeral elliptic curve Diffie-Hellman key
exchange, which provides for forward secrecy in the event that
long-term keys are compromised.

For the moment, we've hard-coded the curve as prime256v1.
2014-02-09 20:13:44 +00:00
Jeff Lenk
096f92fb17 FS-6157 --resolve 2014-02-09 13:41:44 -06:00
Anthony Minessale
d6dfab2955 swigall 2014-02-09 04:30:15 +05:00
Anthony Minessale
95d36ac321 FS-5994 it looks like its microseconds 2014-02-09 04:24:53 +05:00
Anthony Minessale
d7bc0ab13b FS-5994 --resolve -- tips appriciated 2014-02-09 04:24:37 +05:00
Anthony Minessale
b8b475855e swigall stable 2014-02-09 00:13:42 +05:00
Brian West
fcbb664df9 ESL-66 2014-02-07 13:10:08 -06:00
Anthony Minessale
66fa44d889 FS-6198 --resolve 2014-02-07 04:00:02 +05:00
Chris Rienzo
c73fa9f9b0 mod_rayo: fix segfault in prompt component 2014-02-06 15:08:51 -05:00
Michael Jerris
5dcfe78169 FS-5763: --resolve add configure check for lzma and newer readhat/sl tinfo stuff 2014-02-06 12:41:52 -06:00
Anthony Minessale
0c65c4614d FS-6195 --resolve 2014-02-06 22:24:59 +05:00
Brian West
4a7bceb4d6 Update in-config docs 2014-02-06 08:59:51 -06:00
Travis Cross
1a435ef3d6 Delete old debian build tools 2014-02-06 06:11:05 +00:00
Travis Cross
1ee7ae5997 Delete old SVN build script 2014-02-06 06:04:32 +00:00