Commit Graph

3724 Commits (ca1a70a04bde9e2f159ae8284515c38dfe793d32)
 

Author SHA1 Message Date
Eric Leblond a9ffd82116 yaml: fix typo 12 years ago
Eric Leblond fa900a9f6b suricata: add information about BPF filter usage 12 years ago
Eric Leblond 7e14fe62f5 suricata: add '-V' info to usage message. 12 years ago
Eric Leblond fd3a1346e4 suricata: add build-info command to usage message. 12 years ago
Eric Leblond 4e0f5b7f02 suricata: don't display msg in list-keyword mode.
In list-keywords and list-app-layer mode, suricata now only
displays the messages linked with the feature. This allow users
to redirect the output and easily work on it. For exemple, the
csv output will be easily imported into a spreadsheet.
12 years ago
Eric Leblond 5e4552fdcd suricata: update list-keyword command
This patch update the list-keyword command. Without any option,
the previous behavior is conserved. If 'all' is used as option,
suricata print a csv formatted output of keyword information:
	name;features;description
If a keyword name is used as argument, suricata print a readable
message:
tls.subject
Features: state inspecting
Description: Match TLS/SSL certificate Subject field
12 years ago
Eric Leblond 86709f5e9d rule analyser: display message for invalid signatures 12 years ago
Eric Leblond c7cfbb71c9 engine-analyzer: fix typo in message 12 years ago
Eric Leblond cd42e6a3ef Listing of app layers does not depend on unittests 12 years ago
Eric Leblond 42ace54137 list-keywords: fix when not using default install
As we don't parse the YAML file when listing of keywords is asked,
suricata make a test on existence of the build-default directory.
So with a non standard (working) install (even a single configure
without option lead to a failure), the keyword listing fails
because the default logging directory does not exist.
12 years ago
Eric Leblond b0471fb8e4 rule analyser: add msg if rule is ipv4 or ipv6 only 12 years ago
Victor Julien 83bfe3810b reputation: report error if host table memcap reached. Work around compilation failure with atomic fallback code. 12 years ago
Victor Julien 18535e6ef9 Host: ignore usecnt add/sub result. Expose HostPrintStats. 12 years ago
Victor Julien e30b1bfe64 Simple IP reputation implementation 12 years ago
Victor Julien 9140aa6ac5 cygwin supports the thread cpu affinity code now 12 years ago
Victor Julien b20bfa04ef clang warning squashing 12 years ago
Victor Julien 84bad6db77 Silence compiler warnings found by clang 12 years ago
Victor Julien b63c2eda6a build: more cygwin cleanups 12 years ago
Victor Julien dc465b92e5 Fix use of byte swap function 12 years ago
Victor Julien 506c144c60 build: reshuffle including headers to fix build on cygwin 12 years ago
Victor Julien 8660877961 undo setting exact version in configure.ac 12 years ago
Victor Julien b0caeaa5e3 Update changelog to reflect 1.4beta3 changes. 12 years ago
Victor Julien 6441a53d3c libhtp: updated bundled libhtp to 0.2.11 12 years ago
Anoop Saldanha e1cabae0f4 fix uninit var usage in hhd 12 years ago
Eric Leblond 4726e02afb logging: add warning if no output module is selected
If no daemon compatible logging module is selected, a message is
displayed to avoid the user to look like mad for messages.
12 years ago
Eric Leblond 1c3546fec1 install: create state dir with install-conf 12 years ago
Eric Leblond 9f4da93a4b suricata: don't exit if pidfile can't be created 12 years ago
Eric Leblond e148b2b82a suricata: display PID file name in case of error. 12 years ago
Victor Julien e2c7078cc3 Add contrib dir and it's content to the dist. Bug 567 12 years ago
Victor Julien 93bdaa49d8 byte_jump: when from_beginning option is used, the number of bytes to convert should not be used in the jump. Bug 627. 12 years ago
Eric Leblond 7854c84972 pcap: add capture counters in stats.log.
This patch adds three counters to stats.log:
    capture.kernel_packets    | RxPcapwlan0               | 4218
    capture.kernel_drops      | RxPcapwlan0               | 0
    capture.kernel_ifdrops    | RxPcapwlan0               | 0
This patch meant to fix bug #625.
12 years ago
Victor Julien bcaec1e963 pkt-data: don't compile unittest unless unittests are enabled 12 years ago
Victor Julien 472e061c6d build: more checking for includes 12 years ago
Victor Julien 89f83c2ee4 configure formatting fixes 12 years ago
Victor Julien 2a42f554b1 build cleanup, build source files in alphabetical order 12 years ago
Victor Julien 042d0c6ee8 build cleanups 12 years ago
Eric Leblond 7293040ed8 coccinelle: fix distcheck
distcheck is running run_check.sh from another directory and
run_check.sh was not ready for this.
12 years ago
Victor Julien 5a6c8c0f01 minor misc changes: update htp ver, add htp ver to --build-info, clean up 12 years ago
Xavier Lange 234922f3c6 Keyword pkt_data 12 years ago
Eric Leblond 493a68ebdc backport oom fixes
This is a backport of
9ea5e0e3e4
12 years ago
Eric Leblond b9a2f91a76 napatech: treat malloc error 12 years ago
Eric Leblond 8199832d71 coccinelle: improve run_check
This patch adds two features to run_check.sh, it is now posssible
to specify a list of files to check:
 ./run_check.sh ../../src/suricata.c ../../src/detect.c
It is also possible to ask a review of the files modified by a commit.
To so simply put the SHA1 as argument
 ./run_check.sh HEAD
 ./run_check 6af7d5f
It is also possible to check all the files for an arbitrary range:
 ./run_check.sh origin/master..buildbot-fixes

Last improvement of this patch is to get a real error message in case
of problem as 2 is not redirected anymore to /dev/null.
12 years ago
Eric Leblond 6e5caf6838 coccinelle: add new correct case to error treatment 12 years ago
Eric Leblond a1d1abfc05 suricata: add daemon-directory config variable
It is now possible to use the 'daemon-directory' configuration
variable to specify the working directory of suricata in daemon
mode. This will permit to specify the place for core and other
related files.
12 years ago
Eric Leblond 3061452c5e suricata: avoid concurrent run in daemon mode
This patch creates a pid file per default and use it to avoid to be
able to run two Suricata. Separate pid file have to be provided to
be able to do it.
12 years ago
Eric Leblond 24d10de8af suricata: change dir to / in daemon mode.
By changing directory to /, we will not block the directory where
suricata has been started.
12 years ago
Matt Keeler 37e3de8425 Refactor Napatech 3GD to just Napatech as Suricata is only going to support 3GD.
Signed-off-by: Matt Keeler <mk@npulsetech.com>
12 years ago
Matt Keeler 5786a32d0f Remove Napatech 2GD support
Removed the Napatech 2GD support

runmode-napatech-3gd.c had an include from runmode-napatech.h which was erroneous and has been removed as well.

Signed-off-by: Matt Keeler <mk@npulsetech.com>
12 years ago
Eric Leblond a49bce63b0 configure: fix small typo. 12 years ago
Eric Leblond 37b05b2396 configure: improve march=native detection
clang is supposed to support march=native but if the CPU is too
recent for clang, this can cause an invalid detection of arch and
result in a incapability of clang to compile any binary.
This patch updates the test to try a compilation with march=native
when clang is the used compiler.
12 years ago