6657 Commits

Author SHA1 Message Date
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
Brian West
fcbb664df9 ESL-66 2014-02-07 13:10:08 -06: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
Travis Cross
25c65d52c5 Allow setting TLS cipher suites through Sofia-SIP API
Previously there was no way to override the hard-coded cipher suite
specification of "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH".

This commit does leave in place the hardcoded cipher spec for WebRTC
of "HIGH:!DSS:!aNULL@STRENGTH".
2014-02-06 06:04:32 +00:00
Travis Cross
7f772b2601 Allow setting enabled TLS versions in Sofia-SIP
Previously if the TPTAG_TLS_VERSION was set to a non-zero value we
supported only TLSv1 (but not TLSv1.1 or TLSv1.2), and if was set to
zero we supported all versions of TLS and SSL (including the
ridiculous SSLv2).

Now we take an integer field where various bits can be set indicating
which versions of TLS we would like to support.
2014-02-06 02:45:50 +00:00
Moises Silva
3eb27f970d Fix ESL infinite loop on handle_recv() when errno is already set
system calls do not clear errno, just set it in case of failure, so we
gotta make sure the recv() syscall really failed by checking the return value
2014-02-01 01:40:45 +05:00
Michael Jerris
39c3ca0014 don't define inline to nothing 2014-01-30 08:54:39 -05:00
Michael Jerris
905225a36c revert previous change that does not correct the issue. opened a bug with apple on this issue https://bugreport.apple.com/problem/viewproblem #15938497 2014-01-29 17:00:41 -05:00
Michael Jerris
f6cd2945a9 FS-5956: fix __sputc included twice due to stdio.h inlining issue 2014-01-29 11:39:03 -05:00
Michael Jerris
7bff57c528 add back dir 2014-01-28 11:50:27 -05:00
Anthony Minessale
a6cd8c5cc5 FS-6150 --resolve cool find 2014-01-27 06:57:21 +05:00
Anthony Minessale
f865755893 rm gen files 2014-01-27 06:19:26 +05:00
Anthony Minessale
47992ab5f0 tweak event queue size on event socket and speed up fs_cli a little to keep up on busy logging env 2014-01-23 21:27:06 +05:00
Steve Underwood
5c7a5c1110 Fixed poor checking for ARM NEON 2014-01-22 02:10:27 +05:00
Travis Cross
1bf17857c9 Handle Linux TCP keepalives better in Sofia
Sofia accepts a value for the TCP keepalive timeout interval via
TPTAG_KEEPALIVE, however it fails to use this value for the Linux
keepalive socket options TCP_KEEPIDLE and TCP_KEEPINTVL.  In fact, on
Linux it enables the sending of TCP keepalives even if tpp_keepalive
is set to zero which would disable Sofia's internal keepalive
mechanisms.  Sofia then uses a hard coded value of 30 seconds for
these keepalive intervals which affects battery life on mobile
devices.

With this commit we harmonize the sending of TCP keepalives on Linux
with other platforms by using the value from TPTAG_KEEPALIVE and not
enabling the sending of TCP keepalives at all if the value of the
parameter is zero.

FS-6104 --resolve
2014-01-18 15:49:01 +00:00
Anthony Minessale
03e59c3efa FS-5653 --resolve 2014-01-07 00:39:19 +05:00
Michael Jerris
5bb1593798 .gitignore 2013-12-23 17:26:12 -05:00
Jeff Lenk
3687892e91 FS-6010 VS2013 build changes 2013-12-21 16:50:09 -06:00
Jeff Lenk
e20ed84a8d fix spandsp compile for windows part 1 2013-12-09 16:42:32 -06:00
Anthony Minessale
d429d7fff1 sync spandsp 2013-12-05 22:58:12 +05:00
Anthony Minessale
76f30ae090 FS-6005 --resolve
Conflicts:
	libs/sofia-sip/.update
