config.h: update a tad
This commit is contained in:
parent
c2c236234e
commit
f79f3e6a95
2 changed files with 19 additions and 11 deletions
|
@ -57,12 +57,12 @@
|
||||||
|
|
||||||
/* files */
|
/* files */
|
||||||
#define SPATH BINPATH "/" PROGRAM_PREFIX "charybdis" /* ircd executable */
|
#define SPATH BINPATH "/" PROGRAM_PREFIX "charybdis" /* ircd executable */
|
||||||
#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
|
#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
|
||||||
#define MPATH ETCPATH "/ircd.motd" /* MOTD file */
|
#define MPATH ETCPATH "/ircd.motd" /* MOTD file */
|
||||||
#define LPATH LOGPATH "/ircd.log" /* ircd logfile */
|
#define LPATH LOGPATH "/ircd.log" /* ircd logfile */
|
||||||
#define PPATH PKGRUNDIR "/ircd.pid" /* pid file */
|
#define PPATH PKGRUNDIR "/ircd.pid" /* pid file */
|
||||||
#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
|
#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
|
||||||
#define DBPATH PKGLOCALSTATEDIR "/ban.db" /* bandb file */
|
#define DBPATH PKGLOCALSTATEDIR "/ban.db" /* bandb file */
|
||||||
|
|
||||||
/* IGNORE_BOGUS_TS
|
/* IGNORE_BOGUS_TS
|
||||||
* Ignore bogus timestamps from other servers. Yes this will desync
|
* Ignore bogus timestamps from other servers. Yes this will desync
|
||||||
|
@ -72,6 +72,11 @@
|
||||||
*/
|
*/
|
||||||
#undef IGNORE_BOGUS_TS
|
#undef IGNORE_BOGUS_TS
|
||||||
|
|
||||||
|
/* ENABLE_OPER_CHGHOST
|
||||||
|
* Allow opers to use the CHGHOST command. Potentially abusive.
|
||||||
|
*/
|
||||||
|
#undef ENABLE_OPER_CHGHOST
|
||||||
|
|
||||||
/* HANGONGOODLINK and HANGONRETRYDELAY
|
/* HANGONGOODLINK and HANGONRETRYDELAY
|
||||||
* Often net breaks for a short time and it's useful to try to
|
* Often net breaks for a short time and it's useful to try to
|
||||||
* establishing the same connection again faster than CONNECTFREQUENCY
|
* establishing the same connection again faster than CONNECTFREQUENCY
|
||||||
|
@ -80,7 +85,6 @@
|
||||||
* (HANGONGOODLINK) and we give the net few seconds to steady
|
* (HANGONGOODLINK) and we give the net few seconds to steady
|
||||||
* (HANGONRETRYDELAY). This latter has to be long enough that the
|
* (HANGONRETRYDELAY). This latter has to be long enough that the
|
||||||
* other end of the connection has time to notice it broke too.
|
* other end of the connection has time to notice it broke too.
|
||||||
* 1997/09/18 recommended values by ThemBones for modern EFnet
|
|
||||||
*/
|
*/
|
||||||
#define HANGONRETRYDELAY 60 /* Recommended value: 30-60 seconds */
|
#define HANGONRETRYDELAY 60 /* Recommended value: 30-60 seconds */
|
||||||
#define HANGONGOODLINK 3600 /* Recommended value: 30-60 minutes */
|
#define HANGONGOODLINK 3600 /* Recommended value: 30-60 minutes */
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Directory paths and filenames for UNIX systems.
|
* Directory paths and filenames for UNIX systems.
|
||||||
* IRCD_PREFIX is set using ./configure --prefix, see INSTALL.
|
* IRCD_PREFIX is set using ./configure --prefix, see INSTALL.
|
||||||
* The other defaults should be fine.
|
* The other defaults should be fine.
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
#define BINPATH IRCD_PREFIX "/bin/"
|
#define BINPATH IRCD_PREFIX "/bin/"
|
||||||
#define MODPATH MODULE_DIR
|
#define MODPATH MODULE_DIR
|
||||||
#define AUTOMODPATH MODULE_DIR "/autoload/"
|
#define AUTOMODPATH MODULE_DIR "/autoload/"
|
||||||
#define ETCPATH ETC_DIR
|
#define ETCPATH ETC_DIR
|
||||||
#define LOGPATH LOG_DIR
|
#define LOGPATH LOG_DIR
|
||||||
#define UHPATH HELP_DIR "/users"
|
#define UHPATH HELP_DIR "/users"
|
||||||
#define HPATH HELP_DIR "/opers"
|
#define HPATH HELP_DIR "/opers"
|
||||||
|
@ -72,6 +72,11 @@
|
||||||
*/
|
*/
|
||||||
#undef IGNORE_BOGUS_TS
|
#undef IGNORE_BOGUS_TS
|
||||||
|
|
||||||
|
/* ENABLE_OPER_CHGHOST
|
||||||
|
* Allow opers to use the CHGHOST command. Potentially abusive.
|
||||||
|
*/
|
||||||
|
#undef ENABLE_OPER_CHGHOST
|
||||||
|
|
||||||
/* HANGONGOODLINK and HANGONRETRYDELAY
|
/* HANGONGOODLINK and HANGONRETRYDELAY
|
||||||
* Often net breaks for a short time and it's useful to try to
|
* Often net breaks for a short time and it's useful to try to
|
||||||
* establishing the same connection again faster than CONNECTFREQUENCY
|
* establishing the same connection again faster than CONNECTFREQUENCY
|
||||||
|
@ -80,7 +85,6 @@
|
||||||
* (HANGONGOODLINK) and we give the net few seconds to steady
|
* (HANGONGOODLINK) and we give the net few seconds to steady
|
||||||
* (HANGONRETRYDELAY). This latter has to be long enough that the
|
* (HANGONRETRYDELAY). This latter has to be long enough that the
|
||||||
* other end of the connection has time to notice it broke too.
|
* other end of the connection has time to notice it broke too.
|
||||||
* 1997/09/18 recommended values by ThemBones for modern EFnet
|
|
||||||
*/
|
*/
|
||||||
#define HANGONRETRYDELAY 60 /* Recommended value: 30-60 seconds */
|
#define HANGONRETRYDELAY 60 /* Recommended value: 30-60 seconds */
|
||||||
#define HANGONGOODLINK 3600 /* Recommended value: 30-60 minutes */
|
#define HANGONGOODLINK 3600 /* Recommended value: 30-60 minutes */
|
||||||
|
@ -92,7 +96,7 @@
|
||||||
#define KILLCHASETIMELIMIT 90 /* Recommended value: 90 */
|
#define KILLCHASETIMELIMIT 90 /* Recommended value: 90 */
|
||||||
|
|
||||||
/* CHARYBDIS_SOMAXCONN
|
/* CHARYBDIS_SOMAXCONN
|
||||||
* Use SOMAXCONN if OS has it, otherwise use this value for the
|
* Use SOMAXCONN if OS has it, otherwise use this value for the
|
||||||
* listen(); backlog. 5 for AIX/SUNOS, 25 for other OSs.
|
* listen(); backlog. 5 for AIX/SUNOS, 25 for other OSs.
|
||||||
*/
|
*/
|
||||||
#define CHARYBDIS_SOMAXCONN 25
|
#define CHARYBDIS_SOMAXCONN 25
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue