d5f0ca4271
from Jim Razmus <jim at bonetruck.org> a little cleanup
100 lines
3.2 KiB
Plaintext
100 lines
3.2 KiB
Plaintext
$OpenBSD: patch-support_config_h_dist,v 1.2 2005/12/03 17:13:24 sturm Exp $
|
|
--- support/config.h.dist.orig Wed Jun 7 00:35:20 2000
|
|
+++ support/config.h.dist Sat Dec 3 18:01:11 2005
|
|
@@ -118,13 +118,13 @@
|
|
* if 'OPER_x' is undefined so you can't give local operators more rights
|
|
* than global ones.
|
|
*/
|
|
-#undef OPER_KILL
|
|
+#define OPER_KILL
|
|
#define OPER_REHASH
|
|
#undef OPER_RESTART
|
|
-#define OPER_DIE
|
|
+#undef OPER_DIE
|
|
#undef OPER_REMOTE
|
|
-#undef LOCOP_REHASH
|
|
-#undef LOCOP_RESTART
|
|
+#define LOCOP_REHASH
|
|
+#define LOCOP_RESTART
|
|
#undef LOCOP_DIE
|
|
|
|
/*
|
|
@@ -138,7 +138,7 @@
|
|
* This should be at *least* 4: 2 listen ports (1 tcp, 1 udp)
|
|
* 1 dns port, 1 client
|
|
*/
|
|
-#define MAXCONNECTIONS 50
|
|
+#define MAXCONNECTIONS 1000
|
|
|
|
/* MAXIMUM LINKS
|
|
*
|
|
@@ -237,32 +237,32 @@
|
|
* this option is used unless you tell the system administrator beforehand
|
|
* and obtain their permission to send messages to the system log files.
|
|
*/
|
|
-#undef USE_SYSLOG
|
|
+#define USE_SYSLOG
|
|
|
|
#ifdef USE_SYSLOG
|
|
/*
|
|
* If you use syslog above, you may want to turn some (none) of the
|
|
* spurious log messages for KILL/SQUIT off.
|
|
*/
|
|
-#undef SYSLOG_KILL /* log all operator kills to syslog */
|
|
-#undef SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
|
|
-#undef SYSLOG_CONNECT /* log remote connect messages for other all servs */
|
|
-#undef SYSLOG_USERS /* send userlog stuff to syslog */
|
|
-#undef SYSLOG_OPER /* log all users who successfully become an Op */
|
|
-#undef SYSLOG_CONN /* log all uncomplete/rejected connections */
|
|
+#define SYSLOG_KILL /* log all operator kills to syslog */
|
|
+#define SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
|
|
+#define SYSLOG_CONNECT /* log remote connect messages for other all servs */
|
|
+#define SYSLOG_USERS /* send userlog stuff to syslog */
|
|
+#define SYSLOG_OPER /* log all users who successfully become an Op */
|
|
+#define SYSLOG_CONN /* log all uncomplete/rejected connections */
|
|
|
|
/*
|
|
* If you want to log to a different facility than DAEMON, change
|
|
* this define.
|
|
*/
|
|
-#define LOG_FACILITY LOG_DAEMON
|
|
+#define LOG_FACILITY LOG_LOCAL5
|
|
#endif /* USE_SYSLOG */
|
|
|
|
/*
|
|
* define this if you want to use crypted passwords for operators in your
|
|
* ircd.conf file. See contrib/mkpasswd/README for more details on this.
|
|
*/
|
|
-#undef CRYPT_OPER_PASSWORD
|
|
+#define CRYPT_OPER_PASSWORD
|
|
|
|
/*
|
|
* If you want to store encrypted passwords in N-lines for server links,
|
|
@@ -314,7 +314,7 @@
|
|
* send to the server without processing before disconnecting the client for
|
|
* flooding it. Values greater than 8000 make no difference to the server.
|
|
*/
|
|
-#define CLIENT_FLOOD 1000
|
|
+#define CLIENT_FLOOD 4000
|
|
|
|
/* Remote query flood protection. */
|
|
#define CHREPLLEN 8192
|
|
@@ -352,7 +352,7 @@
|
|
* The library and the include files must have been found by configure,
|
|
* if you have installed the zlib after running configure, run it again.
|
|
*/
|
|
-#undef ZIP_LINKS
|
|
+#define ZIP_LINKS
|
|
|
|
/*
|
|
* Defining this will add an artificial 2 seconds delay for accepting
|
|
@@ -469,7 +469,7 @@
|
|
/*
|
|
* Max number of channels a user is allowed to join.
|
|
*/
|
|
-#define MAXCHANNELSPERUSER 10 /* Recommended value: 10 */
|
|
+#define MAXCHANNELSPERUSER 25
|
|
|
|
/*
|
|
* USE_IAUTH makes ircd use the iauth program for authentication.
|