]> git.ipfire.org Git - thirdparty/suricata.git/log
thirdparty/suricata.git
5 years agossl: minor cleanups 4236/head
Victor Julien [Fri, 6 Sep 2019 13:02:05 +0000 (15:02 +0200)] 
ssl: minor cleanups

5 years agodoc/userguide: add quickstart to dist
Victor Julien [Mon, 23 Sep 2019 12:30:10 +0000 (14:30 +0200)] 
doc/userguide: add quickstart to dist

5 years agotls-log: restructure code for writing to buffer
Mats Klepsland [Sun, 22 Sep 2019 16:28:32 +0000 (18:28 +0200)] 
tls-log: restructure code for writing to buffer

Restructure code to make it clearer that either 'basic', 'extended'
or 'custom' is being printed, by creating one function for each of
the possibilities.

5 years agotls-log: quick code cleanup
Mats Klepsland [Sun, 22 Sep 2019 16:02:17 +0000 (18:02 +0200)] 
tls-log: quick code cleanup

5 years agotls-log: remove a wrongful comment
Mats Klepsland [Sun, 22 Sep 2019 15:34:40 +0000 (17:34 +0200)] 
tls-log: remove a wrongful comment

The app-layer parser for TLS has been TX aware for quite some time.
Remove a comment that is stating that it is not.

5 years agotls-log: fix so buffer is reset on custom logging
Mats Klepsland [Thu, 19 Sep 2019 21:10:48 +0000 (23:10 +0200)] 
tls-log: fix so buffer is reset on custom logging

Move MemBufferReset() so it also works when using custom tls
logging. This avoids duplicate tls log entries.

Bug #3177

5 years agohttp: sets compression bomb limit
Philippe Antoine [Thu, 19 Sep 2019 14:24:31 +0000 (16:24 +0200)] 
http: sets compression bomb limit

5 years agohttp: disable lzma decompression from configuration
Philippe Antoine [Thu, 19 Sep 2019 14:54:44 +0000 (16:54 +0200)] 
http: disable lzma decompression from configuration

5 years agolzma: replaces liblzma with own sdk for swf decompression
Philippe Antoine [Fri, 13 Sep 2019 15:24:26 +0000 (17:24 +0200)] 
lzma: replaces liblzma with own sdk for swf decompression

so as to avoid memory exhaustion

5 years agoAvoid to shutdown NSS if it is not initialized
Yujie Zhao [Tue, 17 Sep 2019 12:47:18 +0000 (12:47 +0000)] 
Avoid to shutdown NSS if it is not initialized

5 years agomain: enable coredumps after privileges are dropped 4225/head
Jason Ish [Wed, 18 Sep 2019 21:41:53 +0000 (15:41 -0600)] 
main: enable coredumps after privileges are dropped

On Linux, by default, coredumps are disabled after
privileges are dropped. This re-enables coredumps
after privileges are dropped.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/1271

Credit to Elazar Broad for the pull request:
https://github.com/OISF/suricata/pull/3362

5 years agorust/ftp: add parser for active mode port handling
Jeff Lucovsky [Wed, 28 Aug 2019 22:55:00 +0000 (18:55 -0400)] 
rust/ftp: add parser for active mode port handling

5 years agoftp: Use rust parsers to parse dynamic ports
Jeff Lucovsky [Wed, 28 Aug 2019 22:54:14 +0000 (18:54 -0400)] 
ftp: Use rust parsers to parse dynamic ports

5 years agoHTTP new parser warning for Ambiguous C-L
Philippe Antoine [Mon, 4 Mar 2019 12:25:46 +0000 (13:25 +0100)] 
HTTP new parser warning for Ambiguous C-L

5 years agodetect: Make keyword description consistent 4216/head
Shivani Bhardwaj [Thu, 19 Sep 2019 08:06:16 +0000 (13:36 +0530)] 
detect: Make keyword description consistent

Closes redmine ticket #3137.

5 years agosmtp: fix file_data inspection 4211/head
Victor Julien [Tue, 17 Sep 2019 13:01:45 +0000 (15:01 +0200)] 
smtp: fix file_data inspection

Continue tracking data if API is used with detect. Detection engine
then manages the tracking.

Bug #2395.

5 years agosip: disable output by default 4210/head
Victor Julien [Tue, 17 Sep 2019 08:42:55 +0000 (10:42 +0200)] 
sip: disable output by default

5 years agosip: rustfmt
Jason Ish [Mon, 16 Sep 2019 23:11:37 +0000 (17:11 -0600)] 
sip: rustfmt

