]> git.ipfire.org Git - thirdparty/suricata.git/log
thirdparty/suricata.git
12 years agococcinelle: add tcp flag check 341/head
Eric Leblond [Mon, 8 Apr 2013 17:16:31 +0000 (19:16 +0200)] 
coccinelle: add tcp flag check

The different TCP related structures have all a flags field and its
value must match the type of structure. This patch adds a check
alerting on invalid value usage.

12 years agostream: intro function for SYN/ACK state update
Victor Julien [Sat, 6 Apr 2013 15:52:44 +0000 (17:52 +0200)] 
stream: intro function for SYN/ACK state update

As the TCP SSN state can be updated from several points in the state
machine on accepting a SYN/ACK, move the update logic into a separate
function.

12 years agostream: remove unused 'pause' feature
Victor Julien [Sat, 6 Apr 2013 15:40:13 +0000 (17:40 +0200)] 
stream: remove unused 'pause' feature

12 years agostream: zero ts is a per stream flag
Victor Julien [Sat, 6 Apr 2013 15:26:33 +0000 (17:26 +0200)] 
stream: zero ts is a per stream flag

Ssn flag STREAMTCP_FLAG_ZERO_TIMESTAMP was used in stream only. Due to
it's value it did not conflict with a real stream flag. Renamed it to
STREAMTCP_STREAM_FLAG_ZERO_TIMESTAMP.

12 years agostream: don't use ssn timestamp flag in stream
Victor Julien [Sat, 6 Apr 2013 15:17:15 +0000 (17:17 +0200)] 
stream: don't use ssn timestamp flag in stream

The STREAMTCP_FLAG_TIMESTAMP flag is a ssn flag, however it was used in
the stream flag field. As it has the same value as
STREAMTCP_STREAM_FLAG_DEPTH_REACHED it's possible that stream reassembly
got confused by the timestamp.

12 years agoChange logic of SCErrorToString causing any missing entries to result in a compiler...
Victor Julien [Mon, 21 Jan 2013 14:49:15 +0000 (15:49 +0100)] 
Change logic of SCErrorToString causing any missing entries to result in a compiler warning.

12 years agoHandle the case of pcre combined with a relative content, where pcre has the
Anoop Saldanha [Wed, 27 Mar 2013 12:27:55 +0000 (17:57 +0530)] 
Handle the case of pcre combined with a relative content, where pcre has the
set to match from start of line and we discontinue matching on not finding
match.

12 years agounittest to display #784.
Anoop Saldanha [Tue, 26 Mar 2013 07:50:54 +0000 (13:20 +0530)] 
unittest to display #784.

12 years agoDon't try to sniff 'default' interface
Eric Leblond [Tue, 26 Mar 2013 17:24:46 +0000 (18:24 +0100)] 
Don't try to sniff 'default' interface

Whan running suricata via 'suricata --af-packet', the list of interfaces
was containing the 'default' interface and sniffing it was attempted.
This was not wanted.

12 years agobpf filter: use SCLogError instead of fprintf
Eric Leblond [Tue, 26 Mar 2013 16:59:35 +0000 (17:59 +0100)] 
bpf filter: use SCLogError instead of fprintf

12 years agoaf-packet: warn about BPF filter consequence in IPS mode
Eric Leblond [Tue, 26 Mar 2013 15:32:36 +0000 (16:32 +0100)] 
af-packet: warn about BPF filter consequence in IPS mode

This patch add a message to warn user about the impact of using a
BPF filter in IPS mode.

12 years agoExit if bpf is used in IPS mode
Eric Leblond [Tue, 26 Mar 2013 13:16:23 +0000 (14:16 +0100)] 
Exit if bpf is used in IPS mode

12 years agoconfigure: use correct syntax for help string 332/head
Eric Leblond [Tue, 26 Mar 2013 11:17:28 +0000 (12:17 +0100)] 
configure: use correct syntax for help string

12 years agoconfigure: add --enable-unix-socket flag
Eric Leblond [Tue, 26 Mar 2013 11:05:11 +0000 (12:05 +0100)] 
configure: add --enable-unix-socket flag

