]> git.ipfire.org Git - thirdparty/suricata.git/commit
cmdline: add -k to specify checksum validation
authorEric Leblond <eric@regit.org>
Wed, 27 Nov 2013 12:22:42 +0000 (13:22 +0100)
committerEric Leblond <eric@regit.org>
Mon, 2 Dec 2013 10:05:46 +0000 (11:05 +0100)
commit1bdc39fe9b632bb6b86ea1d83b3dabe4e66d68d2
treeb10f1614e5a75ba96faad98b3dda1b8a90882aeb
parent8b5be26f496b79f2f6c5523f4bff3536d7183daa
cmdline: add -k to specify checksum validation

This patch adds a '-k' option to suricata to be able to specify
the checksum validation to use. If '-k all' is used, checksum
validation is forced. If '-k none' is used, no checksum validation
is made.

Message output in case of detection of a pcap file with a probable
cheksum issue has been updated to indicate that '-k' is a solution.
src/source-pcap-file.c
src/suricata.c
src/suricata.h