7577 Commits

Author SHA1 Message Date
Michael Jerris
b3242541b2 avoid redefined 2014-02-21 16:36:30 -05:00
Michael Jerris
bfad336592 openbsd doesn't like this asm for some reason 2014-02-21 16:17:39 -05:00
Travis Cross
2fe0516ac2 Fix missing/duplicate declaration
This looks like a copy/paste error.

FS-6037 --resolve

Thanks-to: David Sanders <dsanders@pinger.com>
2014-02-21 21:09:19 +00:00
Michael Jerris
0cebdf8fc5 fix types for reply to 2014-02-21 16:08:30 -05:00
Michael Jerris
4f8bb1e465 openbsd has but errors out when you use this header 2014-02-21 15:29:11 -05:00
Michael Jerris
63aea267bc change macro name to work around conflict in openbsd 2014-02-21 15:25:50 -05:00
Michael Jerris
19f9dc12d3 change macro name to work around conflict in openbsd 2014-02-21 15:24:44 -05:00
Michael Jerris
bbb96f936f fix openbsd build issue 2014-02-21 15:20:08 -05:00
Michael Jerris
bf9e3a1f9e tgmath.h on freebsd is horribly broken and should never be used until they fix their operating system 2014-02-19 16:13:51 -05:00
Michael Jerris
b40dd8a374 freebsd fix, use detected cxx compiler when building esl 2014-02-19 16:10:48 -05:00
Michael Jerris
7af0618620 more bsd fixes 2014-02-19 15:56:02 -05:00
Michael Jerris
020c9108a1 add search path for libtiff on bsd 2014-02-19 15:04:30 -05:00
Michael Jerris
f279a01f92 more bsd fun 2014-02-19 14:53:39 -05:00
Jeff Lenk
5ca62ecb28 windows openssl disable warning 2010 only 2014-02-15 19:24:20 -06:00
Jeff Lenk
9842e9efd8 ESL-81 --resolve add specific SWIG code for windows 2014-02-15 18:36:49 -06:00
Seven Du
11dee76381 add user_data in esl_listen so the main function can pass a private user_data to callback 2014-02-16 08:14:44 +08:00
Peter Olsson
01e3eb458e Updated to OpenSSL 1.0.1f in Windows build 2014-02-15 21:05:04 +01:00
Jeff Lenk
b33d50c01e add vs2012 missing file for speex and correct 2010 for last commit 2014-02-15 10:53:20 -06:00
Peter Olsson
47bcbe0fbb Removed non existing header file from libspeex Visual Studio 2012 project. This makes Visual Studio understand that the lib is built correctly. 2014-02-15 13:58:16 +01:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Travis Cross
3449e265a0 Force sofia rebuild
The rebuild is needed for commit d3b9aaba60fa69e84bfad0f55b5abef61225a671.
2014-02-11 17:45:45 +00:00
Travis Cross
8b7d58ddf8 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 a0e9639a1f38f26a5dc586d386ae044ba82e0137 should
have been.

FS-6104
2014-02-11 06:27:20 +00:00
Travis Cross
2b064e6393 Add additional debugging output to keepalive handling 2014-02-11 05:40:41 +00:00
Travis Cross
3ae189ca3f 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 05:33:25 +00:00
Jeff Lenk
d5324cfdb3 disable windows compiler warning for srtp 2014-02-09 10:37:14 -06:00
Peter Olsson
d655031534 Improvements to last commit, this should make things work better on all platforms 2014-02-09 14:19:36 +01:00
Peter Olsson
05144df25a FS-6194 --resolve 2014-02-09 13:10:44 +01:00
Steve Underwood
b2cca974c1 Second attempt to fix the use of aligned_alloc with BSD 2014-02-08 22:36:29 +08:00
Steve Underwood
4fa68fcd75 A change to spandsp/src/alloc.c which hopefully improves BSD compatibility 2014-02-08 16:50:53 +08:00
Steve Underwood
a61edbd8dc Removed a couple of unused variables 2014-02-08 16:25:10 +08:00
Brian West
3c55a90076 ESL-66 2014-02-07 13:10:25 -06:00
Travis Cross
f2d544d559 Rebuild sofia 2014-02-06 15:41:33 +00:00
Travis Cross
a96eefe8ee 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-06 15:40:35 +00:00
Travis Cross
c0101e2ce6 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:02 +00:00
Travis Cross
e3b353e911 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:17:13 +00:00
Michael Jerris
b6270f4d70 FS-6030: --resolve fix variable scoping issue for more aggressive optimizer 2014-02-05 08:46:04 -05:00
Moises Silva
f5f4df3483 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:29 +05:00
Jeff Lenk
998b656799 remove some _MSC_VER stuff 2014-01-31 12:35:55 -06:00
Jeff Lenk
558decda2c srtp fix cast for last round of fixes 2014-01-31 11:19:30 -06:00
Jeff Lenk
37a639860c revert last srtp change and fix for windows different 2014-01-31 10:53:33 -06:00
Jeff Lenk
7454350062 missed one on last commit 2014-01-31 09:16:20 -06:00
Anthony Minessale
0a3e18a308 FS-6174 --resolve after updating to this revision, put ca-bundle.crt in /usr/local/freeswitch/certs to get chain cert in place for both dtls and wss 2014-01-31 20:16:54 +05:00
Jeff Lenk
035985859c reapply several compiler fixes after last commit 2014-01-31 08:54:26 -06:00
Michael Jerris
91eb5b237d update srtp to master part 1 2014-01-30 16:55:56 -05:00
Michael Jerris
16c9c1df0a don't define inline to nothing 2014-01-30 08:54:03 -05:00
Michael Jerris
fa0de66ec8 .gitignore 2014-01-29 17:56:51 -05:00
Michael Jerris
433830a3fe 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 16:59:55 -05:00
Michael Jerris
8a01410847 FS-5956: fix __sputc included twice due to stdio.h inlining issue 2014-01-29 11:41:49 -05:00
Michael Jerris
27d6d08772 add back dir 2014-01-28 11:49:58 -05:00
Anthony Minessale
0e14b758fc FS-6150 --resolve cool find 2014-01-27 06:57:05 +05:00