]> git.ipfire.org Git - people/ms/suricata.git/log
people/ms/suricata.git
8 years agodoc: add GPL and CC licenses
Jason Ish [Wed, 30 Mar 2016 16:52:19 +0000 (10:52 -0600)] 
doc: add GPL and CC licenses

8 years agodoc: performance: Replace 'medium' with 'custom'
brandonlattin [Wed, 24 Feb 2016 17:55:46 +0000 (11:55 -0600)] 
doc: performance: Replace 'medium' with 'custom'

I assume the intent was to use the custom-values that are being defined.

8 years agoeve-json-format: add newest version from the wiki
Andi [Fri, 26 Feb 2016 22:56:30 +0000 (23:56 +0100)] 
eve-json-format: add newest version from the wiki

This was added by pevma in the wiki, so should go into the sphinx doc as well.

8 years agodoc: update url to modbus paper as advised by David Diallo.
Jason Ish [Mon, 22 Feb 2016 17:53:48 +0000 (11:53 -0600)] 
doc: update url to modbus paper as advised by David Diallo.

8 years agodoc: rename from "sphinx" to "userguide"
Jason Ish [Thu, 18 Feb 2016 20:46:21 +0000 (14:46 -0600)] 
doc: rename from "sphinx" to "userguide"

8 years agodoc: user .. option:: for command line option formatting
Jason Ish [Tue, 20 Sep 2016 21:57:31 +0000 (15:57 -0600)] 
doc: user .. option:: for command line option formatting

8 years agodoc: new global threshold examples from Peter Manev.
Jason Ish [Thu, 4 Feb 2016 16:18:20 +0000 (10:18 -0600)] 
doc: new global threshold examples from Peter Manev.

8 years agodoc: acknowledge doc/wiki authors
Jason Ish [Wed, 27 Jan 2016 20:50:37 +0000 (14:50 -0600)] 
doc: acknowledge doc/wiki authors

8 years agodoc: reorder duplicates
Andreas Herz [Tue, 5 Jan 2016 19:55:12 +0000 (20:55 +0100)] 
doc: reorder duplicates

8 years agodoc: fixed remaining FIXME
Andreas Herz [Tue, 5 Jan 2016 19:47:50 +0000 (20:47 +0100)] 
doc: fixed remaining FIXME

8 years agodoc: finished remaining conversion for output
Andreas Herz [Tue, 5 Jan 2016 19:19:10 +0000 (20:19 +0100)] 
doc: finished remaining conversion for output

8 years agodoc: minor fixes in configuration causing errors/warnings
Andreas Herz [Tue, 5 Jan 2016 02:23:54 +0000 (03:23 +0100)] 
doc: minor fixes in configuration causing errors/warnings

8 years agodoc: added output section (some fixes still to do)
Andreas Herz [Tue, 5 Jan 2016 02:16:13 +0000 (03:16 +0100)] 
doc: added output section (some fixes still to do)

8 years agodoc: reference fixups
Jason Ish [Mon, 4 Jan 2016 17:50:09 +0000 (11:50 -0600)] 
doc: reference fixups

8 years agodoc: fixup references
Jason Ish [Mon, 4 Jan 2016 17:38:06 +0000 (11:38 -0600)] 
doc: fixup references

8 years agodoc: add configuration
Jason Ish [Mon, 4 Jan 2016 17:10:12 +0000 (11:10 -0600)] 
doc: add configuration

8 years agodoc: added file-extraction
Andreas Herz [Sun, 3 Jan 2016 22:38:20 +0000 (23:38 +0100)] 
doc: added file-extraction

8 years agodoc: added capture hardware except for napatech with file
Andreas Herz [Sun, 3 Jan 2016 22:02:33 +0000 (23:02 +0100)] 
doc: added capture hardware except for napatech with file

8 years agodoc: added public data sets with file
Andreas Herz [Sun, 3 Jan 2016 22:02:26 +0000 (23:02 +0100)] 
doc: added public data sets with file

