patch-support_config_h_dist 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. $OpenBSD: patch-support_config_h_dist,v 1.2 2005/12/03 17:13:24 sturm Exp $
  2. --- support/config.h.dist.orig Wed Jun 7 00:35:20 2000
  3. +++ support/config.h.dist Sat Dec 3 18:01:11 2005
  4. @@ -118,13 +118,13 @@
  5. * if 'OPER_x' is undefined so you can't give local operators more rights
  6. * than global ones.
  7. */
  8. -#undef OPER_KILL
  9. +#define OPER_KILL
  10. #define OPER_REHASH
  11. #undef OPER_RESTART
  12. -#define OPER_DIE
  13. +#undef OPER_DIE
  14. #undef OPER_REMOTE
  15. -#undef LOCOP_REHASH
  16. -#undef LOCOP_RESTART
  17. +#define LOCOP_REHASH
  18. +#define LOCOP_RESTART
  19. #undef LOCOP_DIE
  20. /*
  21. @@ -138,7 +138,7 @@
  22. * This should be at *least* 4: 2 listen ports (1 tcp, 1 udp)
  23. * 1 dns port, 1 client
  24. */
  25. -#define MAXCONNECTIONS 50
  26. +#define MAXCONNECTIONS 1000
  27. /* MAXIMUM LINKS
  28. *
  29. @@ -237,32 +237,32 @@
  30. * this option is used unless you tell the system administrator beforehand
  31. * and obtain their permission to send messages to the system log files.
  32. */
  33. -#undef USE_SYSLOG
  34. +#define USE_SYSLOG
  35. #ifdef USE_SYSLOG
  36. /*
  37. * If you use syslog above, you may want to turn some (none) of the
  38. * spurious log messages for KILL/SQUIT off.
  39. */
  40. -#undef SYSLOG_KILL /* log all operator kills to syslog */
  41. -#undef SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
  42. -#undef SYSLOG_CONNECT /* log remote connect messages for other all servs */
  43. -#undef SYSLOG_USERS /* send userlog stuff to syslog */
  44. -#undef SYSLOG_OPER /* log all users who successfully become an Op */
  45. -#undef SYSLOG_CONN /* log all uncomplete/rejected connections */
  46. +#define SYSLOG_KILL /* log all operator kills to syslog */
  47. +#define SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
  48. +#define SYSLOG_CONNECT /* log remote connect messages for other all servs */
  49. +#define SYSLOG_USERS /* send userlog stuff to syslog */
  50. +#define SYSLOG_OPER /* log all users who successfully become an Op */
  51. +#define SYSLOG_CONN /* log all uncomplete/rejected connections */
  52. /*
  53. * If you want to log to a different facility than DAEMON, change
  54. * this define.
  55. */
  56. -#define LOG_FACILITY LOG_DAEMON
  57. +#define LOG_FACILITY LOG_LOCAL5
  58. #endif /* USE_SYSLOG */
  59. /*
  60. * define this if you want to use crypted passwords for operators in your
  61. * ircd.conf file. See contrib/mkpasswd/README for more details on this.
  62. */
  63. -#undef CRYPT_OPER_PASSWORD
  64. +#define CRYPT_OPER_PASSWORD
  65. /*
  66. * If you want to store encrypted passwords in N-lines for server links,
  67. @@ -314,7 +314,7 @@
  68. * send to the server without processing before disconnecting the client for
  69. * flooding it. Values greater than 8000 make no difference to the server.
  70. */
  71. -#define CLIENT_FLOOD 1000
  72. +#define CLIENT_FLOOD 4000
  73. /* Remote query flood protection. */
  74. #define CHREPLLEN 8192
  75. @@ -352,7 +352,7 @@
  76. * The library and the include files must have been found by configure,
  77. * if you have installed the zlib after running configure, run it again.
  78. */
  79. -#undef ZIP_LINKS
  80. +#define ZIP_LINKS
  81. /*
  82. * Defining this will add an artificial 2 seconds delay for accepting
  83. @@ -469,7 +469,7 @@
  84. /*
  85. * Max number of channels a user is allowed to join.
  86. */
  87. -#define MAXCHANNELSPERUSER 10 /* Recommended value: 10 */
  88. +#define MAXCHANNELSPERUSER 25
  89. /*
  90. * USE_IAUTH makes ircd use the iauth program for authentication.