2 * IRC - Internet Relay Chat, include/ircd_policy.h
3 * Copyright (C) 1990 Jarkko Oikarinen and
4 * University of Oulu, Computing Center
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)
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.
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.
22 #ifndef INCLUDED_ircd_policy_h
23 #define INCLUDED_ircd_policy_h
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
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.
35 /* CFV-165 - Hiding Nonessential information from non-opers
37 * 1) Removal of server notices from users
39 * This is implemented as disallowing users from setting +s
41 #define HEAD_IN_SAND_SNOTICES
42 #define SERVNOTICE_OPER_ONLY
44 /* CFV-165 - Hiding Nonessential information from non-opers
46 * 2) Removal of server wallops from users
48 * This is implemented by making all server wallops DESYNC's, and removing
49 * +g from normal users.
51 #define HEAD_IN_SAND_DESYNCS
52 #define DEBUG_OPER_ONLY
54 /* CFV-165 - Hiding Nonessential information from non-opers
56 * 3) Removal of operator wallops from users
58 * This is implemented as disallowing users from setting +w
60 #define HEAD_IN_SAND_WALLOPS
61 /* #define WALLOPS_OPER_ONLY */
63 /* CFV-165 - Hiding Nonessential information from non-opers
65 * 5) Removal of /MAP from users.
68 #define HEAD_IN_SAND_MAP
70 /* CFV-165 - Hiding Nonessential information from non-opers
72 * 6) Removal of links from users
74 #define HEAD_IN_SAND_LINKS
76 /* CFV-165 - Hiding Nonessential information from non-opers
78 * 7) Restrict the output of LINKS to only display known leaves.
81 /* CFV-165 - Hiding Nonessential information from non-opers
83 * 8) Removal of /TRACE from users.
85 #define HEAD_IN_SAND_TRACE
87 /* CFV-165 - Hiding Nonessential information from non-opers
89 * 9-13) Removal of various stats from non users
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
115 /* CFV-165 - Hiding Nonessential information from non-opers
117 * 14) Removal of server names in net break sign-offs.
120 #define HEAD_IN_SAND_NETSPLIT
122 /* CFV-165 - Hiding Nonessential information from non-opers
124 * 15) Removal of server names in replies to /WHOIS
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
132 /* CFV-165 - Hiding Nonessential information from non-opers
136 /* don't show which server set a ban */
137 #define HEAD_IN_SAND_BANWHO
139 /* remap remote numerics to come from the local server */
140 #define HEAD_IN_SAND_REWRITE
142 /* disallow remote queries (*sob!*) */
143 /* (note, set this to 1 to reenable, not undef */
144 #define HEAD_IN_SAND_REMOTE 0
146 #endif /* INCLUDED_ircd_policy_h */