Skip to main content

IDS Utility Library

Project description

py-idstools is a collection of Python libraries for working with IDS systems (typically Snort and Suricata).

Features

  • Snort/Suricata unified2 log file reading.

  • Continuous unified2 directory spool reading with bookmarking (a’la Barnyard2).

  • Parser and mapping for classification.config.

  • Parser and mapping for gen-msg.map and sid-msg.map.

Requirements

  • Python 2.6 or 2.7; Python 3.3 works but is not as well tested.

  • Currently only tested on Linux.

Examples

Reading a Unified2 Spool Directory

The following code snippet will “tail” a unified log directory aggregating records into events:

from idstools import unified2

reader = unified2.SpoolEventReader("/var/log/snort",
    "unified2.log", tail=True)
for event in reader:
    print(event)

Documentation

Further documentation is located at http://idstools.readthedocs.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idstools-0.3.0.tar.gz (15.6 kB view details)

Uploaded Source

File details

Details for the file idstools-0.3.0.tar.gz.

File metadata

  • Download URL: idstools-0.3.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for idstools-0.3.0.tar.gz
Algorithm Hash digest
SHA256 da4e85c887fdcc3a7e79938b56627ba825d1790d35b92012087e5073c9a84262
MD5 a68ce01065d8c2ce46d4805a7e3a8de0
BLAKE2b-256 67bf3e1353436904d5a766eaa5f9986d020c5d9d3f38e93764d52c5e5ea0a845

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page