]> git.ipfire.org Git - thirdparty/suricata.git/log
thirdparty/suricata.git
13 years agoImprove check of min requirement for AF_PACKET.
Eric Leblond [Mon, 26 Mar 2012 16:57:42 +0000 (18:57 +0200)] 
Improve check of min requirement for AF_PACKET.

As pointed out by #416, AF_PACKET detection support was not accurate
enough. This patch improves the check by doing a verification of
the availability of the feature level needed to build AF_PACKET.
We need TPACKET_V2 which is available after 2.6.27.

13 years agocuda pb tm should be in a thread of its own + pkt_acq should be as free as possible
Anoop Saldanha [Fri, 23 Mar 2012 04:47:03 +0000 (10:17 +0530)] 
cuda pb tm should be in a thread of its own + pkt_acq should be as free as possible

13 years agob2g cuda up, compiling and running
Anoop Saldanha [Fri, 23 Mar 2012 03:18:10 +0000 (08:48 +0530)] 
b2g cuda up, compiling and running

13 years agoclean log pcap
Anoop Saldanha [Sun, 25 Mar 2012 07:14:56 +0000 (12:44 +0530)] 
clean log pcap

13 years agorestructure log pcap to use a different setup, which is resilient to thread failure...
Anoop Saldanha [Sun, 25 Mar 2012 06:39:30 +0000 (12:09 +0530)] 
restructure log pcap to use a different setup, which is resilient to thread failure/restarts

13 years agodon't return TM failure on failing to remove log file
Anoop Saldanha [Sun, 25 Mar 2012 05:43:44 +0000 (11:13 +0530)] 
don't return TM failure on failing to remove log file

13 years agoinit every new pf instance in log pcap
Anoop Saldanha [Sun, 25 Mar 2012 05:46:53 +0000 (11:16 +0530)] 
init every new pf instance in log pcap

13 years agohost: convert host hash to use lookup3.c
Victor Julien [Tue, 27 Mar 2012 08:38:15 +0000 (10:38 +0200)] 
host: convert host hash to use lookup3.c

13 years agoflow: make flow use lookup3.c hashing algorithm. Improves hash table distribution.
Victor Julien [Tue, 27 Mar 2012 08:05:51 +0000 (10:05 +0200)] 
flow: make flow use lookup3.c hashing algorithm. Improves hash table distribution.

13 years agohash: add lookup3.c by Bob Jenkins
Victor Julien [Tue, 27 Mar 2012 08:02:52 +0000 (10:02 +0200)] 
hash: add lookup3.c by Bob Jenkins

Found here:
http://burtleburtle.net/bob/hash/doobs.html
http://burtleburtle.net/bob/c/lookup3.c

From the file header:

lookup3.c, by Bob Jenkins, May 2006, Public Domain.

These are functions for producing 32-bit hashes for hash table lookup.
hashword(), hashlittle(), hashlittle2(), hashbig(), mix(), and final()
are externally useful functions.  Routines to test the hash are included
if SELF_TEST is defined.  You can use this free for any purpose.  It's in
the public domain.  It has no warranty.

13 years agoflow: create a flow lock macro API, implement it for mutex and rwlocks. Mutex remains...
Victor Julien [Sat, 24 Mar 2012 11:23:50 +0000 (12:23 +0100)] 
flow: create a flow lock macro API, implement it for mutex and rwlocks. Mutex remains the default.

13 years agoInclude conf_test in special cases for unset RUNMODE
Xavier Lange [Fri, 23 Mar 2012 08:30:13 +0000 (01:30 -0700)] 
Include conf_test in special cases for unset RUNMODE

13 years agoMake conf_test local. Simplify if/else to if.
Xavier Lange [Tue, 20 Mar 2012 21:02:49 +0000 (14:02 -0700)] 
Make conf_test local. Simplify if/else to if.

13 years agoDo not spawn threads for conf test
Xavier Lange [Mon, 19 Mar 2012 10:58:36 +0000 (03:58 -0700)] 
Do not spawn threads for conf test

