From b6e53ca4c9fcdae1f4d1f6273db0dafe59cbfc85 Mon Sep 17 00:00:00 2001 From: Pavel Punsky Date: Wed, 11 Dec 2024 10:13:38 -0800 Subject: [PATCH] Update version to 4.6.3 (#1609) preparing for new tag 4.6.3 --------- Co-authored-by: tyranron --- AUTHORS.md | 32 ++++++ CMakeLists.txt | 2 +- ChangeLog | 152 +++++++++++++++++++++++++++ examples/scripts/pack.sh | 2 +- rpm/build.settings.sh | 2 +- rpm/turnserver.spec | 2 +- scripts/install_coturn_on_aws_ec2.sh | 6 +- src/ns_turn_defs.h | 2 +- vcpkg.json | 2 +- 9 files changed, 193 insertions(+), 9 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index a43741be..674cd1ef 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -1,8 +1,11 @@ Thanks to the following contributors (in alphabetical order): +- Aaron Bird <25508292+Aaron-Bird@users.noreply.github.com> - Alessandro Polidori +- Alex Gustafsson <89969483+alexg-axis@users.noreply.github.com> - Alexander N - Alexander Terczka +- Alexander Udovichenko - Antony Dovgal - Arjun <36335769+0x34d@users.noreply.github.com> - Arne Georg Gisnås Gleditsch @@ -14,19 +17,24 @@ Thanks to the following contributors (in alphabetical order): - Byron Clark - Camden Narzt - Carsten Bock +- Cédric DIJOUX <45537432+PrinceChoco@users.noreply.github.com> - Cédric Krier +- Chai-Shi - Corey Cole +- Cybermilitia - Daniil Meitis <30820460+dsmeytis@users.noreply.github.com> - Daniil Meitis - Danilo Bargen - Dave Lambley - Dave Lambley - David Florness +- David Smitmanis - David-dp- - Domenico Briganti - Emil Ljungdahl <111423223+pando-emil@users.noreply.github.com> - Erdem Duman - Erik Moqvist +- Evgeny Khramtsov - Feral Interactive - Gautier HUSSON - Giacomo Vacca @@ -34,12 +42,14 @@ Thanks to the following contributors (in alphabetical order): - Greg Fodor - Gregor Jasny - Gustavo Garcia +- Gustavo Garcia - Haseeb Abdul Qadir - Hristo Venev - Hui Kang - Hyorin Choi <17173216+hyorin@users.noreply.github.com> - Ilya Kisleyko - James Huang +- Jan Brasna <1784648+janbrasna@users.noreply.github.com> - Jasper - Jens Elkner - Jens Elkner @@ -49,6 +59,7 @@ Thanks to the following contributors (in alphabetical order): - Johannes Weberhofer - Jonathan GIBERT - JooYoung +- Jorge <46056498+jorgectf@users.noreply.github.com> - Juan Navarro - KORAY VATANSEVER - KORAY VATANSEVER @@ -67,14 +78,17 @@ Thanks to the following contributors (in alphabetical order): - Mészáros Mihály - Mészáros Mihály - Mészáros Mihály +- Michael Jones - Michal Biskup - Miquel Ortega - Molly Miller <33266253+sysvinit@users.noreply.github.com> - Molly Miller - Mustafa Bingül +- NO NAME <45446340+linwenchen@users.noreply.github.com> - NeoCat - Nicolas Edet - Nikolay Lanets +- Nikolayshcx <77790944+Nikolayshcx@users.noreply.github.com> - Oleg Moskalenko - Orsiris de Jong - Oskar Niburski @@ -90,8 +104,10 @@ Thanks to the following contributors (in alphabetical order): - Prashanth Rajaram - RIORAO - Richard Garnier +- Richard Russo - Robert Scheck - Robert Scheck +- Robert Silén - Robert Tupelo-Schneck - Rozhuk Ivan - Ruben Barkow-Kuder @@ -100,28 +116,41 @@ Thanks to the following contributors (in alphabetical order): - Sandro Gauci - Scott Godin - Sebastian Kemper +- Sergey Radionov - Sergey Safarov - Serhii Charykov - Shu Muto - Shu Muto +- Stefan Junker <1181362+steveej@users.noreply.github.com> - Stefan Sundin - Steffen Moser - Steffen Moser +- Subhra264 +- Sven Tennie - Thibaut ACKERMANN - Thibaut Ackermann - Thibaut Ackermann - Tom Bevan +- Wittmer, Christian - Wuelber Castillo - Yoshiki Kadoshita - Zebadiah Long +- Zoey +- ashamedbit - bpcurse <29312856+bpcurse@users.noreply.github.com> - brevilo - chanduthedev +- czephyr - damencho - ddeka2910 <60925700+ddeka2910@users.noreply.github.com> +- dominiquefournier +- eakraly - ggalperi <81175455+ggalperi@users.noreply.github.com> +- hariprasadt - huhaipeng - islamoglus +- korayvt +- maddy - marcoschum <50410120+marcoschum@users.noreply.github.com> - misi - mom040267 @@ -132,13 +161,16 @@ Thanks to the following contributors (in alphabetical order): - ooookai - r3g_5z - raghumuppa +- redraincatching <99604494+redraincatching@users.noreply.github.com> - release-it +- rim <11380091+rozhuk-im@users.noreply.github.com> - root - seungbin-ko - shuyin.wsy - skystar-p - tyranron - unicode-it +- vuittont60 <81072379+vuittont60@users.noreply.github.com> - wolmi - xthursdayx - yohan <783b8c87@scimetis.net> diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ddf3b5c..fd1aba10 100644 --- a/CMakeLists.txt +++ b/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.2") +SET(BUILD_VERSION "4.6.3") # Find Git Version Patch IF(EXISTS "${CMAKE_SOURCE_DIR}/.git") diff --git a/ChangeLog b/ChangeLog index b7425761..40831db6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,155 @@ +Release 4.6.3 + +Changelist: +- Implement custom prometheus http handler (#1591) (Alex Gustafsson <89969483+alexg-axis@users.noreply.github.com>) +- Add MariaDB support to README.md (#1601) (Robert Silén ) +- Allow authenticating with a username to redis (#1488) (maddy ) +- Easy installation of coturn on AWS (#1581) (hariprasadt ) +- Add prometheus setting suggestions on turn.conf in example folder (#1597) (Chai-Shi ) +- Install openssl-1.1.1 on amazonlinux:2 instead of openssl-1.0.1 (#1595) (Pavel Punsky ) +- Add new Drain feature (#1529) (Scott Godin ) +- Additional refactoring of ns_turn_allocation.* to address security scanner concerns (#1514) (Michael Jones ) +- Fix linting error in mainrelay.c (#1558) (redraincatching <99604494+redraincatching@users.noreply.github.com>) +- Fix rpm version scripts (#1556) (eakraly ) +- Delete dead code (#1563) (Sven Tennie ) +- Fix cli auth (#1578) (Mészáros Mihály ) +- Use bool, instead of int, for the functions in ns_turn_msg.c (#1553) (Michael Jones ) +- Reformat code (#1557) (Pavel Punsky ) +- configure: data files shouldn't be executable (#1542) (Sergey Radionov ) +- Update libtelnet (#1545) (Michael Jones ) +- Use calloc where appropriate, avoid memset when normal buffer initialization works (#1550) (Michael Jones ) +- Fix make lint (#1547) (Michael Jones ) +- Fix compiler warnings from continuous integration (#1555) (Michael Jones ) +- Fix nodejs/glibc problem with old container images. (#1548) (Michael Jones ) +- Windows: Only attempt to bind when the network interface is up (#1527) (David Smitmanis ) +- Memset user_db before reading conf file, not after (#1537) (Pavel Punsky ) +- added support for amazon linux and renamed tests.yml (#1401) (redraincatching <99604494+redraincatching@users.noreply.github.com>) +- Check the result of malloc in send_message_to_redis (#1515) (Michael Jones ) +- Check the result of malloc in mongo_set_realm_option_one (#1516) (Michael Jones ) +- Simplify workflow for codeql (#1517) (Michael Jones ) +- Move the hiredis_libevent2 code from common to relay (#1509) (Michael Jones ) +- Include what you use (#1512) (Michael Jones ) +- Check the result of malloc in string_list_add (#1495) (Michael Jones ) +- Check the result of realloc and calloc in ch_map_get (#1497) (Michael Jones ) +- Address clang-tidy warnings in db files (#1405) (Michael Jones ) +- malloc now allocates space for string terminator (#1507) (redraincatching <99604494+redraincatching@users.noreply.github.com>) +- Use bool over int for the turnutils_uclient program (#1420) (Michael Jones ) +- Fix lint complaint about comment (#1506) (Michael Jones ) +- Run all of the CI except for Docker builds on any change (#1415) (Michael Jones ) +- Avoid read-past-end of string in get_bold_admin_title (#1499) (Michael Jones ) +- Check allocation results in add_static_user_account (#1501) (Michael Jones ) +- Address some build issues introduced by api changes (#1505) (Pavel Punsky ) +- Check the result of calloc in handle_logon_request (#1498) (Michael Jones ) +- Avoid writing potentially uninitialized data to aes_128 key file (#1500) (Michael Jones ) +- Use active CPU number instead of total number (#1469) (Pavel Punsky ) +- defined a magic number for stun fingerprinting (#1489) (redraincatching <99604494+redraincatching@users.noreply.github.com>) +- Always run lint, regardless of branch (#1492) (Michael Jones ) +- avoid potential nullptr derefernence in udp_create_server_socket (#1496) (Michael Jones ) +- Change the various map functions to return bool instead of inconsistantly return 0, 1, or -1 (#1502) (Michael Jones ) +- Check the result of malloc in del_alt_server (#1503) (Michael Jones ) +- Avoid nullptr dereference of server variable in various functions (#1504) (Michael Jones ) +- Fix msvc analyzer error on goto label on rfc5769check (#1486) (Gustavo Garcia ) +- Fix buffer overflow in generate_enc_password with increase rsalt by 2 (#1463) (Stefan Junker <1181362+steveej@users.noreply.github.com>) +- Fix lint errors (Gustavo Garcia ) +- Add support for raw public keys (Rfc 7250) (#1458) (Nikolayshcx <77790944+Nikolayshcx@users.noreply.github.com>) +- Fix clang-format lint warnings (Gustavo Garcia ) +- Fix const during free warning in rfc5769check app (Gustavo Garcia ) +- Refactor: peer_input_handle (#1325) (Kang Lin ) +- workflow tidying (#1396) (redraincatching <99604494+redraincatching@users.noreply.github.com>) +- Update turnserver.conf Example about listening-ip (#1336) (Wittmer, Christian ) +- Fix Cmake find issue in libevent (#1466) (NO NAME <45446340+linwenchen@users.noreply.github.com>) +- CMake: Declare the variable nearby (#1387) (Kang Lin ) +- Print version only, no extra lines (#1441) (Pavel Punsky ) +- Fix memory leak in rfc5769check.c (#1410) (ashamedbit ) +- Fix memory leak in netengine.c (#1411) (ashamedbit ) +- Fix memory leak on http_server.c (#1412) (ashamedbit ) +- ubuntu build dependencies extracted to composite actions (#1399) (redraincatching <99604494+redraincatching@users.noreply.github.com>) +- Delete unused variable (#1437) (Pavel Punsky ) +- changed variables in stunclient.c to bool (C11) (#1421) (redraincatching <99604494+redraincatching@users.noreply.github.com>) +- added missing function prototype of turn_random_number() (#1428) (redraincatching <99604494+redraincatching@users.noreply.github.com>) +- Fix no-tls warning typo (#1426) (Jan Brasna <1784648+janbrasna@users.noreply.github.com>) +- Update SQLite.md (#1429) (dominiquefournier ) +- Adjust wording in cmake message when prometheous cannot be found. (#1418) (Michael Jones ) +- Add the InsertBraces command for clang-format to ensure that all conditionals always have braces (#1408) (Michael Jones ) +- Change minimal required cmake version to 3.16 (#1388) (Pavel Punsky ) +- Replace HeapAlloc with malloc (#1378) (Pavel Punsky ) +- Added sessionID to some log lines (#1334) (korayvt ) +- Update FlowChart (#1377) (Kang Lin ) +- Add clang-tidy, include-what-you-use, and msvc-analyzer github actions (#1363) (Michael Jones ) +- Doc: add flowchart (#1328) (Kang Lin ) +- Missing session ID in coturn logs for denied IP - 1330 (#1332) (Cybermilitia ) +- Update lukka/run-vcpkg@11 (#1374) (Pavel Punsky ) +- Fix typos (#1345) (vuittont60 <81072379+vuittont60@users.noreply.github.com>) +- Fix mingw build (#1376) (Pavel Punsky ) +- Add github action that runs tests with compiler sanitizers (#1370) (Michael Jones ) +- Simplify macOS detection macros (#1372) (Pavel Punsky ) +- Fix potential null passed to function expecting nonnull (#1373) (Pavel Punsky ) +- Only set MHD_USE_DUAL_STACK if IPv6 is available (#1362) (Evgeny Khramtsov ) +- Remove unimplemented test folder reference from CMakeLists.txt (#1371) (Pavel Punsky ) +- Fix cmake find prometheus(fix #1304) (#1315) (Kang Lin ) +- Fix run cmake.yml in any github action (#1320) (Kang Lin ) +- Fix return correct error code for `create_relay_connection` in case of `RESERVATION-TOKEN` failure (#1319) (Subhra264 ) +- Reduce ifdefs in code: TURN_NO_PROMETHEUS (#1116) (Pavel Punsky ) +- strncpy doesn't return size_t (#1296) (Richard Russo ) +- Return a 400 response to HTTP requests (#1231) (Dave Lambley ) +- Fix missing strncpy in fix_stun_check_message_integrity_str (#1282) (Gustavo Garcia ) +- Fix ubuntu 16 build with GH action checkout version to v3 (#1281) (Gustavo Garcia ) +- Fix memleak in pgsql_reread_realms (#1278) (Pavel Punsky ) +- Replace srand/rand with srandom/random (#1279) (Gustavo Garcia ) +- Fix memcpy len checks stun_is_challenge_response_str (#1280) (Gustavo Garcia ) +- Add warning and disable web admin if no-tls option used (#1256) (Alexander Udovichenko ) +- Fix formatting to fix lint error (#1258) (Pavel Punsky ) +- added warnings for prometheus apt unavailability (#1184) (czephyr ) +- Update version in vcpkg.json (#1254) (Kang Lin ) +- Fix error of make command in Cygwin environment (#1236) (Aaron Bird <25508292+Aaron-Bird@users.noreply.github.com>) +- Fix recursive call in delete alternate server (#1250) (Cybermilitia ) +- Add CodeQL workflow (#1228) (Jorge <46056498+jorgectf@users.noreply.github.com>) +- Change printf() to TURN_LOG_FUNC() for --no-stdout-log (#1221) (Robert Scheck ) +- Fix build with libressl 3.6+ (#1198) (rim <11380091+rozhuk-im@users.noreply.github.com>) +- Update turnserver.spec (#1192) (Mathieu Aubin ) + +Contributors: +- Aaron Bird <25508292+Aaron-Bird@users.noreply.github.com> +- Alex Gustafsson <89969483+alexg-axis@users.noreply.github.com> +- Alexander Udovichenko +- Chai-Shi +- Cybermilitia +- Dave Lambley +- David Smitmanis +- Evgeny Khramtsov +- Gustavo Garcia +- Gustavo Garcia +- Jan Brasna <1784648+janbrasna@users.noreply.github.com> +- Jorge <46056498+jorgectf@users.noreply.github.com> +- Kang Lin +- Mathieu Aubin +- Mészáros Mihály +- Michael Jones +- NO NAME <45446340+linwenchen@users.noreply.github.com> +- Nikolayshcx <77790944+Nikolayshcx@users.noreply.github.com> +- Pavel Punsky +- Richard Russo +- Robert Scheck +- Robert Silén +- Scott Godin +- Sergey Radionov +- Stefan Junker <1181362+steveej@users.noreply.github.com> +- Subhra264 +- Sven Tennie +- Wittmer, Christian +- Zoey +- ashamedbit +- czephyr +- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- dominiquefournier +- eakraly +- hariprasadt +- korayvt +- maddy +- redraincatching <99604494+redraincatching@users.noreply.github.com> +- rim <11380091+rozhuk-im@users.noreply.github.com> +- vuittont60 <81072379+vuittont60@users.noreply.github.com> + Release 4.6.2 Changelist: diff --git a/examples/scripts/pack.sh b/examples/scripts/pack.sh index 9bde4e96..dfa163aa 100755 --- a/examples/scripts/pack.sh +++ b/examples/scripts/pack.sh @@ -2,7 +2,7 @@ # Run it from the root of the coturn source tree -V=4.6.2 +V=4.6.3 PACKDIR=`pwd`/../coturn-releases/ SRCDIR=`pwd` diff --git a/rpm/build.settings.sh b/rpm/build.settings.sh index a629d636..3e52ede4 100755 --- a/rpm/build.settings.sh +++ b/rpm/build.settings.sh @@ -2,7 +2,7 @@ # Common settings script. -TURNVERSION=4.6.2 +TURNVERSION=4.6.3 BUILDDIR=~/rpmbuild ARCH=`uname -p` diff --git a/rpm/turnserver.spec b/rpm/turnserver.spec index a53c8b07..a969ce81 100644 --- a/rpm/turnserver.spec +++ b/rpm/turnserver.spec @@ -1,5 +1,5 @@ Name: turnserver -Version: 4.6.2 +Version: 4.6.3 Release: 0%{dist} Summary: Coturn TURN Server diff --git a/scripts/install_coturn_on_aws_ec2.sh b/scripts/install_coturn_on_aws_ec2.sh index c4d1e52f..ac823df5 100644 --- a/scripts/install_coturn_on_aws_ec2.sh +++ b/scripts/install_coturn_on_aws_ec2.sh @@ -4,15 +4,15 @@ ############## verification on aws : tested & verified on aws ec2 ######## ############## platform : aws ec2 ######## ############## aws ubuntu version : ubuntu 22.04 LTS ######## -############## coturn base version : 4.6.2 ######## +############## coturn base version : 4.6.3 ######## ############## dependent tools : installs prometheus client as well ######## ############## file permissions : chmod 777 install_coturn_on_aws_ec2.sh ##### ############## run command : ./install_coturn_on_aws_ec2.sh ######## ############## developer : hariprasad.t@samsung.com ######## ##################################################################################### -coturn_package="https://github.com/coturn/coturn/archive/refs/tags/4.6.2.tar.gz" -coturn_version="4.6.2" +coturn_package="https://github.com/coturn/coturn/archive/refs/tags/4.6.3.tar.gz" +coturn_version="4.6.3" if [ "$#" -eq 0 ] then diff --git a/src/ns_turn_defs.h b/src/ns_turn_defs.h index d2746eb9..6fc2d3d7 100644 --- a/src/ns_turn_defs.h +++ b/src/ns_turn_defs.h @@ -31,7 +31,7 @@ #ifndef __IOADEFS__ #define __IOADEFS__ -#define TURN_SERVER_VERSION "4.6.2" +#define TURN_SERVER_VERSION "4.6.3" #define TURN_SERVER_VERSION_NAME "Gorst" #ifndef TURN_SERVER_BUILD_INFO #define TURN_SERVER_BUILD_INFO "" diff --git a/vcpkg.json b/vcpkg.json index 7f235cff..031e7aec 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "coturn", - "version-string": "4.6.2", + "version-string": "4.6.3", "dependencies": [ { "name": "pthreads",