Zach Kelly
ef397daba3
rdp: rustfmt (update)
5 years ago
Joshua Lumb
f7c4600482
threads/runmode: Changes to thread config behaviour
5 years ago
Shivani Bhardwaj
0ae63e85ed
gh-checks: Add enable-debug-validation to test
5 years ago
Shivani Bhardwaj
68bf7d998a
travis: add test for enable-debug-validation
5 years ago
Shivani Bhardwaj
35362b7bfa
jsonbuilder: run test if not debug-validate
5 years ago
Shivani Bhardwaj
333a785efd
sip: remove extra jsonbuilder close
5 years ago
Shivani Bhardwaj
2ce7d98af1
dcerpc: fix tests to have a valid header
5 years ago
Shivani Bhardwaj
9f9670ebdc
logging: Add DCERPC logger
5 years ago
Shivani Bhardwaj
bab497ab2c
dcerpc: Add multi transaction support
...
DCERPC parser so far provided support for single transactions only.
Extend that to support multiple transactions.
In order for multiple transactions to work, there is always a
transaction identifier for any protocol in its header that lets a
response match the request. In DCERPC, for TCP, that param is call_id in
the header which is a 32 bit field. For UDP, however since it uses
different version of RPC (4.x), this is defined by serial number field
defined in the header. This field however is not contiguous and needs to
be assembled by the provided serial_low and serial_hi fields.
5 years ago
Victor Julien
9831839388
detect/mpm: fix hs check
5 years ago
Tristan Fletcher
6cbb4d4909
doc: fix spelling in flowbits image
5 years ago
Roland Fischer
9f1efa3c10
pcap: 32bit counters can wrap-around
...
Fixes issue 2845.
pcap_stats is based on 32bit counters and given a big enough throughput
will overflow them. This was reported by people using Myricom cards which
should only be a happenstance. The problem exists for all pcap-based
interfaces.
Let's use internal 64bit counters that drag along the pcap_stats and
handle pcap_stats wrap-around as we update the 64bit stats "often enough"
before the pcap_stats can wrap around twice.
5 years ago
Shivani Bhardwaj
67e7be633c
krb: convert to jsonbuilder
...
Closes redmine ticket 3754.
5 years ago
Shivani Bhardwaj
72dab0a8b7
snmp: convert to jsonbuilder
...
Closes redmine ticket 3756.
5 years ago
Jason Ish
5d0d630237
github-ci: build rust doc on stable and 1.34.2
...
Nothing is done with the rustdoc, its just build to make
sure it builds with our supported versions of Rust
5 years ago
Jason Ish
7ca24041b6
rust: add doc target to build rust docs
...
Uses "cargo doc --no-deps" to build the documentation just for
our Suricata package. Without --no-deps, documentation will be
build for all our dependencies as well.
The generated documentation will end up in target/doc as HTML.
5 years ago
Jason Ish
abc71dc4a5
applayer template (rust): better gap handling example
...
In the request parser, show checking if a gap was received
and what one example of trying to continue might look like.
5 years ago
Jason Ish
b91bb92b7d
applayer template (rust): incomplete support
...
Show how to use the incomplete AppLayerResult type within the
limits of what the template protocol parser can provide.
Redmine issue:
https://redmine.openinfosecfoundation.org/issues/3541
5 years ago
Jason Ish
3f615f751b
rust app-layer template: add stubs for gap handling
5 years ago
Jason Ish
d60671d855
rust/dns: use new flags field to set parser option flags
5 years ago
Jason Ish
53aa967e0b
applayer: add flags to parser registration struct
...
This will allow Rust parsers to register for gap handing from
Rust (some Rust parsers do handle gaps, but they set the flag
from C).
5 years ago
Jason Ish
7476399f43
template: add gap handling
5 years ago
Victor Julien
e04d48c8c8
doc/userguide: fix outdated mpm info
5 years ago
Victor Julien
4726d7027c
detect/mpm: 'mpm-algo' parsing cleanups
5 years ago
Victor Julien
f2a3d6d834
flow: fix unlikely issue with int handling
...
Thanks for reporting this magenbluten PR 4575.
5 years ago
Victor Julien
04d88e7012
doc/suricata-update: fix typo and do minor cleanups
...
Thanks to showipintbri PR 4465.
5 years ago
Zackeus Bengtsson
6887a2ab35
buildbot-pcaps: remove redundant sudo
5 years ago
jason taylor
89839e3c27
suricatasc: updates copyright date and FSF address
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
5 years ago
jason taylor
7be7f06ac6
suricatasc: update copyright date and FSF address
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
5 years ago
jason taylor
143f08fa7a
prscript: update copyright dates and FSF address
...
Signed-off-by: jason taylor <jtfas90@gmail.com>
5 years ago
Victor Julien
fa2b46cdc3
detect/stream_size: minor code cleanups
5 years ago
Jason Ish
9d9a901b68
dns: conditional logging
...
Apply config to newly created response TX.
5 years ago
Victor Julien
ac3cf6ff75
detect/config: set config for special cases
...
Allow app-layer to declare the txs are uni-directional and special
care is needed for applying config.
5 years ago
Victor Julien
2145cf99a3
detect/config: initial version
5 years ago
Victor Julien
a2f249cc86
app-layer: handle AppLayerTxData being NULL
...
Http parser can have 'NULL' user data in case of memcap limit getting
reached.
5 years ago
Victor Julien
5dd4d948d9
app-layer: remove unused detect flags API
5 years ago
Victor Julien
c94a5e6392
app-layer/rust: don't use option for GetTxDataFn anymore
5 years ago
Victor Julien
f88657206c
app-layer: GetTxData callback is mandatory
5 years ago
Victor Julien
8fe9faecb2
app-layer: remove DetectFlags API. Replaced by AppLayerTxData
5 years ago
Victor Julien
88dd0abb38
rdp: support AppLayerTxData
5 years ago
Victor Julien
9664f73f75
app-layer: remove logged API calls
5 years ago
Victor Julien
455eab370e
template: support AppLayerTxData
5 years ago
Victor Julien
e0debed0b4
tftp: support AppLayerTxData
5 years ago
Victor Julien
4ff51a0e07
sip: support AppLayerTxData
5 years ago
Victor Julien
cc1210c956
ntp: support AppLayerTxData
5 years ago
Victor Julien
e0f75157a0
ikev2: support AppLayerTxData
5 years ago
Victor Julien
64e2a27512
applayer/template: support AppLayerTxData
5 years ago
Victor Julien
a484bbbe1b
dhcp: support AppLayerTxData
5 years ago
Victor Julien
11e2434526
snmp: support AppLayerTxData
5 years ago
Victor Julien
5afe4835ad
rfb: support AppLayerTxData
5 years ago