13 years agoAdded conf_test flag and behavior
Xavier Lange [Mon, 19 Mar 2012 10:32:03 +0000 (03:32 -0700)] 
Added conf_test flag and behavior

13 years agofile magic: don't disable inspecting magic for both directions if files in only one...
Victor Julien [Thu, 22 Mar 2012 17:26:40 +0000 (18:26 +0100)] 
file magic: don't disable inspecting magic for both directions if files in only one direction don't need magic.

13 years agoAdd host section to stock yaml.
Victor Julien [Thu, 22 Mar 2012 16:02:41 +0000 (17:02 +0100)] 
Add host section to stock yaml.

13 years agoEnforce memcap limit before allocating hash table in host and flow engines.
Victor Julien [Thu, 22 Mar 2012 16:02:25 +0000 (17:02 +0100)] 
Enforce memcap limit before allocating hash table in host and flow engines.

13 years agoFix typo in spm prototype declaration.
Victor Julien [Thu, 22 Mar 2012 16:01:34 +0000 (17:01 +0100)] 
Fix typo in spm prototype declaration.

13 years agoupdate all spm algos to use 16 bit pattern lengths. Should compress a lot of tables
Anoop Saldanha [Thu, 22 Mar 2012 11:45:15 +0000 (17:15 +0530)] 
update all spm algos to use 16 bit pattern lengths. Should compress a lot of tables

13 years agoMake 'autofp' the default runmode. Increase default max-pending-packets to 1024....
Victor Julien [Thu, 22 Mar 2012 12:17:51 +0000 (13:17 +0100)] 
Make 'autofp' the default runmode. Increase default max-pending-packets to 1024. Move some advanced and uncommonly changed settings down in the stock suricata.yaml. Closes #433.

13 years agofix misleading comment
Eileen Donlon [Tue, 20 Mar 2012 15:02:21 +0000 (11:02 -0400)] 
fix misleading comment

13 years agoreject rules with invalid hex digits in content
Eileen Donlon [Tue, 20 Mar 2012 14:59:47 +0000 (10:59 -0400)] 
reject rules with invalid hex digits in content

13 years agoreject rules with an invalid ttl range
Eileen Donlon [Wed, 21 Mar 2012 16:12:38 +0000 (12:12 -0400)] 
reject rules with an invalid ttl range

13 years agoVarious small flow and host table fixes.
Victor Julien [Thu, 22 Mar 2012 10:53:35 +0000 (11:53 +0100)] 
Various small flow and host table fixes.

13 years agohttp: 'HTTP Host header ambiguous' after libhtp update. It now fires if hostname...
Victor Julien [Thu, 22 Mar 2012 11:40:49 +0000 (12:40 +0100)] 
http: 'HTTP Host header ambiguous' after libhtp update. It now fires if hostname is present both in URL and Host header and the 2 are not equal.

13 years agolibhtp: update to sync with upstream 0.2.x
Victor Julien [Thu, 22 Mar 2012 11:33:57 +0000 (12:33 +0100)] 
libhtp: update to sync with upstream 0.2.x

Patches applied are:

commit 85f5bbc39dda2eaf03ccb6111cbf5daf1c7b75f9
Author: Craig Forbes <cforbes@qualys.com>
Date:   Wed Mar 21 16:45:04 2012 +0000

    Backport of STREAM_STATE_TUNNEL fix to 0.2.x.

    Return STREAM_STATE_TUNNEL after entering a tunnel.

commit cfbe28cd4ddde6d77c5b0d5935c8717834971441
Author: Craig Forbes <cforbes@qualys.com>
Date:   Wed Feb 29 16:52:44 2012 +0000

    Backport of the fix for HTP_AMBIGUOUS_HOST flag.

    The flag is only set when the URI host on the request line is different
    than the value in the Host: request header.

    Resolves https://github.com/ironbee/libhtp/issues/20

commit 196dfb1c8b7a5996389c719e2c912163c5607916
Author: Brian Rectanus <brectanus@qualys.com>
Date:   Wed Feb 8 08:35:46 2012 -0600

    Add missing function declaration in header.

