sentrypeer (4.0.2-1) unstable; urgency=medium

    * New TLS mode with auto cert and key generation
    * TCP, UDP now all powered by Rust and Tokio

 -- Gavin Henry <ghenry@sentrypeer.org>  Thu, 13 Feb 2025 10:00:00 +0000

sentrypeer (3.0.2-1) UNRELEASED; urgency=medium

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

 -- Gavin Henry <ghenry@sentrypeer.org>  Fri, 17 Nov 2023 10:00:00 +0000

sentrypeer (3.0.1-1) UNRELEASED; urgency=medium

    * Add a check for a response code of 403 to trigger a new access
      token request for WebHooks in addition to a 401
    * 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.

 -- Gavin Henry <ghenry@sentrypeer.org>  Wed, 19 Jul 2023 10:00:00 +0000

sentrypeer (3.0.0-1) UNRELEASED; urgency=medium

  * OAuth2 support for sending events to https://sentrypeer.com
    RESTful API (client_credentials grant type) with a Bearer token
    in the Authorization header
  * 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

 -- Gavin Henry <ghenry@sentrypeer.org>  Wed, 26 Apr 2023 10:00:00 +0000

sentrypeer (2.0.1-1) UNRELEASED; urgency=medium

  * Fix config trying to free an OpenDHT member that isn't
    present if not built with OpenDHT
  * Re-work dht memory usage

 -- Gavin Henry <ghenry@sentrypeer.org>  Thu, 16 Feb 2023 10:00:00 +0000

sentrypeer (1.4.1-1) UNRELEASED; urgency=medium

  * New SIP TCP mode
  * New -b flag to set your own DHT bootstrap node
    (default: bootstrap.sentrypeer.org:4222)
  * Error handing for -p flag if OpenDHT support is not compiled in
  * Debug mode now shows what OpenDHT-C library version we're using
  * Debug mode for p2p now shows the correct event_uuid when checking
    for duplicate events
  * Coverity scan fixes

 -- Gavin Henry <ghenry@sentrypeer.org>  Sun, 8 May 2022 22:00:00 +0000

sentrypeer (1.4.0-1) UNRELEASED; urgency=medium

  * Peer to Peer mode with CLI (`-p`) and ENV options to enable,
    added for DHT node using the OpenDHT library
  * Added `-R` flag to completely disable SIP mode. You can then
    run SentryPeer in API mode or DHT mode only etc. i.e. not as a
    honeypot, but to serve local data
  * Added Peer to Peer bad_actor sharing (data replication), e.g.
    it gets saved on the DHT and consumed by other peers
  * RESTful API numbers resource (`/numbers`) now only returns numbers
    like +441234567890 or 441234567890
  * RESTful API number resource (`/numbers/{number}`) now only accepts
    +441234567890 or 441234567890 formats
  * Generate a SentryPeer node ID at startup to be used in all
    `bad_actor` events
  * Stop the SIP daemon thread correctly on shutdown

 -- Gavin Henry <ghenry@sentrypeer.org>  Thu, 31 Mar 2022 17:35:00 +0000

sentrypeer (1.2.0-1) UNRELEASED; urgency=medium

  * Add JSON logging to log bad actor events and various other improvements

 -- Gavin Henry <ghenry@sentrypeer.org>  Fri, 25 Feb 2022 21:45:00 +0000

sentrypeer (1.0.0-1) UNRELEASED; urgency=medium

  * Called Number RESTful API resource live
  * Called Numbers RESTful API resource live

 -- Gavin Henry <ghenry@sentrypeer.org>  Mon, 24 Jan 2022 21:45:00 +0000

sentrypeer (0.0.6-1) UNRELEASED; urgency=medium

  * Fix incorrect libcurl usage

 -- Gavin Henry <ghenry@sentrypeer.org>  Fri, 21 Jan 2022 17:13:00 +0000

sentrypeer (0.0.5-1) UNRELEASED; urgency=medium

  * Switched from 404 to Error 400 on invalid request data at
    /ip-addresses/{blah}
  * Handle packets sent that are 0 bytes (discovered by nmap probing port 5060)
  * Only parse SIP packets if UDP packet payload is > 0 bytes
  * Fedora and Debian packaging now available for each release
  * HTTP regex route memory leak fix
  * vue.js SPA is now in for start web gui
  * Remove duplicate uuid_generate call in bad_actor structure
  * Add CORS header to all API responses
  * Add more header checks to configure.ac
  * Switch to recvmsg for receiving UDP packets, so we can save the destination
    IP address of probes
  * SIP responsive mode can be enabled to reply to SIP probes. This will prompt
    INVITE's from bad actors for phone call attempts, so you can collect the
    phone numbers
  * API mode can be set to enable replies to RESTful API requests. Depending
    on your node deployment type, you may not want to enable this
  * Web GUI mode can be set to enable the Vue.js SPA. Depending on your node
    deployment type, you might not want this
  * Add seen_last and seen_count bad_actor data structure for use in
    ip_addresses RESTful API resource
  * ip_addresses RESTful API resource results sorted by seen_last descending
  * Add AC_USE_SYSTEM_EXTENSIONS to configure.ac
  * Web GUI mode needs the API to be enabled, so if you don't set API mode, we
    automatically set it
  * Clean up test RESTful API code to fix test suite crashes on macOS
  * Highly recommend v5+ of libosip2 via ./configure
  * Correct homebrew installation instructions for SentryPeer
  * Major test suite refactor for memory leak fixes
  * Replies with json no longer leak memory

 -- Gavin Henry <ghenry@sentrypeer.org>  Tue, 18 Jan 2022 20:04:53 +0000

sentrypeer (0.0.4-1) UNRELEASED; urgency=medium

  * Updated README.md copy and paste example for installation instructions from this repository
  * Fixed memory leak in route regex matching
  * Removed global sqlite error log callback which caused segfaults when trying to show error messages (threads)
  * Added an index to the database to speed up searching for IP addresses
  * Fixed a segfault when trying to search for IP address/s in an empty database due to global error log bug above
  * Better error messages on API responses
  * Removed some unnecessary jansson usage
  * Dockerfile and now listed on Docker Hub

 -- Gavin Henry <ghenry@sentrypeer.org>  Wed, 22 Dec 2021 14:58:53 +0000

sentrypeer (0.0.3-1) UNRELEASED; urgency=medium

  * Added `event_uuid`, `collected_method` (passive or responsive) and `created_by_node_id` (aa uuid) columns to `honey` table
  * Extended `bad_actor` data structure to provide above
  * Added `libuuid` library requirement for `created_by_node_id` and `event_uuid` column of `honey` table
  * Memory leak fix with bad_actor not being destroyed
  * Added libmicrohttpd, curl and jansson to provide a RESTful API for honeypot data
  * Added build requirement for libmicrohttpd and jansson
  * Added syslog support for use with [Fail2Ban](https://www.fail2ban.org/wiki/index.php/Main_Page) as per [feature request](https://github.com/SentryPeer/SentryPeer/issues/6)
  * Logging to syslog is enabled via `-s` flag. Default is off
  * Log `Source IP` to sqlite db and syslog (if enabled) to track probes that aren't SIP compliant
  * systemd service file for SentryPeer
  * Debian packaging placeholder

 -- Gavin Henry <ghenry@sentrypeer.org>  Wed, 01 Dec 2021 14:58:53 +0000
