1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-31 06:51:30 +01:00

1502 Commits

Author SHA1 Message Date
Mészáros Mihály
29d5c66263 Update man after README change 2020-12-07 15:28:05 +01:00
Mészáros Mihály
2bc61f483e Add changelog to merged PRs 2020-12-07 15:26:40 +01:00
Mészáros Mihály
3b3c5849cc bump version 2020-12-07 15:26:00 +01:00
Mészáros Mihály
5554239a00
Merge pull request #627 from faust64/patch-1
Fix misleading option in doc
2020-12-07 15:05:03 +01:00
Mészáros Mihály
9e26fe9bf5
Merge pull request #631 from ddeka2910/master
Add architecture ppc64le to travis build
2020-12-07 15:04:01 +01:00
Mészáros Mihály
3fd8fd2057
Merge pull request #637 from edwargix/master
Delete trailing whitespace in example configuration files
2020-12-07 15:01:46 +01: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
Sandro Gauci
6c774b9fb8 ioa_addr_is_loopback now also covers :: 2020-11-30 14:05:22 +01:00
Sandro Gauci
af50d63a15 ioa_addr_is_loopback ipv6 now properly blocks ::1 2020-11-30 14:04:27 +01:00
Sandro Gauci
ff5e5478a3 ioa_addr_is_loopback now covers 0.0.0.0/8 2020-11-30 14:02:35 +01:00
Peter Linss
c00d69e67f
Add support for proxy protocol V1 2020-11-18 17:20:24 -08:00
Robert Tupelo-Schneck
a83bffd942 Allow RFC6062 TCP relay data to look like TLS; fixes #605 2020-10-30 12:34:31 -04:00
Hristo Venev
40b39e2392 configure: use pkg-config for openssl 2020-10-26 19:47:43 +02:00
Hristo Venev
63e5f078b4 configure: use pkg-config for mongodb 2020-10-26 19:47:43 +02:00
Hristo Venev
29b5e23f05 configure: use pkg-config for mysql 2020-10-26 19:47:43 +02:00
Hristo Venev
92d7a114a7 configure: use pkg-config for libevent 2020-10-26 19:47:43 +02:00
Hristo Venev
651ea27ebf configure: use pkg-config for postgresql 2020-10-26 19:45:55 +02:00
Hristo Venev
e7940bb849 configure: use pkg-config for hiredis 2020-10-26 19:45:55 +02:00
Hristo Venev
af437e6751 configure: use pkg-config for sqlite3 2020-10-26 19:45:55 +02:00
Hristo Venev
a6ee955e44 configure: add pkg-config helpers 2020-10-26 19:45:55 +02:00
Hristo Venev
30acc0a563 configure: remove unnecessary include/library paths
Everything should be provided by pkg-config now.
2020-10-26 19:05:21 +02:00
Hristo Venev
28352b12ac configure: simplify pthreads detection
Also make `pthread_testlib` return success on success and failure on failure.
2020-10-26 19:05:21 +02:00
Hristo Venev
9980f84601 configure: Fix CC detection when 'unknown' is on PATH
We can't be sure that a program called 'unknown' will never exist.
2020-10-26 19:05:21 +02:00
David Florness
2baacbf895
Delete trailing whitespace in example configuration files 2020-10-17 13:49:07 -04:00
Mészáros Mihály
ae2ee1f4e4
Delete build-docker.sh
It depended on the remove outdated Docker file so it is also removed. See the docker dir for more up2date docker build files
2020-10-13 10:16:36 +02:00
Mészáros Mihály
fad52a0e94
Delete Dockerfile.build
It was outdated
2020-10-13 10:13:25 +02:00
ddeka2910
bd3dd85a76
Add architecture ppc64le to travis build 2020-10-06 23:42:47 +05:30
Samuel
315341d204
Fix misleading option in doc
While that prometheus exporter was initially enabled by default, it looks like there's been a change of plan, resulting in some inconsistencies in the doc.

The `--no-prometheus` option was replaced by a `--prometheus` one -- according to https://github.com/wolmi/coturn/blob/master/src/apps/relay/mainrelay.c#L540
2020-09-14 12:34:04 +02:00
Paul Wayper
c315c288bd Add options for new log timestamp and setting timestamp format
This adds the `--new-log-timestamp` and `--new-timestamp-format <value>` options
to the `turnserver` program.

