X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/be462ae76ac60105760695e15eb4b2deee5b38bb..0416a2cc8619979cf2104fb3dd6a6d4ba3463c50:/include/config.h.dist diff --git a/include/config.h.dist b/include/config.h.dist index 860af7b8..bfc34017 100644 --- a/include/config.h.dist +++ b/include/config.h.dist @@ -50,7 +50,6 @@ /* dirs */ #define DPATH IRCD_PREFIX #define BINPATH IRCD_PREFIX "/bin/" -#define LIBPATH IRCD_PREFIX "/lib/" #define MODPATH MODULE_DIR #define AUTOMODPATH MODULE_DIR "/autoload/" #define ETCPATH ETC_DIR @@ -59,19 +58,13 @@ #define HPATH HELP_DIR "/opers" /* files */ -#define SPATH BINPATH "/ircd" /* ircd executable */ -#define LIPATH LIBPATH "/libircd" SHARED_SUFFIX /* ircd library */ -#define SLPATH BINPATH "/servlink" /* servlink executable */ -#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */ -#define KPATH ETCPATH "/kline.conf" /* kline file */ -#define DLPATH ETCPATH "/dline.conf" /* dline file */ -#define XPATH ETCPATH "/xline.conf" /* xline file */ -#define RESVPATH ETCPATH "/resv.conf" /* resv file */ -#define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */ -#define MPATH ETCPATH "/ircd.motd" /* MOTD file */ -#define LPATH LOGPATH "/ircd.log" /* ircd logfile */ -#define PPATH ETCPATH "/ircd.pid" /* pid file */ -#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */ +#define SPATH BINPATH "/" PROGRAM_PREFIX "charybdis" /* ircd executable */ +#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */ +#define MPATH ETCPATH "/ircd.motd" /* MOTD file */ +#define LPATH LOGPATH "/ircd.log" /* ircd logfile */ +#define PPATH PKGRUNDIR "/ircd.pid" /* pid file */ +#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */ +#define DBPATH PKGLOCALSTATEDIR "/ban.db" /* bandb file */ /* IGNORE_BOGUS_TS * Ignore bogus timestamps from other servers. Yes this will desync @@ -81,33 +74,6 @@ */ #undef IGNORE_BOGUS_TS -/* HIDE_SERVERS_IPS - * - * If this is undefined, anyone can see a servers ip. If it is defined, - * noone can. - */ -#define HIDE_SERVERS_IPS - -/* TS6_ONLY - * - * If this is defined only TS6 servers may link to the network. See - * doc/TS6.txt for more information. If your network has old servers - * (hyb7.0, ircd-ratbox-1.x, +CSr) or hybserv you should NOT define this. - */ -#undef TS6_ONLY - -/* USE_LOGFILE - log errors and such to LPATH - * If you wish to have the server send 'vital' messages about server - * to a logfile, define USE_LOGFILE. - */ -#define USE_LOGFILE - -/* CLIENT_FLOOD - client excess flood threshold(in messages) - * The number of messages that we can receive before we disconnect the - * remote client... - */ -#define CLIENT_FLOOD 20 - /* HANGONGOODLINK and HANGONRETRYDELAY * Often net breaks for a short time and it's useful to try to * establishing the same connection again faster than CONNECTFREQUENCY @@ -133,6 +99,12 @@ */ #define RATBOX_SOMAXCONN 25 +/* MAX_BUFFER + * The amount of fds to reserve for clients exempt from limits + * and dns lookups. + */ +#define MAX_BUFFER 60 + /* ---------------------------------------------------------------- * STOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOP * ---------------------------------------------------------------- @@ -140,12 +112,6 @@ * ---------------------------------------------------------------- */ -/* MAX_BUFFER - * The amount of fds to reserve for clients exempt from limits - * and dns lookups. - */ -#define MAX_BUFFER 60 - #define CONFIG_RATBOX_LEVEL_2 #include "defaults.h"