This new flag allows the user to force unix socket build or to
disallow it completely. Default which is test is maintained.

12 years agojansson: change function test to be sure of version
Eric Leblond [Mon, 18 Mar 2013 22:08:18 +0000 (23:08 +0100)] 
jansson: change function test to be sure of version

12 years agoUpdate version number of bundled htp to 0.2.12, so it matches the non-bundled version.
Victor Julien [Mon, 25 Mar 2013 18:38:56 +0000 (19:38 +0100)] 
Update version number of bundled htp to 0.2.12, so it matches the non-bundled version.

12 years agoAfter some discussion we decided that var declarations inside a for statement are...
Victor Julien [Wed, 20 Mar 2013 16:18:38 +0000 (17:18 +0100)] 
After some discussion we decided that var declarations inside a for statement are not in line with our coding style. So removing a bunch. Decision was not unanimous ^^.

12 years agoLive rule swap logs added to report SigLoadSignatures() failure. Also set
Anoop Saldanha [Wed, 20 Mar 2013 12:49:25 +0000 (18:19 +0530)] 
Live rule swap logs added to report SigLoadSignatures() failure. Also set
thread_closed flag on exit for live swap thread.

12 years agoMinor fixes against the last set of patches for #564, 565, 581 + fp automation.
Anoop Saldanha [Wed, 20 Mar 2013 12:47:42 +0000 (18:17 +0530)] 
Minor fixes against the last set of patches for #564, 565, 581 + fp automation.

Rename struct DetectFigureFPAndId_t_ to DetectFPAndItsId_ and move it's
definition from inside the function where it's used to the global namespace,
as requested on #suricata.

Rename DetectEngineContentModifiedBufferSetup to DetectEngineContentModifierBufferSetup.

Also rename DetectFigureFPAndId() to DetectSetFastPatternAndItsId().

Updated DetectSetFastPatternAndItsId() to not exit on failure and return error.

12 years agofix for #564.
Anoop Saldanha [Sun, 3 Mar 2013 12:19:03 +0000 (17:49 +0530)] 
fix for #564.

Get rid of the hash table, and use a single-one_time_alloc'ed array for
pattern id assignment.

12 years agoWe now print content flags in engine fp analyzer.
Anoop Saldanha [Sat, 2 Mar 2013 20:13:49 +0000 (01:43 +0530)] 
We now print content flags in engine fp analyzer.

12 years agoWe now assign ids to fp patterns only. Rest of them don't need one.
Anoop Saldanha [Fri, 1 Mar 2013 14:41:06 +0000 (20:11 +0530)] 
We now assign ids to fp patterns only.  Rest of them don't need one.

12 years agoUpdate content id assignment.
Anoop Saldanha [Fri, 1 Mar 2013 11:12:08 +0000 (16:42 +0530)] 
Update content id assignment.

All fp id assignment now happens in one go.
Also noticing a slight perf increase, probably emanating from improved cache
perf.
Removed irrelevant unittests as well.

12 years agoFigure out sig fp during validation stage, instead of staging stage.
Anoop Saldanha [Fri, 1 Mar 2013 08:21:14 +0000 (13:51 +0530)] 
Figure out sig fp during validation stage, instead of staging stage.

12 years agoEnable a conf option to enable/disable legacy keywords.
Anoop Saldanha [Fri, 1 Mar 2013 06:19:27 +0000 (11:49 +0530)] 
Enable a conf option to enable/disable legacy keywords.

Currently, uricontent is declared a legacy keyword, and is enabled by default.

12 years agoFast pattern setup now configurable in our code.
Anoop Saldanha [Fri, 1 Mar 2013 03:48:52 +0000 (09:18 +0530)] 
Fast pattern setup now configurable in our code.

You can either enable/disable fp for a particular type + set priority.

12 years agoDetect sm_list rearranged for performance reasons.
Anoop Saldanha [Thu, 28 Feb 2013 13:06:09 +0000 (18:36 +0530)] 
Detect sm_list rearranged for performance reasons.