commit 7878fec818167fcdf7c8c4852ac0dafa1ae445f1
Author: Brian Rectanus <brectanus@qualys.com>
Date:   Wed Feb 8 08:35:07 2012 -0600

    Revert part of previous patch, which was invalid.

commit bafef3d4cbfc307960677c6bd682ae195fe986cd
Author: Brian Rectanus <brectanus@qualys.com>
Date:   Wed Feb 8 08:36:06 2012 -0600

    Update version to next dev release.

commit 62cfdb41ba84f2666c7526e2e5d9e10ab8e220f1
Author: William Metcalf <wmetcalf@qualys.com>
Date:   Wed Feb 1 13:19:48 2012 -0600

Many thanks to Will, Brian and Craig.

13 years agoBail out early if we're in http tunnel mode.
Victor Julien [Tue, 20 Mar 2012 11:55:45 +0000 (12:55 +0100)] 
Bail out early if we're in http tunnel mode.

13 years agoSilence ac-gfbs debug message.
Victor Julien [Tue, 20 Mar 2012 09:46:38 +0000 (10:46 +0100)] 
Silence ac-gfbs debug message.

13 years agoMinor error message cleanups
Victor Julien [Tue, 20 Mar 2012 09:15:02 +0000 (10:15 +0100)] 
Minor error message cleanups

13 years agoprofiling: fix lock profiling int print issue.
Victor Julien [Tue, 20 Mar 2012 09:14:43 +0000 (10:14 +0100)] 
profiling: fix lock profiling int print issue.

13 years agoflow: fix atomic var not being initialized and destroyed.
Victor Julien [Tue, 20 Mar 2012 09:13:52 +0000 (10:13 +0100)] 
flow: fix atomic var not being initialized and destroyed.

13 years agoFix bug in app layer event handling causing http event rules to fail loading.
Victor Julien [Mon, 19 Mar 2012 12:46:47 +0000 (13:46 +0100)] 
Fix bug in app layer event handling causing http event rules to fail loading.

13 years agoMinor flowq updates.
Victor Julien [Wed, 14 Mar 2012 12:32:40 +0000 (13:32 +0100)] 
Minor flowq updates.

13 years agoIntroduce the address hash based flow q handler
Anoop Saldanha [Mon, 12 Mar 2012 14:47:03 +0000 (20:17 +0530)] 
Introduce the address hash based flow q handler

13 years agoAdapt flow tmqh counters to be atomic vars. Remove support for active flows q handler...
Anoop Saldanha [Mon, 12 Mar 2012 14:18:49 +0000 (19:48 +0530)] 
Adapt flow tmqh counters to be atomic vars. Remove support for active flows q handler. Introduce SC_ATOMIC_SET

13 years agoSupport freeing flow q handler out ctx. Adapt unittests to use the same
Anoop Saldanha [Thu, 12 Jan 2012 11:23:02 +0000 (16:53 +0530)] 
Support freeing flow q handler out ctx. Adapt unittests to use the same

13 years agoneaten flow q handler code
Anoop Saldanha [Thu, 12 Jan 2012 11:09:47 +0000 (16:39 +0530)] 
neaten flow q handler code

13 years agoEnable unittests for flow q handler
Anoop Saldanha [Thu, 12 Jan 2012 11:01:08 +0000 (16:31 +0530)] 
Enable unittests for flow q handler

13 years agosupport flow q handler schedulers active_flows and active_packets. Support new yaml...
Anoop Saldanha [Wed, 11 Jan 2012 18:33:13 +0000 (00:03 +0530)] 
support flow q handler schedulers active_flows and active_packets. Support new yaml option autofp_scheduler. Support for printing q handler stats as well

13 years agosupport for custom flow qhandlers - round robin support added
Anoop Saldanha [Tue, 27 Dec 2011 12:26:13 +0000 (17:56 +0530)] 
support for custom flow qhandlers - round robin support added

13 years agoTLS: add variable to store the error code in the decoder
Pierre Chifflier [Tue, 13 Mar 2012 21:08:39 +0000 (22:08 +0100)] 
TLS: add variable to store the error code in the decoder

Use a variable to store the decoding error code if required, and remove
the calls to SCLogInfo and SCLogDebug.