8 years agodoc: added capture hardware except for napatech
Andreas Herz [Sun, 3 Jan 2016 22:01:39 +0000 (23:01 +0100)] 
doc: added capture hardware except for napatech

8 years agodoc: added public data sets
Andreas Herz [Sun, 3 Jan 2016 21:51:06 +0000 (22:51 +0100)] 
doc: added public data sets

8 years agodoc: update gitignore to ignore node_modules
Andreas Herz [Sun, 3 Jan 2016 21:48:50 +0000 (22:48 +0100)] 
doc: update gitignore to ignore node_modules

8 years agodoc: added setting up ips inline
Andreas Herz [Sun, 3 Jan 2016 21:48:16 +0000 (22:48 +0100)] 
doc: added setting up ips inline

8 years agodoc: add index for reputation to match wiki
Andreas Herz [Sun, 3 Jan 2016 00:22:42 +0000 (01:22 +0100)] 
doc: add index for reputation to match wiki

8 years agodoc: added initscripts
Andreas Herz [Sun, 3 Jan 2016 00:05:13 +0000 (01:05 +0100)] 
doc: added initscripts

8 years agodoc: added ip reputation
Andreas Herz [Sun, 3 Jan 2016 00:04:29 +0000 (01:04 +0100)] 
doc: added ip reputation

8 years agodoc: added ip reputation
Andreas Herz [Sun, 3 Jan 2016 00:04:11 +0000 (01:04 +0100)] 
doc: added ip reputation

8 years agodoc: fixed underline too short error
Andreas Herz [Sat, 2 Jan 2016 23:46:13 +0000 (00:46 +0100)] 
doc: fixed underline too short error

8 years agodoc: Add ssl_state doc
Andi [Thu, 31 Dec 2015 21:12:42 +0000 (22:12 +0100)] 
doc: Add ssl_state doc

See https://redmine.openinfosecfoundation.org/issues/589

8 years agodoc: Document http_host and http_raw_host
Andi [Thu, 31 Dec 2015 20:58:22 +0000 (21:58 +0100)] 
doc: Document http_host and http_raw_host

Added doc for http_host and http_raw_host as mentioned in https://redmine.openinfosecfoundation.org/issues/756

8 years agodoc: ignoring traffic
Jason Ish [Thu, 17 Dec 2015 17:25:08 +0000 (11:25 -0600)] 
doc: ignoring traffic

8 years agodoc: tcmalloc
Jason Ish [Thu, 17 Dec 2015 17:19:34 +0000 (11:19 -0600)] 
doc: tcmalloc

8 years agodoc: runmodes
Jason Ish [Thu, 17 Dec 2015 17:18:04 +0000 (11:18 -0600)] 
doc: runmodes

8 years agodoc: rule profiling
Jason Ish [Thu, 17 Dec 2015 17:14:15 +0000 (11:14 -0600)] 
doc: rule profiling

8 years agodoc: packet profiling
Jason Ish [Thu, 17 Dec 2015 17:12:00 +0000 (11:12 -0600)] 
doc: packet profiling

8 years agodoc: statistics
Jason Ish [Thu, 17 Dec 2015 17:10:16 +0000 (11:10 -0600)] 
doc: statistics

8 years agodoc: tuning considerations
Jason Ish [Thu, 17 Dec 2015 17:07:21 +0000 (11:07 -0600)] 
doc: tuning considerations

8 years agodoc: high performance config
Jason Ish [Thu, 17 Dec 2015 17:05:57 +0000 (11:05 -0600)] 
doc: high performance config

8 years agodoc: making sense of alerts
Jason Ish [Thu, 17 Dec 2015 16:53:59 +0000 (10:53 -0600)] 
doc: making sense of alerts

8 years agodoc: oinkmaster
Jason Ish [Thu, 17 Dec 2015 16:38:48 +0000 (10:38 -0600)] 
doc: oinkmaster

