Releases: mycrl/turn-rs
v3.4.0-beta.4
v3.4.0-beta.3
issues fixed come from version 3.3.4.
v3.4.0-beta.2
v3.3.4
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
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
- @lherman-cs made their first contribution in #118
Full Changelog: v3.2.0...v3.3.3
v3.2.0
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 sessionallocated_ports
- uint16[] - List of port numbers that have been assigned to the sessionchannel?
- uint16 - Channel numbers that have been assigned to the sessionport?
- 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
What's Changed
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
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
- @suhaibmalik made their first contribution in #93
Full Changelog: v2.1.3...v3.0.1
v3.0.0
What's Changed
- Bump h2 from 0.3.24 to 0.3.26 by @dependabot in #89
- Bump rustls from 0.21.10 to 0.21.11 by @dependabot in #91
Full Changelog: v2.1.3...v3.0.0
v2.1.3
What's Changed
- feat: turn-rs rust drive or sdk; by @mycrl in #86
- Bump h2 from 0.3.22 to 0.3.24 by @dependabot in #87
- Bump mio from 0.8.10 to 0.8.11 by @dependabot in #88
New Contributors
- @dependabot made their first contribution in #87
Full Changelog: v2.1.2...v2.1.3