13 years agoTLS app layer: misc fixes, reorder some fields to same memory
Pierre Chifflier [Sat, 3 Mar 2012 13:11:38 +0000 (14:11 +0100)] 
TLS app layer: misc fixes, reorder some fields to same memory

13 years agoAdd TLS decode events
Pierre Chifflier [Tue, 28 Feb 2012 14:08:43 +0000 (15:08 +0100)] 
Add TLS decode events

13 years agoTLS: replace SigMatchAppendAppLayer with SigMatchAppendSMToList
Pierre Chifflier [Mon, 27 Feb 2012 16:23:24 +0000 (17:23 +0100)] 
TLS: replace SigMatchAppendAppLayer with SigMatchAppendSMToList

13 years agotls-handshake: add sanity checks.
Eric Leblond [Mon, 19 Dec 2011 10:14:21 +0000 (11:14 +0100)] 
tls-handshake: add sanity checks.

13 years agotls-handshake: Add some missing free in error handling.
Eric Leblond [Mon, 19 Dec 2011 09:22:06 +0000 (10:22 +0100)] 
tls-handshake: Add some missing free in error handling.

When DecodeAsn1BuildValue function fails, it may be necessary to
do some clean-up in the calling functions.

13 years agotls-handshake: DecodeAsn1BuildValue should return -1 for error
Eric Leblond [Mon, 19 Dec 2011 09:20:50 +0000 (10:20 +0100)] 
tls-handshake: DecodeAsn1BuildValue should return -1 for error

This patch modifies DecodeAsn1BuildValue to have it return -1 when
there is a too big number of bytes announced in the ASN.1 message.

13 years agoTLS parser: add sanity checks on loop
Eric Leblond [Mon, 28 Nov 2011 09:14:28 +0000 (10:14 +0100)] 
TLS parser: add sanity checks on loop

It was possible in some loop to read data placed after the buffer
resulting in invalid/unpredictable value. This patch fixes two of
this issues.

13 years agoTLS parser: add sanity check
Eric Leblond [Sun, 27 Nov 2011 11:28:36 +0000 (12:28 +0100)] 
TLS parser: add sanity check

13 years agoTLS parser: modify OCTETSTRING
Eric Leblond [Fri, 25 Nov 2011 17:40:34 +0000 (18:40 +0100)] 
TLS parser: modify OCTETSTRING

This patch does on over allocation of 1 for the OCTETSTRING
to be able to add a 0 at the end. This will then
allow us to use the string in printf.

13 years agoTLS parser: add handing of UTF8STRING
Pierre Chifflier [Sat, 3 Mar 2012 14:18:23 +0000 (15:18 +0100)] 
TLS parser: add handing of UTF8STRING

Some certificate contains UTF8STRING which is a subset of
OCTETSTRING. This patch adds support for this type of string.

13 years agoTLS keywords: fix match regex (remove extra space)
Pierre Chifflier [Sat, 3 Mar 2012 14:18:07 +0000 (15:18 +0100)] 
TLS keywords: fix match regex (remove extra space)

13 years agoTLS app layer: rewrite decoder to handle multiple messages in records
Pierre Chifflier [Sat, 3 Mar 2012 14:17:14 +0000 (15:17 +0100)] 
TLS app layer: rewrite decoder to handle multiple messages in records

Since we now parse the content of the TLS messages, we need to handle
the case multiple messages are shipped in a single TLS record, and
taking care of the multiple levels of fragmentation (message, record,
and TCP).
Additionally, fix a bug where the parser state was not reset after an
empty record.

13 years agoTLS app layer: fix number of bytes processed on SERVER_CERTIFICATE message.
Pierre Chifflier [Thu, 24 Nov 2011 16:50:47 +0000 (17:50 +0100)] 
TLS app layer: fix number of bytes processed on SERVER_CERTIFICATE message.

Change the function to return the number of bytes processed, and fix a bug
where the input buffer was wrong.

Signed-off-by: Pierre Chifflier <pierre.chifflier@ssi.gouv.fr>
13 years agotls app layer: add missing free
Eric Leblond [Wed, 9 Nov 2011 14:55:43 +0000 (15:55 +0100)] 
tls app layer: add missing free