8 years agodoc: snort compatibility
Jason Ish [Sat, 5 Dec 2015 17:38:56 +0000 (11:38 -0600)] 
doc: snort compatibility

8 years agodoc: command line options
Jason Ish [Sat, 5 Dec 2015 15:09:52 +0000 (09:09 -0600)] 
doc: command line options

8 years agodoc: restructure directory layout
Jason Ish [Fri, 4 Dec 2015 18:04:46 +0000 (12:04 -0600)] 
doc: restructure directory layout

8 years agodoc: restructure the rules section a little
Jason Ish [Fri, 4 Dec 2015 17:50:35 +0000 (11:50 -0600)] 
doc: restructure the rules section a little

8 years agodoc: add fixme to broken images
Jason Ish [Fri, 4 Dec 2015 17:45:41 +0000 (11:45 -0600)] 
doc: add fixme to broken images

8 years agodoc: finish off the rules section
Jason Ish [Fri, 4 Dec 2015 16:26:53 +0000 (10:26 -0600)] 
doc: finish off the rules section

8 years agodoc: dnp3 keywords
Jason Ish [Fri, 4 Dec 2015 16:01:32 +0000 (10:01 -0600)] 
doc: dnp3 keywords

8 years agodoc: modbus keyword
Jason Ish [Fri, 4 Dec 2015 15:58:11 +0000 (09:58 -0600)] 
doc: modbus keyword

8 years agodoc: rule profiling
Jason Ish [Fri, 4 Dec 2015 15:55:09 +0000 (09:55 -0600)] 
doc: rule profiling

8 years agodoc: normalized buffers
Jason Ish [Fri, 4 Dec 2015 15:53:19 +0000 (09:53 -0600)] 
doc: normalized buffers

8 years agodoc: tls keywords
Jason Ish [Fri, 4 Dec 2015 15:52:02 +0000 (09:52 -0600)] 
doc: tls keywords

8 years agodoc: live rule swap
Jason Ish [Fri, 4 Dec 2015 15:40:47 +0000 (09:40 -0600)] 
doc: live rule swap

8 years agodoc: adding your own rules
Jason Ish [Fri, 4 Dec 2015 15:38:16 +0000 (09:38 -0600)] 
doc: adding your own rules

8 years agodoc: rule lua scripting
Jason Ish [Fri, 4 Dec 2015 15:22:52 +0000 (09:22 -0600)] 
doc: rule lua scripting

8 years agodoc: rule lua scripting
Jason Ish [Fri, 4 Dec 2015 15:11:52 +0000 (09:11 -0600)] 
doc: rule lua scripting

8 years agodoc: thresholding
Jason Ish [Fri, 4 Dec 2015 15:07:37 +0000 (09:07 -0600)] 
doc: thresholding

8 years agodoc: file-keywords
Jason Ish [Fri, 4 Dec 2015 15:01:18 +0000 (09:01 -0600)] 
doc: file-keywords

8 years agodoc: flowint
Jason Ish [Wed, 2 Dec 2015 21:59:28 +0000 (15:59 -0600)] 
doc: flowint

8 years agodoc: flow-keywords
Jason Ish [Wed, 2 Dec 2015 21:55:17 +0000 (15:55 -0600)] 
doc: flow-keywords

8 years agodoc: pcre
Jason Ish [Wed, 2 Dec 2015 21:24:12 +0000 (15:24 -0600)] 
doc: pcre

8 years agodoc: helper tool to convert from wiki to sphinx
Jason Ish [Wed, 2 Dec 2015 21:23:52 +0000 (15:23 -0600)] 
doc: helper tool to convert from wiki to sphinx

8 years agodoc: header-keywords
Jason Ish [Wed, 2 Dec 2015 13:22:20 +0000 (07:22 -0600)] 
doc: header-keywords

