Commit Graph

181 Commits

Author SHA1 Message Date
KangLin
73da474804 CMake: add runtime install 2021-03-28 20:19:15 -07:00
Mészáros Mihály
31c936d51d
Merge pull request #721 from KangLin/cmake
Add to support cmake
2021-03-23 09:31:59 +01:00
Mészáros Mihály
2204778ce1 Replace keep-address-family with allocation-default-address-family 2021-03-12 23:05:18 +01:00
KangLin
677e5dc5d3 Add cmake 2021-02-26 09:02:50 +08:00
Mészáros Mihály
abfe1fd08d Merge branch 'advisory-fix-1' CVE-2020-26262 2021-01-10 20:59:14 +01:00
Mészáros Mihály
2edc14a193 Fixes #601 2021-01-07 21:38:43 +00:00
Mészáros Mihály
13082beae8 Fixes #600 2021-01-07 21:31:12 +00:00
Mészáros Mihály
9fcd86f3cc Fixes #621 2021-01-07 21:25:27 +00:00
Mészáros Mihály
27b261eb58 Disable binding logging to avoid DoS attack
* Add new option log-binding
2021-01-05 09:55:55 +00:00
Mészáros Mihály
86b78aa6fa Tidy: fix spacing 2021-01-05 07:44:58 +00:00
Mészáros Mihály
ae541958cd Tidy: remoe trailing space 2020-12-18 08:22:02 +00:00
Mészáros Mihály
2f790ec18b Tidy acme code 2020-12-18 08:06:25 +00:00
Mészáros Mihály
fa01cfeed6 Move acme to new file 2020-12-15 13:25:56 +00:00
Jens Elkner
12c7d19a47 support of --acme-redirect <URL> 2020-12-15 13:24:10 +00:00
Mészáros Mihály
d4686750ee Move acme to new file 2020-12-15 13:04:11 +00:00
Jens Elkner
7e525c8e1c support of --acme-redirect <URL> 2020-12-15 13:01:51 +00:00
Mészáros Mihály
9c7deff4b8 Separate addr zero check from allow_loopback_peers 2020-12-07 14:28:23 +01:00
Sandro Gauci
649cbf9661 fixed logic for banning loopback and zero addr 2020-12-07 12:27:25 +01:00
Mészáros Mihály
560684c894 Tidy: Move zero check to own function 2020-12-07 08:32:09 +01:00
Mészáros Mihály
991a82e104
Merge branch 'master' into master 2020-04-28 09:47:20 +02:00
Danilo Bargen
520e172b22 Rename "prod" config option to "no-software-attribute"
As discussed in https://github.com/coturn/coturn/pull/478, if the
parameter only controls whether or not to send the software attribute
and not other production-relevant configurations, it should be named
accordingly.

The old --prod configuration option still works, but is now deprecated
and undocumented.
2020-03-13 11:03:05 +01:00
Bertold Van den Bergh
ace903fd07 Add support for loadbalanced TCP connections (haproxy protocol v2) 2020-02-13 01:56:43 +01:00
Zebadiah Long
8bf70a1199 added bandwidth usage reporting for bandwidth used by peers 2019-05-21 12:30:12 +02:00
Bradley T. Hughes
d2ee3ac291 Remove [su]{08,16,32,64}bits type defines
Do not overload the standard types with #defines, just use them
directly.
2019-03-08 09:08:30 +01:00
Bradley T. Hughes
7a43aae7c3 Remove ns_bzero(), ns_bcopy(), and ns_bcmp()
Do not overload bzero(), bcopy(), and bcmp() from strings.h
2019-03-07 08:39:20 +01:00
Bradley T. Hughes
abab870070 Remove turn_calloc()
Do not overload calloc() from stdlib.h
2019-03-07 07:59:04 +01:00
Bradley T. Hughes
b50fc77124 Remote turn_free()
Do not overload free() with a different API.
2019-03-07 07:58:12 +01:00
Bradley T. Hughes
31033c3ffa Remote turn_realloc()
Do not overload realloc() with a different API.
2019-03-07 07:57:35 +01:00
Bradley T. Hughes
fef016901e Remove turn_malloc()
Do not overload malloc() from stdlib.h
2019-03-06 23:38:20 +01:00
Mészáros Mihály
e4d6b57abc Realm not sanitized against sql statements 2018-12-07 13:48:05 +01:00
Mészáros Mihály
b77c1c3557 Close http/https socket immediately on worker,
if web_admin_listen_on_workers is not allowed.
2018-12-03 09:57:57 +01:00
Mészáros Mihály
267f7a28db Merge branch 'master' into fixes 2018-10-31 11:05:25 +01:00
Mészáros Mihály
1796233e66 Fix: unecessrey if (thx damencho) 2018-09-14 09:55:28 +02:00
Mészáros Mihály
23cfaa1253 add --web-admin-listen-on-workers 2018-09-12 10:30:09 +02:00
Thibaut Ackermann
b2fcc81a0d Move web-admin to dedicated (configurable) ip:port 2018-09-12 10:30:09 +02:00
Mészáros Mihály
025dc300ce Revert "Enhancement: Add option to disable Web-Management-Interface"
This reverts commit c48835e230.
2018-09-12 10:30:09 +02:00
Mészáros Mihály
8a60754d70 Change loopback defaults 2018-09-12 10:30:07 +02:00
Mészáros Mihály
db02736534 realm sanity check 2018-09-12 10:29:30 +02:00
Mészáros Mihály
bb821cee2e refactor is_secure_username 2018-09-12 10:29:30 +02:00
Mészáros Mihály
93c1103bb8 Add new feature: keep-address-family 2018-09-06 14:26:42 +02:00
Mészáros Mihály
9895339b23 --prod pointer bug fix 2018-09-04 08:02:42 +02:00
Mészáros Mihály
a3b8cd59d1 add Falls Through comment hint to compiler to avoid warning 2018-08-02 12:32:13 +02:00
Mészáros Mihály
e8ec72caba Revert "add hint fallthrough to compiler to avoid warning"
This reverts commit 5772435c73.
2018-08-02 12:12:14 +02:00
Mészáros Mihály
5772435c73 add hint fallthrough to compiler to avoid warning 2018-08-01 15:45:24 +02:00
Mészáros Mihály
ab07d244b4 fix get_family 2018-07-24 15:04:08 +02:00
damencho
4133ad8d54 Fixes leaking udp6 sockets.
Guess address family from client socket address when STUN_ATTRIBUTE_REQUESTED_ADDRESS_FAMILY is missing.
2018-07-24 14:47:54 +02:00
Bradley T. Hughes
e55e13d23e Update total usage on client shutdown
Call turn_report_session_usage() from shutdown_client_connection(), so
that any accumulated packets and data sent/received gets added to the
totals before passing it to report_turn_session_info(). This also
ensures that the total_traffic message sent to redis contains correct
values.

Add a force_invalid argument to turn_report_session_usage() to ensure
that report_turn_session_info() is still called when the former is
called from shutdown_client_connection(). This should avoid any
unexpected change in behavior.
2018-02-09 20:54:10 +01:00
Carsten Bock
c48835e230 Enhancement: Add option to disable Web-Management-Interface 2017-04-10 14:49:55 +02:00
Oleg Moskalenko
3cdb507c9a working on merge fix 2016-11-13 23:10:42 -08:00
yohan
e241d0c71f Add "--prod" to turnserver command-line options. It will hide turnserver version (like apache does).
This is a common corporate security requirement.
2016-10-27 17:48:32 +02:00