Skip to content

Releases: mycrl/turn-rs

v3.4.0-beta.4

12 Mar 11:00
Compare
Choose a tag to compare

v3.4.0-beta.3

09 Mar 22:49
Compare
Choose a tag to compare
v3.4.0-beta.3 Pre-release
Pre-release

issues fixed come from version 3.3.4.

v3.4.0-beta.2

09 Mar 12:47
Compare
Choose a tag to compare
v3.4.0-beta.2 Pre-release
Pre-release

v3.3.4

09 Mar 22:56
Compare
Choose a tag to compare

Fix

In previous versions, replay requests were not allowed, in this version this is fixed to allow replay requests, e.g. multiple allocation requests can be sent, but only the same port will be returned.

v3.3.3

04 Jan 18:25
Compare
Choose a tag to compare

What's Changed

  • Bump hashbrown from 0.15.0 to 0.15.2 by @dependabot in #113
  • v3.3.0 by @mycrl in #117
  • feat: allow generic observer by @lherman-cs in #118
  • Fix patch for version 3.3.0 by @mycrl in #120
  • New test case.
  • Fixed incorrect parsing of RequestedTransport property.
  • Added support for DontFragment, AdditionalAddressFamily, RequestedAddressFamily, EvenPort and ReservationToken attributes.
  • Replaced the unsafe implementation of the stun parser with a safe implementation.
  • New simpler and faster implementation of turn state management.
  • Remove ambiguity in previous turn-rs implementations of CreatePermission and ChannelBind.
  • New external interface that distinguishes between transport protocols and interfaces.
  • Adapted to the new driver version 3.3.
  • Remove async_trait dependency to reduce heap allocation overhead.
  • Unified abstraction of tcp and udp servers with separate implementations.
  • tcp packet reads use double buffer queues to improve performance.
  • tcp, udp, api, hooks, mimalloc features.
  • If you don't bind any ports, just exit the process.
  • Fix the problem of untimely cleaning of session information after session disconnection.
  • statistic counters are not monotonically increasing #119

New Contributors

Full Changelog: v3.2.0...v3.3.3

v3.2.0

27 Nov 19:39
Compare
Choose a tag to compare

What's Changed

  • Rw: Optimize internal mutex lock performance.
  • Feat: Configuration items can be set directly on the cli.
  • Feat: Integrated Prometheus Metrics Exporter. #101
  • Fix: Firefox no candidates responded. #105
  • Rw: A single socket supports only one address assignment.
  • Rw: A single socket can be bound to only one channel.

New Cli

  • --auth-static-credentials - Static user password.
  • --auth-static-auth-secret - Static authentication key value (string) that applies only to the TURN REST API.
  • --log-level - An enum representing the available verbosity levels of the logger.
  • --api-bind - This option specifies the http server binding address used to control the turn server.
  • --api-hooks - This option is used to specify the http address of the hooks service.
  • --turn-realm - TURN server realm.
  • --turn-interfaces - TURN server listen interfaces.

REST API Change

GET /session?addr=&username= - Session[]

  • allocated_channels - uint16[] - List of channel numbers that have been assigned to the session
  • allocated_ports - uint16[] - List of port numbers that have been assigned to the session
  • channel? - uint16 - Channel numbers that have been assigned to the session
  • port? - uint16 - Port numbers that have been assigned to the session

GET - /session/statistics?addr= - Statistics

  • error_pkts - uint64 - The number of packets error by the current session/s

v3.1.0

14 Sep 21:16
d7b9785
Compare
Choose a tag to compare

What's Changed

  • feat: turn rest api rfc support; by @mycrl in #98

Full Changelog: v3.0.1...v3.1.0

Feature

turn-rs provides turn rest api support for this rfc, you can authenticate the user with a static key, but it should be noted that there is a conflict between setting a static key and dynamically authenticating via hooks api, if you set a static key, then turn-rs will not dynamically request a key from an external service via hooks api.

New configuration item added:

[auth]
static_auth_secret = ""

Configuration items that change:

[auth]
user1 = "test"

to

[auth.static_credentials]
user1 = "test"

v3.0.1

11 Sep 02:23
0c98a15
Compare
Choose a tag to compare

What's Changed

  • Statically link libs for general Linux by @suhaibmalik in #93
  • Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows by @dependabot in #95

New Contributors

Full Changelog: v2.1.3...v3.0.1

v3.0.0

14 Jun 23:27
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.3...v3.0.0

v2.1.3

16 Mar 04:27
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.2...v2.1.3