As this is new Rust code, format with rustfmt using default
styling.

5 years agosip: disable by default in 5.0
Jason Ish [Mon, 16 Sep 2019 22:56:02 +0000 (16:56 -0600)] 
sip: disable by default in 5.0

5 years agosip rust fixup: remove unused import in tests
Jason Ish [Mon, 16 Sep 2019 22:50:15 +0000 (16:50 -0600)] 
sip rust fixup: remove unused import in tests

5 years agosip fixup: _Bool -> bool
Jason Ish [Mon, 16 Sep 2019 22:48:47 +0000 (16:48 -0600)] 
sip fixup: _Bool -> bool

5 years agodoc: add SIP keywords
Giuseppe Longo [Wed, 10 Jul 2019 20:05:30 +0000 (22:05 +0200)] 
doc: add SIP keywords

5 years agodetect/sip.response_line: add sticky buffer
Giuseppe Longo [Sun, 3 Mar 2019 20:52:25 +0000 (21:52 +0100)] 
detect/sip.response_line: add sticky buffer

Matches on response line field in SIP.

5 years agodetect/sip.request_line: add sticky buffer
Giuseppe Longo [Sun, 3 Mar 2019 20:37:30 +0000 (21:37 +0100)] 
detect/sip.request_line: add sticky buffer

Matches on request line field in SIP.

5 years agodetect/sip.stat_msg: add sticky buffer
Giuseppe Longo [Sat, 2 Mar 2019 20:45:07 +0000 (21:45 +0100)] 
detect/sip.stat_msg: add sticky buffer

Matches on status msg field in SIP.

5 years agodetect/sip.stat_code: add sticky buffer
Giuseppe Longo [Sat, 2 Mar 2019 20:23:19 +0000 (21:23 +0100)] 
detect/sip.stat_code: add sticky buffer

Matches on status code field in SIP.

5 years agodetect/sip.protocol: add sticky buffer
Giuseppe Longo [Fri, 1 Mar 2019 20:27:23 +0000 (21:27 +0100)] 
detect/sip.protocol: add sticky buffer

Matches on protocol field in SIP.

5 years agodetect/sip.uri: add sticky buffer
Giuseppe Longo [Thu, 28 Feb 2019 06:29:25 +0000 (07:29 +0100)] 
detect/sip.uri: add sticky buffer

Matches on uri field in SIP.

5 years agodetect/sip.method: add sticky buffer
Giuseppe Longo [Tue, 19 Feb 2019 20:11:31 +0000 (21:11 +0100)] 
detect/sip.method: add sticky buffer

Matches on uri field in SIP.

5 years agooutput/json-alert: add sip metadata
Giuseppe Longo [Sun, 24 Feb 2019 18:16:09 +0000 (19:16 +0100)] 
output/json-alert: add sip metadata

Put SIP information to alert event.

5 years agorust/sip: add SIP logger
Giuseppe Longo [Sun, 17 Feb 2019 17:06:17 +0000 (18:06 +0100)] 
rust/sip: add SIP logger

5 years agorust/sip: add parser for SIP protocol
Giuseppe Longo [Sat, 9 Feb 2019 08:02:11 +0000 (09:02 +0100)] 
rust/sip: add parser for SIP protocol

5 years agodetect/dns.opcode: improve error reporting
Victor Julien [Tue, 17 Sep 2019 08:41:59 +0000 (10:41 +0200)] 
detect/dns.opcode: improve error reporting

5 years agodoc: document dns.opcode keyword 4206/head
Jason Ish [Mon, 16 Sep 2019 20:46:15 +0000 (14:46 -0600)] 
doc: document dns.opcode keyword

5 years agodoc: Replace dns_query with dns.query.
Jason Ish [Mon, 16 Sep 2019 20:39:42 +0000 (14:39 -0600)] 
doc: Replace dns_query with dns.query.

5 years agodns/detect: dns.opcode keyword
Jason Ish [Mon, 16 Sep 2019 05:43:14 +0000 (23:43 -0600)] 
dns/detect: dns.opcode keyword

Add a rule keyword, dns.opcode to match on the opcode flag
found in the DNS request and response headers.

Only exact matches are allowed with negation.

Examples:
  - dns.opcode:4;
  - dns.opcode:!1;

5 years agohtp: simplify depth check 4204/head
Victor Julien [Mon, 16 Sep 2019 10:44:42 +0000 (12:44 +0200)] 
htp: simplify depth check

