File: config.h.dancer

package info (click to toggle)
ircd 2.10.02-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,228 kB
  • ctags: 2,087
  • sloc: ansic: 29,122; makefile: 664; sh: 307; perl: 18
file content (143 lines) | stat: -rw-r--r-- 2,956 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/*
 * Automatically generated C config: don't edit
 */
#define AUTOCONF_INCLUDED
#undef  CHANGE_CONFIG

/*
 * Compile stuff (this used to be in the Makefile before)
 */
#define CC "gcc"
#define CFLAGS "-g -O2 -pipe"
#define EXTRA_INCLUDEDIRS "none"
#define LDFLAGS "none"
#define IRCDLIBS "-lcrypt"
#define BINDIR "/usr/bin"
#define SYMLINK "ircd"
#define IRCDMODE "711"
#define IRCDOWN "root"
#define IRCDGRP "root"
#define MANDIR "/usr/man"

/*
 * Operating System specific defines.
 */
#define USE_POLL

/*
 * Host specific defines
 */
#define DOMAINNAME "debian.org"
#define RANDOM_SEED "23478201"
#undef  RELIABLE_CLOCK

/*
 * General defines
 */
#undef  CHROOTDIR
#undef  CONFIG_SETUGID
#define IRC_UID ()
#define IRC_GID ()
#undef  CMDLINE_CONFIG
#undef  UNIXPORT
#define  VIRTUAL_HOST
#define HUB

/*
 * Debugging (do not define this on production servers)
 */
#define DEBUGMODE
#undef  DEBUGMALLOC

/*
 * Paths and files
 */
#define DPATH "etc"
#define SPATH "../bin/dancer"
#define CPATH "dancer.conf"
#define MPATH "dancer.motd"
#define RPATH "dancer.motd"
#define LPATH "../log/dancer.log"
#define PPATH "../run/dancer.pid"

/*
 * Logging (filenames are either full paths or files within DPATH)
 */
#define CONFIG_LOG_GLINES
#define GPATH "../log/gline.log"
#define CONFIG_LOG_USERS
#define FNAME_USERLOG "../log/users"
#define CONFIG_LOG_OPERS
#define FNAME_OPERLOG "../log/opers"
#define USE_SYSLOG
#define SYSLOG_KILL
#define SYSLOG_SQUIT
#define SYSLOG_CONNECT
#define SYSLOG_OPER
#undef  SYSLOG_USERS
#define CONFIG_DAEMON
#undef  CONFIG_USER
#undef  CONFIG_LOCAL
#define LOG_FACILITY LOG_DAEMON

/*
 * Configuration
 */
#define CRYPT_LINK_PASSWORD
#define CRYPT_OPER_PASSWORD
#define MAXSENDQLENGTH (2000000)
#define INT_BUFFERPOOL (6)
#define BUFFERPOOL (6 * MAXSENDQLENGTH)
#define CLIENT_FLOOD (2024)
#define MAXCONNECTIONS (252)
#define PORTNUM (6667)
#define NICKNAMEHISTORYLENGTH (800)
#define ALLOW_SNO_CONNEXIT
#undef  R_LINES

/*
 * Oper commands
 */
#define SHOW_INVISIBLE_USERS
#define SHOW_ALL_INVISIBLE_USERS
#undef  UNLIMIT_OPER_QUERY
#define OPER_KILL
#define OPER_REHASH
#define OPER_RESTART
#define OPER_DIE
#define OPER_LGLINE
#define OPER_REMOTE
#undef  LOCOP_REHASH
#undef  LOCOP_RESTART
#undef  LOCOP_DIE
#define LOCOP_LGLINE

/*
 * Server characteristics
 */
#undef  CONFIG_LIST
#undef  DEFAULT_LIST_PARAM
#undef  COMMENT_IS_FILE
#define IDLE_FROM_MSG

/*
 * Mandatory defines (you should leave these untouched)
 */
#define CHECK_CLONE
#define CHECK_CLONE_LIMIT (2)
#define CHECK_CLONE_PERIOD (20)
#define CHECK_CLONE_DELAY (600)
#define MAXIMUM_LINKS (1)
#undef  MSGLOG_ENABLED
#undef  LOCAL_KILL_ONLY
#define TIMESEC (60)
#define PINGFREQUENCY (120)
#define CONNECTFREQUENCY (600)
#define HANGONGOODLINK (300)
#define HANGONRETRYDELAY (10)
#define CONNECTTIMEOUT (90)
#define KILLCHASETIMELIMIT (30)
#define MAXCHANNELSPERUSER (10)
#define MAXSILES (15)
#define AVBANLEN (40)
#define MAXSILELENGTH (40 * MAXSILES)