]> git.ipfire.org Git - thirdparty/suricata.git/log
thirdparty/suricata.git
9 years agosources: fix netmap compilation and pcap setup 2070/head
Victor Julien [Tue, 10 May 2016 06:50:37 +0000 (08:50 +0200)] 
sources: fix netmap compilation and pcap setup

9 years agoflow queue handler: use int16_t
Victor Julien [Wed, 18 Mar 2015 10:24:26 +0000 (11:24 +0100)] 
flow queue handler: use int16_t

Use int16_t instead of int to store the autofp queue id. We should
not easily get to 32k threads so 2 bytes per flow is sufficient.

9 years agoflow: remove unused debug code
Victor Julien [Mon, 18 Apr 2016 14:26:18 +0000 (16:26 +0200)] 
flow: remove unused debug code

9 years agoflowint: redo tests
Victor Julien [Tue, 19 Apr 2016 09:38:25 +0000 (11:38 +0200)] 
flowint: redo tests

9 years agodetect: add missing sigorder case
Victor Julien [Tue, 19 Apr 2016 10:03:35 +0000 (12:03 +0200)] 
detect: add missing sigorder case

9 years agomodbus: fix AddressSanitizer error (segmentation fault) 2069/head
DIALLO David [Wed, 4 May 2016 07:58:01 +0000 (09:58 +0200)] 
modbus: fix AddressSanitizer error (segmentation fault)

In case of Mask Write register or Write single register request with
no data (malformed packet), app-layer-modbus checks response content
(data) with the none stored request content. That causes the segmentation
fault.

Before accessing to request content, app-layer-modbus checks now if
content has been previously stored. 4 unitests have been adding, 2 of them
to test the management of Mask Write register and Write single register requests,
and the 2 others to check invalid Mask Write register and Write single register
requests.

9 years agoipv6: fix alignment issue in address to string code
Victor Julien [Fri, 6 May 2016 13:18:57 +0000 (15:18 +0200)] 
ipv6: fix alignment issue in address to string code

9 years agoac-ks: fix integer handling issue
Victor Julien [Fri, 6 May 2016 13:13:21 +0000 (15:13 +0200)] 
ac-ks: fix integer handling issue

9 years agounittests: don't call memcpy on NULL-ptr
Victor Julien [Fri, 6 May 2016 13:12:29 +0000 (15:12 +0200)] 
unittests: don't call memcpy on NULL-ptr

9 years agopcre: initialize var before use
Victor Julien [Fri, 6 May 2016 13:10:42 +0000 (15:10 +0200)] 
pcre: initialize var before use

9 years agoyaml: minor cleanup
Victor Julien [Fri, 6 May 2016 13:09:52 +0000 (15:09 +0200)] 
yaml: minor cleanup

9 years agoyaml: initialize var to prevent uninitialized read
Victor Julien [Fri, 6 May 2016 13:09:36 +0000 (15:09 +0200)] 
yaml: initialize var to prevent uninitialized read

9 years agotcp sack: fix alignment issues
Victor Julien [Fri, 6 May 2016 13:04:07 +0000 (15:04 +0200)] 
tcp sack: fix alignment issues

9 years agosmb: improve integer handling
Victor Julien [Fri, 6 May 2016 13:00:10 +0000 (15:00 +0200)] 
smb: improve integer handling

9 years agodcerpc: improve integer handling
Victor Julien [Fri, 6 May 2016 12:57:55 +0000 (14:57 +0200)] 
dcerpc: improve integer handling

9 years agodetect port: fix integer handling in hashing
Victor Julien [Fri, 6 May 2016 11:06:15 +0000 (13:06 +0200)] 
detect port: fix integer handling in hashing

9 years agodecode: don't call memcpy on NULL-ptr on pseudo packets
Victor Julien [Fri, 6 May 2016 10:54:37 +0000 (12:54 +0200)] 
decode: don't call memcpy on NULL-ptr on pseudo packets

9 years agoippair: fix alignment issues
Victor Julien [Fri, 6 May 2016 10:50:15 +0000 (12:50 +0200)] 
ippair: fix alignment issues

9 years agohost: fix alignment issues
Victor Julien [Fri, 6 May 2016 10:50:01 +0000 (12:50 +0200)] 
host: fix alignment issues

9 years agoflow: fix alignment issues
Victor Julien [Fri, 6 May 2016 10:49:33 +0000 (12:49 +0200)] 
flow: fix alignment issues