issuerdn was not freed at exit.

13 years agotls app layer: handle negation on subject and issuerdn.
Eric Leblond [Wed, 9 Nov 2011 14:14:21 +0000 (15:14 +0100)] 
tls app layer: handle negation on subject and issuerdn.

This patch adds negation support for tls.subject and tls.issuerdn
matches.

13 years agoTLS app layer: Add tls.issuerdn keyword.
Eric Leblond [Wed, 9 Nov 2011 10:37:12 +0000 (11:37 +0100)] 
TLS app layer: Add tls.issuerdn keyword.

13 years agodecode ASN.1: Factorize value reading
Eric Leblond [Tue, 8 Nov 2011 14:46:59 +0000 (15:46 +0100)] 
decode ASN.1: Factorize value reading

This patch factorizes the reading of integer value and fix some
indentation. By convention, a value of 0xffffffff is returned
if the size of the integer is too big. In this case, the hexadecimal
value (which is also read) must be used.

13 years agoTLS handshake: get TLS ciphersuite and compression
Pierre Chifflier [Fri, 4 Nov 2011 17:18:46 +0000 (18:18 +0100)] 
TLS handshake: get TLS ciphersuite and compression

Decode the SERVER_HELLO message to extract the ciphersuite and compression
chosen by the server.

Signed-off-by: Pierre Chifflier <pierre.chifflier@ssi.gouv.fr>
13 years agoTLS handshake: decode the SERVER_CERTIFICATE message
Pierre Chifflier [Fri, 4 Nov 2011 17:18:45 +0000 (18:18 +0100)] 
TLS handshake: decode the SERVER_CERTIFICATE message

Add a decoder for the SERVER_CERTIFICATE during a TLS handshake, extracts the
certificates and keep the subject name.
Add the tls.subject keyword for substring match in rules (TLS layer).

Signed-off-by: Pierre Chifflier <pierre.chifflier@ssi.gouv.fr>
13 years agoAdd ASN.1 parser for X509 certificates (in DER format)
Pierre Chifflier [Fri, 4 Nov 2011 17:18:44 +0000 (18:18 +0100)] 
Add ASN.1 parser for X509 certificates (in DER format)

Signed-off-by: Pierre Chifflier <pierre.chifflier@ssi.gouv.fr>
13 years agoMake list-app-layer-protos option name match the help explanation. Make sure it works...
Victor Julien [Mon, 19 Mar 2012 10:50:50 +0000 (11:50 +0100)] 
Make list-app-layer-protos option name match the help explanation. Make sure it works w/o passing a config.

13 years agoAdd new command line option --list-app-layer-protocols to list supported app layer...
Anoop Saldanha [Mon, 19 Mar 2012 03:36:16 +0000 (09:06 +0530)] 
Add new command line option --list-app-layer-protocols to list supported app layer protocols in sigs

13 years agoAdd BUG_ON to avoid overruning AppLayerDetectDirection map array
Anoop Saldanha [Tue, 13 Mar 2012 11:35:53 +0000 (17:05 +0530)] 
Add BUG_ON to avoid overruning AppLayerDetectDirection map array

13 years agoreject rules with duplicate content modifiers
Eileen Donlon [Mon, 12 Mar 2012 22:41:53 +0000 (18:41 -0400)] 
reject rules with duplicate content modifiers

reject rules that have multiple depths, offsets, distances, fast_patterns, nocases, or rawbytes for the same content.

13 years agoadded null checks for init_hash to all ac mpms
Eileen Donlon [Tue, 13 Mar 2012 19:31:13 +0000 (15:31 -0400)] 
added null checks for init_hash to all ac mpms

13 years agoreject http_client_body with inconsistent flow dir
Eileen Donlon [Tue, 13 Mar 2012 00:31:58 +0000 (20:31 -0400)] 
reject http_client_body with inconsistent flow dir

reject http_client_body with flow: to_client or from_server

13 years agoClean up error message.
Victor Julien [Mon, 19 Mar 2012 09:42:40 +0000 (10:42 +0100)] 
Clean up error message.