12 years agoFurther customize content modifier buffer registration.
Anoop Saldanha [Thu, 28 Feb 2013 10:51:43 +0000 (16:21 +0530)] 
Further customize content modifier buffer registration.

Allow modifier setups functions to have CustomCallbacks to enable their
internal conditions.

12 years agohttp_* setup unified.
Anoop Saldanha [Thu, 28 Feb 2013 06:58:52 +0000 (12:28 +0530)] 
http_* setup unified.

12 years agouricontent simplified to use the existing content + http_uri infrastructure.
Anoop Saldanha [Sun, 24 Feb 2013 14:53:41 +0000 (20:23 +0530)] 
uricontent simplified to use the existing content + http_uri infrastructure.

12 years agocode cleanup for all content based keywords.
Anoop Saldanha [Sat, 23 Feb 2013 10:06:00 +0000 (15:36 +0530)] 
code cleanup for all content based keywords.

12 years agoturn dce_stub_data into a sticky buffer.
Anoop Saldanha [Fri, 22 Feb 2013 18:30:18 +0000 (00:00 +0530)] 
turn dce_stub_data into a sticky buffer.

12 years agoAllow the use of relative without the presence of a related previous keyword.
Anoop Saldanha [Fri, 22 Feb 2013 13:13:41 +0000 (18:43 +0530)] 
Allow the use of relative without the presence of a related previous keyword.

12 years agotcp stream: don't move to LAST_ACK on toserver resent of FIN
Victor Julien [Tue, 19 Mar 2013 11:23:37 +0000 (12:23 +0100)] 
tcp stream: don't move to LAST_ACK on toserver resent of FIN

12 years agoCoverity 989710 and 989711: small recourse leaks in filemd5 parsing code.
Victor Julien [Wed, 13 Mar 2013 09:16:15 +0000 (10:16 +0100)] 
Coverity 989710 and 989711: small recourse leaks in filemd5 parsing code.

12 years agofix for #770.
Anoop Saldanha [Tue, 12 Mar 2013 06:39:31 +0000 (12:09 +0530)] 
fix for #770.

Invalidate sigs with negative depth.

12 years agofix for #771. 315/head
Anoop Saldanha [Tue, 12 Mar 2013 03:04:33 +0000 (08:34 +0530)] 
fix for #771.

Fix /etc/protocols parsing.  Remove trailing newspace stored under some cases.

12 years agoIf an IP-only pass rule matches, set the no inspect flag for that flow. Bug #718.
Victor Julien [Tue, 15 Jan 2013 11:55:31 +0000 (12:55 +0100)] 
If an IP-only pass rule matches, set the no inspect flag for that flow. Bug #718.

12 years agofix for #769.
Anoop Saldanha [Thu, 7 Mar 2013 11:08:16 +0000 (16:38 +0530)] 
fix for #769.

Packet inserted by live swap flagged as pseudo packet.

12 years agoFix valgrind error/warning in ip reputation parsing code
Victor Julien [Thu, 7 Mar 2013 16:23:26 +0000 (17:23 +0100)] 
Fix valgrind error/warning in ip reputation parsing code

12 years agofix for #758. Add redmine wiki link and desc for icmp-id keyword.
Anoop Saldanha [Fri, 1 Mar 2013 15:18:28 +0000 (20:48 +0530)] 
fix for #758.  Add redmine wiki link and desc for icmp-id keyword.

12 years agoTry to use pkg-config to resolve libnspr and related dependencies.
Victor Julien [Thu, 7 Mar 2013 14:56:54 +0000 (15:56 +0100)] 
Try to use pkg-config to resolve libnspr and related dependencies.

12 years agoTry to use pkg-config to resolve libnss and related dependencies.
Christian Kreibich [Tue, 15 Jan 2013 08:23:53 +0000 (00:23 -0800)] 
Try to use pkg-config to resolve libnss and related dependencies.