9 years agotcp: fix alignment issues with tcp timestamps
Victor Julien [Fri, 6 May 2016 10:43:11 +0000 (12:43 +0200)] 
tcp: fix alignment issues with tcp timestamps

9 years agodecode-mime: don't call memcpy on NULL pointer
Victor Julien [Fri, 6 May 2016 09:04:29 +0000 (11:04 +0200)] 
decode-mime: don't call memcpy on NULL pointer

9 years agosources: allow interface definitions to be reordered
Jason Ish [Thu, 5 May 2016 15:41:45 +0000 (09:41 -0600)] 
sources: allow interface definitions to be reordered

For af-packet, pf-ring, netmap, and pcap use a generic
lookup function to find the configuration node for an
interface.

The new lookup function does not depend on the ordering
of the items inside the device configuration.

9 years agoconfig-test: fix memory leak detect by ASAN
Eric Leblond [Sun, 8 May 2016 22:06:57 +0000 (00:06 +0200)] 
config-test: fix memory leak detect by ASAN

NSS library was not deinit at exit resulting in memory leak. As
it is useless for a config test, the patch updates the code so it
is not initialized.

Patch also calls MagicDeinit to free memory used by libmagic.

9 years agoUse ConfValIsTrue for parseing util-logfile append value. 2058/head
maxtors [Thu, 5 May 2016 09:12:22 +0000 (11:12 +0200)] 
Use ConfValIsTrue for parseing util-logfile append value.

9 years agoUse ConfValIsTrue for parsing TILE PCIE logging append value.
maxtors [Thu, 5 May 2016 09:06:57 +0000 (11:06 +0200)] 
Use ConfValIsTrue for parsing TILE PCIE logging append value.

9 years agoUse ConfValIs* for parsing pf-ring.checksum-checks.
maxtors [Thu, 5 May 2016 08:58:24 +0000 (10:58 +0200)] 
Use ConfValIs* for parsing pf-ring.checksum-checks.

9 years agoUse ConfValIs* for parsing pcap.checksum-checks.
maxtors [Thu, 5 May 2016 08:53:41 +0000 (10:53 +0200)] 
Use ConfValIs* for parsing pcap.checksum-checks.

9 years agoUse ConfValIs* for parsing netmap.checksum-checks.
maxtors [Thu, 5 May 2016 08:51:57 +0000 (10:51 +0200)] 
Use ConfValIs* for parsing netmap.checksum-checks.

9 years agoUse ConfValIs* for parsing af-packet.checksum-checks.
maxtors [Thu, 5 May 2016 08:50:21 +0000 (10:50 +0200)] 
Use ConfValIs* for parsing af-packet.checksum-checks.

9 years agoUse ConfValIs* for parseing mpipe.checksum-checks.
maxtors [Thu, 5 May 2016 08:44:06 +0000 (10:44 +0200)] 
Use ConfValIs* for parseing mpipe.checksum-checks.

9 years agoUse ConfValIs* for parsing pcap-file.checksum-checks.
maxtors [Thu, 5 May 2016 08:41:42 +0000 (10:41 +0200)] 
Use ConfValIs* for parsing pcap-file.checksum-checks.

9 years agoprofiling: suppress inferior version of UtilCpuGetTicks warning 2053/head
Victor Julien [Tue, 3 May 2016 09:48:56 +0000 (11:48 +0200)] 
profiling: suppress inferior version of UtilCpuGetTicks warning

9 years agocoverty: fix dead code warning
Victor Julien [Tue, 3 May 2016 08:29:05 +0000 (10:29 +0200)] 
coverty: fix dead code warning

9 years agosmb: check that there is enough input data
Jason Ish [Thu, 28 Apr 2016 21:09:18 +0000 (15:09 -0600)] 
smb: check that there is enough input data

Conditional was checking the word count, but indexing
much further into the input data.

9 years agoReordering of RRTYPE switch case for performance.
maxtors [Thu, 28 Apr 2016 13:11:06 +0000 (15:11 +0200)] 
Reordering of RRTYPE switch case for performance.

9 years agoAdded more DNS Resource Record Types.
maxtors [Thu, 28 Apr 2016 10:59:23 +0000 (12:59 +0200)] 
Added more DNS Resource Record Types.

9 years agoChanged "enabled" parsing to use ConfValIs(true|false)
maxtors [Tue, 26 Apr 2016 11:53:42 +0000 (13:53 +0200)] 
Changed "enabled" parsing to use ConfValIs(true|false)