5 years agodoc: update file-extraction section
Giuseppe Longo [Mon, 28 Jan 2019 20:39:07 +0000 (21:39 +0100)] 
doc: update file-extraction section

5 years agoapp-layer-htp: use stream depth with filestore
Giuseppe Longo [Mon, 28 Jan 2019 15:15:22 +0000 (16:15 +0100)] 
app-layer-htp: use stream depth with filestore

This permits to use stream-depth value set for file-store.

Currently if a file is being stored and hits a limit,
such as request or response body, it will be truncated
although file-store.stream-depth is enabled but the file should be
closed and not truncated.

Two unit tests have been added to verify that:
- a file is stored correctly
- chunk's length computation doesn’t cause an underflow

5 years agoapp-layer-parser: flag a tx to use stream depth
Giuseppe Longo [Thu, 24 Jan 2019 22:22:11 +0000 (23:22 +0100)] 
app-layer-parser: flag a tx to use stream depth

This adds a new API that permit to set the stream-depth
file for file-storing when a rule with filestore keyword is matched.

5 years agodetect: Add missing keyword URLs and description 4203/head
Shivani Bhardwaj [Mon, 1 Jul 2019 10:58:04 +0000 (16:28 +0530)] 
detect: Add missing keyword URLs and description

Add missing keyword URLs and their description. Fix the ones that
were incorrect.

Partially closes redmine ticket #2974.

5 years agoclassification: add command-and-control classtype
Jack Mott [Mon, 19 Aug 2019 19:36:30 +0000 (13:36 -0600)] 
classification: add command-and-control classtype

Added new classtype 'command-and-control' to be used with more
general TROJAN/MALWARE categories to designate traffic between
infected machine and c2 server.

5 years agodoc: fix whitespace
Travis Green [Thu, 12 Sep 2019 16:27:53 +0000 (09:27 -0700)] 
doc: fix whitespace

5 years agodoc: add to sigmatch_table
Travis Green [Thu, 12 Sep 2019 16:24:51 +0000 (09:24 -0700)] 
doc: add to sigmatch_table

5 years agodetect: syntax regex logic update
Travis Green [Fri, 9 Aug 2019 21:56:52 +0000 (15:56 -0600)] 
detect: syntax regex logic update

Updated regex logic to include more spaces. Fixed spelling.

5 years agoconfig/anomaly: use enabled key word; cleanups
Jason Ish [Thu, 12 Sep 2019 22:44:57 +0000 (16:44 -0600)] 
config/anomaly: use enabled key word; cleanups

The anomaly section was commented out, but the types sub object
was not, which then attached the types keyword to the previous
object.

Instead keep "anomaly" enabled in the yaml (not commented out)
and use the "enabled: no" to have it disabled by default.

Additonally reformat the comments to be better viewed in 80
columns.

5 years agooutput-lua: register app-layer parser logger for SSH
Mats Klepsland [Fri, 13 Sep 2019 21:49:11 +0000 (23:49 +0200)] 
output-lua: register app-layer parser logger for SSH

Bug #3162

5 years agooutput-lua: register app-layer parser logger for TLS
Mats Klepsland [Fri, 13 Sep 2019 21:46:36 +0000 (23:46 +0200)] 
output-lua: register app-layer parser logger for TLS

Bug #3162

5 years agohtp/lzma: set limit from configuration 4201/head
Jason Ish [Thu, 12 Sep 2019 20:53:07 +0000 (14:53 -0600)] 
htp/lzma: set limit from configuration

Also use a default defined in Suricata, not libhtp.

5 years agohtp: set lzma memlimit from config
Victor Julien [Tue, 10 Sep 2019 11:06:28 +0000 (13:06 +0200)] 
htp: set lzma memlimit from config

5 years agodoc/dotprefix: fix example rules
Victor Julien [Thu, 12 Sep 2019 15:31:39 +0000 (17:31 +0200)] 
doc/dotprefix: fix example rules

5 years agodetect/transform: add dotprefix keyword to doc
Jeff Lucovsky [Sun, 14 Jul 2019 18:28:14 +0000 (14:28 -0400)] 
detect/transform: add dotprefix keyword to doc

5 years agodetect/transform: add dotprefix keyword
Jeff Lucovsky [Sun, 14 Jul 2019 18:16:23 +0000 (14:16 -0400)] 
detect/transform: add dotprefix keyword

5 years agodoc/eve.anomaly: fix indent and general formatting
Victor Julien [Thu, 12 Sep 2019 14:42:31 +0000 (16:42 +0200)] 
doc/eve.anomaly: fix indent and general formatting

