]>
git.ipfire.org Git - thirdparty/suricata.git/log
Anoop Saldanha [Tue, 15 May 2012 13:50:04 +0000 (19:20 +0530)]
fix failing rate filter unittest
Anoop Saldanha [Tue, 15 May 2012 13:12:24 +0000 (18:42 +0530)]
fix rate filters that reset the sig ctx data and handled action timeouts wrongly
Anoop Saldanha [Tue, 15 May 2012 12:57:37 +0000 (18:27 +0530)]
indentation fix
Anoop Saldanha [Sun, 6 May 2012 16:37:22 +0000 (22:07 +0530)]
fix rate filter alert suppression. Log error if rate filter has count of 0. Other minor fixes as well
Victor Julien [Sat, 12 May 2012 23:48:07 +0000 (01:48 +0200)]
Disable some stream rules by default, fix sid no typo.
Anoop Saldanha [Thu, 3 May 2012 07:05:53 +0000 (12:35 +0530)]
more coverity fixes
Anoop Saldanha [Wed, 2 May 2012 08:10:08 +0000 (13:40 +0530)]
coverity fixes
Victor Julien [Wed, 2 May 2012 08:16:57 +0000 (10:16 +0200)]
Add TLS decoder event rule file.
Victor Julien [Wed, 2 May 2012 08:16:35 +0000 (10:16 +0200)]
Don't enable UNITTESTS in AF_PACKET detection.
Eileen Donlon [Mon, 30 Apr 2012 16:01:41 +0000 (12:01 -0400)]
disallow pcre /P/I/U with flow:to_client/from_svr
Eileen Donlon [Mon, 30 Apr 2012 15:56:09 +0000 (11:56 -0400)]
disallow http_server_body with flow:to_server
disallow http_server_body with flow:to_server or from_client
Eileen Donlon [Mon, 30 Apr 2012 15:54:25 +0000 (11:54 -0400)]
allow only one flow option in a rule
Eileen Donlon [Mon, 30 Apr 2012 15:52:20 +0000 (11:52 -0400)]
disallow file_data with flow:to_server/from_client
Victor Julien [Tue, 1 May 2012 13:52:09 +0000 (15:52 +0200)]
Minor textual update.
Anoop Saldanha [Tue, 24 Apr 2012 07:33:09 +0000 (13:03 +0530)]
bug 454 - Provide better error message when the user supplies a NULL address range
Anoop Saldanha [Tue, 1 May 2012 08:09:01 +0000 (13:39 +0530)]
bug 456 fix for byte_extract to have array of the right size to update values with
Anoop Saldanha [Tue, 1 May 2012 06:21:47 +0000 (11:51 +0530)]
fix failing fast pattern unittests
Eric Leblond [Fri, 27 Apr 2012 14:01:58 +0000 (16:01 +0200)]
Fix OpenBSD compilation.
Victor Julien [Tue, 3 Apr 2012 18:19:04 +0000 (18:19 +0000)]
Use less queues and threads in nfq autofp mode.
Moved outputs from their own thread to stream/detect threads.
Anoop Saldanha [Tue, 24 Apr 2012 16:51:02 +0000 (22:21 +0530)]
fix detection filter unittests to reflect recent fixes
Anoop Saldanha [Tue, 24 Apr 2012 16:08:39 +0000 (21:38 +0530)]
code cleanup
Anoop Saldanha [Mon, 23 Apr 2012 13:33:44 +0000 (19:03 +0530)]
considering the tenths of a seconds in a packet, when calculating thresholds
Anoop Saldanha [Mon, 23 Apr 2012 08:16:34 +0000 (13:46 +0530)]
fix detection filter. Had one extra alert than normal previously, now fixed
Anoop Saldanha [Mon, 23 Apr 2012 06:35:49 +0000 (12:05 +0530)]
fix FNs for flow- only_stream and no_stream options
Anoop Saldanha [Fri, 20 Apr 2012 05:27:11 +0000 (10:57 +0530)]
code cleanup - indentation fix
Anoop Saldanha [Fri, 20 Apr 2012 05:25:16 +0000 (10:55 +0530)]
bug 452 - fix detection bug for sigs that don't have a content but need payload inspection
Anoop Saldanha [Fri, 20 Apr 2012 09:21:06 +0000 (14:51 +0530)]
bug 452 - enable http extra callbacks for configs other than the default configs
Anoop Saldanha [Sat, 21 Apr 2012 07:40:59 +0000 (13:10 +0530)]
remove unused stream ssn flag - STREAMTCP_FLAG_TOSERVER_REASSEMBLY_STARTED
Jason Ish [Wed, 18 Apr 2012 17:25:12 +0000 (11:25 -0600)]
Fix linking with libdag
Martin Holste [Sat, 21 Apr 2012 14:41:06 +0000 (09:41 -0500)]
Included Action::Syslog by default in config
Martin Holste [Sat, 21 Apr 2012 14:32:58 +0000 (09:32 -0500)]
Added Syslog action for logging to local syslog
Anoop Saldanha [Mon, 16 Apr 2012 16:42:07 +0000 (22:12 +0530)]
Free membuffer before clearing enclosing parent instance
Victor Julien [Fri, 13 Apr 2012 14:52:32 +0000 (16:52 +0200)]
ipv6: improve handling of packets with duplicate (or more) ipv6 extension headers.
Victor Julien [Thu, 5 Apr 2012 16:33:03 +0000 (18:33 +0200)]
http: body inspection improvement
Improve http_client_body and file_data performance when request and
response body limits are set to high values.
Victor Julien [Wed, 11 Apr 2012 12:38:34 +0000 (14:38 +0200)]
Add htp error debug printing.
Victor Julien [Wed, 11 Apr 2012 11:50:08 +0000 (13:50 +0200)]
Flag napatech receive tm as well.
Anoop Saldanha [Wed, 11 Apr 2012 10:58:40 +0000 (16:28 +0530)]
flag recieve acq tms that previously missed the receive_tm flag
Victor Julien [Wed, 11 Apr 2012 10:56:05 +0000 (12:56 +0200)]
Misc buffer API update.
Eileen Donlon [Wed, 4 Apr 2012 14:43:01 +0000 (10:43 -0400)]
reject pcre modifiers U with B
Eileen Donlon [Mon, 2 Apr 2012 13:17:31 +0000 (09:17 -0400)]
allow only one content to use fast_pattern
Victor Julien [Tue, 10 Apr 2012 15:52:32 +0000 (17:52 +0200)]
Add missing space to http.log.
Victor Julien [Tue, 10 Apr 2012 15:47:02 +0000 (17:47 +0200)]
Fix minor memleak in an start up error condition.
Anoop Saldanha [Thu, 5 Apr 2012 03:28:19 +0000 (08:58 +0530)]
Introduce new buffer API that lets you create and manage a buffer. Update http log to use this as well
Anoop Saldanha [Thu, 5 Apr 2012 15:15:38 +0000 (20:45 +0530)]
csum function fixes. Improves alert accuracy. FPs on invalid-csums decoder rules fixed
Anoop Saldanha [Sat, 7 Apr 2012 04:33:19 +0000 (10:03 +0530)]
minor code cleanup
Anoop Saldanha [Thu, 5 Apr 2012 19:07:16 +0000 (00:37 +0530)]
update handling negative offsets in byte_extract. Also improve validation in byte_extract to not extract values out of the buffer range
Victor Julien [Thu, 5 Apr 2012 14:42:24 +0000 (16:42 +0200)]
http: improve multipart parsing, skip empty records.
Victor Julien [Wed, 4 Apr 2012 12:26:40 +0000 (14:26 +0200)]
Update Changelog for 1.3beta1
Victor Julien [Wed, 4 Apr 2012 09:20:10 +0000 (11:20 +0200)]
Fix minor compiler warning.
Victor Julien [Wed, 4 Apr 2012 09:18:15 +0000 (11:18 +0200)]
defrag: don't increment recursion level for reassembled packets. Fixes defragged packets not seeing the same flow.
Jason Ish [Wed, 28 Mar 2012 21:21:00 +0000 (15:21 -0600)]
Update the ERF file runmodes to support autofp and single.
Jason Ish [Thu, 29 Mar 2012 19:41:37 +0000 (13:41 -0600)]
Apply changes recommended by Stephen Donnely of Endace: - Skip pad records. - Don't log error on EGAIN, just try again. - Skip over extension headers. - Check we have the full packet (skip partial packets) - Remove obsolete rlen check. Also remove max_pending_packets to process more packets per iteration.
Victor Julien [Tue, 3 Apr 2012 18:18:08 +0000 (20:18 +0200)]
ipv6: make sure we pass the defragged packet from the ipv6 layer to the decoder.
Victor Julien [Tue, 3 Apr 2012 12:57:13 +0000 (14:57 +0200)]
Fix error in proto handling for ipv6 in fast.log.
Victor Julien [Mon, 2 Apr 2012 22:07:57 +0000 (00:07 +0200)]
Apply http.log formatting fix by Chris Wakelin.
Victor Julien [Mon, 2 Apr 2012 17:25:13 +0000 (19:25 +0200)]
Fix error in per packet detection engine profiling.
Victor Julien [Mon, 2 Apr 2012 17:16:01 +0000 (19:16 +0200)]
Minor stream optimization.
Victor Julien [Mon, 2 Apr 2012 16:07:32 +0000 (18:07 +0200)]
Make fast.log use finer grained locking, move protocol lookup outside of the lock.
Victor Julien [Mon, 2 Apr 2012 13:45:16 +0000 (15:45 +0200)]
Minor optimizations to unified2 and fast.log.
Victor Julien [Mon, 2 Apr 2012 13:44:47 +0000 (15:44 +0200)]
Small compile fix.
Anoop Saldanha [Fri, 30 Mar 2012 10:37:29 +0000 (16:07 +0530)]
update util-print.c to use new print macro
Anoop Saldanha [Fri, 30 Mar 2012 08:31:03 +0000 (14:01 +0530)]
provide generic macro to buffer data using snprintf
Anoop Saldanha [Wed, 28 Mar 2012 19:34:41 +0000 (01:04 +0530)]
update util-print.c to use snprintf
Anoop Saldanha [Wed, 28 Mar 2012 19:02:22 +0000 (00:32 +0530)]
restructure http logging to use fine grained locking
Victor Julien [Fri, 30 Mar 2012 15:40:34 +0000 (17:40 +0200)]
Minor unittest fixes to make Coverity happy.
Victor Julien [Fri, 30 Mar 2012 13:09:04 +0000 (15:09 +0200)]
flow: add missing unlocks for rare error condition at flow shut down.
Victor Julien [Fri, 30 Mar 2012 12:47:45 +0000 (14:47 +0200)]
host: convert use_cnt to a atomic var (like in flow).
Victor Julien [Fri, 30 Mar 2012 11:07:00 +0000 (13:07 +0200)]
ipv6: fix routing header parsing leading to rejection of valid packets.
Victor Julien [Fri, 30 Mar 2012 10:43:15 +0000 (12:43 +0200)]
ipv6: properly deal with packets containing a FH header that has offset 0 and no more frags flag set.
Victor Julien [Fri, 30 Mar 2012 09:26:02 +0000 (11:26 +0200)]
ipv6: fix detection engine using the originals IPv6 header's nxt hdr value instead of the upper layer one.
Victor Julien [Fri, 30 Mar 2012 08:09:03 +0000 (10:09 +0200)]
Fix parsing of tcp-pkt and tcp-stream sigs, add unittest.
Anoop Saldanha [Thu, 29 Mar 2012 04:39:18 +0000 (10:09 +0530)]
fix cppcheck analyzer warnings - bug 439
Anoop Saldanha [Wed, 28 Mar 2012 14:56:05 +0000 (20:26 +0530)]
restructure disabling receive threads. Introduce new flag to indicate that threads have finised running
Eric Leblond [Wed, 28 Mar 2012 15:19:05 +0000 (17:19 +0200)]
pcap: fix "work by luck" code.
Eric Leblond [Thu, 29 Mar 2012 08:40:33 +0000 (10:40 +0200)]
af_packet: misc improvements.
Improve block count and only copy snaplen length to avoid overflow.
Victor Julien [Thu, 29 Mar 2012 11:33:16 +0000 (13:33 +0200)]
Fix some minor clang scan-build warnings.
Victor Julien [Wed, 28 Mar 2012 16:59:26 +0000 (18:59 +0200)]
nfq: switch locking code to macro's to lock profiling can track the exact lock locations.
Victor Julien [Wed, 28 Mar 2012 14:26:22 +0000 (16:26 +0200)]
Fix CUDA build from a release tarball.
Anoop Saldanha [Wed, 28 Mar 2012 05:17:36 +0000 (10:47 +0530)]
cleanup killing threads. As a consequence fixes invalid read/writes in tmqh flow
Anoop Saldanha [Wed, 28 Mar 2012 04:13:05 +0000 (09:43 +0530)]
cleanup junk code in flow qh
Victor Julien [Tue, 27 Mar 2012 15:05:39 +0000 (17:05 +0200)]
Fix misc issues picked up by coccinelle.
Anoop Saldanha [Tue, 27 Mar 2012 12:10:15 +0000 (17:40 +0530)]
fix compiler warnings
Victor Julien [Tue, 27 Mar 2012 12:17:37 +0000 (14:17 +0200)]
Fix __WORDSIZE redeclaration warning on Windows builds.
Jason Ish [Mon, 26 Mar 2012 17:58:24 +0000 (13:58 -0400)]
Implement single, autofp and workers run modes for DAG interfaces. Includes multiple interface support.
Remove auto mode due to bad performance.
Victor Julien [Tue, 27 Mar 2012 11:26:04 +0000 (13:26 +0200)]
Fix compilation of atomic api spinlocked fallback code.
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.
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
Anoop Saldanha [Fri, 23 Mar 2012 03:18:10 +0000 (08:48 +0530)]
b2g cuda up, compiling and running
Anoop Saldanha [Sun, 25 Mar 2012 07:14:56 +0000 (12:44 +0530)]
clean log pcap
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
Anoop Saldanha [Sun, 25 Mar 2012 05:43:44 +0000 (11:13 +0530)]
don't return TM failure on failing to remove log file
Anoop Saldanha [Sun, 25 Mar 2012 05:46:53 +0000 (11:16 +0530)]
init every new pf instance in log pcap
Victor Julien [Tue, 27 Mar 2012 08:38:15 +0000 (10:38 +0200)]
host: convert host hash to use lookup3.c
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.
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.
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.
Xavier Lange [Fri, 23 Mar 2012 08:30:13 +0000 (01:30 -0700)]
Include conf_test in special cases for unset RUNMODE
Xavier Lange [Tue, 20 Mar 2012 21:02:49 +0000 (14:02 -0700)]
Make conf_test local. Simplify if/else to if.
Xavier Lange [Mon, 19 Mar 2012 10:58:36 +0000 (03:58 -0700)]
Do not spawn threads for conf test
Xavier Lange [Mon, 19 Mar 2012 10:32:03 +0000 (03:32 -0700)]
Added conf_test flag and behavior