1
0
mirror of https://github.com/coturn/coturn.git synced 2025-11-01 23:41:09 +01:00

1677 Commits

Author SHA1 Message Date
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
Mészáros Mihály
2f9ac538f5 Add ifdef around default value 2020-07-08 10:00:53 +02:00
Mészáros Mihály
2acb952670 tidy after PR #517 2020-07-08 09:47:24 +02:00
Mészáros Mihály
063def2c0a Merge branch 'prometheus' 2020-07-07 20:23:08 +02:00
Mészáros Mihály
93a8c8aa78 Fix null pointer dereferenceThanks to Thomas Moeller for the report! 2020-07-03 11:07:40 +02:00
wolmi
a5d1fbba57
Merge branch 'master' into prometheus 2020-06-29 09:33:20 +02:00
Mészáros Mihály
aab60340b2 Fix date in ChangeLog 4.5.1.3 2020-06-24 17:13:42 +02:00
Mészáros Mihály
6d605d353f Bump version 2020-06-24 17:05:18 +02:00
Mészáros Mihály
fdf7065d0f Add CVE to ChangeLog 2020-06-24 16:58:17 +02:00
Mészáros Mihály
fefc55041c tidy 2020-06-24 16:51:53 +02:00
Mészáros Mihály
170da11407 init with zero any new or reused stun buffers 2020-06-24 16:51:53 +02:00
Mészáros Mihály
2b6556debe Merge branch 'master' of github.com:coturn/coturn 2020-06-24 16:03:47 +02:00
Mészáros Mihály
dbb384d194 Update ChangeLog PR#577 2020-06-24 16:00:42 +02:00
Mészáros Mihály
97c37d9a5f
Merge pull request #577 from osterik/feature/build-from-local-folder
build RPM from local folder instead of git repo
2020-06-24 15:41:33 +02:00
Mészáros Mihály
61cb7537d0 Add .vscode to gitignore 2020-06-24 12:40:56 +02:00
Mészáros Mihály
f01ee958b7 Update ChangeLog 2020-06-24 12:35:24 +02:00
Mészáros Mihály
3950202fc2
Merge pull request #579 from islamoglus/bugfix/ignore_md5_for_boringssl
Ignore MD5 for BoringSSL
2020-06-24 12:23:52 +02:00
Mészáros Mihály
e8dd65870c
Merge pull request #566 from bpcurse/patch-1
Remove reference to SSLv3
2020-06-24 11:46:49 +02:00
Mészáros Mihály
07f21e0eba
Merge pull request #574 from DevRockstarZ/turnconf
Change Docker turnserver.conf to latest turnserver.conf
2020-06-24 11:36:19 +02:00
Mészáros Mihály
45b1a7e1b9
Merge pull request #576 from osterik/bugfix/remove-mac-extended-attribute
tell tar to not include the metadata into release
2020-06-24 11:17:08 +02:00
Mészáros Mihály
5e3273e05b
Merge pull request #575 from osterik/bugfix/centos7_rpm_build
fix for #556
2020-06-24 11:11:27 +02:00
islamoglus
a43d3b63b4 ignore md5 for boringssl 2020-06-11 07:40:00 +03:00
Ilya Kisleyko
283d7c5749 tell tar to not include the metadata into release 2020-06-09 18:30:30 +00:00
Ilya Kisleyko
b9d2fd00e6 build RPM from local folder instead of git repo 2020-06-09 18:28:08 +00:00
Ilya Kisleyko
b2dc7240df fix for #556 2020-06-09 18:25:15 +00:00
JooYoung
635e72f1ec Change Docker turnserver.conf to newer turnserver.conf 2020-06-09 17:44:06 +09:00