Skip to content

Releases: SentryPeer/SentryPeer

v4.0.4

17 Mar 13:03
9ed6dc7
Compare
Choose a tag to compare

Stable release

Fixes

v4.0.3

16 Feb 21:22
0716a8d
Compare
Choose a tag to compare

Stable release

Fixes

v4.0.2

15 Feb 09:16
eedf9f5
Compare
Choose a tag to compare

Stable release

Packaging

  • Maintenance release for make dist.

v4.0.1

13 Feb 11:41
2d02cbf
Compare
Choose a tag to compare

Stable release

Changes

  • UDP socket now created using socket2 crate to set set_reuse_address() and
    set_nonblocking() options e.g. SO_REUSEADDR.
  • Clean up SIP reply from RUST side to have correct CRLF

v4.0.0

19 Dec 12:10
117278e
Compare
Choose a tag to compare

Stable release

Changes

  • SIP TLS support, using Rust and Tokio-rustls
  • If no cert.pem or key.pem files are found, we automatically create them for you in the current working directory for a seemless start up experience
  • -N option to revert to old C way with select() for TCP and UDP
  • TCP, UDP now all powered by Rust and Tokio
  • We now support TLS configuration loaded from config using confy
  • If a cert or key file is not found using -t or -k options, SentryPeer will
    ask you if you'd like to create them - we use the very nice rcgen for this
  • New -z, -tand-k` options for SIP TLS support
  • Command Line Interface (CLI) now powered by Rust using clap-rs
  • Environment variables SENTRYPEER_CERT, SENTRYPEER_KEY and SENTRYPEER_TLS_LISTEN_ADDRESS
  • We now look for cargo and rustc, as we are porting parts of SentryPeer to Rust. New features will be written in Rust
  • SIP TLS support and other Rust-powered features will not be built if Rust is not detected.
  • make check now runs Rust tests
  • make clean cleans up Rust builds
  • --enable-debug argument added to ./configure to enable debug mode for Rust code. Default is --release
  • --enable-silent-rules and make V=1 honoured in Rust code build
  • --disable-rust argument added to ./configure so you can disable Rust code build
  • CMakeLists.txt updated to build Rust code and run all tests. We're using https://github.com/corrosion-rs/corrosion for this
  • README.md updated to reflect the new Rust code build options, and CMake build instructions that now also
    include Rust code and running our tests
  • Show CPPFLAGS and LDFLAGS in configure status summary as needed to do macOS builds if on arm64

v3.0.2

17 Nov 11:16
909b5c8
Compare
Choose a tag to compare

Stable release

Fixes

  • Check user_agent_header->hvalue is not NULL as you can get a blank user-agent value in malformed SIP packets

v3.0.1

19 Jul 19:37
bd91f96
Compare
Choose a tag to compare

Stable release

  • Add a check for a response code of 403 to trigger a new access token request for WebHooks in addition to a 401

Changes

  • -pedantic-errors is now enabled by default in Makefile.am

Fixes

  • Switch to getsockname() to correctly get destination IP address for SIP TCP mode
  • Check for a blank User-agent SIP header and add a test case. Only a missing one was catered for before.

v3.0.0

26 Apr 18:06
957a696
Compare
Choose a tag to compare

Stable release

  • OAuth2 support for sending events to the SentryPeerHQ RESTful API (client_credentials grant type) with
    a Bearer token in the Authorization header

Fixes

  • Clean up memory leaks in libcurl code when sending events to a WebHook url
  • Fix segfault on parsing part of a 'To' SIP header that could be NULL
  • Fix failing sqlite test on macOS

v2.0.1

16 Feb 09:54
Compare
Choose a tag to compare

Stable release

  • Re-work dht memory usage
  • cppcheck work in tests
  • Clearly state that Peer to Peer mode is off by default in the docs and that setting an environment variable to
    anything, e.g. 0 will enable that particular mode. We don't care what you set it to, just that it's set.

Fixes

  • Fix config trying to free an OpenDHT member that isn't present if not built with OpenDHT

v2.0.0

01 Sep 17:57
Compare
Choose a tag to compare

Stable release

  • Added optional -w https://my_sentrypeerhq_onprem_or_cloud_url/events WebHook cli/env var to set URL for bad actor
    JSON to be sent to SentryPeerHQ for the dashboard and other services
  • Removed local incomplete web gui. This will be replaced by a new FL/OSS project called SentryPeerHQ

Breaking Changes

  • -w now requires a URL to be set as it is used for the WebHook to SentryPeerHQ.
    Before it enabled the local Web UI which has been removed.

Tests

  • Added tests for new WebHook feature