Commit Graph

168 Commits

Author SHA1 Message Date
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
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
Oleg Moskalenko
2434b95e89 Merge branch 'permission' of https://github.com/akatsukle/coturn into akatsukle-permission 2016-09-25 00:01:14 -07:00
Oleg Moskalenko
bd5ff5fe2f Merge branch 'channel-lifetime' of https://github.com/akatsukle/coturn into akatsukle-channel-lifetime 2016-09-24 23:49:36 -07:00
Oleg Moskalenko
49e632d37f Merge branch 'lifetime-p' of https://github.com/akatsukle/coturn into akatsukle-lifetime-p 2016-09-24 23:04:34 -07:00
Richard Garnier
2128253b31 channel lifetime 2016-09-20 15:04:28 +09:00
Richard Garnier
98e7a36515 permission lifetime 2016-09-20 14:55:45 +09:00
Richard Garnier
3d5140c995 parameter for stale-nonce 2016-09-20 14:26:29 +09:00
Richard Garnier
5a24333eaa max lifetime parameters 2016-09-20 13:57:31 +09:00
Oleg Moskalenko
43b62d16f2 typos fixed 2016-08-27 16:24:08 -07:00
Oleg Moskalenko
6b3245c617 quota fix 2015-09-17 22:31:10 -07:00
Oleg Moskalenko
6bd1a8a449 inter-realm boundaries relaxed 2015-09-15 22:50:52 -07:00
Oleg Moskalenko
dd1a632d8d working on multi-tenant server 2015-09-14 22:48:39 -07:00
Oleg Moskalenko
f1bf8eda4b minor string maps cleanup 2015-08-13 00:03:29 -07:00
mom040267
cfe61ab284 fixing SQL injection problem 2015-06-28 06:02:34 +00:00