5 years agologging/anomaly: Add warning code for anomaly log 4193/head
Jeff Lucovsky [Sat, 31 Aug 2019 18:23:11 +0000 (14:23 -0400)] 
logging/anomaly: Add warning code for anomaly log

5 years agodoc: Simplified anomaly configuration settings
Jeff Lucovsky [Tue, 13 Aug 2019 00:01:34 +0000 (20:01 -0400)] 
doc: Simplified anomaly configuration settings

5 years agologging/anomaly: Support configuration filter types
Jeff Lucovsky [Sun, 7 Jul 2019 23:31:23 +0000 (19:31 -0400)] 
logging/anomaly: Support configuration filter types

5 years agodoc: change eBPF directory path 4188/head
Eric Leblond [Tue, 10 Sep 2019 09:42:43 +0000 (11:42 +0200)] 
doc: change eBPF directory path

5 years agorust/conf: don't print failed conf lookups at info level
Victor Julien [Tue, 10 Sep 2019 11:18:20 +0000 (13:18 +0200)] 
rust/conf: don't print failed conf lookups at info level

5 years agordp: disable eve.rdp by default
Victor Julien [Tue, 10 Sep 2019 11:17:40 +0000 (13:17 +0200)] 
rdp: disable eve.rdp by default

5 years agordp: disable rdp by default for 5.0
Jason Ish [Mon, 9 Sep 2019 19:30:07 +0000 (13:30 -0600)] 
rdp: disable rdp by default for 5.0

5 years agordp: address comments in pull request
Jason Ish [Mon, 9 Sep 2019 17:32:28 +0000 (11:32 -0600)] 
rdp: address comments in pull request

Pull request:
https://github.com/OISF/suricata/pull/4174

- fix commit: range -> set
- OUTPUT_BUFFER_SIZE -> JSON_OUTPUT_BUFFER_SIZE
- output: check for initdata first

5 years agoprotocol parser: rdp
Zach Kelly [Thu, 5 Sep 2019 17:46:14 +0000 (13:46 -0400)] 
protocol parser: rdp

Initial implementation of feature 2314:
1. Add protocol parser for RDP
2. Add transactions for RDP negotiation
3. Add eve logging of transactions

5 years agocounters: Add new default for decoder events
Shivani Bhardwaj [Fri, 30 Aug 2019 16:16:44 +0000 (21:46 +0530)] 
counters: Add new default for decoder events

Set the new default for decoder events to `decoder.event` instead of the
previously used `decoder`. Remove the corresponding warning for 5.0.

5 years agodoc: add quickstart guide
Andreas Herz [Sat, 31 Aug 2019 22:39:04 +0000 (00:39 +0200)] 
doc: add quickstart guide

5 years agoips: fix wrong thread for bridge ips modes
Victor Julien [Mon, 9 Sep 2019 13:36:39 +0000 (15:36 +0200)] 
ips: fix wrong thread for bridge ips modes

5 years agodoc/stream: briefly explain bypass
Victor Julien [Mon, 9 Sep 2019 17:26:36 +0000 (19:26 +0200)] 
doc/stream: briefly explain bypass

5 years agostream: fix bypass callback for stream.depth
Phil Young [Mon, 5 Aug 2019 19:37:10 +0000 (15:37 -0400)] 
stream: fix bypass callback for stream.depth

Fix bug with bypass callback when called with stream depth threshold.
bug report: https://redmine.openinfosecfoundation.org/issues/2986

5 years agoctl/filestore: Add check for filestore directory
Shivani Bhardwaj [Sat, 13 Apr 2019 18:39:06 +0000 (00:09 +0530)] 
ctl/filestore: Add check for filestore directory

Up until now, suricatactl would delete any directory that is provided as
an argument on command line. This patch adds a basic test for the
directories `tmp`, `00` and `ff` in order to justify that the provided
directory is actually a filestore directory.

Additionally, some code has been broken up and made more readable and
pythonic.

Closes redmine ticket #2843

5 years agoftp: removing uninitialized variable warning
Jason Ish [Fri, 6 Sep 2019 15:39:29 +0000 (09:39 -0600)] 
ftp: removing uninitialized variable warning

output-json-ftp.c: In function ‘JsonFTPLogger’:
output-json-ftp.c:129:9: warning: ‘js_respcode_list’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  129 |         json_object_set_new(cjs, "completion_code", js_respcode_list);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
output-json-ftp.c:74:13: note: ‘js_respcode_list’ was declared here
   74 |     json_t *js_respcode_list;
      |             ^~~~~~~~~~~~~~~~