Setting `--new-log-timestamp` on the command line, or `new-log-timestamp` in the
configuration file, will cause all logs to be written with an ISI-8601 timestamp
(`YYYY-MM-DDTHH:MM:SSZZZZZ` with `T` being literal and `ZZZZZ` being `+` or `-`
and the hour and minute offset from GMT for the local timezone).  This replaces
the 'number of seconds since daemon was started' format.

Setting the `--new-timestamp-format <format>` option with a given format, or
`new-log-timestamp=<format>` in the configuration file, will use this instead
of the standard timestamp format.  Timestamp format strings up to 48 characters
can be accommodated; more will be truncated.  This will only be used when the
`--new-log-timestamp` option (above) is set.

Thanks to Hendrik Huels <hendrik.huels@outlook.de> for the idea and some of the
code for setting the log timestamp string.

Signed-off-by: Paul Wayper <paulway@mabula.net>
2020-09-01 21:07:44 +10:00
Paul Wayper
ed88f1605a Neater ISO-8601 timestamp format string
Signed-off-by: Paul Wayper <paulway@mabula.net>
2020-09-01 20:57:54 +10:00
Paul Wayper
f59e9f8ad4 Allow the log timestamp format to be set
This allows the timestamp format in log output to be set by a function.

Signed-off-by: Paul Wayper <paulway@mabula.net>
2020-09-01 18:43:56 +10:00
Paul Wayper
5e87c44469 Merge turn_log_func_default and vrtpprintf
The function `turn_log_func_default` calls the function `vrtpprintf` to print to syslog
or the log file.  The latter does exactly the same string formatting as the former, so
here we merge the two functions into one to do the string formatting once.  This also
makes sure that the log line is consistent on all outputs.

Signed-off-by: Paul Wayper <paulway@mabula.net>
2020-09-01 18:35:01 +10:00
Paul Wayper
16eeb53e07 Allow new log format to be turned on if required
This provides the 'use_new_timestamp_log_format' variable in `ns_turn_utils.h`.  By
default it is set to 0 and the old 'seconds since daemon was started' timestamp will
be emitted.  However, if it is set to 1 or any 'true' number the new date and time
timestamp format will be used instead.

This has also resulted in a small clean-up of some of the string length handling.

Signed-off-by: Paul Wayper <paulway@mabula.net>
2020-08-31 22:34:54 +10:00
Mészáros Mihály
c5b0bd0e22 Update prometheus gcc 10 compatible 2020-08-27 20:27:09 +02:00
Paul Wayper
762ee23482 Fixing a few errors - C still coming back to me
Signed-off-by: Paul Wayper <paulway@mabula.net>
2020-08-26 21:05:08 +10:00
Paul Wayper
599a61eea6 Print full date and time in logs
Signed-off-by: Paul Wayper <paulway@mabula.net>
2020-08-25 21:46:15 +10:00
Mészáros Mihály
63c9ae6015
Update .travis.yml 2020-08-04 07:25:05 +02:00
Mészáros Mihály
87d85f06bd Add log for prometheus collector start 2020-08-03 15:16:09 +02:00
Mészáros Mihály
31d33f2e7e Merge branch 'pr-517' 2020-08-03 14:34:06 +02:00
Mészáros Mihály
2b1d6d4293 Add prometheus dependency reference 2020-08-03 14:25:57 +02:00
Mészáros Mihály
388d939ed9 Change prometheus exporter port to 9641 2020-08-03 14:24:20 +02:00
Miquel Ortega
c65ce15fde Fix peer and realm on delete 2020-08-03 10:32:29 +02:00
Mészáros Mihály
c9cd99e4f5 Disable prometheus by default 2020-08-03 10:25:56 +02:00
Miquel Ortega
a2200f5c5c Change prometheus exporter port to 9641
In order to avoid conflicts using the same port userd by redis exporter
looking at the [prometheus wiki](https://github.com/prometheus/prometheus/wiki/Default-port-allocations)
the port 9641 is the first FREE for allocation
2020-07-28 11:04:06 +02:00
Miquel Ortega
d8fca88286 Merge branch 'prometheus' of github.com:wolmi/coturn into prometheus 2020-07-28 10:51:38 +02:00
Miquel Ortega
8f7938a374 Fix peer and realm on delete 2020-07-28 10:50:58 +02:00
Cédric Krier
5b6739a793 Do not use FIPS and remove hardcode OPENSSL_VERSION_NUMBER with LibreSSL
Fix #552
2020-07-19 10:48:44 +02:00
Mészáros Mihály
dca83e9b9f Make error more visible and separated with newlines 2020-07-08 10:03:04 +02:00