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

1677 Commits

Author SHA1 Message Date
Mészáros Mihály
398a606744 Update man after README change 2021-06-05 22:10:31 +02:00
Mészáros Mihály
eda11698f0 Add option no-rfc5780
To avoid any amplifiaction STUN binding attacks.
2021-06-05 22:10:31 +02:00
Mészáros Mihály
8c9622ad18 Add a check, don't SSL_CTX_up_ref a null pointer
This cause segmentation failure. Regression..
2021-06-05 22:10:31 +02:00
Mészáros Mihály
88f5119e1b Include ssl.h 2021-06-05 22:10:31 +02:00
tyranron
9ba8ab38e4
Aid alpine Docker image for 4.5.2 Coturn release docker/4.5.2-r1 2021-06-03 14:22:51 +03:00
tyranron
6953126633
Prepare 4.5.2-r1 release of Docker image 2021-06-03 10:19:12 +03:00
Kai Ren
55b506c4a2
Merge pull request #753 from j1elo/master
Use DNS requests to discover external IP address
2021-06-03 10:09:29 +03:00
Haseeb Abdul Qadir
e88de80abd Make sure we zero out any padding added to the attribute 2021-05-22 11:53:25 -04:00
Haseeb Abdul Qadir
93c5387180 Avoid using bzero for the entire stun_buffer_list_elem and only init metadata
On high traffic servers bzero -> memset takes a significant amount of time because each stun_buffer_list_elem can be ~64kb
2021-05-21 07:51:45 -04:00
tyranron
f2f8796e8c
Hack IFS in 'detect-external-ip' script of Docker image to support both Debian and Alpine 2021-05-17 23:38:38 +03:00
tyranron
484c88ea2a
Disable IPv6 tests of Docker image by default 2021-05-17 21:09:00 +03:00
tyranron
7ed7c438a7
Add tests for 'detect-external-ip' script of Docker image 2021-05-17 20:40:49 +03:00
tyranron
e5af5a813f
Get rid of nasty subshell in 'detect-external-ip' script of Docker image 2021-05-17 20:40:24 +03:00
tyranron
e921203fdb
Mention IPv6 detection capability in README of Docker image 2021-05-17 19:02:33 +03:00
tyranron
311b01507a
Merge branch 'master' into j1elo
# Conflicts:
#	docker/coturn/CHANGELOG.md
#	docker/coturn/alpine/Dockerfile
#	docker/coturn/debian/Dockerfile
2021-05-17 18:56:59 +03:00
ggalperi
0ac3fda6dd
Fix server->log_binding usage
The server->log_binding ptr should be dereferenced
2021-05-14 16:34:52 -04:00
Mészáros Mihály
d8026372af Remove trusty add focal 2021-05-08 06:39:35 +02:00
Mészáros Mihály
8fbe513300 Fix typo (---allow-loopback-peers) 2021-05-07 21:25:40 +02:00
Mészáros Mihály
dd1b11da80 Update Changelog with PR#739 2021-05-07 21:23:24 +02:00
Mészáros Mihály
d90c689c99
Merge pull request #739 from hills/ssl-reload-crashes
SSL reload has hidden bugs which cause crashes
2021-05-07 21:10:18 +02:00
Mészáros Mihály
a264b1652e
Merge pull request #754 from coturn/prometheus-in-docker
Support Prometheus in Docker image
2021-05-02 21:32:56 +02:00
Serhii Charykov
0f7ff3ec4a Change sqlite_init_multithreaded return type to void
to satisfy pthread_once() interface because
previously return from sqlite_init_multithreaded
was not used
2021-04-26 23:47:11 +03:00
Serhii Charykov
2d12ad4f29 Refactor code 2021-04-26 23:34:24 +03:00
Serhii Charykov
34e18533cf Fix sqlite3_config call only once before using any other sqlite utilities 2021-04-26 22:19:16 +03:00
Serhii Charykov
0b709a05b7 Remove sqlite3_shutdown()
Because:
1. According to sqlite3 docs sqlite3_initialize() and sqlite3_shutdown() are not must to be invoked
2. sqlite3_initialize() is never called explicilty
3. sqlite3_shutdown() is not threadsafe and sqlite_init_multithreaded is not called holding a lock
4. According to docs all connections must be closed before invoking sqlite3_shutdown() but they are not (from the different threads).