9 years agoUpdate ASN1_MAX_FRAMES to reflect default in suricata.yaml.in
maxtors [Mon, 25 Apr 2016 16:08:28 +0000 (18:08 +0200)] 
Update ASN1_MAX_FRAMES to reflect default in suricata.yaml.in

9 years agostats: fix stats.log ignoring null-values for threads
Victor Julien [Mon, 2 May 2016 12:30:35 +0000 (14:30 +0200)] 
stats: fix stats.log ignoring null-values for threads

9 years agocppcheck: fix harmless warnings 2050/head
Victor Julien [Mon, 2 May 2016 09:59:47 +0000 (11:59 +0200)] 
cppcheck: fix harmless warnings

[src/detect-engine-loader.c:272]: (error) Buffer is accessed out of bounds.
[src/flow-manager.c:742]: (error) Buffer is accessed out of bounds.
[src/flow-manager.c:906]: (error) Buffer is accessed out of bounds.

9 years agoRemove free operation on thread name field.
Zachary Rasmor [Wed, 27 Apr 2016 04:51:54 +0000 (00:51 -0400)] 
Remove free operation on thread name field.

Name field is now  a pre-allocated array - free is no longer necessary.
Fix issue leading to segfault during interface shortening in Single runmode.

9 years agorunmodes: constify names
Victor Julien [Tue, 24 Nov 2015 17:57:47 +0000 (18:57 +0100)] 
runmodes: constify names

9 years agoUpdate unit test to account for 'name' type change.
Zachary Rasmor [Sun, 6 Dec 2015 16:36:26 +0000 (11:36 -0500)] 
Update unit test to account for 'name' type change.

9 years agoUpdate thread creation and threads to use global thread names.
Zachary Rasmor [Sun, 6 Dec 2015 00:52:20 +0000 (19:52 -0500)] 
Update thread creation and threads to use global thread names.

Thread name is now stored as a static string buffer,
string duplication and alloc/de-alloc is no longer required.

9 years agoChange thread name from pointer to buffer. Remove pointer free.
Zachary Rasmor [Sun, 6 Dec 2015 00:56:55 +0000 (19:56 -0500)] 
Change thread name from pointer to buffer. Remove pointer free.

9 years agoUpdate shortening algorithm to account for addition of #.
Zachary Rasmor [Thu, 5 Nov 2015 03:55:13 +0000 (22:55 -0500)] 
Update shortening algorithm to account for addition of #.

9 years agoAdd global threadnames.
Zachary Rasmor [Thu, 5 Nov 2015 05:30:31 +0000 (00:30 -0500)] 
Add global threadnames.

Update thread naming convention to follow: W#01-eth0.
Add interface name where applicable, add #.

9 years agoUpdate pcap-file runmode to adhere to new thread standard.
Zachary Rasmor [Thu, 5 Nov 2015 04:43:31 +0000 (23:43 -0500)] 
Update pcap-file runmode to adhere to new thread standard.

9 years agoUpdate threads to use global thread names.
Zachary Rasmor [Thu, 5 Nov 2015 03:47:04 +0000 (22:47 -0500)] 
Update threads to use global thread names.

Update FlowManager/Recycler to use global name.
Also add # into thread number.
Update af-packet to use global threadnames.
Update pcap to use global threadnames.
Update pfring to use global threadnames.
Update erf-dag to use global threadnames.
Update nflog to use global threadnames.
Update netmap to use global threadnames.
Update napatech to use global threadnames.

9 years agoUpdate IPS thread names to new name standard.
Zachary Rasmor [Mon, 21 Sep 2015 01:58:46 +0000 (21:58 -0400)] 
Update IPS thread names to new name standard.

9 years agoUpdate thread naming convention for all IDS modes.
Zachary Rasmor [Sat, 19 Sep 2015 03:15:54 +0000 (23:15 -0400)] 
Update thread naming convention for all IDS modes.

- Change 'Detect' to 'W'
- Enforce 2 digit numbering in thread names with leading zero
- Add 01 after W for single mode: W01

9 years agoChanged naming of flowmanager/recycler.
maxtors [Thu, 7 May 2015 12:09:04 +0000 (14:09 +0200)] 
Changed naming of flowmanager/recycler.

- Changed FlowManagerThread to FM-
- Changed FlowRecyclerThread to FR-
- Changed use of strcasecmp to strncasecmp. This was used in the
  killing and disabling of FM/FR Threads.

