]>
git.ipfire.org Git - thirdparty/suricata.git/log
Victor Julien [Fri, 20 Jan 2012 15:12:58 +0000 (16:12 +0100)]
Update Changelog to reflect changes between 1.2 and 1.2.1
Victor Julien [Fri, 20 Jan 2012 14:46:09 +0000 (15:46 +0100)]
Only force a pseudo packet inspection cycle for TCP streams in a state >= established.
Victor Julien [Fri, 20 Jan 2012 08:53:25 +0000 (09:53 +0100)]
Fix unified2 records generated based on reassembled stream data.
Victor Julien [Thu, 19 Jan 2012 13:25:34 +0000 (14:25 +0100)]
Update Changelog to reflect changes between 1.2rc1 and 1.2
Victor Julien [Wed, 18 Jan 2012 19:04:07 +0000 (20:04 +0100)]
Update app layer events for HTTP now that libhtp has fixes for some response errors.
Victor Julien [Wed, 18 Jan 2012 18:54:58 +0000 (19:54 +0100)]
Issue warning if libhtp version used is not up to date.
Victor Julien [Wed, 18 Jan 2012 18:51:10 +0000 (19:51 +0100)]
Enforce flow direction for http_raw_header sigs. Fix unittests that missed the flow direction.
Victor Julien [Wed, 18 Jan 2012 17:17:52 +0000 (18:17 +0100)]
Fix libhtp htp_tx_get_response_headers_raw 'detection' for bundled libhtp.
Victor Julien [Wed, 18 Jan 2012 17:16:45 +0000 (18:16 +0100)]
Update bundled libhtp to 0.2.7.
Victor Julien [Wed, 18 Jan 2012 15:25:25 +0000 (16:25 +0100)]
Allow log-pcap to use both absolute and relative sguil-base-dir settings when in 'sguil' mode.
Victor Julien [Wed, 18 Jan 2012 11:55:11 +0000 (12:55 +0100)]
Undo unintended changes to suricata.yaml.
Victor Julien [Wed, 18 Jan 2012 11:53:26 +0000 (12:53 +0100)]
Fix PathIsAbsolute function not dealing with CYGWIN. Handle absolute paths in logfile api.
Victor Julien [Wed, 18 Jan 2012 11:47:30 +0000 (12:47 +0100)]
Register HTTP logger at registration, not thread init.
Victor Julien [Wed, 18 Jan 2012 09:35:07 +0000 (10:35 +0100)]
Suppress ac-gfbs debug message being printed at info level.
Victor Julien [Wed, 18 Jan 2012 09:13:17 +0000 (10:13 +0100)]
Threading: do not keep a slots post_pq locked while processing the packets.
Victor Julien [Tue, 17 Jan 2012 08:32:30 +0000 (09:32 +0100)]
Fix flowbits sigmatch structure added to the match and post-match list, causing corruption of the prev ptr. This lead to an endless loop condition in the thresholding code. Thanks to Chris Wakelin for reporting the issue.
Victor Julien [Mon, 16 Jan 2012 18:41:22 +0000 (19:41 +0100)]
Fix pcap -i mode.
Victor Julien [Fri, 13 Jan 2012 15:23:53 +0000 (16:23 +0100)]
Make live worker runmode threads adhere to the 'detect' cpu affinity settings.
Victor Julien [Fri, 13 Jan 2012 12:06:31 +0000 (13:06 +0100)]
Fix pcap -i <ip>.
Victor Julien [Fri, 13 Jan 2012 11:46:03 +0000 (12:46 +0100)]
Indicate that the Suricata version used is a release or a git checkout.
Victor Julien [Fri, 13 Jan 2012 11:22:27 +0000 (12:22 +0100)]
Clean up default output. Use simpler output format for releases.
Victor Julien [Thu, 12 Jan 2012 14:50:54 +0000 (15:50 +0100)]
Assume offloading in use if 1/10th of the packets has a bad checksum.
Victor Julien [Thu, 12 Jan 2012 18:07:07 +0000 (19:07 +0100)]
Add missing Makefile.am files for rules/ and doc/ dir.
Victor Julien [Thu, 12 Jan 2012 11:12:58 +0000 (12:12 +0100)]
Fix checksum offloading auto detection typo: it should be 1/5th instead of 1/10th.
Victor Julien [Thu, 12 Jan 2012 07:48:14 +0000 (08:48 +0100)]
Make sure new rule and doc files are part of the dist.
Victor Julien [Wed, 11 Jan 2012 17:06:01 +0000 (18:06 +0100)]
Don't print error about missing git repo if building from tarball. Don't define REVISION in that case.
Victor Julien [Wed, 11 Jan 2012 16:51:11 +0000 (17:51 +0100)]
Update ChangeLog to reflect changes between 1.2beta1 and 1.2rc1.
Victor Julien [Wed, 11 Jan 2012 14:35:09 +0000 (15:35 +0100)]
Fix various minor clang/scan-build warnings.
Victor Julien [Wed, 11 Jan 2012 14:31:14 +0000 (15:31 +0100)]
Adapt signature ordering to new flowbits post-match handling.
Victor Julien [Wed, 11 Jan 2012 14:28:45 +0000 (15:28 +0100)]
Implement post match support for ip-only.
Victor Julien [Wed, 11 Jan 2012 14:05:29 +0000 (15:05 +0100)]
Let timing out flow use pseudo packets also if state is not fully closed.
Victor Julien [Wed, 11 Jan 2012 13:24:09 +0000 (14:24 +0100)]
Add post-match list, move flowbits set, etc functions to it. Move flowint set, etc functions to it as well.
Victor Julien [Wed, 11 Jan 2012 10:33:13 +0000 (11:33 +0100)]
Add export of wiki install docs to our doc/ dir.
Victor Julien [Wed, 11 Jan 2012 10:23:36 +0000 (11:23 +0100)]
Add reject support to live single, autofp and workers runmodes.
Eric Leblond [Wed, 11 Jan 2012 07:55:15 +0000 (08:55 +0100)]
runmode: Add Reject to IPS worker mode.
Victor Julien [Tue, 10 Jan 2012 16:21:03 +0000 (17:21 +0100)]
Print elapsed time with millisecond precision.
Victor Julien [Tue, 10 Jan 2012 15:23:32 +0000 (16:23 +0100)]
Set DROP flag for reject action so in addition to sending the rst, in IPS mode also drop the offending packet.
Victor Julien [Tue, 10 Jan 2012 13:15:59 +0000 (14:15 +0100)]
Fix HTTP state and raw stream not being inspected at the same time. Adds an exception to transaction id handling for HTTP.
Victor Julien [Fri, 6 Jan 2012 10:08:10 +0000 (11:08 +0100)]
Trigger raw stream reassembly on receiving a full HTTP request or response.
Victor Julien [Mon, 9 Jan 2012 14:16:37 +0000 (15:16 +0100)]
Disable printing dreaded app layer error messages to the screen: app layer events are here to safe us.
Victor Julien [Mon, 9 Jan 2012 14:10:16 +0000 (15:10 +0100)]
Add http-events.rules with an example rule for each HTTP event.
Victor Julien [Mon, 9 Jan 2012 14:09:48 +0000 (15:09 +0100)]
Convert error logging for HTTP to use new app layer event API. Expose libhtp warnings to this as well.
Victor Julien [Mon, 9 Jan 2012 07:58:02 +0000 (08:58 +0100)]
Add check to invalidate signatures that inspect raw http headers in the to_client direction (response headers) if libhtp hasn't been patched yet. Also add hack to disable the test for unittests, many tests fail and we'll fix those ASAP.
Victor Julien [Mon, 9 Jan 2012 07:44:53 +0000 (08:44 +0100)]
Clean up configure check for htp_tx_get_response_headers_raw. Misc changes.
Anoop Saldanha [Mon, 9 Jan 2012 07:14:09 +0000 (12:44 +0530)]
Enable http raw response header inspection only if libhtp supports raw response header buffering which should be available post 0.2.6
Anoop Saldanha [Mon, 9 Jan 2012 06:29:52 +0000 (11:59 +0530)]
support http response raw header inspection + carry out hrhd mpm on both request/response headers + add unittests for the same
Anoop Saldanha [Sat, 7 Jan 2012 17:39:51 +0000 (23:09 +0530)]
hhd unittests for response headers
Anoop Saldanha [Sat, 31 Dec 2011 08:01:17 +0000 (13:31 +0530)]
carry out hhd mpm on both request/response headers
Anoop Saldanha [Fri, 30 Dec 2011 12:14:47 +0000 (17:44 +0530)]
bug 389 - support http response header inspection + fix bug with stateful inspection for sigs that would have both request/response inpection
William [Thu, 5 Jan 2012 17:28:57 +0000 (11:28 -0600)]
Add simple socket to gzip file PoC.
Victor Julien [Fri, 6 Jan 2012 19:46:47 +0000 (20:46 +0100)]
Set 'livedev' in pcap acquisition module for older libpcap version as well. Fixes a segv.
Victor Julien [Fri, 6 Jan 2012 18:04:55 +0000 (19:04 +0100)]
Add example smtp decoding events rules file.
Victor Julien [Fri, 6 Jan 2012 18:02:02 +0000 (19:02 +0100)]
Make sure that continued stateful detection only inspects sigs in the proper direction.
Victor Julien [Fri, 6 Jan 2012 17:51:55 +0000 (18:51 +0100)]
Add signature direction (flow:toserver/flow:toclient) as a signature flag.
Victor Julien [Fri, 6 Jan 2012 17:20:35 +0000 (18:20 +0100)]
Simplify detection loop. Inspect packet keywords before the state.
Victor Julien [Fri, 6 Jan 2012 17:00:51 +0000 (18:00 +0100)]
Rename app_layer_events to app-layer-events. Misc fixes/changes.
Victor Julien [Fri, 6 Jan 2012 16:56:52 +0000 (17:56 +0100)]
Allow flowint names to have dots in them.
Anoop Saldanha [Fri, 6 Jan 2012 09:03:23 +0000 (14:33 +0530)]
Support for smtp decoder events
Anoop Saldanha [Fri, 6 Jan 2012 05:58:33 +0000 (11:28 +0530)]
Support for app layer decoder events added + app_layer_event keyword added
Victor Julien [Thu, 5 Jan 2012 17:24:32 +0000 (18:24 +0100)]
Allow non-existing flowints to be incremented. A 'set' to 0 is implied in this case.
Victor Julien [Thu, 5 Jan 2012 16:24:14 +0000 (17:24 +0100)]
Clean up csum detection output, misc fixes.
Eric Leblond [Wed, 4 Jan 2012 14:02:19 +0000 (15:02 +0100)]
config: Add explanation for checksum-checks options
Eric Leblond [Mon, 2 Jan 2012 16:51:21 +0000 (17:51 +0100)]
pf-ring: add support for checksum verif mode
This patch adds support for checksum verification mode.
Supported mode are yes, no, auto and rx-only.
Eric Leblond [Wed, 4 Jan 2012 18:15:56 +0000 (19:15 +0100)]
pcap: fix typo
Eric Leblond [Tue, 3 Jan 2012 15:42:38 +0000 (16:42 +0100)]
pcap: add auto mode support
Eric Leblond [Wed, 4 Jan 2012 18:24:53 +0000 (19:24 +0100)]
af-packet: fallback if 'kernel' mode is not supported
This patch adds a fallback to full checksum validation if 'kernel'
mode is not supported by the running kernel.
Eric Leblond [Tue, 3 Jan 2012 15:42:03 +0000 (16:42 +0100)]
af-packet: auto mode support
Eric Leblond [Tue, 3 Jan 2012 15:38:53 +0000 (16:38 +0100)]
Add per-interface counter for invalid checksum.
This patch adds a per-device counter for invalid checksum as
well as a simple packet counter.
Eric Leblond [Tue, 3 Jan 2012 09:48:44 +0000 (10:48 +0100)]
Introduce LiveGetDevice function
Eric Leblond [Tue, 3 Jan 2012 09:23:01 +0000 (10:23 +0100)]
Rename LiveGetDevice to LiveGetDeviceName
The function LiveGetDevice is returning a point to
the name of the interface. This patch renames it to
LiveGetDeviceName which is more appropriate.
Eric Leblond [Mon, 2 Jan 2012 17:17:08 +0000 (18:17 +0100)]
pcap: add support for checksum verif mode
This patch adds support for checksum verification mode.
Auto mode is not yet supported.
Eric Leblond [Mon, 2 Jan 2012 16:34:33 +0000 (17:34 +0100)]
af-packet: add support for checksum verif mode
This patch adds support for checksum verification mode.
Auto mode is not yet supported.
Eric Leblond [Mon, 2 Jan 2012 16:33:49 +0000 (17:33 +0100)]
decode: introduce checksum mode enum.
Eric Leblond [Mon, 2 Jan 2012 16:07:37 +0000 (17:07 +0100)]
af-packet: Fix typo in error message.
Eric Leblond [Wed, 21 Dec 2011 11:18:57 +0000 (12:18 +0100)]
detect-csum: incomplete checksum is a valid checksum
This patch modify checksum match to not alert on packet with
incomplete checksum. They will be checksummed later and thus
can be considered as valid one.
Eric Leblond [Tue, 20 Dec 2011 16:46:07 +0000 (17:46 +0100)]
af-packet: add variable to disable offloading detection
This flag adds variable to disable offloading detection. The effect
of the flag is to avoid to transmit auxiliary data at each packet.
This could result in a potential performance gain.
Eric Leblond [Tue, 20 Dec 2011 15:52:07 +0000 (16:52 +0100)]
af-packet: parse message to find lack of checksum
Emitted packet can have checksum offloading. This patch reads
af-packet message parameter to see if the kernel has sent a non
checksummed packet.
Eric Leblond [Tue, 20 Dec 2011 14:10:57 +0000 (15:10 +0100)]
pf-ring: Mark emitted traffic as non checksummed
The traffic sent by an interface is potentially offloaded. This
patch adds detection of TX packets and set the corresponding flag.
Eric Leblond [Tue, 20 Dec 2011 14:08:40 +0000 (15:08 +0100)]
Treat incomplete checksum.
Checksum of local traffic is often offloaded to the network device.
This causes some problems on parsing of this traffic. This patch
introduces a PKT_INCOMPLETE_CHECKSUM flag which can be used to
indicate that the checksum is not computed/correct for good reason.
Victor Julien [Thu, 5 Jan 2012 15:48:48 +0000 (16:48 +0100)]
Fix icmpv6 ip-only rule not firing. #363.
Anoop Saldanha [Wed, 28 Dec 2011 20:44:19 +0000 (02:14 +0530)]
indentation fix
Anoop Saldanha [Wed, 28 Dec 2011 20:41:37 +0000 (02:11 +0530)]
fix detection engine for alert stability. Fix cases where we have multiple rules having same pattern. We should see good perf increase(~5%) with this change, now that we avoid unnecessary inspection"
Anoop Saldanha [Mon, 26 Dec 2011 16:34:48 +0000 (22:04 +0530)]
indendation fix
Anoop Saldanha [Mon, 26 Dec 2011 16:34:00 +0000 (22:04 +0530)]
reclaim mpm contexts if no patterns are added to it, even in non-full mode
Anoop Saldanha [Mon, 26 Dec 2011 15:08:18 +0000 (20:38 +0530)]
update cuda mpm to support per proto mpm contexts. Fix faulty stream mpm usage of cuda
Anoop Saldanha [Sun, 25 Dec 2011 19:33:54 +0000 (01:03 +0530)]
introduce separate mpm ctxs for tcp/udp/other_protos
Anoop Saldanha [Sun, 25 Dec 2011 07:36:08 +0000 (13:06 +0530)]
refactor all http mpm engine code
Anoop Saldanha [Sat, 24 Dec 2011 09:12:02 +0000 (14:42 +0530)]
fix indentation
Anoop Saldanha [Sat, 24 Dec 2011 09:10:25 +0000 (14:40 +0530)]
remove unnecessary if/else checks
Victor Julien [Thu, 5 Jan 2012 14:22:30 +0000 (15:22 +0100)]
Add counters for SYN, SYN/ACK and RST TCP packets. Issue #251.
Victor Julien [Thu, 5 Jan 2012 10:37:25 +0000 (11:37 +0100)]
Let flow:only_stream and flow:no_stream set the require packet and require stream flags. Toss out sigs with conflicting settings. Rename flow:stream_only to flow:only_stream. Fixes #261.
Victor Julien [Thu, 5 Jan 2012 09:27:11 +0000 (10:27 +0100)]
Add tcp-pkt and tcp-stream 'protocols' to force a signature to inspect only packet or stream data.
Victor Julien [Thu, 5 Jan 2012 07:49:14 +0000 (08:49 +0100)]
Fix 2 compiler warnings.
Mike Pomraning [Wed, 7 Dec 2011 15:57:35 +0000 (09:57 -0600)]
Use strlcpy
Mike Pomraning [Tue, 6 Dec 2011 17:52:54 +0000 (11:52 -0600)]
Document new "filetype" argument for 'fast', 'http-log', etc.
Mike Pomraning [Tue, 6 Dec 2011 17:52:30 +0000 (11:52 -0600)]
Touch up Makefile for SCConfLogOpenGeneric.
Mike Pomraning [Tue, 6 Dec 2011 17:51:09 +0000 (11:51 -0600)]
Switch 'fast', 'http-log', 'drop' and 'alert-debug' to SCConfLogOpenGeneric.
Mike Pomraning [Tue, 6 Dec 2011 17:48:28 +0000 (11:48 -0600)]
SCConfLogOpenGeneric() abstraction for regular and AF_UNIX logs.
util-logopenfile.[ch] implements the abstraction; util-error.[ch]
modified to include a socket-specific error code; output.h adds a
default filetype for logs ("regular").
Victor Julien [Wed, 4 Jan 2012 16:07:33 +0000 (17:07 +0100)]
Switch log-file module to use new absolute path detection code.
Victor Julien [Wed, 4 Jan 2012 15:53:55 +0000 (16:53 +0100)]
Add functions to determine whether a path is absolute or relative.