--- ./src/list.c Sat Nov 18 20:11:11 2000 +++ ../ircd-hybrid-6.0/./src/list.c Tue Jul 24 22:30:03 2001 @@ -53,7 +53,7 @@ for smaller nets who knows? -Dianora */ -#define LINK_PREALLOCATE 1024 +#define LINK_PREALLOCATE 512 /* Number of aClient structures to preallocate at a time for Efnet 1024 is reasonable @@ -64,7 +64,7 @@ rather than 30k times -Dianora */ -#define USERS_PREALLOCATE 1024 +#define USERS_PREALLOCATE 512 void outofmemory(); --- ./Makefile.in Fri Oct 6 05:00:46 2000 +++ ../ircd-hybrid-6.0/./Makefile.in Tue Jul 24 22:37:51 2001 @@ -22,7 +22,7 @@ RM=@RM@ # Default CFLAGS -CFLAGS = -g -O2 -DNDEBUG +# CFLAGS = -g -O2 -DNDEBUG # Default make flags - you may want to uncomment this on a multicpu machine #MFLAGS = -j 4 @@ -82,7 +82,7 @@ SUBDIRS=zlib src tools # ZSUBDIRS=zlib $(SUBDIRS) -MAKE = make ${MFLAGS} 'CFLAGS=${CFLAGS}' 'INSTALL=${INSTALL}' 'LDFLAGS=${LDFLAGS}' +# MAKE = make ${MFLAGS} 'CFLAGS=${CFLAGS}' 'INSTALL=${INSTALL}' 'LDFLAGS=${LDFLAGS}' # ZMAKE = make 'CFLAGS=${CFLAGS}' 'INSTALL=${INSTALL}' 'LDFLAGS=${LDFLAGS}' all: build --- ./include/config.h Mon Nov 27 05:11:47 2000 +++ ../ircd-hybrid-6.0/./include/config.h Wed Jul 25 12:46:51 2001 @@ -75,7 +75,7 @@ * will be preallocated for the entire whowas array when ircd is started. * You will want to crank this down if you are on a small net. */ -#define NICKNAMEHISTORYLENGTH 15000 +#define NICKNAMEHISTORYLENGTH 1000 /* Don't change this... */ #define HARD_FDLIMIT (HARD_FDLIMIT_ - 10) @@ -107,8 +107,8 @@ * */ -#define DPATH "/usr/local/ircd/" -#define SPATH "/usr/local/ircd/ircd" +#define DPATH "/usr/freeware/lib/ircd/" +#define SPATH "/usr/freeware/bin/ircd" #define CPATH "ircd.conf" #define KPATH "kline.conf" #define DLPATH "kline.conf" @@ -135,14 +135,13 @@ /* NETWORK_NAME * Displayed in place of the servername when SERVERHIDE is enabled */ -#define NETWORK_NAME "EFnet" +#define NETWORK_NAME "Hybrid-net" /* NETWORK_DESC * Displayed in place of the server info when SERVERHIDE is enabled */ -#define NETWORK_DESC "Eris Free Network" +#define NETWORK_DESC "This is a ircd-hybrid network" - /* TS_MAX_DELTA and TS_WARN_DELTA - allowed delta for TS when another * server connects. * @@ -156,8 +155,8 @@ * implementation. Once pre-hybrid5.2 servers are eradicated, we can drop this * down to 90 seconds or so. --Rodder */ -#define TS_MAX_DELTA 300 /* seconds */ -#define TS_WARN_DELTA 30 /* seconds */ +#define TS_MAX_DELTA 600 /* seconds */ +#define TS_WARN_DELTA 120 /* seconds */ /* SLAVE_SERVERS - Use this to send LOCOPS and KLINES to servers you define * uses U: lines in ircd.conf, each server defined in an U: line @@ -185,8 +184,8 @@ * * These need to be defined if you want to use SYSLOG logging, too. */ -#define FNAME_USERLOG "/usr/local/ircd/users" /* */ -#define FNAME_OPERLOG "/usr/local/ircd/opers" /* */ +#undef FNAME_USERLOG +#define FNAME_OPERLOG "/usr/freeware/lib/ircd/opers" /* */ /* RFC1035_ANAL * Defining this causes ircd to reject hostnames with non-compliant chars. @@ -237,12 +236,12 @@ /* SHOW_FAILED_OPER_ID - if FAILED_OPER_NOTICE is defined, also notify when * a client fails to oper because of a identity mismatch (wrong host or nick) */ -#undef SHOW_FAILED_OPER_ID +#define SHOW_FAILED_OPER_ID /* SHOW_FAILED_OPER_PASSWD - if FAILED_OPER_NOTICE is defined, also show the * attempted passwd */ -#undef SHOW_FAILED_OPER_PASSWD +#define SHOW_FAILED_OPER_PASSWD /* BAN_INFO - Shows you who and when someone did a ban */ @@ -340,7 +339,7 @@ * Why do opers need this at all? Its an invasion of privacy. bah. * you don't need this. -Dianora */ -#undef WHOIS_NOTICE +#define WHOIS_NOTICE /* WHOIS_WAIT - minimum seconds between remote use of WHOIS before * max use count is reset @@ -350,7 +349,7 @@ /* NO_WHOIS_WILDCARDS - disable the use of wildcards in WHOIS. * this will probably be permanently enabled in the next release. */ -#define NO_WHOIS_WILDCARDS +#undef NO_WHOIS_WILDCARDS /* PACE_WAIT - minimum seconds between use of MOTD, INFO, HELP, LINKS, TRACE * -Dianora @@ -393,7 +392,7 @@ * mode "i" (i == invisible). Invisibility means people dont showup in * WHO or NAMES unless they are on the same channel as you. */ -#undef NO_DEFAULT_INVISIBLE +#define NO_DEFAULT_INVISIBLE /* * The compression level used for zipped links. (Suggested values: 1 to 5) @@ -444,7 +443,7 @@ * to a leaf which just has 1 server (typically the uplink). Define this * correctly for performance reasons. */ -#undef HUB +#define HUB /* CMDLINE_CONFIG - allow conf-file to be specified on command line * NOTE: defining CMDLINE_CONFIG and installing ircd SUID or SGID is a MAJOR @@ -451,7 +450,7 @@ * security problem - they can use the "-f" option to read any files * that the 'new' access lets them. */ -#define CMDLINE_CONFIG +#undef CMDLINE_CONFIG /* INIT_LOG_LEVEL - what level of information is logged to ircd.log * options are: @@ -507,7 +506,7 @@ * need not be the same for both, as long as the opposite end has the * right password in the opposite line. */ -#undef CRYPT_LINK_PASSWORD +#define CRYPT_LINK_PASSWORD /* IDLE_FROM_MSG - Idle-time reset only from privmsg * Idle-time reset only from privmsg, if undefined idle-time @@ -514,12 +513,12 @@ * is reset from everything except ping/pong. * */ -#define IDLE_FROM_MSG +#undef IDLE_FROM_MSG /* MAXSENDQLENGTH - Max amount of internal send buffering * Max amount of internal send buffering when socket is stuck (bytes) */ -#define MAXSENDQLENGTH 7050000 /* Recommended value: 7050000 for efnet */ +#define MAXSENDQLENGTH 700000 /* Recommended value: 7050000 for efnet */ /* BUFFERPOOL - the maximum size of the total of all sendq's. * Recommended value is 4 times MAXSENDQLENGTH. @@ -531,8 +530,8 @@ * define IRC_UID to that UID. This should only be defined if you are running * as root and even then perhaps not. */ -#define IRC_UID 1001 -#define IRC_GID 31 +#undef IRC_UID +#undef IRC_GID /* CLIENT_FLOOD - client excess flood threshold * this controls the number of bytes the server will allow a client to @@ -670,7 +669,7 @@ * client was compiled with QUIT_ON_OPERATOR_KILL which was mandatory policy * on UMich.Edu hosts. */ -#define SEND_FAKE_KILL_TO_CLIENT +#undef SEND_FAKE_KILL_TO_CLIENT /* * Limited Trace - Reports only link and oper traces even when O:line is @@ -681,7 +680,7 @@ * Note however that if the target server is not running this option then * you will still receive a normal trace output. */ -#define LTRACE +#undef LTRACE /* * LWALLOPS - Like wallops but only local. @@ -716,7 +715,7 @@ /* INITIAL_DBUFS - how many dbufs to preallocate */ -#define INITIAL_DBUFS 1000 /* preallocate 4 megs of dbufs */ +#define INITIAL_DBUFS 600 /* preallocate 4 megs of dbufs */ /* MAXBUFFERS - increase socket buffers * --- ./tools/install_ircd Fri Oct 6 05:01:02 2000 +++ ../ircd-hybrid-6.0/./tools/install_ircd Tue Jul 24 22:55:17 2001 @@ -8,7 +8,8 @@ # # Path to install-sh -INSTALL_SH="autoconf/install-sh" +# INSTALL_SH="autoconf/install-sh" +INSTALL_SH=${INSTALL} # # dir_concat looks to see if we have an absolute or relative path @@ -75,76 +76,76 @@ # try to install their ircd.conf file, unless it already exists. # install ircd, save old one as ircd.old -dir_make `dirname ${SPATH}` -if [ ! -f ${SPATH}${EXESUFFIX} ]; then +# dir_make `dirname ${SPATH}` +# if [ ! -f ${SPATH}${EXESUFFIX} ]; then echo installing ircd as ${SPATH}${EXESUFFIX} $INSTALL_SH -c src/ircd${EXESUFFIX} ${SPATH}${EXESUFFIX}; -else - echo installing ircd as ${SPATH}${EXESUFFIX} - echo previous ircd saved as ircd${EXESUFFIX}.old - mv ${SPATH}${EXESUFFIX} ${SPATH}${EXESUFFIX}.old - $INSTALL_SH -c src/ircd${EXESUFFIX} ${SPATH}${EXESUFFIX}; -fi +# else +# echo installing ircd as ${SPATH}${EXESUFFIX} +# echo previous ircd saved as ircd${EXESUFFIX}.old +# mv ${SPATH}${EXESUFFIX} ${SPATH}${EXESUFFIX}.old +# $INSTALL_SH -c src/ircd${EXESUFFIX} ${SPATH}${EXESUFFIX}; +# fi -dir_make `dirname ${CPATH}` -if [ ! -f ${CPATH} ]; then +# dir_make `dirname ${CPATH}` +# if [ ! -f ${CPATH} ]; then echo installing example.conf as ${CPATH} $INSTALL_SH -c doc/example.conf ${CPATH}; -else - echo You already have ${CPATH}.; -fi +# else +# echo You already have ${CPATH}.; +# fi # try to install their motd file, unless it already exists. -dir_make `dirname ${MPATH}` -if [ ! -f ${MPATH} ]; then - echo installing a sample MOTD in ${MPATH} - echo "This is ircd-hybrid MOTD replace it with something better" > ${MPATH}; -else - echo You already have an MOTD in ${MPATH}.; -fi +# dir_make `dirname ${MPATH}` +# if [ ! -f ${MPATH} ]; then +# echo installing a sample MOTD in ${MPATH} +# echo "This is ircd-hybrid MOTD replace it with something better" > ${MPATH}; +# else +# echo You already have an MOTD in ${MPATH}.; +# fi # try to install their kpath file unless it already exists. -dir_make `dirname ${KPATH}` -if [ ! -f ${KPATH} ]; then - echo touching K-line file ${KPATH} - touch ${KPATH}; -else - echo You already have a K-line file in ${KPATH}.; -fi +# dir_make `dirname ${KPATH}` +# if [ ! -f ${KPATH} ]; then +# echo touching K-line file ${KPATH} +# touch ${KPATH}; +# else +# echo You already have a K-line file in ${KPATH}.; +# fi # try to install their opers.txt file, in all cases -dir_make `dirname ${HPATH}` -if [ ! -f ${HPATH} ]; then +# dir_make `dirname ${HPATH}` +# if [ ! -f ${HPATH} ]; then echo installing opers.txt as ${HPATH} $INSTALL_SH -c opers.txt ${HPATH}; -else - echo installing opers.txt as ${HPATH} - echo previous opers.txt saved as opers.txt.old - mv ${HPATH} ${HPATH}.old - $INSTALL_SH -c opers.txt ${HPATH}; -fi +# else +# echo installing opers.txt as ${HPATH} +# echo previous opers.txt saved as opers.txt.old +# mv ${HPATH} ${HPATH}.old +# $INSTALL_SH -c opers.txt ${HPATH}; +# fi # install mkpasswd -if [ ! -f ${DPATH}/mkpasswd ]; then - echo installing mkpasswd as ${DPATH}/mkpasswd${EXESUFFIX} - $INSTALL_SH -c tools/mkpasswd${EXESUFFIX} ${DPATH}/mkpasswd${EXESUFFIX}; -else +# if [ ! -f ${DPATH}/mkpasswd ]; then echo installing mkpasswd as ${DPATH}/mkpasswd${EXESUFFIX} - echo previous mkpasswd saved as mkpasswd${EXESUFFIX}.old - mv ${DPATH}/mkpasswd${EXESUFFIX} ${DPATH}/mkpasswd${EXESUFFIX}.old - $INSTALL_SH -c tools/mkpasswd${EXESUFFIX} ${DPATH}/mkpasswd${EXESUFFIX}; -fi + $INSTALL_SH -c tools/mkpasswd${EXESUFFIX} ${DPATH}/mkpasswd${EXESUFFIX}; +# else +# echo installing mkpasswd as ${DPATH}/mkpasswd${EXESUFFIX} +# echo previous mkpasswd saved as mkpasswd${EXESUFFIX}.old +# mv ${DPATH}/mkpasswd${EXESUFFIX} ${DPATH}/mkpasswd${EXESUFFIX}.old +# $INSTALL_SH -c tools/mkpasswd${EXESUFFIX} ${DPATH}/mkpasswd${EXESUFFIX}; +# fi # install viconf -if [ ! -f ${DPATH}/viconf ]; then +# if [ ! -f ${DPATH}/viconf ]; then echo installing viconf as ${DPATH}/viconf${EXESUFFIX} $INSTALL_SH -c tools/viconf${EXESUFFIX} ${DPATH}/viconf${EXESUFFIX}; -else - echo installing viconf as ${DPATH}/viconf${EXESUFFIX} - echo previous viconf saved as viconf${EXESUFFIX}.old - mv ${DPATH}/viconf${EXESUFFIX} ${DPATH}/viconf${EXESUFFIX}.old - $INSTALL_SH -c tools/viconf${EXESUFFIX} ${DPATH}/viconf${EXESUFFIX}; -fi +# else +# echo installing viconf as ${DPATH}/viconf${EXESUFFIX} +# echo previous viconf saved as viconf${EXESUFFIX}.old +# mv ${DPATH}/viconf${EXESUFFIX} ${DPATH}/viconf${EXESUFFIX}.old +# $INSTALL_SH -c tools/viconf${EXESUFFIX} ${DPATH}/viconf${EXESUFFIX}; +# fi # finished. echo install complete!