]> git.ipfire.org Git - thirdparty/suricata.git/log
thirdparty/suricata.git
6 years agodetect/pcre: fix false positive 3673/head
Victor Julien [Wed, 20 Feb 2019 15:58:34 +0000 (16:58 +0100)] 
detect/pcre: fix false positive

Fix case where a HTTP modifier in PCRE statements would lead to
the rule alerting when it should not.

Bug #2769

6 years agodecoder: improve stats hash error handling
Victor Julien [Mon, 18 Feb 2019 14:17:36 +0000 (15:17 +0100)] 
decoder: improve stats hash error handling

6 years agonetmap: switch to nm_* API
Victor Julien [Wed, 29 Jun 2016 15:55:54 +0000 (17:55 +0200)] 
netmap: switch to nm_* API

Process multiple packets at nm_dispatch. Use zero copy for workers
recv mode.

Add configure check netmap check for API 11+ and find netmap api version.

Add netmap guide to the userguide.

6 years agofilestore v2: print sid in json output
magenbluten [Fri, 15 Feb 2019 14:31:41 +0000 (14:31 +0000)] 
filestore v2: print sid in json output

6 years agoengine-analysis: add support for http_host buffer
Travis Green [Fri, 15 Feb 2019 22:03:30 +0000 (15:03 -0700)] 
engine-analysis: add support for http_host buffer

Add support for http_host buffer for more accurate reporting.
Bug: #2798

6 years agoconfigure: rust support requires Python
Eric Leblond [Tue, 12 Feb 2019 11:55:08 +0000 (12:55 +0100)] 
configure: rust support requires Python

Add error message to warn the user.

6 years agonfqueue: more descriptive queue names (e.g. 'NFQ#1' instead of '1')
Alexander Gozman [Sat, 9 Feb 2019 09:49:52 +0000 (12:49 +0300)] 
nfqueue: more descriptive queue names (e.g. 'NFQ#1' instead of '1')

This will also make 'iface-list' output more informative.

6 years agonfqueue: added received packets counter for 'iface-stat' command
Alexander Gozman [Sun, 3 Feb 2019 17:19:13 +0000 (20:19 +0300)] 
nfqueue: added received packets counter for 'iface-stat' command

Previously nfqueue did not update received packets counter in a
livedev so 'iface-stat' UNIX-socket command always showed zeros.

6 years agoeve/fileinfo: don't alloc filename during logging
Victor Julien [Wed, 12 Dec 2018 19:15:56 +0000 (20:15 +0100)] 
eve/fileinfo: don't alloc filename during logging

6 years agoeve/ftp: don't alloc memory to log filename
Victor Julien [Wed, 12 Dec 2018 18:57:14 +0000 (19:57 +0100)] 
eve/ftp: don't alloc memory to log filename

6 years agoeve/http: use stack for buffer to string conversions
Victor Julien [Wed, 12 Dec 2018 14:06:18 +0000 (15:06 +0100)] 
eve/http: use stack for buffer to string conversions

6 years agobyte: add bytes to string w/o allocation
Victor Julien [Wed, 12 Dec 2018 13:35:11 +0000 (14:35 +0100)] 
byte: add bytes to string w/o allocation

6 years agoapp-layer-ssl: check that cipher suites length is divisible by two
Mats Klepsland [Sat, 16 Feb 2019 20:55:19 +0000 (21:55 +0100)] 
app-layer-ssl: check that cipher suites length is divisible by two

Cipher suites length should always be divisible by two. If it is a
odd number, which should not happen with normal traffic, it ends up
reading one byte too much.

6 years agoutil-ja3: fix AddressSanitizer heap-buffer-overflow
Mats Klepsland [Sat, 16 Feb 2019 20:49:23 +0000 (21:49 +0100)] 
util-ja3: fix AddressSanitizer heap-buffer-overflow

No resizing is done in Ja3BufferResizeIfFull() when the buffer is
empty. This leads to a potential overflow when this happens, since
a ',' is appended even when the buffer is empty.

Bug #2762

6 years agowindows: msys/mingw based appveyor support 3669/head
Victor Julien [Tue, 19 Feb 2019 08:44:14 +0000 (09:44 +0100)] 
windows: msys/mingw based appveyor support

Add rust but have it disabled as it is broken.

Add windivert, winpcap and npcap builds.

Run unittests on one of the builds.

Use reasonably strict CFLAGS.

