Skip to content

Releases: SentryPeer/SentryPeer

v4.0.5

Choose a tag to compare

@ghenry ghenry released this 27 Jul 18:01
218e03d

Stable release

Fixes

  • Removed the requirement of supplying client_id and client_secret on the
    command line if the webook_url option of -w is passed. See #274
    Thanks for reporting @szenzero

Added

  • Config file location configurable via -g flag and SENTRYPEER_CONFIG_FILE
    environment variable, defaulting to OS dependent locations

Changes

  • Replace jansson with serde_json for JSON parsing/generation and switch to using Rust versions
  • Replace libcurl with reqwest for HTTP requests and switch to using Rust versions
  • cargo clippy warnings fixed
  • Upgrade to Rust 2024 edition
  • Dependencies updated to the latest versions
  • Apply cargo clippy suggestions
  • Update breaking changes rcgen API
  • Only check major version output in our cli integration test
  • Run autoscan to update missing checks from configure.ac
  • Don't use rust-lld due to rust-lang/rust#147329
  • Add clippy lint checks to Cargo.toml to catch and unwrap() or expect() usage
  • Update Rust crates to the latest versions for security fixes

v4.0.4

Choose a tag to compare

@ghenry ghenry released this 17 Mar 13:03
9ed6dc7

Stable release

Fixes

v4.0.3

Choose a tag to compare

@ghenry ghenry released this 16 Feb 21:22
0716a8d

Stable release

Fixes

v4.0.2

Choose a tag to compare

@ghenry ghenry released this 15 Feb 09:16
eedf9f5

Stable release

Packaging

  • Maintenance release for make dist.

v4.0.1

Choose a tag to compare

@ghenry ghenry released this 13 Feb 11:41
2d02cbf

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

Choose a tag to compare

@ghenry ghenry released this 19 Dec 12:10
117278e

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

Choose a tag to compare

@ghenry ghenry released this 17 Nov 11:16
909b5c8

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

Choose a tag to compare

@ghenry ghenry released this 19 Jul 19:37
bd91f96

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

Choose a tag to compare

@ghenry ghenry released this 26 Apr 18:06
957a696

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

Choose a tag to compare

@ghenry ghenry released this 16 Feb 09:54

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