1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615
|
/************************************************************************
* IRC - Internet Relay Chat, ircd/m_info.h
* Copyright (C) 1990 Jarkko Oikarinen
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
*/
#ifndef INCLUDED_m_info_h
#define INCLUDED_m_info_h
#ifndef INCLUDED_config_h
#include "config.h"
#endif
typedef struct Information
{
const char* name; /* name of item */
const char* strvalue; /* value of item if it's a boolean */
int intvalue; /* value of item if it's an integer */
const char* desc; /* short description of item */
} Info;
/*
* only define MyInformation if we are compiling m_info.c
*/
#ifdef DEFINE_M_INFO_DATA
Info MyInformation[] = {
#ifdef ALLOW_DOT_IN_IDENT
{ "ALLOW_DOT_IN_IDENT", "ON", 0, "Allow dot in ident replies" },
#else
{ "ALLOW_DOT_IN_IDENT", "OFF", 0, "Allow dot in ident replies" },
#endif /* ALLOW_DOT_IN_IDENT */
#ifdef ANTI_DRONE_FLOOD
{ "ANTI_DRONE_FLOOD", "ON", 0, "Anti Flood for Drones" },
#else
{ "ANTI_DRONE_FLOOD", "OFF", 0, "Anti Flood for Drones" },
#endif /* ANTI_DRONE_FLOOD */
#ifdef ANTI_NICK_FLOOD
{ "ANTI_NICK_FLOOD", "ON", 0, "Nickname Flood Protection" },
#else
{ "ANTI_NICK_FLOOD", "OFF", 0, "Nickname Flood Protection" },
#endif /* ANTI_NICK_FLOOD */
#ifdef ANTI_SPAMBOT
{ "ANTI_SPAMBOT", "ON", 0, "Spam Bot Detection" },
#else
{ "ANTI_SPAMBOT", "OFF", 0, "Spam Bot Detection" },
#endif /* ANTI_SPAMBOT */
#ifdef ANTI_SPAMBOT_WARN_ONLY
{ "ANTI_SPAMBOT_WARN_ONLY", "ON", 0, "Warn Operators of Possible Spam Bots" },
#else
{ "ANTI_SPAMBOT_WARN_ONLY", "OFF", 0, "Warn Operators of Possible Spam Bots" },
#endif /* ANTI_SPAMBOT_WARN_ONLY */
#ifdef ANTI_SPAM_EXIT_MESSAGE
{ "ANTI_SPAM_EXIT_MESSAGE", "ON", 0, "Do not broadcast Spam Bots' exit messages" },
#else
{ "ANTI_SPAM_EXIT_MESSAGE", "OFF", 0, "Do not broadcast Spam Bots' exit messages" },
#endif /* ANTI_SPAM_EXIT_MESSAGE */
#ifdef ANTI_SPAM_EXIT_MESSAGE_TIME
{ "ANTI_SPAM_EXIT_MESSAGE_TIME", "", ANTI_SPAM_EXIT_MESSAGE_TIME, "Delay before Allowing Spam Bot Exit Messages" },
#else
{ "ANTI_SPAM_EXIT_MESSAGE_TIME", "NONE", 0, "Delay before Allowing Spam Bot Exit Messages" },
#endif /* ANTI_SPAM_EXIT_MESSAGE_TIME */
#ifdef B_LINES_OPER_ONLY
{ "B_LINES_OPER_ONLY", "ON", 0, "Allow only Operators to use STATS B" },
#else
{ "B_LINES_OPER_ONLY", "OFF", 0, "Allow only Operators to use STATS B" },
#endif /* B_LINES_OPER_ONLY */
#ifdef BAN_INFO
{ "BAN_INFO", "ON", 0, "Displays who set a ban and when" },
#else
{ "BAN_INFO", "OFF", 0, "Displays who set a ban and when" },
#endif /* BAN_INFO */
#ifdef BOTCHECK
{ "BOTCHECK", "ON", 0, "Rudimentary Bot Checking" },
#else
{ "BOTCHECK", "OFF", 0, "Rudimentary Bot Checking" },
#endif /* BOTCHECK */
{ "BUFFERPOOL", "", BUFFERPOOL, "Maximum size of all SendQs" },
#ifdef CLIENT_FLOOD
{ "CLIENT_FLOOD", "", CLIENT_FLOOD, "Client Excess Flood Threshold" },
#else
{ "CLIENT_FLOOD", "OFF", 0, "Client Excess Flood Threshold" },
#endif /* CLIENT_FLOOD */
#ifdef CLIENT_SERVER
{ "CLIENT_SERVER", "ON", 0, "Change HTM to Make Clients Lag Less" },
#else
{ "CLIENT_SERVER", "OFF", 0, "Change HTM to Make Clients Lag Less" },
#endif /* CLIENT_SERVER */
#ifdef CMDLINE_CONFIG
{ "CMDLINE_CONFIG", "ON", 0, "Allow Command Line Specification of Config File" },
#else
{ "CMDLINE_CONFIG", "OFF", 0, "Allow Command Line Specification of Config File" },
#endif /* CMDLINE_CONFIG */
#ifdef CRYPT_OPER_PASSWORD
{ "CRYPT_OPER_PASSWORD", "ON", 0, "Encrypt Operator Passwords" },
#else
{ "CRYPT_OPER_PASSWORD", "OFF", 0, "Encrypt Operator Passwords" },
#endif /* CRYPT_OPER_PASSWORD */
#ifdef CRYPT_LINK_PASSWORD
{ "CRYPT_LINK_PASSWORD", "ON", 0, "Encrypt Server Passwords" },
#else
{ "CRYPT_LINK_PASSWORD", "OFF", 0, "Encrypt Server Passwords" },
#endif /* CRYPT_LINK_PASSWORD */
#ifdef CUSTOM_ERR
{ "CUSTOM_ERR", "ON", 0, "Customized error messages" },
#else
{ "CUSTOM_ERR", "OFF", 0, "Customized error messages" },
#endif /* CUSTOM_ERR */
#ifdef DEBUGMODE
{ "DEBUGMODE", "ON", 0, "Debugging Mode" },
#else
{ "DEBUGMODE", "OFF", 0, "Debugging Mode" },
#endif /* DEBUGMODE */
#ifdef DEFAULT_SERVER_SPLIT_RECOVERY_TIME
{ "DEFAULT_SERVER_SPLIT_RECOVERY_TIME", "", DEFAULT_SERVER_SPLIT_RECOVERY_TIME, "Time to Delay Split Status After Resynch" },
#else
{ "DEFAULT_SERVER_SPLIT_RECOVERY_TIME", "NONE", 0, "Time to Delay Split Status After Resynch" },
#endif /* DEFAULT_SERVER_SPLIT_RECOVERY_TIME */
#ifdef DO_IDENTD
{ "DO_IDENTD", "ON", 0, "Perform identd checks" },
#else
{ "DO_IDENTD", "OFF", 0, "Perform identd checks" },
#endif /* DO_IDENTD */
#ifdef E_LINES_OPER_ONLY
{ "E_LINES_OPER_ONLY", "ON", 0, "Allow only Operators to use STATS E" },
#else
{ "E_LINES_OPER_ONLY", "OFF", 0, "Allow only Operators to use STATS E" },
#endif /* E_LINES_OPER_ONLY */
#ifdef FAILED_OPER_NOTICE
{ "FAILED_OPER_NOTICE", "ON", 0, "Display invalid OPER attempts" },
#else
{ "FAILED_OPER_NOTICE", "OFF", 0, "Display invalid OPER attempts" },
#endif /* FAILED_OPER_NOTICE */
#ifdef FLUD
{ "FLUD", "ON", 0, "CTCP Flood Detection and Protection" },
#else
{ "FLUD", "OFF", 0, "CTCP Flood Detection and Protection" },
#endif /* FLUD */
#ifdef FLUD_NUM
{ "FLUD_NUM", "", FLUD_NUM, "Number of Messages to Trip Alarm" },
#else
{ "FLUD_NUM", "NONE", 0, "Number of Messages to Trip Alarm" },
#endif /* FLUD_NUM */
#ifdef FLUD_TIME
{ "FLUD_TIME", "", FLUD_TIME, "Time Window in which a Flud occurs" },
#else
{ "FLUD_TIME", "NONE", 0, "Time Window in which a Flud occurs" },
#endif /* FLUD_TIME */
#ifdef FLUD_BLOCK
{ "FLUD_BLOCK", "", FLUD_BLOCK, "Seconds to Block Fluds" },
#else
{ "FLUD_BLOCK", "NONE", 0, "Seconds to Block Fluds" },
#endif /* FLUD_BLOCK */
#ifdef FNAME_OPERLOG
{ "FNAME_OPERLOG", FNAME_OPERLOG, 0, "Path to Opers Users Log File" },
#else
{ "FNAME_OPERLOG", "NONE", 0, "Path to Local Opers Log File" },
#endif /* FNAME_OPERLOG */
#ifdef FNAME_USERLOG
{ "FNAME_USERLOG", FNAME_USERLOG, 0, "Path to Local Users Log File" },
#else
{ "FNAME_USERLOG", "NONE", 0, "Path to Local Users Log File" },
#endif /* FNAME_USERLOG */
#ifdef F_LINES_OPER_ONLY
{ "F_LINES_OPER_ONLY", "ON", 0, "Allow only Operators to use STATS F" },
#else
{ "F_LINES_OPER_ONLY", "OFF", 0, "Allow only Operators to use STATS F" },
#endif /* F_LINES_OPER_ONLY */
{ "HARD_FDLIMIT_", "", HARD_FDLIMIT_, "Maximum Number of File Descriptors Available" },
#ifdef HIDE_OPS
{ "HIDE_OPS", "ON", 0, "Hide chanop status from non-chanops" },
#else
{ "HIDE_OPS", "OFF", 0, "Hide chanop status from non-chanops" },
#endif /* HIDE_OPS */
#ifdef HIDE_SERVERS_IPS
{ "HIDE_SERVERS_IPS", "ON", 0, "Hide server's IP's from all users" },
#else
{ "HIDE_SERVERS_IPS", "OFF", 0, "Hide server's IP's from all users" },
#endif /* HIDE_SERVERS_IPS */
#ifdef HUB
{ "HUB", "ON", 0, "Configured as a HUB Server" },
#else
{ "HUB", "OFF", 0, "Configured as a HUB Server" },
#endif /* HUB */
#ifdef SOMAXCONN
{ "HYBRID_SOMAXCONN", "", SOMAXCONN, "Maximum Queue Length of Pending Connections" },
#else
{ "HYBRID_SOMAXCONN", "", HYBRID_SOMAXCONN, "Maximum Queue Length of Pending Connections" },
#endif /* SOMAXCONN */
#ifdef I_LINES_OPER_ONLY
{ "I_LINES_OPER_ONLY", "ON", 0, "Allow only Operators to use STATS I" },
#else
{ "I_LINES_OPER_ONLY", "OFF", 0, "Allow only Operators to use STATS I" },
#endif /* I_LINES_OPER_ONLY */
#ifdef IDLE_TIME
{ "IDLE_TIME", "", IDLE_TIME, "Delay (in minutes) before a client is considered idle" },
#else
{ "IDLE_TIME", "OFF", 0, "Delay (in minutes) before a client is considered idle" },
#endif /* IDLE_TIME */
#ifdef IDLE_FROM_MSG
{ "IDLE_FROM_MSG", "ON", 0, "Reset idle time after a PRIVMSG" },
#else
{ "IDLE_FROM_MSG", "OFF", 0, "Reset idle time after a PRIVMSG" },
#endif /* IDLE_FROM_MSG */
#ifdef IGNORE_BOGUS_TS
{ "IGNORE_BOGUS_TS", "ON", 0, "Ignore Bogus TimeStamps from Other Servers" },
#else
{ "IGNORE_BOGUS_TS", "OFF", 0, "Ignore Bogus TimeStamps from Other Servers" },
#endif /* IGNORE_BOGUS_TS */
{ "INIT_MAXCLIENTS", "", INIT_MAXCLIENTS, "Maximum Clients" },
{ "INITIAL_DBUFS", "", INITIAL_DBUFS, "Number of Dbufs to PreAllocate" },
#ifdef ANTI_SPAMBOT
{ "JOIN_LEAVE_COUNT_EXPIRE_TIME", "", JOIN_LEAVE_COUNT_EXPIRE_TIME, "Anti SpamBot Parameter" },
#endif /* ANTI_SPAMBOT */
#ifdef JUPE_CHANNEL
{ "JUPE_CHANNEL", "ON", 0, "Jupe channels" },
#else
{ "JUPE_CHANNEL", "OFF", 0, "Jupe channels" },
#endif /* JUPE_CHANNEL */
#ifdef K_LINES_OPER_ONLY
{ "K_LINES_OPER_ONLY", "ON", 0, "Allow only Operators to use STATS K" },
#else
{ "K_LINES_OPER_ONLY", "OFF", 0, "Allow only Operators to use STATS K" },
#endif /* K_LINES_OPER_ONLY */
{ "KILLCHASETIMELIMIT", "", KILLCHASETIMELIMIT, "Nick Change Tracker for KILL" },
#ifdef KLINE_WITH_CONNECTION_CLOSED
{ "KLINE_WITH_CONNECTION_CLOSED", "ON", 0, "Signoff reason: Connection closed" },
#else
{ "KLINE_WITH_CONNECTION_CLOSED", "OFF", 0, "Signoff reason: Connection closed" },
#endif /* KLINE_WITH_CONNECTION_CLOSED */
#ifdef KLINE_WITH_REASON
{ "KLINE_WITH_REASON", "ON", 0, "Show K-line Reason to Client on Exit" },
#else
{ "KLINE_WITH_REASON", "OFF", 0, "Show K-line Reason to Client on Exit" },
#endif /* KLINE_WITH_REASON */
{ "KNOCK_DELAY", "", KNOCK_DELAY, "Delay between KNOCK Attempts" },
#ifdef LIMIT_UH
{ "LIMIT_UH", "ON", 0, "Make Y: lines limit username instead of hostname" },
#else
{ "LIMIT_UH", "OFF", 0, "Make Y: lines limit username instead of hostname" },
#endif /* LIMIT_UH */
#ifdef LITTLE_I_LINES
{ "LITTLE_I_LINES", "ON", 0, "\"i\" lines prevent matching clients from channel opping" },
#else
{ "LITTLE_I_LINES", "OFF", 0, "\"i\" lines prevent matching clients from channel opping" },
#endif /* LITTLE_I_LINES */
#ifdef LTRACE
{ "LTRACE", "ON", 0, "Limited Trace Output" },
#else
{ "LTRACE", "OFF", 0, "Limited Trace Output" },
#endif /* LTRACE */
{ "MAXSENDQLENGTH", "", MAXSENDQLENGTH, "Maximum Amount of Internal SendQ Buffering" },
{ "MAX_BUFFER", "", MAX_BUFFER, "Maximum Buffer Connections Allowed" },
#ifdef ANTI_SPAMBOT
{ "MAX_JOIN_LEAVE_COUNT", "", MAX_JOIN_LEAVE_COUNT, "Anti SpamBot Parameter" },
#endif /* ANTI_SPAMBOT */
{ "MAX_MULTI_MESSAGES", "", MAX_MULTI_MESSAGES, "Maximum targets per PRIVMSG" },
#ifdef ANTI_NICK_FLOOD
{ "MAX_NICK_CHANGES", "", MAX_NICK_CHANGES, "Maximum Nick Changes Allowed" },
{ "MAX_NICK_TIME", "", MAX_NICK_TIME, "Time Window for MAX_NICK_CHANGES" },
#endif /* ANTI_NICK_FLOOD */
{ "MAXCHANNELSPERUSER", "", MAXCHANNELSPERUSER, "Maximum Channels per User" },
{ "MAXIMUM_LINKS", "", MAXIMUM_LINKS, "Maximum Links for Class 0" },
#ifdef ANTI_SPAMBOT
{ "MIN_JOIN_LEAVE_TIME", "", MIN_JOIN_LEAVE_TIME, "Anti SpamBot Parameter" },
#endif /* ANTI_SPAMBOT */
#ifdef NETWORK_NAME
{ "NETWORK_NAME", NETWORK_NAME, 0, "Network name" },
#else
{ "NETWORK_NAME", "NONE", 0, "Network name" },
#endif /* NETWORK_NAME */
#ifdef NETWORK_DESC
{ "NETWORK_DESC", NETWORK_DESC, 0, "Network description" },
#else
{ "NETWORK_DESC", "NONE", 0, "Network description" },
#endif /* NETWORK_DESC */
{ "NICKNAMEHISTORYLENGTH", "", NICKNAMEHISTORYLENGTH, "Size of WHOWAS Array" },
#ifdef NO_CHANOPS_ON_SPLIT
{ "NO_CHANOPS_ON_SPLIT", "ON", 0, "Do not Allow Channel Ops During a NetSplit" },
#else
{ "NO_CHANOPS_ON_SPLIT", "OFF", 0, "Do not Allow Channel Ops During a NetSplit" },
#endif /* NO_CHANOPS_ON_SPLIT */
#ifdef NO_DEFAULT_INVISIBLE
{ "NO_DEFAULT_INVISIBLE", "ON", 0, "Do not Give Clients +i Mode Upon Connection" },
#else
{ "NO_DEFAULT_INVISIBLE", "OFF", 0, "Do not Give Clients +i Mode Upon Connection" },
#endif /* NO_DEFAULT_INVISIBLE */
#ifdef NO_DUPE_MULTI_MESSAGES
{ "NO_DUPE_MULTI_MESSAGES", "ON", 0, "Do not allow dupe PRIVMSG targets" },
#else
{ "NO_DUPE_MULTI_MESSAGES", "OFF", 0, "Do not allow dupe PRIVMSG targets" },
#endif /* NO_DUPE_MULTI_MESSAGES */
#ifdef NO_JOIN_ON_SPLIT
{ "NO_JOIN_ON_SPLIT", "ON", 0, "Users Cannot Join Channels During a NetSplit" },
#else
{ "NO_JOIN_ON_SPLIT", "OFF", 0, "Users Cannot Join Channels During a NetSplit" },
#endif /* NO_JOIN_ON_SPLIT */
#ifdef NO_OPER_FLOOD
{ "NO_OPER_FLOOD", "ON", 0, "Disable Flood Control for Operators" },
#else
{ "NO_OPER_FLOOD", "OFF", 0, "Disable Flood Control for Operators" },
#endif /* NO_OPER_FLOOD */
#ifdef NO_PRIORITY
{ "NO_PRIORITY", "ON", 0, "Do not Prioritize Socket File Descriptors" },
#else
{ "NO_PRIORITY", "OFF", 0, "Do not Prioritize Socket File Descriptors" },
#endif /* NO_PRIORITY */
#ifdef NOISY_HTM
{ "NOISY_HTM", "ON", 0, "Notify Operators of HTM (De)activation" },
#else
{ "NOISY_HTM", "OFF", 0, "Notify Operators of HTM (De)activation" },
#endif /* NOISY_HTM */
#ifdef OLD_Y_LIMIT
{ "OLD_Y_LIMIT", "ON", 0, "Use Old Y: line Limit Behavior" },
#else
{ "OLD_Y_LIMIT", "OFF", 0, "Use Old Y: line Limit Behavior" },
#endif /* OLD_Y_LIMIT */
#ifdef OPER_IDLE
{ "OPER_IDLE", "ON", 0, "Allow Operators to remain idle" },
#else
{ "OPER_IDLE", "OFF", 0, "Allow Operators to remain idle" },
#endif /* OPER_IDLE */
#ifdef ANTI_SPAMBOT
{ "OPER_SPAM_COUNTDOWN", "", OPER_SPAM_COUNTDOWN, "Anti SpamBot Parameter" },
#endif /* ANTI_SPAMBOT */
#ifdef O_LINES_OPER_ONLY
{ "O_LINES_OPER_ONLY", "ON", 0, "Allow only Operators to use STATS O" },
#else
{ "O_LINES_OPER_ONLY", "OFF", 0, "Allow only Operators to use STATS O" },
#endif /* O_LINES_OPER_ONLY */
#ifdef P_LINES_OPER_ONLY
{ "P_LINES_OPER_ONLY", "ON", 0, "Allow only Operators to use STATS P" },
#else
{ "P_LINES_OPER_ONLY", "OFF", 0, "Allow only Operators to use STATS P" },
#endif /* P_LINES_OPER_ONLY */
{ "PACE_WAIT", "", PACE_WAIT, "Minimum Delay between uses of certain commands" },
#ifdef PACE_WALLOPS
{ "PACE_WALLOPS", "ON", 0, "Delay WALLOPS and OPERWALL" },
#else
{ "PACE_WALLOPS", "OFF", 0, "Delay WALLOPS and OPERWALL" },
#endif /* PACE_WALLOPS */
#ifdef REJECT_HOLD
{ "REJECT_HOLD", "ON", 0, "Do not Dump a K-lined Client immediately" },
#else
{ "REJECT_HOLD", "OFF", 0, "Do not Dump a K-lined Client immediately" },
#endif /* REJECT_HOLE */
#ifdef REJECT_HOLD_TIME
{ "REJECT_HOLD_TIME", "", REJECT_HOLD_TIME, "Amount of Time to Hold a K-lined Client" },
#else
{ "REJECT_HOLD_TIME", "OFF", 0, "Amount of Time to Hold a K-lined Client" },
#endif /* REJECT_HOLD_TIME */
#ifdef REPORT_DLINE_TO_USER
{ "REPORT_DLINE_TO_USER", "ON", 0, "Inform Clients They are D-lined" },
#else
{ "REPORT_DLINE_TO_USER", "OFF", 0, "Inform Clients They are D-lined" },
#endif /* REPORT_DLINE_TO_USER */
#ifdef RFC1035_ANAL
{ "RFC1035_ANAL", "ON", 0, "Reject / and _ in hostnames" },
#else
{ "RFC1035_ANAL", "OFF", 0, "Reject / and _ in hostnames" },
#endif /* RFC1035_ANAL */
#ifdef SEND_FAKE_KILL_TO_CLIENT
{ "SEND_FAKE_KILL_TO_CLIENT", "ON", 0, "Make Client think they were KILLed" },
#else
{ "SEND_FAKE_KILL_TO_CLIENT", "OFF", 0, "Make Client think they were KILLed" },
#endif /* SEND_FAKE_KILL_TO_CLIENT */
#ifdef SENDQ_ALWAYS
{ "SENDQ_ALWAYS", "ON", 0, "Put All OutBound data into a SendQ" },
#else
{ "SENDQ_ALWAYS", "OFF", 0, "Put All OutBound data into a SendQ" },
#endif /* SENDQ_ALWAYS */
#ifdef SERVERHIDE
{ "SERVERHIDE", "ON", 0, "Hide server info from users" },
#else
{ "SERVERHIDE", "OFF", 0, "Hide server info from users" },
#endif /* SERVERHIDE */
#ifdef SHORT_MOTD
{ "SHORT_MOTD", "ON", 0, "Notice Clients They should Read MOTD" },
#else
{ "SHORT_MOTD", "OFF", 0, "Notice Clients They should Read MOTD" },
#endif /* SHORT_MOTD */
#ifdef SHOW_FAILED_OPER_ID
{ "SHOW_FAILED_OPER_ID", "ON", 0, "Show Failed OPER Attempts due to Identity Mismatch" },
#else
{ "SHOW_FAILED_OPER_ID", "OFF", 0, "Show Failed OPER Attempts due to Identity Mismatch" },
#endif /* SHOW_FAILED_OPER_ID */
#ifdef SHOW_FAILED_OPER_PASSWD
{ "SHOW_FAILED_OPER_PASSWD", "ON", 0, "Show the Attempted OPER Password" },
#else
{ "SHOW_FAILED_OPER_PASSWD", "OFF", 0, "Show the Attempted OPER Password" },
#endif /* SHOW_FAILED_OPER_PASSWD */
#ifdef SHOW_INVISIBLE_LUSERS
{ "SHOW_INVISIBLE_LUSERS", "ON", 0, "Show Invisible Clients in LUSERS" },
#else
{ "SHOW_INVISIBLE_LUSERS", "OFF", 0, "Show Invisible Clients in LUSERS" },
#endif /* SHOW_INVISIBLE_LUSERS */
#ifdef SPLIT_PONG
{ "SPLIT_PONG", "ON", 0, "Send a Special PING to Determine end of a NetSplit" },
#else
{ "SPLIT_PONG", "OFF", 0, "Send a Special PING to Determine end of a NetSplit" },
#endif /* SPLIT_PONG */
#ifdef SPLIT_SMALLNET_SIZE
{ "SPLIT_SMALLNET_SIZE", "", SPLIT_SMALLNET_SIZE, "Minimum Servers that Constitutes a NetSplit" },
#endif /* SPLIT_SMALLNET_SIZE */
#ifdef SPLIT_SMALLNET_USER_SIZE
{ "SPLIT_SMALLNET_USER_SIZE", "", SPLIT_SMALLNET_USER_SIZE, "Normal amount of Users" },
#endif /* SPLIT_SMALLNET_USER_SIZE */
#ifdef SPOOF_NOTICE
{ "SPOOF_NOTICE", "ON", 0, "Show Operators when a Client connects with a spoofed I" },
#else
{ "SPOOF_NOTICE", "OFF", 0, "Show Operators when a Client connects with a spoofed I" },
#endif /* SPOOF_NOTICE */
#ifdef STATS_NOTICE
{ "STATS_NOTICE", "ON", 0, "Show Operators when a Client uses STATS" },
#else
{ "STATS_NOTICE", "OFF", 0, "Show Operators when a Client uses STATS" },
#endif /* STATS_NOTICE */
#ifdef STATS_P_NOTICE
{ "STATS_P_NOTICE", "ON", 0, "Show Operators when a Client uses STATS P" },
#else
{ "STATS_P_NOTICE", "OFF", 0, "Show Operators when a Client uses STATS P" },
#endif /* STATS_P_NOTICE */
{ "TIMESEC", "", TIMESEC, "Time Interval to Wait Before Checking Pings" },
#ifdef TOPIC_INFO
{ "TOPIC_INFO", "ON", 0, "Show Who Set a Topic and When" },
#else
{ "TOPIC_INFO", "OFF", 0, "Show Who Set a Topic and When" },
#endif /* TOPIC_INFO */
#ifdef TRUE_NO_OPER_FLOOD
{ "TRUE_NO_OPER_FLOOD", "ON", 0, "Completely Disable Flood Control for Operators" },
#else
{ "TRUE_NO_OPER_FLOOD", "OFF", 0, "Completely Disable Flood Control for Operators" },
#endif /* TRUE_NO_OPER_FLOOD */
{ "TS_MAX_DELTA", "", TS_MAX_DELTA, "Maximum Allowed TS Delta from another Server" },
{ "TS_WARN_DELTA", "", TS_WARN_DELTA, "Maximum TS Delta before Sending Warning" },
#ifdef U_LINES_OPER_ONLY
{ "U_LINES_OPER_ONLY", "ON", 0, "Only allow Operators to use STATS U" },
#else
{ "U_LINES_OPER_ONLY", "OFF", 0, "Only allow Operators to use STATS U" },
#endif /* U_LINES_OPER_ONLY */
#ifdef USE_LOGFILE
{ "USE_LOGFILE", "ON", 0, "Log Errors to LPATH" },
#else
{ "USE_LOGFILE", "OFF", 0, "Log Errors to LPATH" },
#endif /* USE_LOGFILE */
#ifdef USE_SYSLOG
{ "USE_SYSLOG", "ON", 0, "Log Errors to syslog file" },
#else
{ "USE_SYSLOG", "OFF", 0, "Log Errors to syslog file" },
#endif /* USE_SYSLOG */
#ifdef USE_UH
{ "USE_UH", "ON", 0, "Include user@host for BAN_INFO" },
#else
{ "USE_UH", "OFF", 0, "Include user@host for BAN_INFO" },
#endif /* USE_UH */
#ifdef WALLOPS_WAIT
{ "WALLOPS_WAIT", "", WALLOPS_WAIT, "Delay between successive uses of the WALLOPS command" },
#endif /* WALLOPS_WAIT */
#ifdef WARN_NO_NLINE
{ "WARN_NO_NLINE", "ON", 0, "Show Operators of Servers without an N: line" },
#else
{ "WARN_NO_NLINE", "OFF", 0, "Show Operators of Servers without an N: line" },
#endif /* WARN_NO_NLINE */
#ifdef WHOIS_NOTICE
{ "WHOIS_NOTICE", "ON", 0, "Show Operators when they are WHOIS'd" },
#else
{ "WHOIS_NOTICE", "OFF", 0, "Show Operators when they are WHOIS'd" },
#endif /* WHOIS_NOTICE */
{ "WHOIS_WAIT", "", WHOIS_WAIT, "Delay between Remote uses of WHOIS" },
#ifdef WINTRHAWK
{ "WINTRHAWK", "ON", 0, "Enable Wintrhawk Styling" },
#else
{ "WINTRHAWK", "OFF", 0, "Enable Wintrhawk Styling" },
#endif /* WINTRHAWK */
#ifdef ZIP_LEVEL
{ "ZIP_LEVEL", "", ZIP_LEVEL, "Compression Value for Zipped Links" },
#else
{ "ZIP_LEVEL", "NONE", 0, "Compression Value for Zipped Links" },
#endif /* ZIP_LEVEL */
#ifdef ZIP_LINKS
{ "ZIP_LINKS", "ON", 0, "Compress Server to Server Links" },
#else
{ "ZIP_LINKS", "OFF", 0, "Compress Server to Server Links" },
#endif /* ZIP_LINKS */
/*
* since we don't want to include the world here, NULL probably
* isn't defined by the time we read this, just use plain 0 instead
* 0 is guaranteed by the language to be assignable to ALL built
* in types with the correct results.
*/
{ 0, 0, 0, 0 }
};
#endif /* DEFINE_M_INFO_DATA */
#endif /* INCLUDED_m_info_h */
|