]> jfr.im git - irc/rqf/shadowircd.git/blob - include/defaults.h
SVN Id removal part two
[irc/rqf/shadowircd.git] / include / defaults.h
1 /*
2 * ircd-ratbox: A slightly useful ircd.
3 * defaults.h: The ircd defaults header.
4 *
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
8 *
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.
13 *
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.
18 *
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
22 * USA
23 *
24 */
25
26 #ifndef INCLUDED_defaults_h
27 #define INCLUDED_defaults_h
28
29 /* this file is included (only) at the end of config.h, to supply default
30 * values for things which are now configurable at runtime.
31 */
32
33 /*
34 * First, set other fd limits based on values from user
35 */
36
37
38 #define MAXCONNECTIONS 65535 /* default max connections if getrlimit doesn't work */
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 5
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 */