]> git.ipfire.org Git - thirdparty/suricata.git/commit
suricata: update list-keyword command
authorEric Leblond <eric@regit.org>
Tue, 6 Nov 2012 17:32:48 +0000 (18:32 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 19 Nov 2012 15:36:38 +0000 (16:36 +0100)
commit5e4552fdcdc3e33a77d342ccceeb38ec4d0f3377
treed0bd5b30f17724ecb247f9cd2462e09a92775ca2
parent86709f5e9daea39325eb766051d8463268ee1127
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
src/detect-tls.c
src/detect.c
src/detect.h
src/suricata.c