6 years agowindows/syscall: fix unused function warning
Victor Julien [Wed, 20 Feb 2019 09:46:03 +0000 (10:46 +0100)] 
windows/syscall: fix unused function warning

6 years agowindows/syscall: convert file to use unix newlines
Victor Julien [Wed, 20 Feb 2019 09:44:30 +0000 (10:44 +0100)] 
windows/syscall: convert file to use unix newlines

ran: dos2unix src/win32-syscall.[ch]

6 years agoconfigure: support msys target
Victor Julien [Tue, 19 Feb 2019 10:10:31 +0000 (11:10 +0100)] 
configure: support msys target

6 years agowindows: fix sc_log_stream_lock handling
Victor Julien [Tue, 19 Feb 2019 15:44:32 +0000 (16:44 +0100)] 
windows: fix sc_log_stream_lock handling

6 years agowindows: allow multiple pcap devices on commandline 3661/head
Victor Julien [Fri, 15 Feb 2019 10:29:00 +0000 (11:29 +0100)] 
windows: allow multiple pcap devices on commandline

Ticket #2774

6 years agoips: set host mode only after engine mode
Victor Julien [Fri, 15 Feb 2019 09:45:12 +0000 (10:45 +0100)] 
ips: set host mode only after engine mode

Make sure it is set after the final engine mode update.

6 years agostream: fix 'stream.inline=auto' for L2 IPS
Victor Julien [Fri, 15 Feb 2019 09:37:42 +0000 (10:37 +0100)] 
stream: fix 'stream.inline=auto' for L2 IPS

Make sure the livedev setup is finalized before initializing the
stream engine.

Bug #2811

Reported-by: Ad Schellevis
6 years agoflow: log gap state per direction
Victor Julien [Tue, 12 Feb 2019 14:30:15 +0000 (15:30 +0100)] 
flow: log gap state per direction

6 years agostream: no more stream events after known issue
Victor Julien [Fri, 2 Nov 2018 16:27:59 +0000 (17:27 +0100)] 
stream: no more stream events after known issue

No longer set stream events after a gap or wrong thread. We know
we lost sync and are now in 'lets make the best of it'-mode. No
point in flooding the system with stream events.

Ticket #2484

6 years agosuricatasc: Fix command failures
Shivani Bhardwaj [Wed, 13 Feb 2019 11:02:06 +0000 (16:32 +0530)] 
suricatasc: Fix command failures

This commit addresses the following three cases:

1. Do not use maxsplit keyword arg
maxsplit argument to the split command was not a part of Python 2
and using it with Python 2 causes the following failure:
```
TypeError: split() takes no keyword arguments
```
Avoid this by eliminating all the named arguments from split.

2. Fix failure on extra arguments
Up until now, suricatasc fails if any command which is not supposed to
take args is given args.
Fix this by ignoring any extra params.
Closes redmine ticket #2813

3. Fix failure on different type of args
If a command was given a string argument where it expected an int, it
would fail and the process would exit.
Fix this by handling the exception caused in such cases.
Closes redmine ticket #2812

6 years agosuricatasc: Use better exception message, sort imports
Shivani Bhardwaj [Fri, 8 Feb 2019 10:02:24 +0000 (15:32 +0530)] 
suricatasc: Use better exception message, sort imports

Up until now, suricatasc gives a message as follows in case a command is
missing arguments:
```
>>> list-hostbit
Arguments to command 'list-hostbit' is missing
```

Fix this up and provide a better message:
```
>>> list-hostbit
Missing arguments: expected 1
>>> pcap-file-continuous
Missing arguments: expected at least 2
```

6 years agosuricatasc: Snug the processing of different commands
Shivani Bhardwaj [Thu, 7 Feb 2019 12:09:15 +0000 (17:39 +0530)] 
suricatasc: Snug the processing of different commands

Since all of the commands were following the same procedure, namely,
split the input extract the arguments, throw the error if required
argument is missing else send the command over to suricata, put all of
this in one compact function alongwith a dictionary for specifications
for different commands, the name of the argument, the type and if it is
required or not.
Following fixups come with this commit:
- Code becomes really cozy
- Split errors on a few commands are well handled
- No redundant code
- More readability

References redmine ticket #2793

6 years agosuricatasc: Get rid of issues detected by Pylint
Shivani Bhardwaj [Thu, 7 Feb 2019 10:00:44 +0000 (15:30 +0530)] 
suricatasc: Get rid of issues detected by Pylint