9 years agoReworked how shortening should be performed.
maxtors [Thu, 16 Apr 2015 20:22:54 +0000 (22:22 +0200)] 
Reworked how shortening should be performed.

The shortening of the interfacenames is now dependent on the
size of the destination buffer, so that this can be easily
changed in the future. The process uses snprintf and strlcat.

Also changed the buffer sizes in the util-runmodes to 12
so that they can hold 11 chars + null terminator.

9 years agoFixed string copy and cat functions and made shortening safer.
maxtors [Wed, 15 Apr 2015 14:38:58 +0000 (16:38 +0200)] 
Fixed string copy and cat functions and made shortening safer.

Changed out strcpy, strncpy to strlcat and strlcpy. Also added
checks to see if the shortening did work or if it would fail in
advance. Fixed code in util-device and util-runmodes.

9 years agoAdded shortening of listening interface in util-runmodes
maxtors [Wed, 15 Apr 2015 13:21:24 +0000 (15:21 +0200)] 
Added shortening of listening interface in util-runmodes

Added function LiveSafeDeviceName in util-device that shortens an
NIC device name if the name is over a given length and turns
it in to Ex: longi...eeth1

9 years agodetect-msg: fix option parsing 2047/head
Eric Leblond [Fri, 29 Apr 2016 17:49:11 +0000 (19:49 +0200)] 
detect-msg: fix option parsing

Code removing the space before the double quote at msg option start
was not working correctly for option starting with a space.

9 years agosmtp: fix test 2028/head
Victor Julien [Thu, 21 Apr 2016 14:51:54 +0000 (16:51 +0200)] 
smtp: fix test

9 years agodetect file: improve multi file handling
Victor Julien [Thu, 21 Apr 2016 11:17:33 +0000 (13:17 +0200)] 
detect file: improve multi file handling

When multiple files were in a tx, the first one(s) closed/complete
and a new open one as well, a match in the former could lead to not
inspecting the latter.

This patch adds a workaround for this case, by allowing the file
inspection code to return a special code for 'match, but more files
available in tx'.

The stateful detection engine will then not make this match final for
the tx. It relies on the file pruning to kick in to make sure the
already complete files are removed from the tx before the next time
the detection engine is called on the tx.

9 years agodetect file: cleanups
Victor Julien [Thu, 21 Apr 2016 08:08:06 +0000 (10:08 +0200)] 
detect file: cleanups

9 years agodebug: add various detect engine debug statements
Victor Julien [Wed, 20 Apr 2016 15:47:31 +0000 (17:47 +0200)] 
debug: add various detect engine debug statements

9 years agohttp: flag destate about new files
Victor Julien [Wed, 20 Apr 2016 16:42:01 +0000 (18:42 +0200)] 
http: flag destate about new files

The stateful detection engine needs some assistance when inspecting
transactions with multiple files. This patch flags the detect state
(if any) about the availability of new files in http. For http it
should only apply to multipart bodies although the flag is set for
all files.

9 years agosmtp: flag detect state that new files are available
Victor Julien [Wed, 20 Apr 2016 15:27:41 +0000 (17:27 +0200)] 
smtp: flag detect state that new files are available

The stateful detection engine needs some assistance when inspecting
transactions with multiple files. This patch flags the detect state
(if any) about the availability of new files in smtp.

9 years agodetect state: fix issues with multiple files per tx
Victor Julien [Fri, 22 Apr 2016 06:53:19 +0000 (08:53 +0200)] 
detect state: fix issues with multiple files per tx

Make sure multiple files in a single tx are inspected correctly. This
requires resetting part of the stored state on new files.

9 years agosmtp/mime: allow unquoted name/filename fields
Victor Julien [Thu, 21 Apr 2016 13:14:45 +0000 (15:14 +0200)] 
smtp/mime: allow unquoted name/filename fields

Don't enforce that name/filename fields are quoted.

Reported-By: Blair Steven
9 years agosmtp: fix file logging and matching
Victor Julien [Thu, 21 Apr 2016 12:37:43 +0000 (14:37 +0200)] 
smtp: fix file logging and matching

When no rules with 'file content' keywords like filemd5 or filestore
were used, and non of the file outputs would force 'output' like
'force-md5' and 'force-magic', the file would not be tracked at all.

This meant that logging wouldn't work and neither would filename and
fileext inspection.