12 years agoOpen 2.0 dev branch
Victor Julien [Thu, 7 Mar 2013 12:55:01 +0000 (13:55 +0100)] 
Open 2.0 dev branch

12 years agonfq: add missing error string
Victor Julien [Thu, 20 Dec 2012 09:46:06 +0000 (10:46 +0100)] 
nfq: add missing error string

12 years agoFix potential Null deref.
Eric Leblond [Wed, 6 Mar 2013 15:15:16 +0000 (16:15 +0100)] 
Fix potential Null deref.

12 years agoFix potential iprep file parsing issue (2).
Victor Julien [Wed, 6 Mar 2013 14:35:25 +0000 (15:35 +0100)] 
Fix potential iprep file parsing issue (2).

12 years agoFix potential iprep file parsing issue.
Victor Julien [Wed, 6 Mar 2013 14:32:53 +0000 (15:32 +0100)] 
Fix potential iprep file parsing issue.

12 years agoFix test AddressTestParse36 on Big Endian systems
Victor Julien [Fri, 1 Mar 2013 13:02:55 +0000 (14:02 +0100)] 
Fix test AddressTestParse36 on Big Endian systems

12 years agofix for #760.
Anoop Saldanha [Sat, 2 Mar 2013 14:08:49 +0000 (19:38 +0530)] 
fix for #760.

If udpv4 csum isn't calculated, udpv4-csum detection shouldn't run on the
csum.

12 years agofix for #725.
Anoop Saldanha [Mon, 21 Jan 2013 06:38:25 +0000 (12:08 +0530)] 
fix for #725.

Update trec_len, trec_pos to 32 bits from 16 bits.
Handle handshakes that are fragmented across records.

12 years agotemporarily patched smb + dcerpc parsers for direction demaraction.
Anoop Saldanha [Wed, 27 Feb 2013 15:21:36 +0000 (20:51 +0530)] 
temporarily patched smb + dcerpc parsers for direction demaraction.

12 years agopcap-file: treat the case of unsupported pcap link
Eric Leblond [Thu, 28 Feb 2013 15:52:43 +0000 (16:52 +0100)] 
pcap-file: treat the case of unsupported pcap link

In unix socket mode, Suricata was stopping processing pcap files
when a pcap file with an unsupported datalink was treated. This
patch updates error handling to allow Suricata to treat other
pcap files.

12 years agoaf-packet: leave reading loop at each turn
Eric Leblond [Mon, 25 Feb 2013 13:57:55 +0000 (14:57 +0100)] 
af-packet: leave reading loop at each turn

The idea of this patch is to be sure to leave the ring reading loop
enough to be able to sync counters. This should fix #706.

12 years agoReplace the deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS. 302/head
Jason Ish [Thu, 28 Feb 2013 20:01:05 +0000 (14:01 -0600)] 
Replace the deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS.

Addresses bug #704 for building on a Mac.  More generically
it addresses the issue building using newers versions of automake.

12 years agosuricatasc: fix make distcheck. 299/head
Eric Leblond [Tue, 26 Feb 2013 14:15:12 +0000 (15:15 +0100)] 
suricatasc: fix make distcheck.

12 years agounix-manager: fix thread killing function
Eric Leblond [Sat, 23 Feb 2013 11:31:17 +0000 (12:31 +0100)] 
unix-manager: fix thread killing function

The name of the thread was not searched in the correct family.

Reported-by: iswalker <mail2cissp@gmail.com>
12 years agosuricatasc: update python packaging
Eric Leblond [Tue, 22 Jan 2013 09:47:29 +0000 (10:47 +0100)] 
suricatasc: update python packaging

'make install' install now suricatasc script and Python module to
the system. The suricatasc client module can now be used in other
Python projects by using 'import suricatasc'.

A transformation was needed for distribution of a module and a script.
Module in src directory is now containing most of the code and the
script only handle argument parsing and the creation of a unix socket
client through 'suricatasc' module.