Possible issue:
sqlite3_config must be called before sqlite3_initialize() or after sqlite3_shutdown() (and only once?)
2021-04-26 21:36:28 +03:00
tyranron
d6acc31652
Fix passing Git reference to Docker image build 2021-04-22 13:53:59 +03:00
tyranron
a775ca47e2
Link libatomic explicitly in debian Docker image 2021-04-22 13:53:18 +03:00
tyranron
8c0830daa9
Add prometheus-client-c to Docker image
Co-authored-by: SammyEnigma <samthebest1993@gmail.com>
2021-04-21 18:29:17 +03:00
tyranron
60ef0e1007
Merge branch 'master' into j1elo
# Conflicts:
#	docker/coturn/CHANGELOG.md
2021-04-20 18:08:52 +03:00
tyranron
32e97730e9
Fix linking with mongo-c-driver in debian Docker image 2021-04-20 14:55:31 +03:00
tyranron
4befd37d9e
Fill up CHANGELOG 2021-04-20 10:37:08 +03:00
tyranron
8b8660530e
Avoid duplication via common rootfs/ dir 2021-04-20 10:36:52 +03:00
Juan Navarro
24dbd9459d Use DNS requests to discover external IP address
Using DNS requests is a much more robust and reliable method to discover
a machine's external IP address, instead of the previous method of using
Curl against an HTTP service.

Using Curl is fine, but the kind of services that are typically used
(here it was icanhazip.com, but there are lots more with a similar
behavior) are are not as dependable as the official DNS request methods
supported by some of the biggest service providers.

This uses "dig", which Alpine provides in the package "bind-tools" and
Debian in "dnstools".
2021-04-19 12:56:08 +02:00
tyranron
b31b004922
Separate Docker image's GitHub release into its own job to run it only once
- fix naming of Docker image's GitHub releases
2021-04-16 10:05:51 +03:00
tyranron
f34e9e89c6
Fix Docker image's changelog for 4.5.2-r0 release 2021-04-16 09:51:35 +03:00
tyranron
e6e5a65f72
Fix Docker image version tagging and missing pushing to Quay.io docker/4.5.2-r0 2021-04-15 21:16:20 +03:00
tyranron
6084881400
Finally fix Docker image tests 2021-04-15 19:39:30 +03:00
tyranron
07580f2f63
Fix CI badge in Docker image's README 2021-04-15 18:28:06 +03:00
tyranron
62835ff81a
Mention Docker image in main README 2021-04-15 18:24:03 +03:00
tyranron
787124b13e
Fix Docker image version test 2021-04-15 18:22:58 +03:00
Mészáros Mihály
51e0267b34
Try to use GITHUB_TOKEN instead of GCR_BOT_PAT 2021-04-15 08:08:17 +02:00
Mészáros Mihály
1a62db5e30
Merge pull request #746 from tyranron/docker-image
Official Docker image
2021-04-14 19:32:38 +02:00
tyranron
dcc9267bc1
Merge branch 'master' into docker-image 2021-04-13 13:38:59 +03:00
tyranron
70d28de924
Describe Contribution Guide 2021-04-13 13:25:03 +03:00
tyranron
bb43a47792
Improve CI workflow with edge tags publishing and GitHub releasing 2021-04-13 12:09:24 +03:00
tyranron
086d5878cc
Ignore key files for Docker Compose to not pollute Git 2021-04-13 11:48:17 +03:00
tyranron
5492903825
Remove redundant custom images for docker/ directory 2021-04-13 11:40:50 +03:00
tyranron
317a0caee8
Mention 'edge' Docker image in README 2021-04-12 17:41:21 +03:00
tyranron
008589f8e0
Update mongo-c-driver to 1.17.5 version 2021-04-12 17:41:08 +03:00
tyranron
ed2ca1875f
Add CHANGELOG 2021-04-12 17:37:04 +03:00