Author: Isomer <isomer@coders.net>
[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  * If you want nothing to do with any of this nonsense, add the line
31  * #define INCLUDED_ircd_policy_h
32  * *above* the #ifndef above.
33  */
34
35 /* CFV-165 - Hiding Nonessential information from non-opers
36  *
37  * 1) Removal of server notices from users
38  *
39  * This is implemented as disallowing users from setting +s
40  */
41 #define HEAD_IN_SAND_SNOTICES
42 #define SERVNOTICE_OPER_ONLY
43
44 /* CFV-165 - Hiding Nonessential information from non-opers
45  * 
46  * 2) Removal of server wallops from users
47  *
48  * This is implemented by making all server wallops DESYNC's, and removing
49  * +g from normal users.
50  */
51 #define HEAD_IN_SAND_DESYNCS
52 #define DEBUG_OPER_ONLY
53
54 /* CFV-165 - Hiding Nonessential information from non-opers
55  * 
56  * 3) Removal of operator wallops from users
57  *
58  * This is implemented as disallowing users from setting +w
59  */
60 #define HEAD_IN_SAND_WALLOPS
61 /* #define WALLOPS_OPER_ONLY */
62
63 /* CFV-165 - Hiding Nonessential information from non-opers
64  *
65  * 5) Removal of /MAP from users.
66  *
67  */
68 #define HEAD_IN_SAND_MAP
69
70 /* CFV-165 - Hiding Nonessential information from non-opers
71  * 
72  * 6) Removal of links from users
73  */
74 #define HEAD_IN_SAND_LINKS
75
76 /* CFV-165 - Hiding Nonessential information from non-opers
77  *
78  * 7) Restrict the output of LINKS to only display known leaves.
79  */
80
81 /* CFV-165 - Hiding Nonessential information from non-opers
82  *
83  * 8) Removal of /TRACE from users.
84  */
85 #define HEAD_IN_SAND_TRACE
86
87 /* CFV-165 - Hiding Nonessential information from non-opers
88  *
89  * 9-13) Removal of various stats from non users
90  */
91 #define HEAD_IN_SAND_STATS_L
92 #define HEAD_IN_SAND_STATS_C
93 #define HEAD_IN_SAND_STATS_G
94 #define HEAD_IN_SAND_STATS_H
95 #define HEAD_IN_SAND_STATS_K
96 #define HEAD_IN_SAND_STATS_F
97 #define HEAD_IN_SAND_STATS_I
98 #define HEAD_IN_SAND_STATS_M
99 #define HEAD_IN_SAND_STATS_m
100 #define HEAD_IN_SAND_STATS_O
101 #define HEAD_IN_SAND_STATS_P
102 #define HEAD_IN_SAND_STATS_R
103 #define HEAD_IN_SAND_STATS_D
104 #define HEAD_IN_SAND_STATS_d
105 #define HEAD_IN_SAND_STATS_E
106 #define HEAD_IN_SAND_STATS_t
107 #define HEAD_IN_SAND_STATS_T
108 #define HEAD_IN_SAND_STATS_U
109 #undef  HEAD_IN_SAND_STATS_u
110 #undef  HEAD_IN_SAND_STATS_W
111 #define HEAD_IN_SAND_STATS_X
112 #define HEAD_IN_SAND_STATS_Y
113 #define HEAD_IN_SAND_STATS_Z
114
115 /* CFV-165 - Hiding Nonessential information from non-opers
116  *
117  * 14) Removal of server names in net break sign-offs.
118  */
119
120 #define HEAD_IN_SAND_NETSPLIT
121
122 /* CFV-165 - Hiding Nonessential information from non-opers
123  * 
124  * 15) Removal of server names in replies to /WHOIS
125  */
126
127 #define HEAD_IN_SAND_WHOIS_SERVERNAME
128 #define HEAD_IN_SAND_WHOIS_IDLETIME
129 #define HEAD_IN_SAND_WHO_SERVERNAME
130 #define HEAD_IN_SAND_WHO_HOPCOUNT
131
132 /* CFV-165 - Hiding Nonessential information from non-opers
133  *
134  */
135
136 /* don't show which server set a ban */
137 #define HEAD_IN_SAND_BANWHO
138
139 /* remap remote numerics to come from the local server */
140 #define HEAD_IN_SAND_REWRITE
141
142 /* disallow remote queries (*sob!*) */
143 /* (note, set this to 0 to reenable, not undef */
144 #define HEAD_IN_SAND_REMOTE 1
145
146 #define HEAD_IN_SAND_SERVERNAME "*.undernet.org"
147 #define HEAD_IN_SAND_SERVERINFO "The Undernet Underworld"
148
149 #define URL_SERVERS "http://www.undernet.org/servers.php"
150
151 #endif /* INCLUDED_ircd_policy_h */