Jelajahi Sumber

Update version to 4.6.2 (#1174)

Update version number, generate authors and changelog files

Release notes (short summary of changes)
```
- Make sure microhttpd starts using epoll if supported
- Add sessioncount to prometheus metrics
- Add STUN request/response/error prometheus counters
- Cleanup logs on turnserver start
- Fix duplicate stdout log output
- Log threadId to logs to aid in multi-threaded debugging
- Optional build info compiled into turnserver binary
- Fix arguments expansion in `docker-entrypoint.sh`
- Santise database connection strings before printing to log
- Support Windows MSVC
- Add configuration option for TLS 1.3 ciphersuites
- Improve openssl3 and FIPS support
- Use single SSL_CTX for TLS and DTLS support
- Update openssl API use to non-deprecated version
- Set string bytes to null to prevent random origin
- Fix memory corruption on socket close
- Fix packet backlog fifo that processed packets in reverse order in some scenarios
- Fix off-by-one when terminating gcm_nonce
- Fixes to Redis memleaks and socketleaks
- Fix malformed response to mobility refresh request
- Fuzzing support
- Ignore raw UDP if no_udp is enabled
- Better detect availability of SCTP protocol
```

---------

Co-authored-by: tyranron <[email protected]>
Pavel Punsky 2 tahun lalu
induk
melakukan
af8a057eac
4 mengubah file dengan 106 tambahan dan 79 penghapusan
  1. 5 0
      AUTHORS.md
  2. 1 1
      CMakeLists.txt
  3. 99 77
      ChangeLog
  4. 1 1
      src/ns_turn_defs.h

+ 5 - 0
AUTHORS.md

@@ -40,6 +40,7 @@ Thanks to the following contributors (in alphabetical order):
 - Hyorin Choi <[email protected]>
 - Ilya Kisleyko <[email protected]>
 - James Huang <[email protected]>
+- Jasper <[email protected]>
 - Jens Elkner <[email protected]>
 - Jens Elkner <[email protected]>
 - Jeremy Murphy <[email protected]>
@@ -68,6 +69,7 @@ Thanks to the following contributors (in alphabetical order):
 - Mészáros Mihály <[email protected]>
 - Michal Biskup <[email protected]>
 - Miquel Ortega <[email protected]>
+- Molly Miller <[email protected]>
 - Molly Miller <[email protected]>
 - Mustafa Bingül <[email protected]>
 - NeoCat <[email protected]>
@@ -101,6 +103,8 @@ Thanks to the following contributors (in alphabetical order):
 - Sergey Safarov <[email protected]>
 - Serhii Charykov <[email protected]>
 - Shu Muto <[email protected]>
+- Shu Muto <[email protected]>
+- Stefan Sundin <[email protected]>
 - Steffen Moser <[email protected]>
 - Steffen Moser <[email protected]>
 - Thibaut ACKERMANN <[email protected]>
@@ -126,6 +130,7 @@ Thanks to the following contributors (in alphabetical order):
 - oleg <[email protected]>
 - oleg <oleg@shy.(none)>
 - ooookai <[email protected]>
+- r3g_5z <[email protected]>
 - raghumuppa <[email protected]>
 - release-it <[email protected]>
 - root <[email protected]>

+ 1 - 1
CMakeLists.txt

@@ -9,7 +9,7 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
 
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
 # TODO: Modify this when the version is released
-SET(BUILD_VERSION "4.6.1")
+SET(BUILD_VERSION "4.6.2")
 
 option(FUZZER "Build oss-fuzz fuzzing" OFF)
 

+ 99 - 77
ChangeLog

@@ -1,82 +1,104 @@
-TBD Version 4.7.0 '':
-Contributors:
-	- Arjun ([email protected])
-	- Emil Ljungdahl ([email protected])
-	- Gregor Jasny ([email protected])
-	- Gustavo Garcia ([email protected])
-	- Hyorin Choi ([email protected])
-	- Joachim Bauch ([email protected])
-	- Kang Lin ([email protected])
-	- Paul Kramer ([email protected])
-	- Pavel Punsky ([email protected])
-	- Robert Scheck ([email protected])
-	- Samuel Marks ([email protected])
-	- Scott Godin ([email protected])
-	- Thibaut ACKERMANN ([email protected])
-	- Tom Bevan ([email protected])
-	- Yoshiki Kadoshita ([email protected])
-	- tyranron ([email protected])
+Release 4.6.2
 
 Changelist:
-	- Do not build debug version during PR preflight (Pavel Punsky)
-	- Fix duplicate prometheus metric report (#1079) (Pavel Punsky)
-	- feature(1026): add sessioncount to prometheus metrics (#1075) (Paul Kramer)
-	- Update openssl API use to non-deprecated version (#1072) (Pavel Punsky)
-	- Log threadId to logs to aid in multi-threaded debugging. (#1030) (Scott Godin)
-	- Use khash 0.2.8 (#1047) (Gregor Jasny)
-	- Reflect new native Windows build support in documentation (#1060) (Samuel Marks)
-	- Check and fix format string for turn_log_func_default (#1064) (Gregor Jasny)
-	- Properly calculate size for sm_allocated (#1063) (Gregor Jasny)
-	- Do not discard qualifiers in free() (#1065) (Gregor Jasny)
-	- Simplify defines for macOS platform (#1058) (Pavel Punsky)
-	- Fix warnings (unused arguments, undeclared function) (#1057) (Pavel Punsky)
-	- WINDOWS: unsigned long should not be used to store pointers (#1055) (Emil Ljungdahl)
-	- Reduce usage of TURN_NO_HIREDIS macros (#1022) (Pavel Punsky)
-	- Update to fix duplicate stdout log output (#1054) (Yoshiki Kadoshita)
-	- Use c11 standard See: #1055 (#1056) (Kang Lin)
-	- Reduce usage of TURN_NO_PROMETHEUS (#1023) (Pavel Punsky)
-	- Remove unnecessary declaration from header file (#1052) (Yoshiki Kadoshita)
-	- Fix compilation warnings for functions with no arguments (#1053) (Pavel Punsky)
-	- Support Windows MSVC (#855) (Kang Lin)
-	- Fix resource leaks (#1048) (Gregor Jasny)
-	- Update turnserver.conf (#1009) (Hyorin Choi)
-	- Fix warnings (#1046) (Gregor Jasny)
-	- Backlog fifo (#1029) (Scott Godin)
-	- Change rpm systemd service type from notify to exec (#1043) (Gustavo Garcia)
-	- Add missing comma (#1041) (Gregor Jasny)
-	- Fix off-by-one when terminating gcm_nonce (#1039) (Gregor Jasny)
-	- Use %zu format specifier for size_t (#1040) (Gregor Jasny)
-	- Fix variable argument handling (#1042) (Gregor Jasny)
-	- Cleanup openssl initialization (#1012) (Pavel Punsky)
-	- fuzzing support (#982) (Arjun)
-	- created netengine.c get_relay_server utility method to reduce code duplication (#1032) (Scott Godin)
-	- fix bug in calls to ssl_read and ssl_send where extra verbose flag goes missing (#1033) (Scott Godin)
-	- ignore raw UDP if no_udp is enabled (#1031) (Scott Godin)
-	- Fix 2 warnings in code (#1027) (Pavel Punsky)
-	- Sanitize DB connection string before printing to log (#1020) (Pavel Punsky)
-	- Better detect SCTP protocol (#1016) (Pavel Punsky)
-	- Redis memleaks and socketleaks (#1015) (Thibaut ACKERMANN)
-	- Fix : Issue 51563 in oss-fuzz (#1010) (Arjun)
-	- Fix multiple warnings in libtelnet.c file (#1011) (Pavel Punsky)
-	- Update libtelnet to 0.23 (portability issues) (#1005) (Pavel Punsky)
-	- Remove debug publish to redis (#1008) (Pavel Punsky)
-	- Cleanup unused include of header files (#1004) (Pavel Punsky)
-	- Use single SSL_CTX for DTLS support (#996) (Pavel Punsky)
-	- Malformed response to mobility refresh request (#1006) (Tom Bevan)
-	- Silence warnings by converting STRCPY to strncpy calls (#995) (Pavel Punsky)
-	- Build CI with prometheus support (#999) (Pavel Punsky)
-	- Replace references to non-existent pdf file with links (#1002) (Pavel Punsky)
-	- Fix TLS1.3 support (Pavel Punsky)
-	- Use a single SSL context object (#989) (Pavel Punsky)
-	- Use epoll for promhttp server if supported.  (#997) (Joachim Bauch)
-	- Fix issues reported by cppcheck (#987) (Pavel Punsky)
-	- Replace bcopy with memcpy (#991) (Pavel Punsky)
-	- Add CI tests in older ubuntu version (#981) (Gustavo Garcia)
-	- Replace bzero with memset (#986) (Pavel Punsky)
-	- Fix a warning (#988) (Pavel Punsky)
-	- Improve openssl3 and FIPS support (#955) (Pavel Punsky)
-	- Preserve file timestamps when using install(1) (#983) (Robert Scheck)
-	- Fix renegotiation flag for older version of openssl (#978) (Pavel Punsky)
+- Fix MSVC CI build (#1182) (Cédric DIJOUX <[email protected]>)
+- Prometheus: make sure microhttpd starts using epoll if supported (#1173) (Thibaut ACKERMANN <[email protected]>)
+- Fix typo in mainrelay.c (#1169) (Stefan Sundin <[email protected]>)
+- Remove unused include that breaks OpenBSD (#1165) (Pavel Punsky <[email protected]>)
+- Delete LICENSE.OpenSSL (Pavel Punsky <[email protected]>)
+- use santisied psql string (#1144) (r3g_5z <[email protected]>)
+- Use the actual redis connection string to connect, not the sanitized one (#1141) (Jasper <[email protected]>)
+- Implement non-blocking recvfrom on Windows (#1124) (Emil Ljungdahl <[email protected]>)
+- Add contributing guidelines (#1135) (Gustavo Garcia <[email protected]>)
+- Move and split documentation files (#1096) (Pavel Punsky <[email protected]>)
+- Use inline functions for errno checks (#1123) (Emil Ljungdahl <[email protected]>)
+- Add STUN request/response/error prometheus counters (#1115) (Pavel Punsky <[email protected]>)
+- Add configuration option for TLS 1.3 ciphersuites (#1118) (Molly Miller <[email protected]>)
+- Fix wrong usage of C-sytle in place generated array (#1122) (Paul Kramer <[email protected]>)
+- bugfix: fix broken type label of turn_total_allocations gauge (#1119) (Paul Kramer <[email protected]>)
+- Add explicit SIGTERM and SIGINT handlers. (#1106) (Molly Miller <[email protected]>)
+- Set string bytes to null to prevent random origin (#1114) (Pavel Punsky <[email protected]>)
+- Regenerate manual pages from README files (#1117) (Molly Miller <[email protected]>)
+- Fix inverted logic in TLS configuration options (#1105) (Molly Miller <[email protected]>)
+- Reduce code duplication when printing userdb (#1103) (Pavel Punsky <[email protected]>)
+- Fix memory corruption on socket close (#1113) (Paul Kramer <[email protected]>)
+- Cleanup logs on turnserver start (#1088) (Pavel Punsky <[email protected]>)
+- Optional build info compiled into turnserver binary (#1083) (Erik Moqvist <[email protected]>)
+- Fix duplicate prometheus metric report (#1079) (Pavel Punsky <[email protected]>)
+- Add sessioncount to prometheus metrics (#1075) (Paul Kramer <[email protected]>)
+- Update openssl API use to non-deprecated version (#1072) (Pavel Punsky <[email protected]>)
+- Log threadId to logs to aid in multi-threaded debugging. (#1030) (Scott Godin <[email protected]>)
+- Use khash 0.2.8 (#1047) (Gregor Jasny <[email protected]>)
+- Reflect new native Windows build support in documentation (#1060) (Samuel Marks <[email protected]>)
+- Check and fix format string for turn_log_func_default (#1064) (Gregor Jasny <[email protected]>)
+- Properly calculate size for sm_allocated (#1063) (Gregor Jasny <[email protected]>)
+- Do not discard qualifiers in free() (#1065) (Gregor Jasny <[email protected]>)
+- Simplify defines for macOS platform (#1058) (Pavel Punsky <[email protected]>)
+- WINDOWS: unsigned long should not be used to store pointers (#1055) (Emil Ljungdahl <[email protected]>)
+- Reduce usage of TURN_NO_HIREDIS macros (#1022) (Pavel Punsky <[email protected]>)
+- Update to fix duplicate stdout log output (#1054) (Yoshiki Kadoshita <[email protected]>)
+- Use c11 standard See: #1055 (#1056) (Kang Lin <[email protected]>)
+- Reduce usage of TURN_NO_PROMETHEUS (#1023) (Pavel Punsky <[email protected]>)
+- Remove unnecessary declaration from header file (#1052) (Yoshiki Kadoshita <[email protected]>)
+- Support Windows MSVC (#855) (Kang Lin <[email protected]>)
+- Fix resource leaks (#1048) (Gregor Jasny <[email protected]>)
+- Backlog fifo (#1029) (Scott Godin <[email protected]>)
+- Change rpm systemd service type from notify to exec (#1043) (Gustavo Garcia <[email protected]>)
+- Add missing comma (#1041) (Gregor Jasny <[email protected]>)
+- Fix off-by-one when terminating gcm_nonce (#1039) (Gregor Jasny <[email protected]>)
+- Use %zu format specifier for size_t (#1040) (Gregor Jasny <[email protected]>)
+- Fix variable argument handling (#1042) (Gregor Jasny <[email protected]>)
+- Cleanup openssl initialization (#1012) (Pavel Punsky <[email protected]>)
+- fuzzing support (#982) (Arjun <[email protected]>)
+- created netengine.c get_relay_server utility method to reduce code duplication (#1032) (Scott Godin <[email protected]>)
+- fix bug in calls to ssl_read and ssl_send where extra verbose flag goes missing (#1033) (Scott Godin <[email protected]>)
+- ignore raw UDP if no_udp is enabled (#1031) (Scott Godin <[email protected]>)
+- Sanitize DB connection string before printing to log (#1020) (Pavel Punsky <[email protected]>)
+- Better detect SCTP protocol (#1016) (Pavel Punsky <[email protected]>)
+- Redis memleaks and socketleaks (#1015) (Thibaut ACKERMANN <[email protected]>)
+- Fix issue 51563 in oss-fuzz (#1010) (Arjun <[email protected]>)
+- Fix multiple warnings in libtelnet.c file (#1011) (Pavel Punsky <[email protected]>)
+- Update libtelnet to 0.23 (portability issues) (#1005) (Pavel Punsky <[email protected]>)
+- Remove debug publish to redis (#1008) (Pavel Punsky <[email protected]>)
+- Cleanup unused include of header files (#1004) (Pavel Punsky <[email protected]>)
+- Use single SSL_CTX for DTLS support (#996) (Pavel Punsky <[email protected]>)
+- Malformed response to mobility refresh request (#1006) (Tom Bevan <[email protected]>)
+- Silence warnings by converting STRCPY to strncpy calls (#995) (Pavel Punsky <[email protected]>)
+- Build CI with prometheus support (#999) (Pavel Punsky <[email protected]>)
+- Replace references to non-existent pdf file with links (#1002) (Pavel Punsky <[email protected]>)
+- Fix TLS1.3 support (Pavel Punsky <[email protected]>)
+- Use a single SSL context object (#989) (Pavel Punsky <[email protected]>)
+- Use epoll for promhttp server if supported.  (#997) (Joachim Bauch <[email protected]>)
+- Fix issues reported by cppcheck (#987) (Pavel Punsky <[email protected]>)
+- Replace bcopy with memcpy (#991) (Pavel Punsky <[email protected]>)
+- Replace bzero with memset (#986) (Pavel Punsky <[email protected]>)
+- Improve openssl3 and FIPS support (#955) (Pavel Punsky <[email protected]>)
+- Preserve file timestamps when using install(1) (#983) (Robert Scheck <[email protected]>)
+- Fix renegotiation flag for older version of openssl (#978) (Pavel Punsky <[email protected]>)
+
+Contributors:
+- Arjun <[email protected]>
+- Cédric DIJOUX <[email protected]>
+- Emil Ljungdahl <[email protected]>
+- Erik Moqvist <[email protected]>
+- Gregor Jasny <[email protected]>
+- Gustavo Garcia <[email protected]>
+- Hyorin Choi <[email protected]>
+- Jasper <[email protected]>
+- Joachim Bauch <[email protected]>
+- Kang Lin <[email protected]>
+- Molly Miller <[email protected]>
+- Paul Kramer <[email protected]>
+- Pavel Punsky <[email protected]>
+- Robert Scheck <[email protected]>
+- Samuel Marks <[email protected]>
+- Scott Godin <[email protected]>
+- Stefan Sundin <[email protected]>
+- Thibaut ACKERMANN <[email protected]>
+- Tom Bevan <[email protected]>
+- Yoshiki Kadoshita <[email protected]>
+- r3g_5z <[email protected]>
+
 
 03/12/2022 Gustavo Garcia <[email protected]> Paul Kramer <[email protected]>
 Version 4.6.1 'Gorst':

+ 1 - 1
src/ns_turn_defs.h

@@ -31,7 +31,7 @@
 #ifndef __IOADEFS__
 #define __IOADEFS__
 
-#define TURN_SERVER_VERSION "4.6.1"
+#define TURN_SERVER_VERSION "4.6.2"
 #define TURN_SERVER_VERSION_NAME "Gorst"
 #ifndef TURN_SERVER_BUILD_INFO
 #define TURN_SERVER_BUILD_INFO ""