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
31 /* CFV-165 - Hiding Nonessential information from non-opers
33 * 1) Removal of server notices from users
35 * This is implemented as disallowing users from setting +s
37 #define HEAD_IN_SAND_SNOTICES
38 #define SERVNOTICE_OPER_ONLY
40 /* CFV-165 - Hiding Nonessential information from non-opers
42 * 2) Removal of server wallops from users
44 * This is implemented by making all server wallops DESYNC's, and removing
45 * +g from normal users.
47 #define HEAD_IN_SAND_DESYNCS
48 #define DEBUG_OPER_ONLY
50 /* CFV-165 - Hiding Nonessential information from non-opers
52 * 3) Removal of operator wallops from users
54 * This is implemented as disallowing users from setting +w
56 #define HEAD_IN_SAND_WALLOPS
57 /* #define WALLOPS_OPER_ONLY */
59 /* CFV-165 - Hiding Nonessential information from non-opers
61 * 5) Removal of /MAP from users.
64 #define HEAD_IN_SAND_MAP
66 /* CFV-165 - Hiding Nonessential information from non-opers
68 * 6) Removal of links from users
70 #define HEAD_IN_SAND_LINKS
72 /* CFV-165 - Hiding Nonessential information from non-opers
74 * 7) Restrict the output of LINKS to only display known leaves.
77 /* CFV-165 - Hiding Nonessential information from non-opers
79 * 8) Removal of /TRACE from users.
81 #define HEAD_IN_SAND_TRACE
83 /* CFV-165 - Hiding Nonessential information from non-opers
85 * 9-13) Removal of various stats from non users
87 #define HEAD_IN_SAND_STATS_L
88 #define HEAD_IN_SAND_STATS_C
89 #define HEAD_IN_SAND_STATS_G
90 #define HEAD_IN_SAND_STATS_H
91 #define HEAD_IN_SAND_STATS_K
92 #define HEAD_IN_SAND_STATS_F
93 #define HEAD_IN_SAND_STATS_I
94 #define HEAD_IN_SAND_STATS_M
95 #define HEAD_IN_SAND_STATS_m
96 #define HEAD_IN_SAND_STATS_O
97 #define HEAD_IN_SAND_STATS_P
98 #define HEAD_IN_SAND_STATS_R
99 #define HEAD_IN_SAND_STATS_D
100 #define HEAD_IN_SAND_STATS_d
101 #define HEAD_IN_SAND_STATS_E
102 #define HEAD_IN_SAND_STATS_t
103 #define HEAD_IN_SAND_STATS_T
104 #define HEAD_IN_SAND_STATS_U
105 #undef HEAD_IN_SAND_STATS_u
106 #undef HEAD_IN_SAND_STATS_W
107 #define HEAD_IN_SAND_STATS_X
108 #define HEAD_IN_SAND_STATS_Y
109 #define HEAD_IN_SAND_STATS_Z
111 /* CFV-165 - Hiding Nonessential information from non-opers
113 * 14) Removal of server names in net break sign-offs.
116 #define HEAD_IN_SAND_NETSPLIT
118 /* CFV-165 - Hiding Nonessential information from non-opers
120 * 15) Removal of server names in replies to /WHOIS
123 #define HEAD_IN_SAND_WHOIS_SERVERNAME
124 #define HEAD_IN_SAND_WHO_SERVERNAME
126 /* CFV-165 - Hiding Nonessential information from non-opers
130 /* don't show which server set a ban */
131 #define HEAD_IN_SAND_BANWHO
133 /* remap remote numerics to come from the local server */
134 #define HEAD_IN_SAND_REWRITE
136 /* disallow remote queries (*sob!*) */
137 /* (note, set this to 1 to reenable, not undef */
138 #define HEAD_IN_SAND_REMOTE 0
140 #endif /* INCLUDED_ircd_policy_h */