12 years agosuricatasc: refactor as a class
Eric Leblond [Thu, 6 Dec 2012 10:21:57 +0000 (11:21 +0100)] 
suricatasc: refactor as a class

The goal of this commit is to be able to use suricatasc has a library
and and program. This is done by putting all active code in class and
adding a Python magic to detect when file is used as a program.

12 years agounix socket: add 'dump-counters' command
Eric Leblond [Wed, 5 Dec 2012 17:30:41 +0000 (18:30 +0100)] 
unix socket: add 'dump-counters' command

This patch adds a 'dump-counters' command which answer an output of
all performance counter.

12 years agosuricatasc: improve output of command result
Eric Leblond [Wed, 5 Dec 2012 17:26:21 +0000 (18:26 +0100)] 
suricatasc: improve output of command result

12 years agosuricatasc: treat old server case
Eric Leblond [Tue, 4 Dec 2012 16:50:22 +0000 (17:50 +0100)] 
suricatasc: treat old server case

If the server don't have the 'command-list' function, suricatasc
was failling. This patch fixes this issue by adding a static list
instead.

12 years agounix socket: add 'help' as alias to 'command-list'
Eric Leblond [Tue, 4 Dec 2012 08:31:08 +0000 (09:31 +0100)] 
unix socket: add 'help' as alias to 'command-list'

12 years agosuricatasc: real cmd line parsing and verbose mode
Eric Leblond [Fri, 30 Nov 2012 19:47:47 +0000 (20:47 +0100)] 
suricatasc: real cmd line parsing and verbose mode

This patch adds commandline parsing and help to suricatasc. It also
adds a verbose mode (-v) where the send and received JSON object are
shown. This should ease development of unix socket client.

12 years agounix socket: add 'conf-get' command
Eric Leblond [Fri, 30 Nov 2012 19:11:44 +0000 (20:11 +0100)] 
unix socket: add 'conf-get' command

This patch adds a 'conf-get' command which get the configuration
value from suricata. Argument of the command is the name of the
variable to fetch.
The command syntax is the following:
{
 "command": "conf-get",
 "arguments": { "variable":value}
}

12 years agounix socket: add 'capture-mode' command
Eric Leblond [Fri, 30 Nov 2012 18:24:49 +0000 (19:24 +0100)] 
unix socket: add 'capture-mode' command

This patch displays what capture mode is used.

12 years agoAdd function to display current capture mode
Eric Leblond [Fri, 30 Nov 2012 18:17:20 +0000 (19:17 +0100)] 
Add function to display current capture mode

This patch adds a function to display the capture mode.

12 years agounix socket: add 'runnning-mode' command
Eric Leblond [Fri, 30 Nov 2012 17:49:34 +0000 (18:49 +0100)] 
unix socket: add 'runnning-mode' command

This command displays the active running mode ('autofp' for
example).

12 years agounix socket: add 'uptime' command
Eric Leblond [Fri, 30 Nov 2012 17:43:51 +0000 (18:43 +0100)] 
unix socket: add 'uptime' command

This command displays the nuber of second since the start of
Suricata.

12 years agounix socket: add 'version' command
Eric Leblond [Fri, 30 Nov 2012 17:37:41 +0000 (18:37 +0100)] 
unix socket: add 'version' command

12 years agosuricatasc: display command list
Eric Leblond [Fri, 30 Nov 2012 17:28:35 +0000 (18:28 +0100)] 
suricatasc: display command list

12 years agosuricatasc: add readline completion
Eric Leblond [Fri, 30 Nov 2012 17:24:00 +0000 (18:24 +0100)] 
suricatasc: add readline completion

12 years agosuricatasc: factorize code and use dynamic commands
Eric Leblond [Fri, 30 Nov 2012 17:13:11 +0000 (18:13 +0100)] 
suricatasc: factorize code and use dynamic commands

This patch factorize the recv code and uses the new 'command-list'
to get the list of existing commands from suricata. This allows
suricatasc to be able to call any new command if this command does
not require an argument.

