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 /* 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 */
35 #ifndef NO_HEAD_IN_SAND
37 /* CFV-165 - Hiding Nonessential information from non-opers
39 * 1) Removal of server notices from users
41 * This is implemented as disallowing users from setting +s
43 #define HEAD_IN_SAND_SNOTICES
44 #define SERVNOTICE_OPER_ONLY
46 /* CFV-165 - Hiding Nonessential information from non-opers
48 * 2) Removal of server wallops from users
50 * This is implemented by making all server wallops DESYNC's, and removing
51 * +g from normal users.
53 #define HEAD_IN_SAND_DESYNCS
54 #define DEBUG_OPER_ONLY
56 /* CFV-165 - Hiding Nonessential information from non-opers
58 * 3) Removal of operator wallops from users
60 * This is implemented as disallowing users from setting +w
62 #define HEAD_IN_SAND_WALLOPS
63 /* #define WALLOPS_OPER_ONLY */
65 /* CFV-165 - Hiding Nonessential information from non-opers
67 * 5) Removal of /MAP from users.
70 #define HEAD_IN_SAND_MAP
72 /* CFV-165 - Hiding Nonessential information from non-opers
74 * 6) Removal of links from users
76 #define HEAD_IN_SAND_LINKS
78 /* CFV-165 - Hiding Nonessential information from non-opers
80 * 7) Restrict the output of LINKS to only display known leaves.
83 /* CFV-165 - Hiding Nonessential information from non-opers
85 * 8) Removal of /TRACE from users.
87 #define HEAD_IN_SAND_TRACE
89 /* CFV-165 - Hiding Nonessential information from non-opers
91 * 9-13) Removal of various stats from non users
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
117 /* CFV-165 - Hiding Nonessential information from non-opers
119 * 14) Removal of server names in net break sign-offs.
122 #define HEAD_IN_SAND_NETSPLIT
124 /* CFV-165 - Hiding Nonessential information from non-opers
126 * 15) Removal of server names in replies to /WHOIS
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
134 /* CFV-165 - Hiding Nonessential information from non-opers
138 /* don't show which server set a ban */
139 #define HEAD_IN_SAND_BANWHO
141 /* Don't show which server or oper performed a kill */
142 #define HEAD_IN_SAND_KILLWHO
144 /* remap remote numerics to come from the local server */
145 #define HEAD_IN_SAND_REWRITE
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 */
154 #define HEAD_IN_SAND_SERVERNAME "*.undernet.org"
155 #define HEAD_IN_SAND_SERVERINFO "The Undernet Underworld"
157 #define URL_SERVERS "http://www.undernet.org/servers.php"
159 #endif /* INCLUDED_ircd_policy_h */