suricata
util-config.h
Go to the documentation of this file.
1/* Copyright (C) 2020 Open Information Security Foundation
2 *
3 * You can copy, redistribute or modify this Program under the terms of
4 * the GNU General Public License version 2 as published by the Free
5 * Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * version 2 along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15 * 02110-1301, USA.
16 */
17
18/**
19 * \file
20 *
21 * \author Victor Julien <victor@inliniac.net>
22 */
23
24#ifndef SURICATA_UTIL_CONFIG_H
25#define SURICATA_UTIL_CONFIG_H
26
30
33 CONFIG_SUBSYS_TRACKING, /* tracking like flow, stream tracking */
34};
35
37 CONFIG_TYPE_TX = 0, /* transaction logging */
38 CONFIG_TYPE_FLOW, /* flow logging */
39#if 0
40 CONFIG_TYPE_ALERT, /* alert logging */
41 CONFIG_TYPE_ANOMALY, /* anomaly logging */
42 CONFIG_TYPE_FILE, /* file logging */
43 CONFIG_TYPE_PCAP, /* pcap logging */
44 CONFIG_TYPE_DROP, /* drop logging */
45#endif
46#define CONFIG_TYPE_DEFAULT CONFIG_TYPE_TX
47};
48
50 CONFIG_SCOPE_TX = 0, /* per transaction */
51 CONFIG_SCOPE_FLOW, /* per flow */
52 CONFIG_SCOPE_PACKET, /* per packet */
53#define CONFIG_SCOPE_DEFAULT CONFIG_SCOPE_TX
54};
55
56#endif
ConfigAction
Definition util-config.h:27
@ CONFIG_ACTION_SET
Definition util-config.h:28
ConfigSubsys
Definition util-config.h:31
@ CONFIG_SUBSYS_LOGGING
Definition util-config.h:32
@ CONFIG_SUBSYS_TRACKING
Definition util-config.h:33
ConfigScope
Definition util-config.h:49
@ CONFIG_SCOPE_FLOW
Definition util-config.h:51
@ CONFIG_SCOPE_PACKET
Definition util-config.h:52
@ CONFIG_SCOPE_TX
Definition util-config.h:50
ConfigType
Definition util-config.h:36
@ CONFIG_TYPE_FLOW
Definition util-config.h:38
@ CONFIG_TYPE_TX
Definition util-config.h:37