Commit Graph

1166 Commits

Author SHA1 Message Date
Mészáros Mihály
6101ebd51b external-ip private part to white list fixes#584 2020-12-22 16:58:00 +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
1d2314ca0b Merge branch 'PR551' into acme 2020-12-18 08:12:33 +00:00
Mészáros Mihály
2f790ec18b Tidy acme code 2020-12-18 08:06:25 +00:00
Mészáros Mihály
377e8f7687 Ugly Hack: Parse HTTP request 2020-12-18 08:05:56 +00:00
Mészáros Mihály
d73a8e85d7 Add acme to config file 2020-12-18 08:05:19 +00:00
Mészáros Mihály
174d039c73 fix acme-redirect help 2020-12-15 13:56:21 +00:00
Mészáros Mihály
1300021c6f Correct acme-redirect man and readme 2020-12-15 13:36:02 +00:00
Mészáros Mihály
fa01cfeed6 Move acme to new file 2020-12-15 13:25:56 +00:00
Jens Elkner
02d62e828d acme-redirect: add option to man page, fix help text 2020-12-15 13:24:10 +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
9b0dd4380c acme-redirect: add option to man page, fix help text 2020-12-15 13:01:51 +00:00
Jens Elkner
7e525c8e1c support of --acme-redirect <URL> 2020-12-15 13:01:51 +00:00
Mészáros Mihály
9b1cca1fbe Add PR#660 to changelog 2020-12-10 11:12:09 +01:00
Mészáros Mihály
5b07b980d8
Merge pull request #660 from CamJN/master
fix compilation on macOS Big Sur
2020-12-10 11:10:45 +01:00
Camden Narzt
0880d7cd0f
fix compilation on macOS Big Sur
You must define `__APPLE_USE_RFC_3542` in order to use the `IPV6_DONTFRAG` sockopt: https://opensource.apple.com/source/xnu/xnu-6153.141.1/bsd/netinet6/in6.h.auto.html
```
 * To use the new IPv6 Sockets options introduced by RFC 3542
 * the constant __APPLE_USE_RFC_3542 must be defined before
 * including <netinet/in.h>
```
2020-12-09 16:15:40 -07:00
Mészáros Mihály
08bb62ea88 Update README to fix #658 2020-12-08 13:40:49 +01:00
Mészáros Mihály
b0fb4a9a0a Rename new timestamp options, and fix these cli handling 2020-12-08 11:51:25 +01:00
Mészáros Mihály
37b61993e5 Add new log options to config file 2020-12-08 11:10:15 +01:00
Mészáros Mihály
9a0d9d8c5d Replace new-timestamp_format=>new-timestamp-format 2020-12-08 11:07:53 +01:00
Mészáros Mihály
50f789ab5a Add new timestamp options to the README and man 2020-12-08 10:44:40 +01:00
Mészáros Mihály
3c70219798 Fix docker lint warn: workdir need to be absolute 2020-12-08 09:45:56 +01:00
Mészáros Mihály
9c35494351 Update Docker MongoDB libs and fix systemctl 2020-12-08 09:39:33 +01:00
Mészáros Mihály
c8ba70788b Merge branch 'master' of github.com:coturn/coturn into coturn-master 2020-12-08 08:52:02 +01:00
Mészáros Mihály
b13cc41a82 Add to changelog PR #655 #618 #599 2020-12-08 08:49:51 +01:00
Mészáros Mihály
00659f3948
Merge pull request #599 from cedk/libressl
Do not use FIPS and remove hardcode OPENSSL_VERSION_NUMBER with LibreSSL
2020-12-08 08:48:15 +01:00
Mészáros Mihály
c0822dab95
Merge pull request #618 from PaulWay/paulway_log_real_time
Print full date and time in logs
2020-12-08 08:45:48 +01:00
Mészáros Mihály
330744de24
Merge pull request #655 from Startup-Stack/proxy-protocol
Add support for proxy protocol V1
2020-12-08 08:37:54 +01:00
Mészáros Mihály
032d352716 Changelog for PR#643 2020-12-08 08:35:07 +01:00
Mészáros Mihály
75309e5c2d
Merge pull request #643 from tupelo-schneck/master
Allow RFC6062 TCP relay data to look like TLS; fixes #605
2020-12-08 08:16:31 +01:00
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
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
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