2013-11-27 21:21:45 +05:00
Anthony Minessale
eed2a7aa86 fix regression from recent refactor that causes infinite loop on unexpected disconnect 2013-11-22 04:53:49 +05:00
Jeff Lenk
071fa4db65 FS-5986 --resolve fix download reference to windows libcelt 2013-11-20 07:36:57 -06:00
Jeff Lenk
86c63fb41d fix windows esl compile 2013-11-13 19:36:49 -06:00
Anthony Minessale
14b1656c8c doh 2013-11-14 01:49:06 +05:00
Anthony Minessale
dfb5867766 fix build err 2013-11-14 01:38:10 +05:00
Anthony Minessale
9284a16237 cleanup ESL a little 2013-11-14 00:43:36 +05:00
Anthony Minessale
ea3aa83fd6 remove condition for mem leak 2013-11-12 12:33:44 -06:00
Moises Silva
35413ec77d freetdm: ftmod_analog_em: Remove constant CAS debug log 2013-11-08 19:08:14 -05:00
Moises Silva
2f6ccf659c Merge branch 'v1.2.stable' into v1.2.stable-em_management
Conflicts:
	libs/freetdm/mod_freetdm/mod_freetdm.c
2013-11-08 02:04:58 -05:00
Moises Silva
3a162334fe freetdm: E&M: Set the line offhook when suspended 2013-11-03 20:22:41 -05:00
Moises Silva
53d16f6193 freetdm: ftmod_zt: Refactor event processing to store OOB events that arrive during read/write operations 2013-11-01 02:07:10 -04:00
Moises Silva
e945042c4d mod_freetdm: Handle read errors gracefully when the device is dead already 2013-11-01 01:16:49 -04:00
Moises Silva
d0f18e4a2c freetdm: Fix hangup supervision on inbound calls for Analog E&M 2013-11-01 00:27:10 -04:00
Anthony Minessale
282808c26a add channel to logline 2013-10-31 11:21:47 -05:00
Moises Silva
7a3cc7c9af Merge remote branch 'origin/v1.2.stable' into v1.2.stable-em_management 2013-10-22 10:06:42 -04:00
Moises Silva
fa1a1bfbaf freetdm: Added CAS hangup bit checking to the E&M signaling module 2013-10-22 00:52:59 -04:00
Travis Cross
ddf44c089a Fix build of apr-util expat with libtool2
Applied patch from:
http://people.apache.org/~rjung/patches/expat-libtool2.patch

The failure that results from this seems to occur
non-deterministically.

FS-3185 --resolve
2013-10-17 20:42:27 +00:00
Michael Jerris
0f0816aac2 FS-5819: configure fix for new clang detection and adjust cflags for building with newest clang 2013-10-15 09:34:33 -07:00
Anthony Minessale
9764fb33cd FS-5855 please try lastest HEAD
Conflicts:
	libs/sofia-sip/.update
2013-10-08 23:05:45 +05:00
Moises Silva
01b02acfae ftmod_analog_em: Block/unblock signaling when a span is stopped/started 2013-10-06 20:51:31 -04:00
Moises Silva
4d0cc03928 Allow setting/getting signaling status from E&M channels 2013-10-06 20:11:28 -04:00
Michael Jerris
2f556d4802 FS-5819: don't assigne variable to itself 2013-09-30 13:29:04 -04:00
Chris Rienzo
5c9479db1c FS-5819 fix typo 2013-09-27 22:24:21 -04:00
Michael Jerris
4dcb448d10 FS-5819: fix bounds check on enum type 2013-09-27 21:27:52 -04:00
Michael Jerris
d732c855cc FS-5819: fix useless assignment in sofia 2013-09-27 12:40:13 -04:00
Ken Rice
a9330e6b8c --resolve ESL-72 fix const char* vs char* issue in swig 2013-09-20 15:26:09 -05:00
Anthony Minessale
c6dd7b8fe4 ignore a= lines when m= port is 0
Conflicts:
	libs/sofia-sip/.update
2013-09-20 00:39:34 +05:00
Anthony Minessale
0b3139301d update cc header 2013-09-18 05:21:11 +05:00
Brian West
2645113465 similar fix to 53d17a13121cb85d5bf3c260a4d365fefc7ae179 2013-09-12 16:57:19 -05:00