Skip to main content

Web service for analysing pcap files with snort

Project description

Web service for analysing pcap files with intrusion detection systems such as snort and suricata.

Current build status Latest PyPI version

Overview

websnort provides a web interface for user and system submission of packet capture files to run against IDS instances. Alerts and details from the analysis are returned as results.

If you are after a web interface for monitoring a live snort instance, see https://www.snort.org/downloads#additional-downloads instead.

While originally developed specifically for snort. Recent releases support a flexible IDS plugin system which also supports suricata out of the box.

websnort can be configured to run the same submitted packet capture against any number of IDS instances, configs and rulesets. This allows broader coverage and comparison between installs and rule versions.

Getting Started

Ubuntu

Install snort if needed:

sudo apt-get install snort

Optional Disable running snort service if only required for this web api:

sudo service snort stop
sudo update-rc.d snort disable

On recent ubuntu/debian releases the default snort.conf is not world readable. Unless planning to run the web service as root (not recommended) you will need to modify the permissions, for example:

sudo chmod a+r /etc/snort/snort.conf

Install web service using pip:

sudo pip install websnort

Start the websnort web server on the default port:

websnort

Browse to http://server:8080 and submit a pcap file for analysis.

Navigate to http://server:8080/api for details of provided json web api.

Documentation

Full project documentation can be found on readthedocs.

Issues

Source code for websnort is hosted on GitHub. Any bug reports or feature requests can be made using GitHub’s issues system.

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

websnort-0.8.tar.gz (109.2 kB view details)

Uploaded Source

Built Distribution

websnort-0.8-py2.py3-none-any.whl (107.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file websnort-0.8.tar.gz.

File metadata

  • Download URL: websnort-0.8.tar.gz
  • Upload date:
  • Size: 109.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for websnort-0.8.tar.gz
Algorithm Hash digest
SHA256 a635cba9ade9f81f54294b64d1e2d272da2e9f891f8517a8acf3ba30fcd30910
MD5 8b332529779aac06490450cbccd1d36b
BLAKE2b-256 37616f71c13fac19d8fdb370395d4a2a96fab590381a3115721eaac76f92a68e

See more details on using hashes here.

File details

Details for the file websnort-0.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for websnort-0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 391c2491405eee46772dd662851488b5c2b1149bf9a5c04de0f5ca27ff9088e7
MD5 640c5726b1076c417124df29b97c7024
BLAKE2b-256 7a0ce9cb9b6470f8cc1b0b68500aabec5c696f6aa51bbe7a154fca4cb04088e0

See more details on using hashes here.

Supported by

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