libclamav/default.h
9d91ff71
 /*
c442ca9c
  *  Copyright (C) 2013-2019 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
  *  Copyright (C) 2008-2013 Sourcefire, Inc.
9d91ff71
  *
  *  Authors: Tomasz Kojm
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License version 2 as
  *  published by the Free Software Foundation.
  *
  *  This program is distributed in the hope that it will be useful,
  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  *  GNU General Public License for more details.
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  *  MA 02110-1301, USA.
  */
 
 #ifndef __DEFAULT_H
 #define __DEFAULT_H
 
 #define CLI_DEFAULT_AC_MINDEPTH	    2
 #define CLI_DEFAULT_AC_MAXDEPTH	    3
 #define CLI_DEFAULT_AC_TRACKLEN	    8
 
4367454d
 #define CLI_DEFAULT_LSIG_BUFSIZE    32768
a6a98456
 #define CLI_DEFAULT_DBIO_BUFSIZE    CLI_DEFAULT_LSIG_BUFSIZE + 1
4367454d
 
6d3c5bec
 #define CLI_DEFAULT_BM_OFFMODE_FSIZE	262144
 
9d91ff71
 #define CLI_DEFAULT_MAXSCANSIZE	    104857600
 #define CLI_DEFAULT_MAXFILESIZE	    26214400
 #define CLI_DEFAULT_MAXRECLEVEL	    16
 #define CLI_DEFAULT_MAXFILES	    10000
 #define CLI_DEFAULT_MIN_CC_COUNT    3
 #define CLI_DEFAULT_MIN_SSN_COUNT   3
 
b2726a53
 #define CLI_DEFAULT_MAXEMBEDDEDPE       10485760
 #define CLI_DEFAULT_MAXHTMLNORMALIZE    10485760
 #define CLI_DEFAULT_MAXHTMLNOTAGS       2097152
 #define CLI_DEFAULT_MAXSCRIPTNORMALIZE  5242880
 #define CLI_DEFAULT_MAXZIPTYPERCG       1048576
067bce5f
 #define CLI_DEFAULT_MAXICONSPE          100
731c8e62
 #define CLI_DEFAULT_MAXRECHWP3          16
067bce5f
 
 #define CLI_DEFAULT_MAXPARTITIONS       50
b2726a53
 
9bc7c138
 /* TODO - set better defaults */
7a85da5c
 #define CLI_DEFAULT_PCRE_MATCH_LIMIT     100000
f67a9b75
 #define CLI_DEFAULT_PCRE_RECMATCH_LIMIT  2000
37415732
 #define CLI_DEFAULT_PCRE_MAX_FILESIZE    26214400
9bc7c138
 
9d91ff71
 #endif