1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-28 21:41:29 +01:00

1677 Commits

Author SHA1 Message Date
huhaipeng
f22376ce29 fix turn session leak 2022-08-26 11:17:13 +08:00
Pavel Punsky
9d412d86b6 Lock runner version on ubuntu 20.04 so we get openssl-1.1.1 2022-08-25 20:00:11 -07:00
Pavel Punsky
9d3a649ede no message 2022-08-25 19:57:05 -07:00
Pavel Punsky
5a86dd373c no message 2022-08-25 19:48:51 -07:00
Pavel Punsky
bd266b383d Add new actions: build and test with 3 different versions of openssl 2022-08-25 16:56:51 -07:00
Gustavo Garcia
4909e506ae
Enable compilation of coturn on Solaris 11.4 (#951)
Unfortunately, PR #789 breaks the possibility to compile coturn in Oracle Solaris 11.4 (SRU 48). It is caused by the fact that LOG_FTP is not defined in Oracle Solaris' "/usr/include/sys/syslog.h". 

They define the following syslog facility codes:
```
#define LOG_KERN        (0<<3)  /* kernel messages */
#define LOG_USER        (1<<3)  /* random user-level messages */
#define LOG_MAIL        (2<<3)  /* mail system */
#define LOG_DAEMON      (3<<3)  /* system daemons */
#define LOG_AUTH        (4<<3)  /* security/authorization messages */
#define LOG_SYSLOG      (5<<3)  /* messages generated internally by syslogd */
#define LOG_LPR         (6<<3)  /* line printer subsystem */
#define LOG_NEWS        (7<<3)  /* netnews subsystem */
#define LOG_UUCP        (8<<3)  /* uucp subsystem */
#define LOG_AUTHPRIV    (10<<3) /* sensitive/private security/auth messages */
#define LOG_AUDIT       (13<<3) /* audit subsystem */
#define LOG_CRON        (15<<3) /* cron/at subsystem */
        /* other codes through 15 reserved for system use */
#define LOG_LOCAL0      (16<<3) /* reserved for local use */
#define LOG_LOCAL1      (17<<3) /* reserved for local use */
#define LOG_LOCAL2      (18<<3) /* reserved for local use */
#define LOG_LOCAL3      (19<<3) /* reserved for local use */
#define LOG_LOCAL4      (20<<3) /* reserved for local use */
#define LOG_LOCAL5      (21<<3) /* reserved for local use */
#define LOG_LOCAL6      (22<<3) /* reserved for local use */
#define LOG_LOCAL7      (23<<3) /* reserved for local use */
```

So omitting LOG_FTP should fix this for Solaris. As I really doubt that it is needed, I hereby submit a PR which omits LOG_FTP for all operating systems. Other Solaris derivatives (OpenIndiana Hipster, OmniOS) don't seem to be affected, I've checked and found that in their recent versions, LOG_FTP is defined. FreeBSD does also define LOG_FTP.
2022-08-23 09:24:02 +02:00
Steffen Moser
7cfa7b1c4d
Merge branch 'coturn:master' into master 2022-08-23 09:01:03 +02:00
Gustavo Garcia
c964054811
Disable systemd when building on macOS using CMake (#953)
systemd is not available on macOS - should be disabled in CMake 

Test plan:
- Run cmake in a clean folder
- Run make
- Observe that compilation error about missing include `<systemd/sd-daemon.h>` is gone
2022-08-23 09:00:07 +02:00
Steffen Moser
02461e9fbc First step to re-enable compilation with OpenSSL 1.0.x 2022-08-23 08:58:45 +02:00
Steffen Moser
4ffc49d7be
Merge branch 'coturn:master' into master 2022-08-23 08:56:31 +02:00
Pavel Punsky
ed29e986c1 Disable systemd when building on macOS using CMake 2022-08-22 18:53:43 -07:00
Pavel Punsky
7a38f02699
Fix cmake build on macOS (#949)
macOS does not have `pthread_barrier_*` so need to define `TURN_NO_THREAD_BARRIERS` as a workaround

Fixes #946 

Tests plan: 
- run cmake to generate make files
- run make to build turnserver
- run `examples/run_tests.sh` and pass successfully
2022-08-22 16:27:21 -07:00
Steffen Moser
b722c84b45 Allow compilation on Solaris 11.4 2022-08-22 11:22:59 +02:00
Gustavo Garcia
4546b85cd4
Merge pull request #943 from jeremy-murphy/OpenSSL_dependency
[turncommon] depend on OpenSSL
2022-08-17 13:02:03 +02:00
Gustavo Garcia
11a46ad6da
Merge pull request #944 from eakraly/cmake-action
Create github action to build PR using cmake
2022-08-17 13:00:35 +02:00
Pavel Punsky
6996c51d49 Create github action to build PR using cmake 2022-08-16 22:49:01 -07:00
Gustavo Garcia
a84fb6df47
Update ChangeLog 2022-08-16 08:16:19 +02:00
Gustavo Garcia
4de2d530ff
Merge pull request #942 from eakraly/disable-renegotiation
Disable SSL renegotiation
2022-08-16 08:12:57 +02:00
Gustavo Garcia
dfa978c669
Merge pull request #792 from yfaker/master
Fix user quota release #786
2022-08-16 08:04:08 +02:00
Jeremy Murphy
832f11331f Depend on OpenSSL::Crypto and OpenSSL::SSL
Maybe only one is strictly required, but the list of headers used in
ns_turn_openssl.h includes things from both.
2022-08-16 12:41:44 +10:00
Gustavo Garcia
85c85ab34c
Merge pull request #829 from fancycode/additional-report-properties
Include additional properties in redis allocation status reports.
2022-08-15 12:59:42 +02:00
Joachim Bauch
1b83894be6
Store socket type in variable. 2022-08-15 08:43:53 +02:00
Pavel Punsky
30fbdc740e Disable SSL renegotiation 2022-08-14 21:07:07 -07:00
Gustavo Garcia
72c03669f2
Merge pull request #938 from eakraly/dh2066-doc
Update example turnserver.conf file to reflect that dh2066 is default
2022-08-15 01:44:34 +02:00
Pavel Punsky
a57df27873 Fix docker turnserver.conf file comment about --dh2066 2022-08-14 15:30:48 -07:00
Pavel Punsky
0cb8535de6 Update example turnserver.conf file to reflect that dh2066 is default 2022-08-14 15:20:59 -07:00
Gustavo Garcia
f74f50c86d
Merge pull request #773 from haseebq/performance_fix
Fix for performance regression caused by CVE-2020-4067 fix
2022-08-10 11:41:08 +02:00
Gustavo Garcia
38c4055cb0
Merge pull request #789 from korayvt/syslog_facility
Add syslog facility configuration
2022-08-10 11:40:43 +02:00
tyranron
66166195d2
Update Alpine to 3.16.2 version and Debian "bullseye" to 20220801 snapshot in Docker image to fix CVE-2022-37434 docker/4.5.2-r14 2022-08-10 11:46:46 +03:00
KORAY VATANSEVER
2b91f0ad8b Function renamed for the consistency. Incomplete coding completed.
Tested for the empty and invalid values.  Parameter is ignored in those cases.
2022-08-09 13:06:45 +03:00
unicode-it
e337c179c6
added MHD_FLAG to make promhttp daemon use dual_stack 2022-08-08 18:53:40 +02:00
Gustavo Garcia
bb1bd984f2
Merge pull request #849 from rozhuk-im/libressl_340
Fix build with libressl 3.4.0+
2022-08-08 18:23:32 +02:00
Gustavo Garcia
a3310725d5
Merge pull request #926 from ggarber/test_build
Add github workflow to test the build is correct
2022-08-05 15:50:48 +02:00
Gustavo Garcia
da9f4aea28
Merge pull request #934 from NeoCat/master
uclient: Show error on invalid peer options specification
2022-08-05 15:50:12 +02:00
Gustavo Garcia
ff1952033f
Add running turn tests 2022-08-05 13:27:09 +02:00
NeoCat
6be087581f uclient: Show error on invalid peer options specification 2022-08-05 13:19:18 +09:00
Gustavo Garcia
1987cacb52
Merge pull request #787 from dsmeytis/prom_allocations_metric
Add current allocations number gauge metric
2022-08-02 09:51:47 +02:00
Daniil Meitis
ca269fb691 Rename metric 2022-08-01 18:33:15 +03:00
Daniil Meitis
cd221c10fa Merge branch 'master' into prom_allocations_metric 2022-08-01 18:31:09 +03:00
Gustavo Garcia
c95e438633
Merge pull request #869 from micmac1/no-intl
configure: don't link in libintl
2022-08-01 10:25:12 +02:00
Gustavo Garcia
8be21ca758
Merge pull request #895 from AlexNedo/fix-use-after-free
Fixed assignment to freed memory leading to a segfault
2022-08-01 00:19:42 +02:00
Gustavo Garcia
d25a1e8c6b
Merge branch 'AlexNedo-fix-use-after-free' 2022-08-01 00:14:56 +02:00
Gustavo Garcia
7400edc703
Fixed missed assignment to freed memory 2022-08-01 00:13:26 +02:00
Gustavo Garcia
afbe6868ff
test 2022-07-31 23:40:39 +02:00
Gustavo Garcia
62c41b7737
Add github workflow to test the build is correct 2022-07-31 22:16:26 +02:00
Gustavo Garcia
d62f483193
Merge branch 'wireapp-sysvinit/toggle-username-labels-upstream' 2022-07-29 09:47:50 +02:00
Gustavo Garcia
bf54410bc7
Merge branch 'sysvinit/toggle-username-labels-upstream' of github.com:wireapp/coturn into wireapp-sysvinit/toggle-username-labels-upstream 2022-07-29 09:47:17 +02:00
Gustavo Garcia
ecdc8893ee
Merge pull request #840 from lionelnicolas/feature/prometheus-port
Add ability to configure prometheus listener port
2022-07-29 01:03:58 +02:00
Gustavo Garcia
76c76c1ca1
Merge pull request #870 from micmac1/libmaria
configure: support MariaDB Connector/C
2022-07-28 10:06:21 +02:00
Molly Miller
6fd08bac3b Invert logic for handling username metrics labels. 2022-07-27 10:44:13 +02:00