13 years agodisallow-use-of-configuration-file-with-unittests
Eileen Donlon [Wed, 14 Mar 2012 16:43:38 +0000 (12:43 -0400)] 
disallow-use-of-configuration-file-with-unittests

13 years agoprofiling: add per lock location profiling
Victor Julien [Mon, 19 Mar 2012 09:28:34 +0000 (10:28 +0100)] 
profiling: add per lock location profiling

Add profiling per lock location in the code. Accounts how often a
lock is requested, how often it was contended, the max number of
ticks spent waiting for it, avg number of ticks waiting for it and
the total ticks for that location.

Added a new configure flag --enable-profiling-locks to enable this
feature.

13 years agoProfile pcap file callback.
Victor Julien [Thu, 15 Mar 2012 15:22:47 +0000 (16:22 +0100)] 
Profile pcap file callback.

13 years agoMake sure stream debug code is only used in debug mode.
Victor Julien [Thu, 15 Mar 2012 11:04:26 +0000 (12:04 +0100)] 
Make sure stream debug code is only used in debug mode.

13 years agoSmall http.log improvement: bail out early if there is nothing to log. Make output...
Victor Julien [Thu, 15 Mar 2012 11:01:09 +0000 (12:01 +0100)] 
Small http.log improvement: bail out early if there is nothing to log. Make output locking more fine grained.

13 years agoFix 2 compilation issues.
Victor Julien [Wed, 14 Mar 2012 18:19:02 +0000 (19:19 +0100)] 
Fix 2 compilation issues.

13 years agoMove over src and dst thresholding to use host table. Fix a bug in threshold 'both...
Victor Julien [Wed, 14 Mar 2012 18:12:59 +0000 (19:12 +0100)] 
Move over src and dst thresholding to use host table. Fix a bug in threshold 'both' handling.

13 years agoIntroduce host table, make tag use it
Victor Julien [Wed, 14 Mar 2012 06:56:11 +0000 (07:56 +0100)] 
Introduce host table, make tag use it

Add a host table similar to the flow table. A hash using fine grained
locking. Flow manager for now takes care of book keeping / garbage
collecting.

Tag subsystem now uses this for host based tagging instead of the
global tag hash table. Because the latter used a global lock and the
new code uses very fine grained locking this patch should improve
scalability.

13 years agoUndo changes from 88b8f15663076560b2237e6d8b8cae7e23d92bb6. Atomic stack implementati...
Victor Julien [Mon, 12 Mar 2012 11:36:49 +0000 (12:36 +0100)] 
Undo changes from 88b8f15663076560b2237e6d8b8cae7e23d92bb6. Atomic stack implementation had a-b-a problem.

13 years agoAdd atomic stack implementation. Convert flow spare queue to use this stack. Remove...
Victor Julien [Sat, 10 Mar 2012 12:31:12 +0000 (13:31 +0100)] 
Add atomic stack implementation. Convert flow spare queue to use this stack. Remove now unused flow-queue code.

13 years agoFix invalid declaration of enable_nss and enable_nspr in configure.in.
Victor Julien [Fri, 9 Mar 2012 17:50:23 +0000 (18:50 +0100)] 
Fix invalid declaration of enable_nss and enable_nspr in configure.in.

13 years agoAdd way to profile mutex/spin locks per thread module.
Victor Julien [Fri, 9 Mar 2012 16:45:09 +0000 (17:45 +0100)] 
Add way to profile mutex/spin locks per thread module.

13 years agoImplement stream memcap enforcements using atomics instead of spinlocked counters.
Victor Julien [Fri, 9 Mar 2012 12:19:02 +0000 (13:19 +0100)] 
Implement stream memcap enforcements using atomics instead of spinlocked counters.

13 years agoMisc fixes.
Victor Julien [Fri, 9 Mar 2012 17:36:07 +0000 (18:36 +0100)] 
Misc fixes.

13 years agoRemove trailing zero's from some counters output.
Victor Julien [Fri, 9 Mar 2012 17:34:25 +0000 (18:34 +0100)] 
Remove trailing zero's from some counters output.

