2 * ircd-ratbox: A slightly useful ircd.
3 * defaults.h: The ircd defaults header.
5 * Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
6 * Copyright (C) 1996-2002 Hybrid Development Team
7 * Copyright (C) 2002-2004 ircd-ratbox development team
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24 * $Id: defaults.h 21729 2006-01-20 19:09:22Z leeh $
27 #ifndef INCLUDED_defaults_h
28 #define INCLUDED_defaults_h
30 /* this file is included (only) at the end of config.h, to supply default
31 * values for things which are now configurable at runtime.
35 * First, set other fd limits based on values from user
37 #define MAXCONNECTIONS 65535 /* getrlimit hates you */
39 /* class {} default values */
40 #define DEFAULT_SENDQ 20000000 /* default max SendQ */
41 #define PORTNUM 6667 /* default outgoing portnum */
42 #define DEFAULT_PINGFREQUENCY 120 /* Default ping frequency */
43 #define DEFAULT_CONNECTFREQUENCY 600 /* Default connect frequency */
44 #define TS_MAX_DELTA_MIN 10 /* min value for ts_max_delta */
45 #define TS_MAX_DELTA_DEFAULT 600 /* default for ts_max_delta */
46 #define TS_WARN_DELTA_MIN 10 /* min value for ts_warn_delta */
47 #define TS_WARN_DELTA_DEFAULT 30 /* default for ts_warn_delta */
48 /* ServerInfo default values */
49 #define NETWORK_NAME_DEFAULT "EFnet" /* default for network_name */
50 #define NETWORK_DESC_DEFAULT "Eris Free Network" /* default for network_desc */
51 /* General defaults */
52 #define CLIENT_FLOOD_DEFAULT 20 /* default for client_flood */
53 #define CLIENT_FLOOD_MAX 2000
54 #define CLIENT_FLOOD_MIN 10
55 #define LINKS_DELAY_DEFAULT 300
56 #define MAX_TARGETS_DEFAULT 4 /* default for max_targets */
57 #define IDENT_TIMEOUT 10
58 #define MIN_JOIN_LEAVE_TIME 60
59 #define MAX_JOIN_LEAVE_COUNT 25
60 #define OPER_SPAM_COUNTDOWN 5
61 #define JOIN_LEAVE_COUNT_EXPIRE_TIME 120
62 #define MIN_SPAM_NUM 5
63 #define MIN_SPAM_TIME 60
64 #define CONFIG_RATBOX_LEVEL_1
65 #endif /* INCLUDED_defaults_h */