This patch removes the tracking bypass from the SMTP code and leaves
decisions to the file API.

9 years agoRemoved duplicate include statements.
maxtors [Sun, 24 Apr 2016 14:19:39 +0000 (16:19 +0200)] 
Removed duplicate include statements.

9 years agoModule specific error code for init ctx error.
maxtors [Sun, 24 Apr 2016 09:18:50 +0000 (11:18 +0200)] 
Module specific error code for init ctx error.

9 years agoCorrected and unified debugmessages for init data errors in *ThreadInit.
maxtors [Sun, 24 Apr 2016 09:04:59 +0000 (11:04 +0200)] 
Corrected and unified debugmessages for init data errors in *ThreadInit.

9 years agoAdded parsing and utilization of yaml defined payload buffer value. 2021/head
maxtors [Fri, 22 Apr 2016 18:15:21 +0000 (20:15 +0200)] 
Added parsing and utilization of yaml defined payload buffer value.

9 years agoAdded payload-buffer-size option to yaml configuration
maxtors [Fri, 22 Apr 2016 17:18:40 +0000 (19:18 +0200)] 
Added payload-buffer-size option to yaml configuration

9 years agolua: print lua script func/line/file in SCLog* funcs 2020/head
Victor Julien [Thu, 11 Feb 2016 17:10:00 +0000 (18:10 +0100)] 
lua: print lua script func/line/file in SCLog* funcs

Instead of printing the func/line/file of the C code SCLog* wrappers,
print them from inside the lua script. They are not always available.

9 years agoQA: --afl-rules for faster rule fuzzing
Victor Julien [Fri, 15 Apr 2016 05:47:55 +0000 (07:47 +0200)] 
QA: --afl-rules for faster rule fuzzing

9 years agopcap: small cleanups
Victor Julien [Fri, 15 Apr 2016 10:26:40 +0000 (12:26 +0200)] 
pcap: small cleanups

9 years agodns: don't read uninitialized memory in name parsing 2007/head
Victor Julien [Thu, 14 Apr 2016 07:46:56 +0000 (09:46 +0200)] 
dns: don't read uninitialized memory in name parsing

AFL+ASAN found that with certain input we used an uninitialized byte
in the length calculation. Probably harmless as the length was still
validated afterwards.

9 years agostream-tcp: improve test function cleanup
Victor Julien [Wed, 13 Apr 2016 08:14:35 +0000 (10:14 +0200)] 
stream-tcp: improve test function cleanup

9 years agostream-tcp: introduce stream cleanup function
Victor Julien [Wed, 13 Apr 2016 08:13:50 +0000 (10:13 +0200)] 
stream-tcp: introduce stream cleanup function

9 years agostream-tcp: unify ssn clean up functions
Victor Julien [Wed, 13 Apr 2016 07:46:18 +0000 (09:46 +0200)] 
stream-tcp: unify ssn clean up functions

There were 2 separate function doing ssn cleanup. To prevent issues
common with code duplication, unify them.

9 years agocapture: only check for faster methods on -i 2006/head
Victor Julien [Tue, 12 Apr 2016 10:30:20 +0000 (12:30 +0200)] 
capture: only check for faster methods on -i

Also, since we now default to AF_PACKET for -i if available, only check
for PF_RING and NETMAP.

9 years agocommandline: add -i arg check
Victor Julien [Sat, 7 Nov 2015 22:50:17 +0000 (23:50 +0100)] 
commandline: add -i arg check

9 years agocommandline: use afpacket for -i if available
Victor Julien [Sun, 8 Nov 2015 09:02:31 +0000 (10:02 +0100)] 
commandline: use afpacket for -i if available

9 years agopcap: unify -i and --pcap parsing
Victor Julien [Sun, 8 Nov 2015 09:02:11 +0000 (10:02 +0100)] 
pcap: unify -i and --pcap parsing

9 years agocommandline: move afpacket parsing into util func
Victor Julien [Sat, 7 Nov 2015 18:28:49 +0000 (19:28 +0100)] 
commandline: move afpacket parsing into util func

9 years agocommandline: move pcap parsing into util func
Victor Julien [Sat, 7 Nov 2015 18:03:48 +0000 (19:03 +0100)] 
commandline: move pcap parsing into util func

9 years agoinstance: add progname as ptr to argv[0]
Victor Julien [Sat, 7 Nov 2015 18:07:40 +0000 (19:07 +0100)] 
instance: add progname as ptr to argv[0]