Pylint is a tool to make sure we do not regress the support for Python
3. The following conventions, warnings, errors, refactors have been
fixed.

C0326: Exactly one space required around assignment
C0326: No space allowed around keyword argument assignment
C0325: Unnecessary parens after 'if' keyword
W0301: Unnecessary semicolon
W0702: No exception type(s) specified
W0231: __init__ method from base class 'Exception' is not called
W0107: Unnecessary pass statement
C0121: Comparison to None should be 'expr is not None'
E0602: Undefined variable 'raw_input'
W0201: Attribute 'socket' defined outside __init__
W0611: Unused import

6 years agodcerpc/udp: fix int mishandling in opnum parsing 3652/head
Victor Julien [Fri, 25 Jan 2019 11:00:13 +0000 (12:00 +0100)] 
dcerpc/udp: fix int mishandling in opnum parsing

For Big Endian support in the protocol, the opnum would not be set
correctly.

Found using undefined sanitizer.

6 years agofile/swf: fix undefined int behaviour
Victor Julien [Fri, 25 Jan 2019 10:52:06 +0000 (11:52 +0100)] 
file/swf: fix undefined int behaviour

Fix warnings by the undefined sanitizer.

6 years agodetect/bytetest: don't print errors at runtime
Victor Julien [Fri, 25 Jan 2019 10:48:50 +0000 (11:48 +0100)] 
detect/bytetest: don't print errors at runtime

6 years agorust/smb: fix and optimize record search
Victor Julien [Sat, 9 Feb 2019 09:40:05 +0000 (10:40 +0100)] 
rust/smb: fix and optimize record search

Get rid of struct with just a slice reference as well.

6 years agorust: fix cargo tests
Pierre Chifflier [Fri, 8 Feb 2019 13:45:57 +0000 (14:45 +0100)] 
rust: fix cargo tests

6 years agorust: nom4 requires to add complete!() when using many! combinators
Pierre Chifflier [Fri, 8 Feb 2019 13:43:45 +0000 (14:43 +0100)] 
rust: nom4 requires to add complete!() when using many! combinators

6 years agorust: fix warnings for unused variables (add _)
Pierre Chifflier [Fri, 8 Feb 2019 13:30:17 +0000 (14:30 +0100)] 
rust: fix warnings for unused variables (add _)

6 years agorust: upgrade all parsers to nom4
Pierre Chifflier [Fri, 8 Feb 2019 12:39:04 +0000 (13:39 +0100)] 
rust: upgrade all parsers to nom4

6 years agorust/nom4: error_code is superseded by error_position
Pierre Chifflier [Fri, 8 Feb 2019 09:44:15 +0000 (10:44 +0100)] 
rust/nom4: error_code is superseded by error_position

6 years agorust: update dependencies for nom4 transition
Pierre Chifflier [Fri, 8 Feb 2019 09:37:55 +0000 (10:37 +0100)] 
rust: update dependencies for nom4 transition

6 years agoeve/http: add request/response http headers 3641/head
Maurizio Abba [Fri, 3 Aug 2018 13:27:05 +0000 (14:27 +0100)] 
eve/http: add request/response http headers

Add a keyword configuration dump-all-headers, with allowed values
{both, request, response}, dumping all HTTP headers in the eve-log http
object. Each header is a single object in the list request_headers
(response_headers) with the following notation:

{
    "name": <header name>,
    "value": <header value>
}

To avoid forged malicious headers, the header name size is capped at 256
bytes, the header value size at 2048.

By default, dump-all-headers is disabled.

6 years agosmtp: create raw-extraction feature
Maurizio Abba [Thu, 2 Aug 2018 18:43:17 +0000 (19:43 +0100)] 
smtp: create raw-extraction feature

Add a raw-extraction option for smtp. When enabled, this feature will
store the raw e-mail inside a file, including headers, e-mail content,
attachments (base64 encoded). This content is stored in a normal File *,
allowing for normal file detection.
It'd also allow for all-emails extraction if a rule has
detect-filename:"rawmsg" matcher (and filestore).
Note that this feature is in contrast with decode-mime.

This feature is disabled by default, and will be disabled automatically
if decode-mime is enabled.

6 years agosource-nfq: increase maximum queues number to 65535
Alexander Gozman [Mon, 19 Nov 2018 07:10:39 +0000 (07:10 +0000)] 
source-nfq: increase maximum queues number to 65535

Previously this was limited to 16, however Netfilter allows
up to 65535 queues. Suricata now is able to create as many
queues as possible, but at the same time warns user if one
specifies more queues than available CPU cores.

