mirror of https://github.com/OISF/suricata
parent
980cceed4d
commit
e5fd47dcfd
@ -0,0 +1,7 @@
|
|||||||
|
Contributing
|
||||||
|
============
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 2
|
||||||
|
|
||||||
|
code-submission-process
|
@ -0,0 +1,31 @@
|
|||||||
|
Fuzz Testing
|
||||||
|
============
|
||||||
|
|
||||||
|
To enable fuzz targets compilation, add `--enable-fuzztargets` to configure.
|
||||||
|
|
||||||
|
.. note:: This changes various parts of Suricata making the `suricata` binary
|
||||||
|
unsafe for production use.
|
||||||
|
|
||||||
|
The targets can be used with libFuzzer, AFL and other fuzz platforms.
|
||||||
|
|
||||||
|
|
||||||
|
Running the Fuzzers
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
TODO. For now see src/tests/fuzz/README
|
||||||
|
|
||||||
|
Reproducing issues
|
||||||
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
Extending Coverage
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Adding Fuzz Targets
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
|
||||||
|
Oss-Fuzz
|
||||||
|
--------
|
||||||
|
|
||||||
|
Suricata is continuesly fuzz tested in Oss-Fuzz. See https://github.com/google/oss-fuzz/tree/master/projects/suricata
|
@ -0,0 +1,10 @@
|
|||||||
|
Working with the Codebase
|
||||||
|
=========================
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 2
|
||||||
|
|
||||||
|
contributing/index.rst
|
||||||
|
code-style
|
||||||
|
unittests
|
||||||
|
fuzz-testing
|
@ -0,0 +1,12 @@
|
|||||||
|
Unittests
|
||||||
|
=========
|
||||||
|
|
||||||
|
Unittests are a great way to create tests that can check the internal state
|
||||||
|
of parsers, structures and other objects.
|
||||||
|
|
||||||
|
Tests should:
|
||||||
|
|
||||||
|
- use FAIL/PASS macros
|
||||||
|
- be deterministic
|
||||||
|
- not leak memory on PASS
|
||||||
|
- not use conditions
|
@ -0,0 +1,2 @@
|
|||||||
|
Packet Capture
|
||||||
|
==============
|
@ -0,0 +1,2 @@
|
|||||||
|
Packet Decoder
|
||||||
|
==============
|
@ -0,0 +1,2 @@
|
|||||||
|
Detection
|
||||||
|
=========
|
@ -0,0 +1,11 @@
|
|||||||
|
Extending Suricata
|
||||||
|
==================
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 2
|
||||||
|
|
||||||
|
capture/index.rst
|
||||||
|
decoder/index.rst
|
||||||
|
app-layer/index.rst
|
||||||
|
detect/index.rst
|
||||||
|
output/index.rst
|
@ -0,0 +1,7 @@
|
|||||||
|
Output
|
||||||
|
======
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
------------
|
||||||
|
|
||||||
|
Extending Suricata's alert and event output.
|
@ -0,0 +1,9 @@
|
|||||||
|
Important Data Structures
|
||||||
|
=========================
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
------------
|
||||||
|
|
||||||
|
This section explains the most important Suricata Data structures.
|
||||||
|
|
||||||
|
For a complete overview, see the doxygen: https://doxygen.openinfosecfoundation.org
|
@ -0,0 +1,11 @@
|
|||||||
|
Engines
|
||||||
|
=======
|
||||||
|
|
||||||
|
Flow
|
||||||
|
----
|
||||||
|
|
||||||
|
Stream
|
||||||
|
------
|
||||||
|
|
||||||
|
Defrag
|
||||||
|
------
|
@ -0,0 +1,10 @@
|
|||||||
|
Suricata Internals
|
||||||
|
==================
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 2
|
||||||
|
|
||||||
|
pipeline/index.rst
|
||||||
|
threading/index.rst
|
||||||
|
datastructs/index.rst
|
||||||
|
engines/index.rst
|
@ -0,0 +1,2 @@
|
|||||||
|
Packet Pipeline
|
||||||
|
===============
|
@ -0,0 +1,2 @@
|
|||||||
|
Threading
|
||||||
|
=========
|
Loading…
Reference in New Issue