12 years agounix runmode: add 'pcap-current' command
Eric Leblond [Fri, 30 Nov 2012 16:50:58 +0000 (17:50 +0100)] 
unix runmode: add 'pcap-current' command

This command outputs the currently processed file name or 'None'
if no file is currently processed.

12 years agounix socket: implement command-list command
Eric Leblond [Fri, 30 Nov 2012 16:33:38 +0000 (17:33 +0100)] 
unix socket: implement command-list command

12 years agocuda: fix invalid use of sizeof
Eric Leblond [Sun, 24 Feb 2013 17:27:24 +0000 (18:27 +0100)] 
cuda: fix invalid use of sizeof

12 years agococci test: add sizeof test
Eric Leblond [Sun, 24 Feb 2013 17:14:11 +0000 (18:14 +0100)] 
cocci test: add sizeof test

This patch adds a new semantic patch taken from
http://coccinellery.org/. This patch tests if a sizeof take size
of pointer and not of pointed value.

12 years agosigorder cleaned up.
Anoop Saldanha [Sun, 24 Feb 2013 19:18:28 +0000 (00:48 +0530)] 
sigorder cleaned up.

12 years agoFix build with old pcap library. 294/head
Eric Leblond [Fri, 22 Feb 2013 14:54:09 +0000 (15:54 +0100)] 
Fix build with old pcap library.

Pcap snaplen related modification broke compilation of Suricata for
system having old pcap library. This patch fixes the issue and allow
old pcap library to honour the snaplen value.

12 years agoWorkaround function missing in libhtp include 291/head
Eric Leblond [Mon, 18 Feb 2013 10:00:20 +0000 (11:00 +0100)] 
Workaround function missing in libhtp include

As reported in bug #688, htp_config_set_path_decode_u_encoding
function is not included in libhtp header before 0.3.0. Result
is that suricata compilation fail with an external htp library.
The following patch detect the issue and adds the missing
declaration.

12 years agoconfigure: update htp version dependancy
Eric Leblond [Mon, 18 Feb 2013 09:51:20 +0000 (10:51 +0100)] 
configure: update htp version dependancy

12 years agocode cleanup + unittests added against http_host and http_raw_host keywords,
Anoop Saldanha [Sat, 9 Feb 2013 08:16:19 +0000 (13:46 +0530)] 
code cleanup + unittests added against http_host and http_raw_host keywords,
against various combinations of hostname in uri and host header.

12 years agoAdd support for the new keyword - http_raw_host header.
Anoop Saldanha [Sat, 2 Feb 2013 03:01:28 +0000 (08:31 +0530)] 
Add support for the new keyword - http_raw_host header.

The corresponding pcre modifier would be 'Z'.

12 years agoAdd support for a new keyword to inspect http_host header.
Anoop Saldanha [Fri, 25 Jan 2013 12:14:07 +0000 (17:44 +0530)] 
Add support for a new keyword to inspect http_host header.

The corresponding content keyword would now be - http_host.
The corresponding pcre modifier would be W.

12 years agoAdded host buffer allowance and stream configuration for Napatech 3GD
Matt Keeler [Tue, 19 Feb 2013 16:49:06 +0000 (11:49 -0500)] 
Added host buffer allowance and stream configuration for Napatech 3GD

Added a napatech section in the yaml configuration.
hba - host buffer allowance
use-all-streams - whether all streams should be used
streams - list of stream numbers to use when use-all-streams is no

The source-napatech.* files were modified to support the host buffer allowance configuration.
The runmode-napatech.c file was modified to support both the host buffer allowance configuration and stream configuration

Signed-off-by: Matt Keeler <mk@npulsetech.com>
12 years agofix(more like a feature update) for bug #708.
Anoop Saldanha [Tue, 15 Jan 2013 18:00:19 +0000 (23:30 +0530)] 
fix(more like a feature update) for bug #708.

Add support for flowint based sig ordering.

12 years agopcap: add snaplen YAML variable
Eric Leblond [Fri, 15 Feb 2013 15:11:47 +0000 (16:11 +0100)] 
pcap: add snaplen YAML variable