This change involves dynamic (de)allocation of NFQ contexts
instead of on-stack arrays to use less memory.

6 years agosource-nfq: support queue range
Alexander Gozman [Tue, 6 Nov 2018 18:09:21 +0000 (18:09 +0000)] 
source-nfq: support queue range

If one needs to use multiple sequential Netfilter queues,
it can be done with a new '-q' option's syntax: "start:end"
(just like it's done with iptables '--queue-balance' option).

6 years agoissue 2795: python 3 fix in Rust C header gen
Jason Ish [Thu, 7 Feb 2019 19:53:23 +0000 (13:53 -0600)] 
issue 2795: python 3 fix in Rust C header gen

The C header generation script was failing with a unicode error
in Python 3 on FreeBSD.  Fix the reading of files to properly
handle unicode in all Python 3 environments.

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

6 years agorust/dns: add dns to dns alerts
Jason Ish [Wed, 23 Jan 2019 20:08:21 +0000 (14:08 -0600)] 
rust/dns: add dns to dns alerts

6 years agoconfigure.ac: fix --{disable,enable}-xxx options
Fabrice Fontaine [Thu, 31 Jan 2019 07:56:15 +0000 (08:56 +0100)] 
configure.ac: fix --{disable,enable}-xxx options

Currently, if the user provides --enable-libmagic or
--disable-libmagic, libmagic will be disabled because $enableval is not
used to know if the user provided --enable or --disable

Most of the options have this issue so fix them all by using $enableval

Fixes:
 - https://redmine.openinfosecfoundation.org/issues/2797

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
6 years agodetect: add file.name sticky buffer 3632/head
Victor Julien [Sat, 15 Dec 2018 20:25:45 +0000 (21:25 +0100)] 
detect: add file.name sticky buffer

6 years agodetect: add http.response_body sticky buffer
Victor Julien [Sat, 15 Dec 2018 09:13:17 +0000 (10:13 +0100)] 
detect: add http.response_body sticky buffer

As a mirror of the http_server_body content modifier.

6 years agodetect/tls: consolidate validity code
Victor Julien [Sat, 15 Dec 2018 06:57:25 +0000 (07:57 +0100)] 
detect/tls: consolidate validity code

6 years agodetect/http-server-body: move tests to tests/
Victor Julien [Sat, 15 Dec 2018 06:43:16 +0000 (07:43 +0100)] 
detect/http-server-body: move tests to tests/

6 years agodetect: add http.request_body sticky buffer
Victor Julien [Fri, 14 Dec 2018 06:35:45 +0000 (07:35 +0100)] 
detect: add http.request_body sticky buffer

Sticky buffer version of the http_client_body content modifier.

6 years agodetect/file-data: move tests into tests/
Victor Julien [Thu, 13 Dec 2018 13:01:40 +0000 (14:01 +0100)] 
detect/file-data: move tests into tests/

6 years agodetect/file-data: consolidate matching code
Victor Julien [Thu, 13 Dec 2018 12:44:17 +0000 (13:44 +0100)] 
detect/file-data: consolidate matching code

6 years agodetect/http-client-body: move tests into tests/
Victor Julien [Thu, 13 Dec 2018 12:15:59 +0000 (13:15 +0100)] 
detect/http-client-body: move tests into tests/

6 years agodetect/http-client-body: convert to inspect api v2
Victor Julien [Thu, 13 Dec 2018 10:29:15 +0000 (11:29 +0100)] 
detect/http-client-body: convert to inspect api v2

6 years agodetect/file-data: minor cleanups
Victor Julien [Thu, 13 Dec 2018 10:28:51 +0000 (11:28 +0100)] 
detect/file-data: minor cleanups

6 years agodetect/file-data: minor cleanups and clarifications
Victor Julien [Thu, 13 Dec 2018 09:21:41 +0000 (10:21 +0100)] 
detect/file-data: minor cleanups and clarifications

6 years agodetect/http-server-body: code cleanup and test cleanups
Victor Julien [Thu, 13 Dec 2018 09:07:58 +0000 (10:07 +0100)] 
detect/http-server-body: code cleanup and test cleanups

6 years agodetect/http-client-body: code cleanups and test cleanups
Victor Julien [Thu, 13 Dec 2018 06:59:20 +0000 (07:59 +0100)] 
detect/http-client-body: code cleanups and test cleanups

6 years agodetect: add http.header.raw sticky buffer keyword
Victor Julien [Tue, 11 Dec 2018 09:01:31 +0000 (10:01 +0100)] 
detect: add http.header.raw sticky buffer keyword

Add parsing tests as well.

6 years agodetect/http_raw_header: move tests into tests/
Victor Julien [Tue, 11 Dec 2018 06:26:22 +0000 (07:26 +0100)] 
detect/http_raw_header: move tests into tests/

6 years agodetect/http_raw_header: use inspect v2 api
Victor Julien [Thu, 29 Nov 2018 07:31:06 +0000 (08:31 +0100)] 
detect/http_raw_header: use inspect v2 api

6 years agodetect/http_raw_header: minor code cleanups
Victor Julien [Thu, 29 Nov 2018 06:08:12 +0000 (07:08 +0100)] 
detect/http_raw_header: minor code cleanups

6 years agodetect: add http.header sticky buffer keyword
Victor Julien [Wed, 28 Nov 2018 09:04:54 +0000 (10:04 +0100)] 
detect: add http.header sticky buffer keyword

6 years agodetect/http_header: convert parsing tests to use helper
Victor Julien [Wed, 28 Nov 2018 08:34:25 +0000 (09:34 +0100)] 
detect/http_header: convert parsing tests to use helper

6 years agodetect/http_header: move tests into tests/
Victor Julien [Wed, 28 Nov 2018 07:53:41 +0000 (08:53 +0100)] 
detect/http_header: move tests into tests/

6 years agodetect/http_header: inspect v2 api
Victor Julien [Tue, 27 Nov 2018 13:42:34 +0000 (14:42 +0100)] 
detect/http_header: inspect v2 api

6 years agodetect/http_header: test cleanups
Victor Julien [Tue, 27 Nov 2018 15:09:14 +0000 (16:09 +0100)] 
detect/http_header: test cleanups

6 years agodetect/http_header: remove unused func args
Victor Julien [Tue, 27 Nov 2018 13:39:58 +0000 (14:39 +0100)] 
detect/http_header: remove unused func args

6 years agodetect: add http.cookie sticky buffer keyword
Victor Julien [Tue, 27 Nov 2018 11:02:56 +0000 (12:02 +0100)] 
detect: add http.cookie sticky buffer keyword

6 years agodetect/http_cookie: move tests into tests/
Victor Julien [Tue, 27 Nov 2018 10:53:21 +0000 (11:53 +0100)] 
detect/http_cookie: move tests into tests/

6 years agodetect/http_cookie: switch to inspect v2 api
Victor Julien [Tue, 27 Nov 2018 10:43:24 +0000 (11:43 +0100)] 
detect/http_cookie: switch to inspect v2 api

6 years agodetect/http_cookie: minor cleanups
Victor Julien [Tue, 27 Nov 2018 10:18:14 +0000 (11:18 +0100)] 
detect/http_cookie: minor cleanups

6 years agodetect/http_user_agent: set alternative and info flags
Victor Julien [Tue, 27 Nov 2018 09:50:51 +0000 (10:50 +0100)] 
detect/http_user_agent: set alternative and info flags

6 years agodetect: add http.stat_code sticky buffer keyword
Victor Julien [Mon, 26 Nov 2018 12:34:16 +0000 (13:34 +0100)] 
detect: add http.stat_code sticky buffer keyword

6 years agodetect/http_stat_code: move tests into tests/
Victor Julien [Mon, 26 Nov 2018 12:13:59 +0000 (13:13 +0100)] 
detect/http_stat_code: move tests into tests/

6 years agodetect/http_stat_code: use inspect v2 api
Victor Julien [Mon, 26 Nov 2018 12:02:12 +0000 (13:02 +0100)] 
detect/http_stat_code: use inspect v2 api

6 years agodetect/http_stat_code: minor code cleanups
Victor Julien [Mon, 26 Nov 2018 11:55:16 +0000 (12:55 +0100)] 
detect/http_stat_code: minor code cleanups

6 years agodetect: add http.stat_msg sticky buffer keyword
Victor Julien [Mon, 26 Nov 2018 11:23:42 +0000 (12:23 +0100)] 
detect: add http.stat_msg sticky buffer keyword

6 years agodetect/http_stat_msg: move tests to tests/
Victor Julien [Mon, 26 Nov 2018 11:06:55 +0000 (12:06 +0100)] 
detect/http_stat_msg: move tests to tests/

6 years agodetect/http_stat_msg: switch to inspect v2
Victor Julien [Mon, 26 Nov 2018 10:38:35 +0000 (11:38 +0100)] 
detect/http_stat_msg: switch to inspect v2

6 years agodetect/http_stat_msg: minor code cleanups
Victor Julien [Mon, 26 Nov 2018 10:17:53 +0000 (11:17 +0100)] 
detect/http_stat_msg: minor code cleanups

6 years agodetect: add http.host.raw sticky buffer
Victor Julien [Sun, 25 Nov 2018 17:33:01 +0000 (18:33 +0100)] 
detect: add http.host.raw sticky buffer

6 years agodetect/http_raw_host: move raw into regular host logic
Victor Julien [Sun, 25 Nov 2018 17:24:12 +0000 (18:24 +0100)] 
detect/http_raw_host: move raw into regular host logic

6 years agodetect/http_host: move tests into tests/
Victor Julien [Sun, 25 Nov 2018 16:33:08 +0000 (17:33 +0100)] 
detect/http_host: move tests into tests/

6 years agodetect/http_raw_host: use inspect v2 api
Victor Julien [Sun, 25 Nov 2018 16:20:58 +0000 (17:20 +0100)] 
detect/http_raw_host: use inspect v2 api

6 years agodetect/http_raw_host: minor cleanups
Victor Julien [Sun, 25 Nov 2018 15:54:50 +0000 (16:54 +0100)] 
detect/http_raw_host: minor cleanups

6 years agodetect/http_method: add http.method sticky buffer
Victor Julien [Sun, 25 Nov 2018 15:44:54 +0000 (16:44 +0100)] 
detect/http_method: add http.method sticky buffer

6 years agodetect/http_method: move all tests into tests/
Victor Julien [Sun, 25 Nov 2018 15:40:49 +0000 (16:40 +0100)] 
detect/http_method: move all tests into tests/

6 years agodetect/http_method: use inspect v2 api
Victor Julien [Sun, 25 Nov 2018 15:31:05 +0000 (16:31 +0100)] 
detect/http_method: use inspect v2 api

6 years agodetect/http_method: minor cleanups
Victor Julien [Sun, 25 Nov 2018 15:26:51 +0000 (16:26 +0100)] 
detect/http_method: minor cleanups

6 years agodetect/http: add http.uri.raw sticky buffer keyword
Victor Julien [Sun, 25 Nov 2018 11:05:24 +0000 (12:05 +0100)] 
detect/http: add http.uri.raw sticky buffer keyword

6 years agodetect/http_raw_uri: code reorganization
Victor Julien [Sun, 25 Nov 2018 10:53:15 +0000 (11:53 +0100)] 
detect/http_raw_uri: code reorganization

Move registration into http_uri logic, move tests into the other uri
tests. Switch to v2 mpm/inspect APIs.

6 years agodetect/http_raw_uri: small cleanups
Victor Julien [Sun, 25 Nov 2018 10:43:10 +0000 (11:43 +0100)] 
detect/http_raw_uri: small cleanups

6 years agodetect/http-uri: move tests into tests/
Victor Julien [Sun, 25 Nov 2018 10:39:28 +0000 (11:39 +0100)] 
detect/http-uri: move tests into tests/

6 years agodetect: add http.uri sticky buffer keyword
Victor Julien [Mon, 26 Nov 2018 14:25:04 +0000 (15:25 +0100)] 
detect: add http.uri sticky buffer keyword

6 years agodetect: add http.host sticky buffer
Victor Julien [Sat, 24 Nov 2018 11:06:43 +0000 (12:06 +0100)] 
detect: add http.host sticky buffer

6 years agodetect/http-hh: code cleanups
Victor Julien [Fri, 23 Nov 2018 15:36:04 +0000 (16:36 +0100)] 
detect/http-hh: code cleanups

6 years agodetect/http_user_agent: move tests into tests/
Victor Julien [Mon, 26 Nov 2018 10:01:03 +0000 (11:01 +0100)] 
detect/http_user_agent: move tests into tests/

6 years agodetect: add http.user_agent sticky buffer
Victor Julien [Sat, 24 Nov 2018 10:16:26 +0000 (11:16 +0100)] 
detect: add http.user_agent sticky buffer

6 years agodetect/http-ua: remove dead code
Victor Julien [Fri, 23 Nov 2018 15:31:07 +0000 (16:31 +0100)] 
detect/http-ua: remove dead code