9 years agoreadme: initial readme for github
Victor Julien [Tue, 12 Apr 2016 16:54:06 +0000 (18:54 +0200)] 
readme: initial readme for github

9 years agoconfigure: don't use AC_DISABLE_SHARED as it breaks OSX
Victor Julien [Wed, 13 Apr 2016 07:08:59 +0000 (09:08 +0200)] 
configure: don't use AC_DISABLE_SHARED as it breaks OSX

9 years agoafl: add support for AFL PERSISTANT_MODE
Mats Klepsland [Tue, 12 Apr 2016 10:07:43 +0000 (12:07 +0200)] 
afl: add support for AFL PERSISTANT_MODE

Add support for AFL PERSISTANT_MODE when Suricata is compiled with
a supported compiler (only afl-clang-fast for now).

This gives a ~10x performance boost when fuzzing.

9 years agoQA: add --afl-der=<file>
Mats Klepsland [Sun, 10 Apr 2016 11:41:02 +0000 (13:41 +0200)] 
QA: add --afl-der=<file>

Expose SSL/TLS certificate decoding (DER) to commandline
using --afl-der=<file>.

9 years agoQA: add --afl-decoder-ppp=<file>
Victor Julien [Tue, 29 Mar 2016 16:18:20 +0000 (18:18 +0200)] 
QA: add --afl-decoder-ppp=<file>

9 years agoQA: expose Mime decoding API to commandline using --afl-mime=<file>
Victor Julien [Fri, 25 Mar 2016 13:25:22 +0000 (14:25 +0100)] 
QA: expose Mime decoding API to commandline using --afl-mime=<file>

9 years agoQA: direct access from commandline to AppLayer API
Victor Julien [Fri, 11 Mar 2016 11:00:22 +0000 (12:00 +0100)] 
QA: direct access from commandline to AppLayer API

This patch introduces a new set of commandline options meant for
assisting in fuzz testing the app layer implementations.

Per protocol, 2 commandline options are added:

--afl-http-request=<filename>
--afl-http=<filename>

In the former case, the contents of the file are passed directly to
the HTTP parser as request data.

In the latter case, the data is devided between request and responses.
First 64 bytes are request, then next 64 are response, next 64 are
request, etc, etc.

9 years agoafl: add --enable-afl configure option
Victor Julien [Mon, 8 Feb 2016 15:32:47 +0000 (16:32 +0100)] 
afl: add --enable-afl configure option

9 years agoafl: optionally exit right after afl single runmode
Victor Julien [Tue, 8 Dec 2015 18:55:40 +0000 (19:55 +0100)] 
afl: optionally exit right after afl single runmode

Exit right away if afl.exit_after_pcap is set to true. Safes time
as fuzzing the shutdown code may not be as interesting.

9 years agoafl: add --afl-parse-rules to return 0 on any rule
Victor Julien [Tue, 8 Dec 2015 09:42:03 +0000 (10:42 +0100)] 
afl: add --afl-parse-rules to return 0 on any rule

When fuzzing, AFL will create lots of malformed rules. We don't want
to error out on those. As we're fuzzing the parser any non-crash
should return 0. Crashes (ASAN or not) will return a non-0 code.

9 years agoafl: special 'single' runmode
Victor Julien [Sat, 5 Dec 2015 13:48:05 +0000 (14:48 +0100)] 
afl: special 'single' runmode

To avoid threading, this 'single' mode doesn't run in it's own thread
but instead runs in the main thread.

9 years agoafl: add define to disable mgt threads
Victor Julien [Sat, 5 Dec 2015 13:29:14 +0000 (14:29 +0100)] 
afl: add define to disable mgt threads

The inherent non-deterministic nature of the management threads
creates variable test cases.

9 years agoafl: add define to disable rand_r use
Victor Julien [Sat, 5 Dec 2015 13:14:58 +0000 (14:14 +0100)] 
afl: add define to disable rand_r use

The randomness affects AFL. It creates variable test cases, which
we need to avoid.

9 years agodetect reload: improve signal logic 2001/head
Victor Julien [Tue, 12 Apr 2016 06:21:13 +0000 (08:21 +0200)] 
detect reload: improve signal logic

9 years agostartup: move more into PostConfLoadedSetup
Victor Julien [Fri, 29 May 2015 12:41:44 +0000 (14:41 +0200)] 
startup: move more into PostConfLoadedSetup