13 years agoflow engine: improve scalability
Victor Julien [Fri, 9 Mar 2012 17:31:46 +0000 (18:31 +0100)] 
flow engine: improve scalability

Major redesign of the flow engine. Remove the flow queues that turned
out to be major choke points when using many threads. Flow manager now
walks the hash table directly. Simplify the way we get a new flow in
case of emergency.

13 years agoFix broken unittest.
Victor Julien [Thu, 8 Mar 2012 15:36:14 +0000 (16:36 +0100)] 
Fix broken unittest.

13 years agoadd null checks to fix bugs in StreamTcpTest23
Eileen Donlon [Tue, 6 Mar 2012 00:50:12 +0000 (19:50 -0500)] 
add null checks to fix bugs in StreamTcpTest23

13 years agofix more invalid content unittests
Eileen Donlon [Tue, 6 Mar 2012 00:31:26 +0000 (19:31 -0500)] 
fix more invalid content unittests

fix invalid unittests with mixed relative and non-relative content modifiers and other issues; DetectContentParse19 still contains some failing dce_stub tests which are commented out.

13 years agofix invalid unittests with mixed content modifiers
Eileen Donlon [Mon, 13 Feb 2012 15:45:29 +0000 (10:45 -0500)] 
fix invalid unittests with mixed content modifiers

Fixed some unittests that were incorrectly mixing relative and non-relative content modifiers.

13 years agoreject mixed relative and non-relative keywords
Eileen Donlon [Thu, 26 Jan 2012 18:06:03 +0000 (13:06 -0500)] 
reject mixed relative and non-relative keywords

reject signatures using relative and non-relative positional keywords for the same content (depth or offset with distance or within)

13 years agoreject invalid combinations of pcre modifiers
Eileen Donlon [Tue, 6 Mar 2012 22:03:29 +0000 (17:03 -0500)] 
reject invalid combinations of pcre modifiers

don't allow /B with normalized buffers, and don't mix modifiers for normalized and raw buffers

13 years agoAdd libnss/libnspr support output to configure. Clean up configure.in.
Victor Julien [Mon, 5 Mar 2012 13:51:28 +0000 (14:51 +0100)] 
Add libnss/libnspr support output to configure. Clean up configure.in.

13 years agoDo not assume the include dir for nss to be nss. On F16 it's nss3.
Victor Julien [Mon, 5 Mar 2012 08:03:26 +0000 (09:03 +0100)] 
Do not assume the include dir for nss to be nss. On F16 it's nss3.

13 years agoDo not assume the include dir for nspr to be nspr. On F16 it's nspr4.
Victor Julien [Mon, 5 Mar 2012 08:00:00 +0000 (09:00 +0100)] 
Do not assume the include dir for nspr to be nspr. On F16 it's nspr4.

13 years agoFix json output typo.
Victor Julien [Sat, 3 Mar 2012 13:10:49 +0000 (14:10 +0100)] 
Fix json output typo.

13 years agoFix issue discovered by Anoop. Passing u32 ptr to a size_t can caused badness.
Victor Julien [Fri, 2 Mar 2012 15:17:58 +0000 (16:17 +0100)] 
Fix issue discovered by Anoop. Passing u32 ptr to a size_t can caused badness.

13 years agoFix minor memleak in case af-packet init fails.
Victor Julien [Fri, 2 Mar 2012 11:13:16 +0000 (12:13 +0100)] 
Fix minor memleak in case af-packet init fails.

13 years agoFix UTHBuildFlow setup using wrong address.
Victor Julien [Fri, 2 Mar 2012 10:08:06 +0000 (11:08 +0100)] 
Fix UTHBuildFlow setup using wrong address.

13 years agoImprove http filename parsing.
Victor Julien [Fri, 2 Mar 2012 10:05:49 +0000 (11:05 +0100)] 
Improve http filename parsing.

13 years agoFix compilation with profiling enabled. Minor unittest fixes.
Victor Julien [Fri, 2 Mar 2012 09:43:02 +0000 (10:43 +0100)] 
Fix compilation with profiling enabled. Minor unittest fixes.