Skip to content

v1.4.0

Compare
Choose a tag to compare
@ghenry ghenry released this 29 Mar 18:30
· 226 commits to main since this release

Stable release

Changes

  • 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
  • If OpenDHT-C is detected, check it is at least version 2.3.5. If Peer to Peer mode is not needed, you can
    use --disable-opendht
  • Remove the Zyre library dependency as it is not needed anymore

Breaking changes

  • --disable-zyre option has now been removed, so ./configure will now fail if you try to build with that option

Tests

  • More configuration CLI options tested
  • Bad Actor to JSON conversion tests - used to save on the DHT
  • Memory cleanups on tests
  • UUID parsing tests
  • JSON parsing tests
  • Additional SQLite3 database select tests
  • bad_actor_exists tests

What can you do at the moment?

  • Process and chose to reply 200 OK to SIP probes (set via cli or env variable)
  • Disable SIP mode completely so you can just operate a p2p node for receiving bad_actors and API use
  • Output JSON logs
  • List collected IP addresses via the RESTful API
  • Query a specific IP address via the RESTful API
  • List collected phone numbers via the RESTful API
  • Query a specific phone number via the RESTful API
  • Operate in Peer to Peer mode to share and receive bad_actors
  • See the README for examples