Philippe Antoine
90666c7da1
doc/sdp: fix doc to match real keywords names
...
Ticket: 7291
1 year ago
Alice Akaki
341369f203
detect: add email.x_mailer keyword
...
email.x_mailer matches on MIME EMAIL X-Mailer
This keyword maps to the EVE field email.x_mailer
It is a sticky buffer
Supports prefiltering
Ticket: #7598
1 year ago
Alice Akaki
52e12410ed
detect: add email.message_id keyword
...
email.message_id matches on MIME EMAIL Message-Id
This keyword maps to the EVE field email.message_id
It is a sticky buffer
Supports prefiltering
Ticket: #7593
1 year ago
Giuseppe Longo
330241b162
doc: add sdp sticky buffers
1 year ago
Jeff Lucovsky
ed2a81dc05
doc/entropy: Add documentation for the entropy keyword
...
This commits adds documentation for the entropy keyword.
The entropy keyword calculates the Shannon entropy value for content
with the calculated value used to determine whether an alert occurs.
1 year ago
Shivani Bhardwaj
5ba0ccaf4b
doc: remove http cookie ua from list of buffers
...
as they are available via library using the tx
- tx:request_header("Cookie")
- tx:response_header("Cookie")
- tx:request_header("User-Agent")
1 year ago
Philippe Antoine
3a092f3027
detect: allow rule which need both directions to match
...
Ticket: 5665
This is done with `alert ip any any => any any`
The => operator means that we will need both directions
1 year ago
Jason Ish
66eb29affd
doc/ndpi: move ndpi docs to new plugins section
...
Moves the nDPI documentation to an nDPI page in the plugins
section. Remove the duplication of installation and setup
documentation.
Includes some minor cleanups.
1 year ago
Alfredo Cardigliano
dfd9ef5784
ndpi: initial implementation of nDPI plugin
...
Ticket: #7231
1 year ago
Alice Akaki
ce2e7aed74
detect: add email.date keyword
...
email.date matches on MIME EMAIL DATE
This keyword maps to the EVE field email.date
It is a sticky buffer
Supports prefiltering
Ticket: #7591
1 year ago
Victor Julien
8c9dfafc6d
doc/tls: add more detail on tls.random
1 year ago
Philippe Antoine
879a733c12
doc/http2: explicit behavior for some http keywords
...
HTTP/2 does not define a way to carry the version or reason phrase
that is included in an HTTP/1.1 status line.
Ticket: 6548
1 year ago
Alice Akaki
7ba4ebdc2c
detect: add email.cc keyword
...
email.cc matches on MIME EMAIL Carbon Copy
This keyword maps to the EVE field email.cc[]
It is a sticky buffer
Supports prefiltering
Ticket: #7588
1 year ago
Alice Akaki
9e7d23d73f
doc: add keywords to the multi-buffer-matching list
1 year ago
Alice Akaki
5d6a072e35
detect: add email.to keyword
...
email.to matches on MIME EMAIL TO
This keyword maps to the EVE field email.to[]
It is a sticky buffer
Supports prefiltering
Ticket: #7596
1 year ago
Alice Akaki
09db7c7ac1
detect: add mime email.subject keyword
...
email.subject matches on MIME EMAIL SUBJECT
This keyword maps to the EVE field email.subject
It is a sticky buffer
Supports prefiltering
Ticket: #7595
1 year ago
Alice Akaki
90aab0d62f
detect: add email.from
...
email.from matches on MIME EMAIL FROM
This keyword maps to the EVE field email.from
It is a sticky buffer
Supports prefiltering
Ticket: #7592
1 year ago
Philippe Antoine
32d0bd2bbb
detect: limit base64_decode `bytes` to 64KiB
...
Ticket: 7613
Avoids potential large per-thread memory allocation. A buffer with the
size of the largest decode_base64 buffer size setting would be allocated
per thread. As this was a u32, it could mean a per-thread 4GiB memory
allocation.
64KiB was already the built-in default for cases where bytes size wasn't
specified.
1 year ago
Juliana Fajardini
d8523d9d97
userguide/header-keywords: fix typos, adjust format
1 year ago
Juliana Fajardini
28407b2fb8
doc/rule-types: remove trailing underscore
...
And other minor fixes that were overseen.
1 year ago
Jason Ish
814e9ffb7a
dns: add keywords for additionals and authorities rrnames
...
Add keywords dns.additionals.rrname and dns.authorities.rrname. Along
the way, consolidate dns.query.name and dns.answer.name into a single file
and register them altogether since there is a lot of common code.
1 year ago
Jason Ish
a026293b42
dns: rename dns.response keyword to dns.response.rrname
...
This is a better name as the keyword is looking at all rrname type
fields in the response.
1 year ago
Nathan Scrivens
d3953dee8b
doc/userguide: document dns.response
...
Feature: 7012
1 year ago
Alice Akaki
137f7fe652
detect: add ldap.responses.message
...
ldap.responses.message matches on LDAPResult error message
This keyword maps the following eve fields:
ldap.responses[].bind_response.message
ldap.responses[].search_result_done.message
ldap.responses[].modify_response.message
ldap.responses[].add_response.message
ldap.responses[].del_response.message
ldap.responses[].mod_dn_response.message
ldap.responses[].compare_response.message
ldap.responses[].extended_response.message
It is a sticky buffer
Supports prefiltering
Ticket: #7532
1 year ago
Alice Akaki
84605db01d
detect: add ldap.responses.result_code
...
ldap.responses.result_code matches on LDAP result code
This keyword maps the following eve fields:
ldap.responses[].bind_response.result_code
ldap.responses[].search_result_done.result_code
ldap.responses[].modify_response.result_code
ldap.responses[].add_response.result_code
ldap.responses[].del_response.result_code
ldap.responses[].mod_dn_response.result_code
ldap.responses[].compare_response.result_code
ldap.responses[].extended_response.result_code
It is an unsigned 32-bit integer
Doesn't support prefiltering
Ticket: #7532
1 year ago
Alice Akaki
599d33c5bf
ldap: return empty buffer in ldap_tx_get_responses_dn
...
Funciton ldap_tx_get_responses_dn returns empty buffer in case
the response doesn't contain the distinguished name field
Fixes: 73ae6e997f ("detect: add ldap.responses.dn")
1 year ago
Alice Akaki
82ca3e667b
ldap: fix LDAPDN nits
...
Change variable name 'req' to 'resp' in function ldap_tx_get_responses_dn and documentation nits
Fixes:
73ae6e997f ("detect: add ldap.responses.dn")
16dcee46fc ("detect: add ldap.request.dn")
1 year ago
Alice Akaki
73ae6e997f
detect: add ldap.responses.dn
...
ldap.responses.dn matches on LDAPDN from responses operations
This keyword maps the following eve fields:
ldap.responses[].search_result_entry.base_object
ldap.responses[].bind_response.matched_dn
ldap.responses[].search_result_done.matched_dn
ldap.responses[].modify_response.matched_dn
ldap.responses[].add_response.matched_dn
ldap.responses[].del_response.matched_dn
ldap.responses[].mod_dn_response.matched_dn
ldap.responses[].compare_response.matched_dn
ldap.responses[].extended_response.matched_dn
It is a sticky buffer
Supports prefiltering
Ticket: #7471
1 year ago
Alice Akaki
16dcee46fc
detect: add ldap.request.dn
...
ldap.request.dn matches on LDAPDN from request operations
This keyword maps the following eve fields:
ldap.request.bind_request.name
ldap.request.add_request.entry
ldap.request.search_request.base_object
ldap.request.modify_request.object
ldap.request.del_request.dn
ldap.request.mod_dn_request.entry
ldap.request.compare_request.entry
It is a sticky buffer
Supports prefiltering
Ticket: #7471
1 year ago
Alice Akaki
8f807fcfcf
doc: use the ldap protocol in rule examples in the LDAP keywords documentation
1 year ago
Alice Akaki
31ee18b5be
doc: replace 'eve' with 'EVE' in the LDAP keywords documentation
1 year ago
Alice Akaki
73455179d7
detect/integers: add support for negated strings when enum is used
...
function detect_parse_uint_enum can parse strings like !bind_request
Ticket: #7513
2 years ago
Jeff Lucovsky
beec1eac2f
doc/decode-events: new: unknown event description
...
Issue: 7129
Document the unknown ethertype event.
2 years ago
Jeff Lucovsky
e9128e66e6
doc/threshold: Threshold keyword clarifications
...
Issue: 7129
2 years ago
Juliana Fajardini
a2905ae5d4
userguide: explain rule types and categorization
...
Add documentation about the rule types introduced by commit
2696fda041 .
Add doc tags around code definitions that are referenced in the docs.
Task #https://redmine.openinfosecfoundation.org/issues/7031
2 years ago
Jeff Lucovsky
53abe1e5d7
doc: Add ftp.command sticky buffer
...
Issue: 7502
This commit documents the new FTP sticky buffer "ftp.command".
2 years ago
Philippe Antoine
c5f3d33e51
detect/smtp: smtp.rcpt_to keyword
...
Ticket: 7516
It is a sticky buffer mapping to the smtp.rcpt_to[] log field
It is a multi-buffer
2 years ago
Philippe Antoine
32594766b7
detect/smtp: smtp.mail_from keyword
...
Ticket: 7517
It is a sticky buffer mapping to the smtp.mail_from log field
2 years ago
Philippe Antoine
3d3b1ade9d
detect/smtp: smtp.helo keyword
...
Ticket: 7515
It is a sticky buffer mapping to the smtp.helo log field
2 years ago
Alice Akaki
8416289752
detect: add ldap.responses.count
...
ldap.responses.count matches on the number of LDAP responses
This keyword maps to the eve field len(ldap.responses[])
It is an unsigned 32-bit integer
Doesn't support prefiltering
Ticket: #7453
2 years ago
Alice Akaki
da593abd99
detect: add ldap.responses.operation
...
ldap.responses.operation matches on Lightweight Directory Access Protocol response operations
This keyword maps to the eve field ldap.responses[].operation
It is an unsigned 8-bit integer
Doesn't support prefiltering
Ticket: #7453
2 years ago
Alice Akaki
cdb043810f
detect: add ldap.request.operation
...
ldap.request.operation matches on Lightweight Directory Access Protocol request operations
This keyword maps to the eve field ldap.request.operation
It is an unsigned 8-bit integer
Doesn't support prefiltering
Ticket: #7453
2 years ago
Alice Akaki
078c6469a0
detect: add vlan.layers keyword
...
vlan.layers matches on the number of VLAN layers per packet
It is an unsigned 8-bit integer
Valid range = [0-3]
Supports prefiltering
Ticket: #1065
2 years ago
Alice Akaki
b1c2643c87
detect: add vlan.id keyword
...
vlan.id matches on Virtual Local Area Network IDs
It is an unsigned 16-bit integer
Valid range = [0-4095]
Supports prefiltering
Ticket: #1065
2 years ago
Shivani Bhardwaj
ad7ff1c91b
flow/pkts: allow matching on either direction
...
For flow.bytes and flow.pkts keywords, allow matching in either
direction.
Feature 5646
2 years ago
Shivani Bhardwaj
52fd695e5a
doc: update syntax for flow.pkts & flow.bytes
2 years ago
Juliana Fajardini
6e4a501e7c
flowint: add isnotset support
...
Similar keywords use `isnotset`, while `flowint` only accepted `notset`
Opted to change the code, not only the regex, to keep the underlying
code also following the same patterns.
Task #7426
2 years ago
Jason Ish
289ff25f5b
requires: support requires check for keyword
...
For example:
requires: keyword foo;
Will require that Suricata supports the "foo" keyword.
Ticket: #7403
2 years ago
Jason Ish
820a3e51b7
requires: treat unknown requires keywords as unmet requirements
...
For example, "requires: foo bar" is an unknown requirement, however
its not tracked, nor an error as it follows the syntax. Instead,
record these unknown keywords, and fail the requirements check if any
are present.
A future version of Suricata may have new requires keywords, for
example a check for keywords.
Ticket: #7418
2 years ago
Philippe Antoine
4ec90bd227
detect: absent keyword to test absence of sticky buffer
...
Ticket: 2224
It takes an argument to match only if the buffer is absent,
or it can still match if the buffer is present, but we test
the absence of some content.
For multi buffers, absent matches if there are 0 buffers.
For file keywords, absent matches if there is no file.
2 years ago
Juliana Fajardini
1860aa81e6
userguide: fix integer keyword matches list format
...
List wasn't being properly rendered.
2 years ago
Philippe Antoine
e47598110a
detect/datasets: implement unset command
...
Ticket: 7195
Otherwise, Suricata aborted on such a rule
2 years ago
Giuseppe Longo
036b68b0a9
doc: add new sip keywords
2 years ago
jason taylor
f46a8776ec
doc: add note about big endian for icmp_seq match
2 years ago
Philippe Antoine
0ebb84538e
http2: add frames support
...
Ticket: 5743
Why ? To add detection capabilities
2 years ago
Juliana Fajardini
246acc7140
userguide: clarify flow:stateless explanation
...
While not incorrect, the previous wording made the sentence almost
paradoxical. While at it, also highlight a side effect that might not be
so clear to users.
Related to
Bug #6976
2 years ago
Philippe Antoine
62a186ceef
detect/rfb: move keywords to rust
...
Ticket: 7178
On the way, convert rfb.secresult to a generic integer with enumeration
cf ticket 6723
2 years ago
Philippe Antoine
0b2ed97f36
ssh: frames support
...
Ticket: 5734
Adds frames for SSH records, that come after banner, and before
the data is encrypted.
These records may contain cipher lists for instance.
2 years ago
Philippe Antoine
bce8f4b853
detect/ssh: remove deprecated keywords
...
Ticket: 2377
2 years ago
Philippe Antoine
0a1062fad2
detect/mqtt: move keywords to rust
...
Ticket: 4863
On the way, convert some keywords to use the first-class integer
support.
And helpers for pure rust the support for multi-buffer.
Move the C unit tests about keyword mqtt.protocol_version
to unit tests for generic integer parsing, and test version 5
instead of testing twice version 3.
Also iterate all tx's messages for reason code as is done for other
keywords.
And allow detection on empty topics.
2 years ago
Victor Julien
afc318737a
doc/userguide: document threshold backoff type
2 years ago
Victor Julien
e362a01f8d
doc/userguide: document new threshold config options
2 years ago
Victor Julien
405491c3fc
detect/detection_filter: add support for track by_flow
2 years ago
Victor Julien
3f04af7c7f
doc: add thresholding by_flow
2 years ago
Jeff Lucovsky
01e20c91fb
doc/transform: Correct typo
2 years ago
Jeff Lucovsky
d205ff82d0
doc/transform: Describe the from_base64 transform
...
Issue: 6487
Document the new transform and indicate that it's the preferred way to
perform base64 decoding (preferred over base64_decode)
2 years ago
Victor Julien
3d059611c3
detect: add tls.alpn keyword
...
Ticket: #7108 .
2 years ago
Philippe Antoine
ae72376ebe
detect/snmp: move keywords to rust
...
Ticket: 4863
On the way, convert unit test DetectSNMPCommunityTest to a SV test.
And also, make snmp.pdu_type use a generic uint32 for detection,
allowing operators, instead of just equality.
2 years ago
Victor Julien
8b42182fee
doc/userguide: document iprep isset/isnotset
2 years ago
Victor Julien
2f74d435d3
doc/userguide: add more operators to iprep
2 years ago
Victor Julien
50ef646d45
doc/userguide: add noalert/alert keyword docs
2 years ago
Victor Julien
c83e3285ae
doc/userguide: give pcre1 to pcre2 proper heading
2 years ago
Philippe Antoine
82c03f72c3
enip: convert to rust
...
Ticket: 3958
- transactions are now bidirectional
- there is a logger
- gap support is improved with probing for resync
- frames support
- app-layer events
- enip_command keyword accepts now string enumeration as values.
- add enip.status keyword
- add keywords :
enip.product_name, enip.protocol_version, enip.revision,
enip.identity_status, enip.state, enip.serial, enip.product_code,
enip.device_type, enip.vendor_id, enip.capabilities,
enip.cip_attribute, enip.cip_class, enip.cip_instance,
enip.cip_status, enip.cip_extendedstatus
2 years ago
Victor Julien
17b32f98d7
doc/userguide: fix rule container typo
...
Fixes: 8781e9352a ("doc/userguide: add documentation for SMTP frames")
2 years ago
Victor Julien
8781e9352a
doc/userguide: add documentation for SMTP frames
2 years ago
Jason Ish
3eb8c728fd
doc: update lua sandbox docs for allowed packages/functions
2 years ago
Jo Johnson
ba6a976e06
doc: Initial doc for lua sandbox
2 years ago
Jo Johnson
712496bb3f
lua: Remove luajit support
...
lua 5.4 support is not available in luajit
Ticket: #4776
2 years ago
Shivani Bhardwaj
719fda3967
doc: add description about tls.subjectaltname
...
Feature 5234
2 years ago
Philippe Antoine
2c305ba37e
pop3: protocol detection
...
Ticket: #6366
2 years ago
Philippe Antoine
fcdd7f000a
detect: add options to app-layer-protocol keyword
...
Ticket: 4921
app-layer-protocol keyword accept an optional mode to precise
which protocol we want to match: toclient, toserver, final,
or original
2 years ago
Shivani Bhardwaj
6d92596548
doc: add note about fast_pattern w base64_data
...
Bug 5220
2 years ago
jason taylor
abb74245cc
doc: update normalization notes
...
Ticket: #6781
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
5dacf4d92b
doc: add http.connection ref and fix location
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
Victor Julien
fcca5c7514
detect/iprep: update doc about 0 value
...
A value of 0 was already allowed by the rule parser, but didn't
actually work.
Bug: #6834 .
2 years ago
jason taylor
aa919f8081
doc: update flowbits information
...
Ticket: #6991
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
Philippe Antoine
44b6aa5e4b
app-layer: websockets protocol support
...
Ticket: 2695
2 years ago
Sascha Steinbiss
120313f4da
ja4: implement for TLS and QUIC
...
Ticket: OISF#6379
2 years ago
Jeff Lucovsky
7a5a1e2560
doc: Describe noalert keyword
...
Issue: 6685
2 years ago
jason taylor
7de16809ef
doc: update http keyword listing order
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
8b3db3c3b5
doc: update file.name keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
49dba7bb94
doc: update file.data keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
bee3aa9709
doc: update http.response_header keyword
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
dcb548106e
doc: update http.request_header keyword
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
3f5d228b9e
doc: update http.host http.host.raw keyword
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
739dfe5e5e
doc: update http.location keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
9ddd8cf9e0
doc: update http.server keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
3af98f3b92
doc: update http.response_body keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
64760e2e75
doc: update http.response_line keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
566bc0d39c
doc: update http.stat_msg keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
271321249f
doc: update http.stat_code keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
71d8488cb5
doc: update http.request_body keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
c2783e9391
doc: update http.header_names keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
5eadbc2ff0
doc: update http.start keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
7e65554462
doc: update http.referer keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
876dfb99ca
doc: update http.content_len keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
8ff06c1bc0
doc: update http.content_type keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
b2854486dd
doc: update http.connection keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
75436dff9c
doc: update http.accept_lang keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
f6375e487e
doc: update http.accept_enc keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
7e3288f5a7
doc: update http keyword normalization notes
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
9e87d89d2e
doc: update http.accept keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
8307168ae7
doc: update http.user_agent keyword
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
75c4cdfa1c
doc: update http.cookie keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
7a28874c8d
doc: update http.header keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
b3af723486
doc: remove legacy description/duplicated data
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
292b3eb9b3
doc: update http.request_line keyword information
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
c7f351bd6e
doc: update http.protocol keyword documentation
...
Ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
2d0ceedeba
doc: update urilen keyword documentation
...
ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
ef118aa582
doc: remove legacy uricontent information
...
ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
96e8c10276
doc: update http.uri and http.uri.raw keywords
...
ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
bf192926a8
doc: update http.method keyword
...
ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
0cce5ba447
doc: add http keyword links
...
ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
fd46175203
doc: update http primer information
...
ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
jason taylor
54fd35c5b4
doc: remove legacy tables and image references
...
ticket: 3025
Signed-off-by: jason taylor <jtfas90@gmail.com>
2 years ago
Hadiqa Alamdar Bukhari
3aa313d0c5
dns: add dns.rcode keyword
...
dns.rcode matches the rcode header field in DNS messages
It's an unsigned integer
valid ranges = [0-15]
Does not support prefilter
Supports matches in both flow directions
Task #6621
2 years ago
Hadiqa Alamdar Bukhari
4b81851097
dns: add dns.rrtype keyword
...
It matches the rrtype field in DNS
It's an unsigned integer match
valid ranges = [0-65535]
Does not support prefilter
Supports flow in both directions
Feature #6666
2 years ago
Philippe Antoine
e22217bda8
doc: there is no right shift for integer bitmasks
...
Ticket: 6628
2 years ago
Philippe Antoine
f6e1a20215
detect: dns.opcode as first-class integer
...
Ticket: 5446
That means it can accept ranges
3 years ago
Juliana Fajardini
244a35d539
userguide: fix explanation about bsize ranges
...
Our code handles Uint ranges as exclusive, but for bsize, our
documentation stated that they're inclusive.
Cf. from uint.rs:
DetectUintMode::DetectUintModeRange => {
if val > x.arg1 && val < x.arg2 {
return true;
}
}
Task #6708
3 years ago
Philippe Antoine
b8bc2c7e0f
doc: integer keywords
...
Ticket: 6628
Document the generic detection capabilities for integer keywords.
and make every integer keyword pointing to this section.
3 years ago
Jason Ish
8bf8131c31
doc: note what version "requires" was added in
3 years ago
jason taylor
3cb7112aa5
detect: update smb.version keyword
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
Eloy Pérez González
a4901a1f70
smb: add smb.keyword documentation
3 years ago
Lukas Sismis
6e4cc79b39
doc: remove references to prehistoric versions
...
Remove references that are mentioning Suricata 3 or less
As a note - only one Suricata 4 reference found:
(suricata-yaml.rst:"In 4.1.x")
Fast pattern selection criteria can be internally found by inspecting
SupportFastPatternForSigMatchList and SigTableSetup functions.
Ticket: #6570
3 years ago
Philippe Antoine
adf5e6da7b
detect: strip_pseudo_headers transform
...
Ticket: 6546
3 years ago
Philippe Antoine
4933b817aa
doc: fix byte_test examples
...
As this keyword has 4 mandatory arguments, and some examples
had only three...
Ticket: 6629
3 years ago
Jason Ish
5d5b0509a5
requires: add requires keyword
...
Add a new rule keyword "requires" that allows a rule to require specific
Suricata versions and/or Suricata features to be enabled.
Example:
requires: feature geoip, version >= 7.0.0, version < 8;
requires: version >= 7.0.3 < 8
requires: version >= 7.0.3 < 8 | >= 8.0.3
Feature: #5972
Co-authored-by: Philippe Antoine <pantoine@oisf.net>
3 years ago
Jason Ish
c1a8dbcb72
doc/userguide: document dns.query.name, dns.answer.name
...
With some other minor cleanups in the DNS keyword section.
3 years ago
Shivani Bhardwaj
b9540df5ad
doc: clarify IP-only with iprep
3 years ago
jason taylor
fc81c99b58
doc: add file.name information to smtp keyword doc
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
jason taylor
9d1ad0187e
doc: add file.name information to nfs keyword doc
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
jason taylor
327ba7397a
doc: add file.name information to smb keyword doc
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
jason taylor
e4077b8803
doc: update ftp keyword doc example rule format
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
jason taylor
bb1f7575d3
doc: add file.name information to ftp keyword doc
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
jason taylor
bbc17b1c7d
doc: add file.name information to http keyword doc
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
Philippe Antoine
32cce122e1
detect: header_lowercase transform
...
Ticket: 6290
3 years ago
jason taylor
c50002978d
doc: update file.data keyword documentation
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
Sascha Steinbiss
0c55fe3515
detect: add mqtt.connect.protocolstring
...
Ticket: OISF#6396
3 years ago
Victor Julien
6b2c33990f
doc/userguide: add tag keyword page
...
Ticket: #3015 .
3 years ago
Jeff Lucovsky
9ee55d2394
doc/transform: Document case-changing transforms.
...
Issue: 6439
3 years ago
Philippe Antoine
ab9b6e30b1
detect: adds flow integer keywords
...
Ticket: #6164
flow.pkts_toclient
flow.pkts_toserver
flow.bytes_toclient
flow.bytes_toserver
3 years ago
jason taylor
535938d7f6
doc: add tls.cert_chain_len docs
...
Ticket: #6386
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
Travis Green
96a0e7016f
doc: add tcp flags documentation
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
jason taylor
be324d7856
doc: update file.magic information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
jason taylor
008cc78a03
doc: update fileext keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
jason taylor
e99b1787a2
doc: update file.name keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
Andreas Herz
da68692547
doc: dataset - add type to be mandatory
3 years ago
jason taylor
c95fce39f0
doc: add multi buffer support note to keyword docs
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
jason taylor
88960e909d
doc: add multiple buffer matching documentation
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
3 years ago
Jeff Lucovsky
47e268d609
detect/byte_math: Document bytes variable name
...
Issue: 6145
Document that byte_math accepts a variable name for bytes (optional)
3 years ago
Jeff Lucovsky
3a4554fc2b
detect/byte-jump: Document var usage for nbytes
...
Issue: 6105
3 years ago
Jeff Lucovsky
73b943276e
doc/byte_test: Document byte_test variable usage
...
Issue: 6144
This commit updates the byte_test documentation now that a variable name
can be used for the nbytes value.
3 years ago
Shivani Bhardwaj
b6f8f5eb3b
doc/http: use "sticky buffer" where applicable
3 years ago
Jason Ish
14daa42e0b
doc/userguide: dataset upgrade notes
3 years ago
Jason Ish
4a97461f9a
doc/userguide: notes about Lua rules being disabled by default
3 years ago
Philippe Antoine
415b036dca
http1: implement http.request_header
...
So that it is generic for HTTP1 and HTTP2
Ticket: #5780
3 years ago
Philippe Antoine
7256ec8a6e
detect/http2: do not escape ':' in header name or value
...
for keywords http.request_header and http.response_header
Ticket: #5780
3 years ago
Philippe Antoine
656554f293
http2: rename http2.header to http.request_header
...
Or http.response_header based on the direction
http2.header had a different behavior than http.header and this was
confusing.
Ticket: #5780
3 years ago
Eloy Pérez González
b3c7130749
krb5: update krb5_msg_type keyword docs
3 years ago
Victor Julien
0903536fd6
doc: spelling
...
Thanks to Josh Soref.
3 years ago
Philippe Antoine
9bd2b72e2b
doc: explain where tls.store stores certificates
...
By adding a reference/link to the doc about the suricata.yaml
config section pecifying the directory where the certificates
are stored
3 years ago
Victor Julien
c0d9b3c078
doc/userguide: spelling
3 years ago
Andreas Herz
3045e75ee1
doc: add note on the hashsize recommendation for datasets
3 years ago
Philippe Antoine
59734d16a1
detect: use http.connection to client
...
Ticket: #5746
3 years ago
Philippe Antoine
6bc7f02e13
doc: rules can have http1 as protocol
...
Ticket: #5962
3 years ago
Jeff Lucovsky
fd46c93a8f
doc/byte_math: Add divide by 0 discussion.
...
Issue: 5945
3 years ago
Jeff Lucovsky
35bbdf4124
doc/content: Add limits for distance/within
...
Ticket: 5740
3 years ago
Shivani Bhardwaj
0f3e7761da
doc: add dataset examples
3 years ago
Haleema Khan
609df1776e
userguide: update tls keywords information
...
Ticket #5544
4 years ago
jason taylor
0632233791
userguide: update http.cookie description
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
Jeff Lucovsky
197ad51138
doc: Update bsize documentation
...
This commit updates the bsize documentation
1. Describe what happens when "content" immediately precedes "bsize"
2. Include the operators and
3. Include examples using the operators.
4 years ago
jason taylor
9dc8fffe05
userguide: update tos keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
jason taylor
1d9b91a987
userguide: update fragoffset keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
jason taylor
7c73144988
userguide: update fragbits information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
jason taylor
4be9793e36
userguide: update geoip information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
jason taylor
e8eba6e4a1
userguide: update id keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
jason taylor
cfd0da133e
userguide: update ipv6.hdr keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
jason taylor
150a04b597
userguide: update ipv4.hdr keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
jason taylor
298f59c2ba
userguide: update ip_proto keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
jason taylor
6226492976
userguide: update sameip keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
jason taylor
f97ba44339
userguide: update ipopts keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
jason taylor
9b4e6e5802
userguide: update ttl keyword information
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
4 years ago
Philippe Antoine
ce710181f6
doc: update doc for HTTP file.data to server
...
Ticket: #4144
Completes e587f6792a
4 years ago
Aaron Bungay
d166c48d28
docs: update for bittorrent-dht app-layer
4 years ago
Eric Leblond
9fb0137d9d
doc: add reference to ipaddr in IP matching
4 years ago
Eric Leblond
3bd48d9336
detect: doc link for ip.src and ip.dst
4 years ago
Eric Leblond
da8b16eaeb
doc: add ip.dst and ip.src doc
4 years ago
Eric Leblond
3599cbf1c4
doc: document new dataset types
...
Feature: #5383
4 years ago
Eric Leblond
a1a22cccd2
doc: document dataset-lookup
...
Ticket: #5184
4 years ago