Mészáros Mihály
e5d4e62dec
Fix typo "finsihed" reported by Felipe Cecagno
2021-01-14 15:14:53 +01:00
Mészáros Mihály
cc637d2db9
Uneccessary semicolon
2021-01-14 15:06:53 +01:00
brevilo
a52df6cafb
Define OPENSSL_VERSION_1_1_1 on systems where it doesn't (yet) exist
...
Otherwise preprocessor logic will fail and cause incompatible pointer type issues (by using wrong callback API)
2021-01-13 01:54:25 +01: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
104ab83f09
Automatically notify systemd if compiled
2021-01-10 20:57:43 +01:00
Mészáros Mihály
e367fabb0e
Fix typo
2021-01-10 17:20:40 +01:00
Mészáros Mihály
c1437902e2
Remove earlier deleted function definitions
2021-01-10 10:43:36 +01:00
Mészáros Mihály
f1d946c1b4
Refactoring Prometheus
...
* Fix c++ support
* Simplify: Remove session id/allocation
2021-01-10 00:32:49 +00:00
Mészáros Mihály
a28fee8cde
Fix typo in acme
2021-01-08 09:19:33 +00: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
ef7916842d
Add systemd notification support
2021-01-07 17:51:34 +00:00
Mészáros Mihály
5b13fdd37b
Fix: Read log options in first pass. Fixes #602
2021-01-07 10:33:14 +00:00
Mészáros Mihály
50ebef7a3f
Fix g++ 2 errors and many warnings
...
Resolves #661 #654
2021-01-05 21:47:50 +00:00
Mészáros Mihály
288c486676
Merge pull request #672 from jelmd/acme_fix
...
fix acme wrt. security, redundancy, consistency
2021-01-05 11:42:03 +01:00
Mészáros Mihály
6ce463e8e2
Removed wiki, due it was outdated and redundant.
2021-01-05 09:57:16 +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
Jens Elkner
8c99505614
fix acme wrt. security, redundancy, consistency
2020-12-31 16:39:00 +01:00
Mészáros Mihály
8dc5bbcb3b
Tidy: too long line length
2020-12-22 17:05:42 +00:00
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
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
174d039c73
fix acme-redirect help
2020-12-15 13:56:21 +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
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
d84028b6db
Simplify the ipv6 ::/128 (in6addr_any) check
2020-12-10 14:17:00 +01:00
Mészáros Mihály
dd0ffdb51a
Add comment to ioa_addr_is_zero
2020-12-10 14:15:26 +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
b0fb4a9a0a
Rename new timestamp options, and fix these cli handling
2020-12-08 11:51:25 +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
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
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
3b3c5849cc
bump version
2020-12-07 15:26:00 +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
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