This patch introduces 'snaplen' a new YAML variable in the pcap section.
It can be set per-interface to force pcap capture snaplen. If not set
it defaults to interface MTU if MTU can be known via a ioctl call and to
full capture if not.

12 years agopfring: delete unused define.
Eric Leblond [Fri, 14 Dec 2012 07:47:28 +0000 (08:47 +0100)] 
pfring: delete unused define.

12 years agolog-pcap: don't limit snaplen.
Eric Leblond [Thu, 13 Dec 2012 15:49:37 +0000 (16:49 +0100)] 
log-pcap: don't limit snaplen.

12 years agopcap: add 'promisc' YAML configuration variable
Eric Leblond [Fri, 15 Feb 2013 11:15:07 +0000 (12:15 +0100)] 
pcap: add 'promisc' YAML configuration variable

This patch adds a promisc variable to pcap configuration. It is
used to decided if interface is switched to promiscuous mode.

12 years agopcap: set snaplen to MTU if available.
Eric Leblond [Fri, 15 Feb 2013 11:10:25 +0000 (12:10 +0100)] 
pcap: set snaplen to MTU if available.

Main objective of this patch is to use a dynamic snaplen to avoid
to truncate packet at the currently fixed snaplen.

It set snaplen to MTU length if the MTU can be retrieved. If not, it
does not set the snaplen which results in using a 65535 snaplen.

libpcap is trying to use mmaped capture and setup the ring by using buffer_size
as the total memory. It also use "rounded" snaplen as frame size. So if we set
snaplen to MTU when available we are optimal regarding the building of the ring.

12 years agoUse new libhtp query string normalization. Bug #739.
Victor Julien [Wed, 20 Feb 2013 15:13:40 +0000 (16:13 +0100)] 
Use new libhtp query string normalization. Bug #739.

12 years agoAdd separate libhtp query string normalization function and configuration toggles...
Victor Julien [Wed, 20 Feb 2013 15:13:14 +0000 (16:13 +0100)] 
Add separate libhtp query string normalization function and configuration toggles for it.

12 years agoteredo: update protocol decoding. 285/head
Eric Leblond [Thu, 14 Feb 2013 10:11:55 +0000 (11:11 +0100)] 
teredo: update protocol decoding.

This patch fixes an error in pointer arythmetic and add some
comments to increase maintanability of the code. It also
simplify the decoding code as a careful RFC reading indicate
that if we discard packet containing an authentication field,
it is only possible to have a single origin indication field.

12 years agoFix latest build-info modification 281/head
Eric Leblond [Mon, 11 Feb 2013 19:11:53 +0000 (20:11 +0100)] 
Fix latest build-info modification

The creation of build-info.h should have been made in build
directory and not in source directory. This should fix changes
introduced in #738.

12 years agobuild-info: use printf instead of SCLogInfo
Eric Leblond [Wed, 23 Jan 2013 11:17:07 +0000 (12:17 +0100)] 
build-info: use printf instead of SCLogInfo

This change results in a more readable and reusable output.

12 years agoadd configure summary to build-info output
Eric Leblond [Wed, 23 Jan 2013 11:05:23 +0000 (12:05 +0100)] 
add configure summary to build-info output

12 years agosuricata: add information to build-info
Eric Leblond [Wed, 23 Jan 2013 09:40:40 +0000 (10:40 +0100)] 
suricata: add information to build-info

This patch adds information about luajit and jansson to the
output of --build-info command. This should fix #696.

12 years agobug #737. Display a more apt error message when wrong argument's supplied to
Anoop Saldanha [Sat, 2 Feb 2013 14:03:19 +0000 (19:33 +0530)] 
bug #737.  Display a more apt error message when wrong argument's supplied to
reference keyword.

12 years agoAdding comment in suricata.yaml.in to indicate sensor-id option.
Jake Gionet [Thu, 31 Jan 2013 12:20:17 +0000 (06:20 -0600)] 
Adding comment in suricata.yaml.in to indicate sensor-id option.