1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-22 11:31:26 +02:00

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 <tyranron@gmail.com>
This commit is contained in:
Pavel Punsky 2023-04-10 19:00:08 -07:00 committed by GitHub
parent 67beeb83b1
commit af8a057eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 106 additions and 79 deletions

View File

@ -40,6 +40,7 @@ Thanks to the following contributors (in alphabetical order):
- Hyorin Choi <17173216+hyorin@users.noreply.github.com> - Hyorin Choi <17173216+hyorin@users.noreply.github.com>
- Ilya Kisleyko <osterik@gmail.com> - Ilya Kisleyko <osterik@gmail.com>
- James Huang <hng.jms@gmail.com> - James Huang <hng.jms@gmail.com>
- Jasper <jasper@jasperhugo.com>
- Jens Elkner <jel+coturn@cs.ovgu.de> - Jens Elkner <jel+coturn@cs.ovgu.de>
- Jens Elkner <jel+git@iks.cs.uni-magdeburg.de> - Jens Elkner <jel+git@iks.cs.uni-magdeburg.de>
- Jeremy Murphy <jeremymu@blackmagicdesign.com> - Jeremy Murphy <jeremymu@blackmagicdesign.com>
@ -68,6 +69,7 @@ Thanks to the following contributors (in alphabetical order):
- Mészáros Mihály <misi@niif.hu> - Mészáros Mihály <misi@niif.hu>
- Michal Biskup <eiver@eiver.pl> - Michal Biskup <eiver@eiver.pl>
- Miquel Ortega <miquel@syncrtc.com> - Miquel Ortega <miquel@syncrtc.com>
- Molly Miller <33266253+sysvinit@users.noreply.github.com>
- Molly Miller <molly.miller@wire.com> - Molly Miller <molly.miller@wire.com>
- Mustafa Bingül <bnglmstf@gmail.com> - Mustafa Bingül <bnglmstf@gmail.com>
- NeoCat <neocat@neocat.jp> - NeoCat <neocat@neocat.jp>
@ -101,6 +103,8 @@ Thanks to the following contributors (in alphabetical order):
- Sergey Safarov <s.safarov@gmail.com> - Sergey Safarov <s.safarov@gmail.com>
- Serhii Charykov <laammaar@gmail.com> - Serhii Charykov <laammaar@gmail.com>
- Shu Muto <shu.mutow@gmail.com> - Shu Muto <shu.mutow@gmail.com>
- Shu Muto <shu.mutow@nec.com>
- Stefan Sundin <git@stefansundin.com>
- Steffen Moser <public@steffen-moser.de> - Steffen Moser <public@steffen-moser.de>
- Steffen Moser <steffen.moser@uni-ulm.de> - Steffen Moser <steffen.moser@uni-ulm.de>
- Thibaut ACKERMANN <thib-ack@users.noreply.github.com> - Thibaut ACKERMANN <thib-ack@users.noreply.github.com>
@ -126,6 +130,7 @@ Thanks to the following contributors (in alphabetical order):
- oleg <oleg@sck63.oleg.net> - oleg <oleg@sck63.oleg.net>
- oleg <oleg@shy.(none)> - oleg <oleg@shy.(none)>
- ooookai <ooookai@users.noreply.github.com> - ooookai <ooookai@users.noreply.github.com>
- r3g_5z <june@girlboss.ceo>
- raghumuppa <mupparthies@gmail.com> - raghumuppa <mupparthies@gmail.com>
- release-it <release-it@tawenda.com> - release-it <release-it@tawenda.com>
- root <root@centot7.test.in.securom.me> - root <root@centot7.test.in.securom.me>

View File

@ -9,7 +9,7 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
# TODO: Modify this when the version is released # 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) option(FUZZER "Build oss-fuzz fuzzing" OFF)

176
ChangeLog
View File

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

View File

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