8 years agodoc: fast-pattern
Jason Ish [Wed, 2 Dec 2015 13:12:02 +0000 (07:12 -0600)] 
doc: fast-pattern

8 years agodoc: payload-keywords
Jason Ish [Wed, 2 Dec 2015 12:34:18 +0000 (06:34 -0600)] 
doc: payload-keywords

8 years agodocs: sample of sphinx docs
Jason Ish [Fri, 6 Nov 2015 18:01:15 +0000 (19:01 +0100)] 
docs: sample of sphinx docs

8 years agodetect-tls: make check on fingerprint directional
Jason Ish [Tue, 27 Sep 2016 15:38:42 +0000 (09:38 -0600)] 
detect-tls: make check on fingerprint directional

8 years agotls-json: make tls events direction sensitive
Jason Ish [Tue, 27 Sep 2016 15:07:10 +0000 (09:07 -0600)] 
tls-json: make tls events direction sensitive

Previously the src/dest ips in TLS events would differ between
IDS and IPS modes. Make the header creation direction sensitive
so they are identical in both modes.

8 years agoutil-decode-der-get: fix coverity warning
Mats Klepsland [Mon, 26 Sep 2016 13:53:48 +0000 (15:53 +0200)] 
util-decode-der-get: fix coverity warning

*** CID 1373380:  Control flow issues  (DEADCODE)
/src/util-decode-der-get.c: 126 in UtctimeToTime()
120         year = strtol(yy, NULL, 10);
121         if (year >= 50)
122             snprintf(buf, sizeof(buf), "%i%s", 19, utctime);
123         else if (year < 50)
124             snprintf(buf, sizeof(buf), "%i%s", 20, utctime);
125         else
>>>     CID 1373380:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "goto error;".
126             goto error;
127
128         time = GentimeToTime(buf);
129         if (time == -1)
130             goto error;
131

8 years agohttp: removed unused flags
Victor Julien [Tue, 27 Sep 2016 15:10:16 +0000 (17:10 +0200)] 
http: removed unused flags

8 years agoapp-layer: tx counter implementation
Eric Leblond [Thu, 26 May 2016 21:11:34 +0000 (23:11 +0200)] 
app-layer: tx counter implementation

This patch adds a transaction counter for application layers
supporting it. Analysis is done after the parsing by the
different application layers.

This result in new data in the stats output, that looks like:
```
    "app-layer": {
      "tx": {
        "dns_udp": 21433,
        "http": 12766,
        "smtp": 0,
        "dns_tcp": 0
      }
    },
```

8 years agoapp-layer: add ThreadVars to AppLayerParserParse
Giuseppe Longo [Mon, 26 Sep 2016 12:55:16 +0000 (14:55 +0200)] 
app-layer: add ThreadVars to AppLayerParserParse

To be able to add a transaction counter we will need a ThreadVars
in the AppLayerParserParse function.
This function is massively used in unittests
and this result in an long commit.

8 years agoapp-layer: add flow counters
Giuseppe Longo [Tue, 26 Apr 2016 12:58:59 +0000 (14:58 +0200)] 
app-layer: add flow counters

This adds per flow counters for all
supported protocols.

This results in new data in stats output that looks like:
```
    "app-layer": {
      "flow": {
        "http": 9310,
        "ftp": 0,
        "smtp": 0,
        "tls": 71,
        "ssh": 0,
        "imap": 0,
        "msn": 0,
        "smb": 170,
        "dcerpc_udp": 0,
        "dns_udp": 870,
        "dcerpc_tcp": 2,
        "dns_tcp": 0
      },
    },
```

8 years agostream: fix depth reached detection
Eric Leblond [Tue, 2 Feb 2016 22:44:24 +0000 (23:44 +0100)] 
stream: fix depth reached detection

When a segment only partially fit in streaming depth, the stream
depth reached flag was not set resulting in a continuous
inspection of the rest of the session.