output-json-ftp.c:128:9: warning: ‘js_resplist’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  128 |         json_object_set_new(cjs, "reply", js_resplist);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
output-json-ftp.c:73:13: note: ‘js_resplist’ was declared here
   73 |     json_t *js_resplist;
      |             ^~~~~~~~~~~

5 years agouserguide: remove section on using Oinkmaster
Jason Ish [Fri, 6 Sep 2019 15:32:04 +0000 (09:32 -0600)] 
userguide: remove section on using Oinkmaster

Users should be using Suricata-Update now.

5 years agorules: remove configuration for legacy rule handling
Jason Ish [Fri, 6 Sep 2019 15:28:05 +0000 (09:28 -0600)] 
rules: remove configuration for legacy rule handling

Removes the autoconf, and suricata.yaml sections for using
the legacy style of rule management.

5 years agorules: no longer install rules to /etc/suricata/rules
Jason Ish [Mon, 2 Sep 2019 17:02:47 +0000 (11:02 -0600)] 
rules: no longer install rules to /etc/suricata/rules

Stop falling back to the old method of installing rules into
/etc/suricata/rules if Suricata-Update is not available.

The goal here is to move away from the behaviour of installing
rules to /etc/suricata/rules as part of the default install
process. The engine provided rules are already installed to
/usr/share/suricata/rules, which can then be used as input
to rule management tools such as Suricata-Update.

This does not change the behaviour for Suricata release users
with the bundled Suricata-Update.

Also removes Oinkmaster and PulledPork suggestion for rule
management.

5 years agorules: install dhcp-events.rules; order alphabetically
Jason Ish [Thu, 5 Sep 2019 15:35:40 +0000 (09:35 -0600)] 
rules: install dhcp-events.rules; order alphabetically

Add dhcp-events.rules to Makefile.am so it gets installed.

Also order the rule files alphabetically for easier review.

5 years agopd: don't reverse flow if TCP session not midstream
Victor Julien [Mon, 2 Sep 2019 08:25:30 +0000 (10:25 +0200)] 
pd: don't reverse flow if TCP session not midstream

5 years agodns: handle mid stream pickup on response packet
Jason Ish [Tue, 2 Apr 2019 19:18:53 +0000 (13:18 -0600)] 
dns: handle mid stream pickup on response packet

Related Redmine issue:
https://redmine.openinfosecfoundation.org/issues/2146

5 years agodoc: add endswith keyword docs 4180/head
Travis Green [Thu, 5 Sep 2019 18:33:55 +0000 (11:33 -0700)] 
doc: add endswith keyword docs

5 years agodoc: update of ssh-kewords documentation
Travis Green [Thu, 18 Jul 2019 21:25:51 +0000 (15:25 -0600)] 
doc: update of ssh-kewords documentation

Modifies ssh-keywords.rst to fix syntax error in example rule as well as
update descriptions to indicate older keywords have been deprecated.

5 years agodoc: use describe instead of option for old Sphinx
Jason Ish [Tue, 20 Aug 2019 15:20:53 +0000 (09:20 -0600)] 
doc: use describe instead of option for old Sphinx

Older versions of Sphinx will generate duplicate IDs when you have
options like:

.. option:: some-option

.. option:: some-other-option

The version of Sphinx provided on CentOS 7 has this issue, newer
versions of Sphinx do not.  As CentOS 7 is still a popular
distribution, change ".. option" to ".. describe" which has the
same visual output, but does not generate links.

5 years agorust: update to Rust 2018 with cargo fix
Jason Ish [Tue, 27 Aug 2019 20:29:00 +0000 (14:29 -0600)] 
rust: update to Rust 2018 with cargo fix

Migrate to Rust 2018 edition.

Credit to Danny Browning for first demontrating this:
https://github.com/OISF/suricata/pull/3604/commits

5 years agodetect/analyzer: Add missing http_accept_enc handling
Jeff Lucovsky [Sat, 31 Aug 2019 20:16:39 +0000 (16:16 -0400)] 
detect/analyzer: Add missing http_accept_enc handling

5 years agorust: Get rid of unneeded macros, fix warnings
Shivani Bhardwaj [Wed, 4 Sep 2019 12:40:53 +0000 (18:10 +0530)] 
rust: Get rid of unneeded macros, fix warnings

