All Projects → OISF → Suricata

OISF / Suricata

Licence: gpl-2.0
Suricata git repository maintained by the OISF

Programming Languages

c
50402 projects - #5 most used programming language
rust
11053 projects
python
139335 projects - #7 most used programming language
M4
1887 projects
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to Suricata

Suricata Update
The tool for updating your Suricata rules.
Stars: ✭ 143 (-93.71%)
Mutual labels:  ids, network-monitoring
Scanr
Detect x86 shellcode in files and traffic.
Stars: ✭ 16 (-99.3%)
Mutual labels:  ids, ips
UTMFW
UTM Firewall on OpenBSD
Stars: ✭ 104 (-95.43%)
Mutual labels:  ids, ips
docker-zeek
Zeek IDS Dockerfile
Stars: ✭ 82 (-96.39%)
Mutual labels:  ids, network-monitoring
Docker Bro
Bro IDS Dockerfile
Stars: ✭ 126 (-94.46%)
Mutual labels:  ids, network-monitoring
Arkime
Arkime (formerly Moloch) is an open source, large scale, full packet capturing, indexing, and database system.
Stars: ✭ 4,994 (+119.61%)
Mutual labels:  network-monitoring, nsm
zeek-docs
Documentation for Zeek
Stars: ✭ 41 (-98.2%)
Mutual labels:  network-monitoring, nsm
docker-suricata
A Suricata Docker image.
Stars: ✭ 120 (-94.72%)
Mutual labels:  ids, nsm
Security Onion
Security Onion 16.04 - Linux distro for threat hunting, enterprise security monitoring, and log management
Stars: ✭ 2,956 (+29.99%)
Mutual labels:  ids, nsm
Zeek
Zeek is a powerful network analysis framework that is much different from the typical IDS you may know.
Stars: ✭ 4,180 (+83.82%)
Mutual labels:  network-monitoring, nsm
Fail2ban
Daemon to ban hosts that cause multiple authentication errors
Stars: ✭ 6,677 (+193.62%)
Mutual labels:  ids, ips
Core
OPNsense GUI, API and systems backend
Stars: ✭ 1,827 (-19.66%)
Mutual labels:  ips
Imhex
🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
Stars: ✭ 11,744 (+416.45%)
Mutual labels:  ips
Upribox
Usable Privacy Box
Stars: ✭ 153 (-93.27%)
Mutual labels:  network-monitoring
Zabbix
Real-time monitoring of IT components and services, such as networks, servers, VMs, applications and the cloud.
Stars: ✭ 1,914 (-15.83%)
Mutual labels:  network-monitoring
Threatbus
🚌 The missing link to connect open-source threat intelligence tools.
Stars: ✭ 139 (-93.89%)
Mutual labels:  ids
Sniffer
Networking activity logger for Swift
Stars: ✭ 108 (-95.25%)
Mutual labels:  network-monitoring
Pandora
an android library for debugging what we care about directly in app.
Stars: ✭ 1,365 (-39.97%)
Mutual labels:  network-monitoring
Networkeye
a iOS network debug library, monitor HTTP requests
Stars: ✭ 1,326 (-41.69%)
Mutual labels:  network-monitoring
React Native Network Logger
An HTTP network request monitor for React Native with in-app interface for iOS and Android with no native code
Stars: ✭ 161 (-92.92%)
Mutual labels:  network-monitoring

Suricata

Fuzzing Status codecov

Introduction

Suricata is a network IDS, IPS and NSM engine.

Installation

https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Suricata_Installation

User Guide

You can follow the Suricata user guide to get started.

Our deprecated (but still useful) user guide is also available.

Contributing

We're happily taking patches and other contributions. Please see https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Contributing for how to get started.

Suricata is a complex piece of software dealing with mostly untrusted input. Mishandling this input will have serious consequences:

  • in IPS mode a crash may knock a network offline;
  • in passive mode a compromise of the IDS may lead to loss of critical and confidential data;
  • missed detection may lead to undetected compromise of the network.

In other words, we think the stakes are pretty high, especially since in many common cases the IDS/IPS will be directly reachable by an attacker.

For this reason, we have developed a QA process that is quite extensive. A consequence is that contributing to Suricata can be a somewhat lengthy process.

On a high level, the steps are:

  1. Travis-CI based build & unit testing. This runs automatically when a pull request is made.

  2. Review by devs from the team and community

  3. QA runs

Overview of Suricata's QA steps

Trusted devs and core team members are able to submit builds to our (semi) public Buildbot instance. It will run a series of build tests and a regression suite to confirm no existing features break.

The final QA run takes a few hours minimally, and is started by Victor. It currently runs:

  • extensive build tests on different OS', compilers, optimization levels, configure features
  • static code analysis using cppcheck, scan-build
  • runtime code analysis using valgrind, DrMemory, AddressSanitizer, LeakSanitizer
  • regression tests for past bugs
  • output validation of logging
  • unix socket testing
  • pcap based fuzz testing using ASAN and LSAN

Next to these tests, based on the type of code change further tests can be run manually:

  • traffic replay testing (multi-gigabit)
  • large pcap collection processing (multi-terabytes)
  • fuzz testing (might take multiple days or even weeks)
  • pcap based performance testing
  • live performance testing
  • various other manual tests based on evaluation of the proposed changes

It's important to realize that almost all of the tests above are used as acceptance tests. If something fails, it's up to you to address this in your code.

One step of the QA is currently run post-merge. We submit builds to the Coverity Scan program. Due to limitations of this (free) service, we can submit once a day max. Of course it can happen that after the merge the community will find issues. For both cases we request you to help address the issues as they may come up.

FAQ

Q: Will you accept my PR?

A: That depends on a number of things, including the code quality. With new features it also depends on whether the team and/or the community think the feature is useful, how much it affects other code and features, the risk of performance regressions, etc.

Q: When will my PR be merged?

A: It depends, if it's a major feature or considered a high risk change, it will probably go into the next major version.

Q: Why was my PR closed?

A: As documented in the Suricata Github workflow here https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Github_work_flow, we expect a new pull request for every change.

Normally, the team (or community) will give feedback on a pull request after which it is expected to be replaced by an improved PR. So look at the comments. If you disagree with the comments we can still discuss them in the closed PR.

If the PR was closed without comments it's likely due to QA failure. If the Travis-CI check failed, the PR should be fixed right away. No need for a discussion about it, unless you believe the QA failure is incorrect.

Q: the compiler/code analyser/tool is wrong, what now?

A: To assist in the automation of the QA, we're not accepting warnings or errors to stay. In some cases this could mean that we add a suppression if the tool supports that (e.g. valgrind, DrMemory). Some warnings can be disabled. In some exceptional cases the only 'solution' is to refactor the code to work around a static code checker limitation false positive. While frustrating, we prefer this over leaving warnings in the output. Warnings tend to get ignored and then increase risk of hiding other warnings.

Q: I think your QA test is wrong

A: If you really think it is, we can discuss how to improve it. But don't come to this conclusion too quickly, more often it's the code that turns out to be wrong.

Q: do you require signing of a contributor license agreement?

A: Yes, we do this to keep the ownership of Suricata in one hand: the Open Information Security Foundation. See http://suricata-ids.org/about/open-source/ and http://suricata-ids.org/about/contribution-agreement/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].