By setting the stream depth reached flag when the segment partially
fit we avoid to reenter the code and we don't take anymore a code
path resulting in the flag not to be set.

8 years agodetect: add detect engine for tls validity keywords
Mats Klepsland [Wed, 21 Sep 2016 10:40:12 +0000 (12:40 +0200)] 
detect: add detect engine for tls validity keywords

Add detect engine for tls validity keywords (tls_cert_notbefore and
tls_cert_notafter).

8 years agodetect-dns: move DetectEngineInspectGenericList to detect-engine.c
Mats Klepsland [Thu, 22 Sep 2016 10:19:41 +0000 (12:19 +0200)] 
detect-dns: move DetectEngineInspectGenericList to detect-engine.c

Move DetectEngineInspectGenericList from detect-engine-dns.c to
detect-engine.c to enable it to be used other places as well.

8 years agolua: add lua functions for certificate validity dates
Mats Klepsland [Tue, 20 Oct 2015 14:03:04 +0000 (16:03 +0200)] 
lua: add lua functions for certificate validity dates

Add functions TlsGetCertNotBefore and TLSGetCertNotAfter to get notBefore
and notAfter fields from TLS certificate in lua scripts.

8 years agoutil-lua: add (wrapper) function to push integer to lua scripts
Mats Klepsland [Tue, 20 Oct 2015 13:59:48 +0000 (15:59 +0200)] 
util-lua: add (wrapper) function to push integer to lua scripts

8 years agolog-tls: add notBefore and notAfter fields to extended output
Mats Klepsland [Tue, 20 Oct 2015 13:08:31 +0000 (15:08 +0200)] 
log-tls: add notBefore and notAfter fields to extended output

Add notBefore and NotAfter fields from TLS certificate to extended tls
log output.

8 years agooutput-json-tls: add notBefore and notAfter fields to extended output
Mats Klepsland [Tue, 20 Oct 2015 12:58:05 +0000 (14:58 +0200)] 
output-json-tls: add notBefore and notAfter fields to extended output

Add notBefore and notAfter fields from TLS certificate to extended JSON
output.

8 years agoutil-time: add function to create a UTC time string
Mats Klepsland [Mon, 14 Mar 2016 09:31:16 +0000 (10:31 +0100)] 
util-time: add function to create a UTC time string

Add function CreateUtcIsoTimeString to create a UTC time string.

8 years agodetect: add tls_cert_notbefore and tls_cert_notafter keywords
Mats Klepsland [Tue, 20 Oct 2015 12:16:13 +0000 (14:16 +0200)] 
detect: add tls_cert_notbefore and tls_cert_notafter keywords

Detection plugin for TLS certificate fields notBefore and notAfter.

Supports equal to, less than, greater than, and range operations
for both keywords. Dates can be represented as either ISO 8601 or
epoch (Unix time).

Examples:
alert tls [...] tls_cert_notafter:1445852105; [...]
alert tls [...] tls_cert_notbefore:<2015-10-22T23:59:59; [...]
alert tls [...] tls_cert_notbefore:>2015-10-22; [...]
alert tls [...] tls_cert_notafter:2000-10-22<>2020-05-15; [...]

8 years agoutil-time: add function to parse a date string based on patterns
Mats Klepsland [Fri, 23 Oct 2015 10:55:34 +0000 (12:55 +0200)] 
util-time: add function to parse a date string based on patterns

Add function SCStringPatternToTime to parse a date string based on an
array of pattern strings.

8 years agoapp-layer-ssl: add validity dates from certificate
Mats Klepsland [Mon, 19 Oct 2015 08:54:40 +0000 (10:54 +0200)] 
app-layer-ssl: add validity dates from certificate

Parsing of certificate validity dates to get notBefore and notAfter
fields.

8 years agoutil-time: add function to convert tm to time_t
Mats Klepsland [Fri, 30 Oct 2015 08:14:54 +0000 (09:14 +0100)] 
util-time: add function to convert tm to time_t