5 years agodetect/dataset: fix 'state' path handling 4177/head
Victor Julien [Thu, 5 Sep 2019 13:00:04 +0000 (15:00 +0200)] 
detect/dataset: fix 'state' path handling

5 years agodatasets/doc: minor fixes and clarifications
Victor Julien [Thu, 5 Sep 2019 08:59:33 +0000 (10:59 +0200)] 
datasets/doc: minor fixes and clarifications

5 years agodatarep: remove notice messages
Victor Julien [Thu, 5 Sep 2019 08:54:28 +0000 (10:54 +0200)] 
datarep: remove notice messages

5 years agodatasets: remove notice messages and improve errors
Victor Julien [Thu, 5 Sep 2019 08:47:32 +0000 (10:47 +0200)] 
datasets: remove notice messages and improve errors

5 years agodoc/dataset: initial documentation 4166/head
Victor Julien [Thu, 25 Apr 2019 14:32:29 +0000 (16:32 +0200)] 
doc/dataset: initial documentation

5 years agosuricatasc: add dataset-add command
Victor Julien [Sun, 14 Jul 2019 06:58:18 +0000 (08:58 +0200)] 
suricatasc: add dataset-add command

5 years agodatasets: unix socket dataset-add command
Victor Julien [Sun, 14 Jul 2019 05:09:12 +0000 (07:09 +0200)] 
datasets: unix socket dataset-add command

5 years agodatasets: match on lists of data
Victor Julien [Mon, 20 Nov 2017 10:22:57 +0000 (11:22 +0100)] 
datasets: match on lists of data

Datasets are sets/lists of data that can be accessed or added from
the rule language.

This patch implements 3 data types:

1. string (or buffer)
2. md5
3. sha256

The patch also implements 2 new rule keywords:

1. dataset
2. datarep

The dataset keyword allows matching against a list of values to see if
it exists or not. It can also add the value to the set. The set can
optionally be stored to disk on exit.

The datarep support matching/lookups only. With each item in the set a
reputation value is stored and this value can be matched against. The
reputation value is unsigned 16 bit, so values can be between 0 and 65535.

Datasets can be registered in 2 ways:

1. through the yaml
2. through the rules

The goal of this rules based approach is that rule writers can start using
this without the need for config changes.

A dataset is implemented using a thash hash table. Each dataset is its own
separate thash.

5 years agothash: generalize hash table as used in flow
Victor Julien [Sun, 4 Sep 2016 19:33:45 +0000 (21:33 +0200)] 
thash: generalize hash table as used in flow

Thread safe hash table implementation based on the Flow hash, IP Pair
hash and others.

Hash is array of buckets with per bucket locking. Each bucket has a
list of elements which also individually use locking.

5 years agosuricata: expose system as global
Victor Julien [Thu, 25 Apr 2019 14:52:41 +0000 (16:52 +0200)] 
suricata: expose system as global

5 years agosuricata: --data-dir option
Victor Julien [Thu, 25 Apr 2019 13:42:46 +0000 (15:42 +0200)] 
suricata: --data-dir option

5 years agotravis: add liblzma (xz) for osx 4160/head
Victor Julien [Tue, 3 Sep 2019 09:25:43 +0000 (11:25 +0200)] 
travis: add liblzma (xz) for osx

5 years agoconfigure: bump minimum htp to 0.5.30
Victor Julien [Tue, 27 Aug 2019 09:55:11 +0000 (11:55 +0200)] 
configure: bump minimum htp to 0.5.30

5 years agolzma: make mandatory
Victor Julien [Tue, 27 Aug 2019 08:48:50 +0000 (10:48 +0200)] 
lzma: make mandatory

Libhtp is starting to use it as well, so its safe to make it mandatory
here.

Remove guards for flash file decompression code.

5 years agohttp: fixes stream flags for http tests
Philippe Antoine [Mon, 20 May 2019 10:47:35 +0000 (12:47 +0200)] 
http: fixes stream flags for http tests

5 years agohttp: wait for response line for filename
Philippe Antoine [Tue, 2 Apr 2019 14:32:43 +0000 (16:32 +0200)] 
http: wait for response line for filename

See http evader case 481

5 years agoconst: constify decoder, app-layer, detect funcs
Victor Julien [Mon, 2 Sep 2019 13:29:18 +0000 (15:29 +0200)] 
const: constify decoder, app-layer, detect funcs

5 years agoafl: fix compile warnings for decoder fuzz funcs
Victor Julien [Mon, 2 Sep 2019 13:28:36 +0000 (15:28 +0200)] 
afl: fix compile warnings for decoder fuzz funcs