- Added some more .cvsignore files.
[ircu2.10.12-pk.git] / include / ircd_policy.h
1 /*
2  * IRC - Internet Relay Chat, include/ircd_policy.h
3  * Copyright (C) 1990 Jarkko Oikarinen and
4  *                    University of Oulu, Computing Center
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19  *
20  * $Id$
21  */
22 #ifndef INCLUDED_ircd_policy_h
23 #define INCLUDED_ircd_policy_h
24
25 /* This file contains undernet admin policy decisions, even if they are
26  * braindead and silly.  These aren't configurable as they are network
27  * policy, and should not be changed (depending on what network your 
28  * on different ones of these should be defined
29  */
30
31 /* If you want nothing to do with this nonsense, uncomment this or
32  *  add -DNO_HEAD_IN_SAND to CFLAGS. */
33 /* #define NO_HEAD_IN_SAND */
34
35 #ifndef NO_HEAD_IN_SAND
36
37 /* CFV-165 - Hiding Nonessential information from non-opers
38  *
39  * 1) Removal of server notices from users
40  *
41  * This is implemented as disallowing users from setting +s
42  */
43 #define HEAD_IN_SAND_SNOTICES
44 #define SERVNOTICE_OPER_ONLY
45
46 /* CFV-165 - Hiding Nonessential information from non-opers
47  * 
48  * 2) Removal of server wallops from users
49  *
50  * This is implemented by making all server wallops DESYNC's, and removing
51  * +g from normal users.
52  */
53 #define HEAD_IN_SAND_DESYNCS
54 #define DEBUG_OPER_ONLY
55
56 /* CFV-165 - Hiding Nonessential information from non-opers
57  * 
58  * 3) Removal of operator wallops from users
59  *
60  * This is implemented as disallowing users from setting +w
61  */
62 #define HEAD_IN_SAND_WALLOPS
63 /* #define WALLOPS_OPER_ONLY */
64
65 /* CFV-165 - Hiding Nonessential information from non-opers
66  *
67  * 5) Removal of /MAP from users.
68  *
69  */
70 #define HEAD_IN_SAND_MAP
71
72 /* CFV-165 - Hiding Nonessential information from non-opers
73  * 
74  * 6) Removal of links from users
75  */
76 #define HEAD_IN_SAND_LINKS
77
78 /* CFV-165 - Hiding Nonessential information from non-opers
79  *
80  * 7) Restrict the output of LINKS to only display known leaves.
81  */
82
83 /* CFV-165 - Hiding Nonessential information from non-opers
84  *
85  * 8) Removal of /TRACE from users.
86  */
87 #define HEAD_IN_SAND_TRACE
88
89 /* CFV-165 - Hiding Nonessential information from non-opers
90  *
91  * 9-13) Removal of various stats from non users
92  */
93 #define HEAD_IN_SAND_STATS_L
94 #define HEAD_IN_SAND_STATS_C
95 #define HEAD_IN_SAND_STATS_G
96 #define HEAD_IN_SAND_STATS_H
97 #define HEAD_IN_SAND_STATS_K
98 #define HEAD_IN_SAND_STATS_F
99 #define HEAD_IN_SAND_STATS_I
100 #define HEAD_IN_SAND_STATS_M
101 #define HEAD_IN_SAND_STATS_m
102 #define HEAD_IN_SAND_STATS_O
103 #define HEAD_IN_SAND_STATS_P
104 #define HEAD_IN_SAND_STATS_R
105 #define HEAD_IN_SAND_STATS_D
106 #define HEAD_IN_SAND_STATS_d
107 #define HEAD_IN_SAND_STATS_E
108 #define HEAD_IN_SAND_STATS_t
109 #define HEAD_IN_SAND_STATS_T
110 #define HEAD_IN_SAND_STATS_U
111 #undef  HEAD_IN_SAND_STATS_u
112 #undef  HEAD_IN_SAND_STATS_W
113 #define HEAD_IN_SAND_STATS_X
114 #define HEAD_IN_SAND_STATS_Y
115 #define HEAD_IN_SAND_STATS_Z
116
117 /* CFV-165 - Hiding Nonessential information from non-opers
118  *
119  * 14) Removal of server names in net break sign-offs.
120  */
121
122 #define HEAD_IN_SAND_NETSPLIT
123
124 /* CFV-165 - Hiding Nonessential information from non-opers
125  * 
126  * 15) Removal of server names in replies to /WHOIS
127  */
128
129 #define HEAD_IN_SAND_WHOIS_SERVERNAME
130 #define HEAD_IN_SAND_WHOIS_IDLETIME
131 #define HEAD_IN_SAND_WHO_SERVERNAME
132 #define HEAD_IN_SAND_WHO_HOPCOUNT
133
134 /* CFV-165 - Hiding Nonessential information from non-opers
135  *
136  */
137
138 /* don't show which server set a ban */
139 #define HEAD_IN_SAND_BANWHO
140
141 /* Don't show which server or oper performed a kill */
142 #define HEAD_IN_SAND_KILLWHO
143
144 /* remap remote numerics to come from the local server */
145 #define HEAD_IN_SAND_REWRITE
146
147 /* disallow remote queries (*sob!*) */
148 /* (note, set this to 0 to reenable, not undef */
149 #define HEAD_IN_SAND_REMOTE 1
150 #else /* NO_HEAD_IN_SAND */
151 #define HEAD_IN_SAND_REMOTE 0
152 #endif /* NO_HEAD_IN_SAND */
153
154 #define HEAD_IN_SAND_SERVERNAME "*.undernet.org"
155 #define HEAD_IN_SAND_SERVERINFO "The Undernet Underworld"
156
157 #define URL_SERVERS "http://www.undernet.org/servers.php"
158
159 #endif /* INCLUDED_ircd_policy_h */
160
161
162
163
164
165
166
167