Add function SCMkTimeUtc to convert broken-down time to Unix epoch in UTC.

8 years agoutil-decode-der: decode GeneralizedTime
Mats Klepsland [Mon, 19 Oct 2015 08:19:20 +0000 (10:19 +0200)] 
util-decode-der: decode GeneralizedTime

Decode ASN.1 element type GeneralizedTime in DER-encoded
structures.

8 years agoapp-layer-ssl: use new unit test macros
Mats Klepsland [Fri, 23 Sep 2016 11:52:28 +0000 (13:52 +0200)] 
app-layer-ssl: use new unit test macros

8 years agodetect-ssl-version: use new unit test macros
Mats Klepsland [Fri, 23 Sep 2016 10:55:26 +0000 (12:55 +0200)] 
detect-ssl-version: use new unit test macros

8 years agodetect-tls-version: use new unit test macros
Mats Klepsland [Fri, 23 Sep 2016 10:33:59 +0000 (12:33 +0200)] 
detect-tls-version: use new unit test macros

8 years agodetect-tls-sni: use new unit test macros
Mats Klepsland [Fri, 23 Sep 2016 10:13:29 +0000 (12:13 +0200)] 
detect-tls-sni: use new unit test macros

8 years agodetect: fix faulty tls_sni unittests
Mats Klepsland [Mon, 23 May 2016 12:32:41 +0000 (14:32 +0200)] 
detect: fix faulty tls_sni unittests

8 years agotls: fix faulty unittests
Mats Klepsland [Mon, 23 May 2016 11:34:43 +0000 (13:34 +0200)] 
tls: fix faulty unittests

8 years agocoverty: fix CID 1361873
Mats Klepsland [Wed, 18 May 2016 13:36:25 +0000 (15:36 +0200)] 
coverty: fix CID 1361873

8 years agorules: add rule for HANDSHAKE_INVALID_LENGTH event
Mats Klepsland [Wed, 18 May 2016 13:34:32 +0000 (15:34 +0200)] 
rules: add rule for HANDSHAKE_INVALID_LENGTH event

8 years agotls: set event if input buffer overflows
Mats Klepsland [Wed, 18 May 2016 13:30:49 +0000 (15:30 +0200)] 
tls: set event if input buffer overflows

Set HANDSHAKE_INVALID_LENGTH event if input buffer overflows while
decoding client_hello/server_hello.

8 years agoapp-layer-tls: add name to authors
Mats Klepsland [Mon, 23 May 2016 11:38:01 +0000 (13:38 +0200)] 
app-layer-tls: add name to authors

8 years agotls: add function for decoding client_hello
Mats Klepsland [Wed, 18 May 2016 13:12:48 +0000 (15:12 +0200)] 
tls: add function for decoding client_hello

Add function TLSDecodeHandshakeHello() to enable using the same code
for decoding both client_hello and server_hello.

8 years agorule parsing: check for balanced double quotes
Jason Ish [Mon, 19 Sep 2016 16:43:00 +0000 (10:43 -0600)] 
rule parsing: check for balanced double quotes

If a rule option value starts with a double quote, ensure it
ends with a double quote, exclusive of white space which gets
trimmed anyways.

Catches errors like 'filemagic:"picture" sid:5555555;' reporting
that a missing semicolon may be the error.

8 years agounittests: fix tests
Victor Julien [Sat, 24 Sep 2016 07:22:39 +0000 (09:22 +0200)] 
unittests: fix tests

8 years agounittests: replace SCMutex* calls by FLOWLOCK_*
Victor Julien [Sat, 24 Sep 2016 06:40:33 +0000 (08:40 +0200)] 
unittests: replace SCMutex* calls by FLOWLOCK_*

8 years agofile: remove dead code
Victor Julien [Fri, 23 Sep 2016 11:15:48 +0000 (13:15 +0200)] 
file: remove dead code