mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
717 B
ReStructuredText
29 lines
717 B
ReStructuredText
Bypass Keyword
|
|
==============
|
|
|
|
.. role:: example-rule-emphasis
|
|
|
|
Suricata has a ``bypass`` keyword that can be used in signatures to exclude
|
|
traffic from further evaluation.
|
|
|
|
The ``bypass`` keyword is useful in cases where there is a large flow expected
|
|
(e.g. Netflix, Spotify, YouTube).
|
|
|
|
The ``bypass`` keyword is considered a post-match keyword.
|
|
|
|
.. note::
|
|
|
|
``bypass`` cannot be used in firewall mode, not even with Threat Detection
|
|
rules, as this could lead to bypassing the firewall altogether.
|
|
|
|
bypass
|
|
------
|
|
|
|
Bypass a flow on matching http traffic.
|
|
|
|
.. container:: example-rule
|
|
|
|
alert http any any -> any any (http.host; \
|
|
content:"suricata.io"; :example-rule-emphasis:`bypass;` \
|
|
sid:10001; rev:1;)
|