debian/0000755000000000000000000000000011640165311007164 5ustar debian/docs0000644000000000000000000000060011363107546010043 0ustar doc/2.10-New doc/2.9-New doc/2.11-New doc/Authors doc/BUGS doc/Etiquette doc/Juped doc/Nets doc/INSTALL.appendix doc/INSTALL.sgml doc/INSTALL.txt doc/README doc/RELEASE_LOG doc/RELEASE_NOTES doc/SERVICE.sgml doc/SERVICE.txt doc/alt-irc-faq doc/iauth-internals.txt doc/m4macros doc/iauth.conf.example doc/ircd.conf.example doc/ISO-3166-1 doc/stats.info doc/stats.sgml doc/stats.txt debian/postrm0000644000000000000000000000053011362646466010451 0ustar #!/bin/sh -e if [ "$1" = "purge" ]; then if [ -d "/var/log/ircd" ]; then rm -rf /var/log/ircd/* rmdir --ignore-fail-on-non-empty /var/log/ircd fi fi if [ "$1" = "purge" ]; then if [ -d "/var/run/ircd" ]; then rm -rf /var/run/ircd/* rmdir --ignore-fail-on-non-empty /var/run/ircd fi fi #DEBHELPER# exit 0 debian/rules0000755000000000000000000000642511363107343010256 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif CONFIG_GUESS=`support/config.guess` configure: configure-stamp configure-stamp: dh_testdir -test -r /usr/share/misc/config.sub && \ cp -f /usr/share/misc/config.sub support/config.sub -test -r /usr/share/misc/config.guess && \ cp -f /usr/share/misc/config.guess support/config.guess ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --bindir=/usr/bin \ --datadir=/usr/share --sbindir=/usr/sbin --localstatedir=/var --sysconfdir=/etc/ircd \ --with-logdir=/var/log/ircd --with-zlib touch configure-stamp build: configure-stamp build-stamp build-stamp: cp debian/maint/config.h $(CONFIG_GUESS) cat $(CONFIG_GUESS)/Makefile | sed 's/\/var\/run/&\/ircd/g' >> $(CONFIG_GUESS)/Makefile.new mv $(CONFIG_GUESS)/Makefile.new $(CONFIG_GUESS)/Makefile cd $(CONFIG_GUESS) && $(MAKE) all touch build-stamp clean: -rm -rf $(CONFIG_GUESS) -rm support/config.sub -rm support/config.guess -rm -rf configure-stamp -rm -rf build-stamp -rm debian/maint/ircd-irc2.info dh_clean install: dh_testdir dh_testroot dh_prep dh_installdirs # ircd-package cp $(CONFIG_GUESS)/chkconf debian/ircd-irc2/usr/sbin cp $(CONFIG_GUESS)/iauth debian/ircd-irc2/usr/sbin cp $(CONFIG_GUESS)/ircd debian/ircd-irc2/usr/sbin cp $(CONFIG_GUESS)/ircd-mkpasswd debian/ircd-irc2/usr/sbin cp $(CONFIG_GUESS)/ircdwatch debian/ircd-irc2/usr/sbin cp debian/maint/iauth.conf debian/ircd-irc2/etc/ircd # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot # copy overrides file install -D `pwd`/debian/lintian.overrides `pwd`/debian/ircd-irc2/usr/share/lintian/overrides/ircd-irc2 chmod -x `pwd`/debian/ircd-irc2/usr/share/lintian/overrides/ircd-irc2 # install config... cp debian/maint/ircd.conf debian/ircd-irc2/etc/ircd/ircd.conf # ... and motd-file. cp debian/maint/ircd.motd debian/ircd-irc2/etc/ircd/ircd.motd dh_installdocs -A cp doc/INSTALL.info debian/maint/ircd-irc2.info dh_installinfo -A dh_installman -pircd-irc2 doc/iauth.8 doc/iauth.conf.5 \ doc/ircd.8 \ debian/maint/chkconf.8 \ debian/maint/ircd-mkpasswd.8 \ debian/maint/ircdwatch.8 dh_installchangelogs -a dh_installinit --update-rcd-params="start 20 2 3 4 5 ." dh_strip dh_compress dh_fixperms # fix permissions of var/log/ircd chown root:irc debian/ircd-irc2/var/log/ircd chmod -R ug+rw debian/ircd-irc2/var/log/ircd dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/info0000644000000000000000000000003411363107354010044 0ustar debian/maint/ircd-irc2.info debian/ircd-irc2.init0000644000000000000000000000376311362652305011645 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: ircd-irc2 # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Starts/stops the irc daemon ### END INIT INFO set -e # $PATH to go PATH=/sbin:/bin:/usr/sbin:/usr/bin # where the irc-daemon is IRCD=/usr/sbin/ircd PIDFILE=/var/run/ircd/ircd.pid check_pid_dir() { if [ ! -d /var/run/ircd ]; then mkdir /var/run/ircd chown irc:irc /var/run/ircd chmod 775 /var/run/ircd fi } # Gracefully exit if the package has been removed. test -x $IRCD || exit 0 case "$1" in start) check_pid_dir echo -n "Starting irc server daemon:" echo -n " ircd" start-stop-daemon --start --quiet --pidfile ${PIDFILE} \ --chuid irc --exec ${IRCD} --oknodo echo "." ;; stop) echo -n "Stopping irc server daemon:" echo -n " ircd" start-stop-daemon --stop --quiet --oknodo \ --pidfile ${PIDFILE} --exec ${IRCD} echo "." ;; reload|force-reload) echo -n "Reloading irc server daemon:" echo -n " ircd" start-stop-daemon --stop --signal 1 --quiet \ --pidfile ${PIDFILE} --exec ${IRCD} echo "." ;; restart) check_pid_dir echo -n "Restarting irc server daemon:" echo -n " ircd" start-stop-daemon --stop --quiet --oknodo \ --pidfile ${PIDFILE} --exec ${IRCD} sleep 1 start-stop-daemon --start --quiet --pidfile ${PIDFILE} \ --chuid irc --exec ${IRCD} echo "." ;; *) echo "Usage: $0 {start|stop|restart|reload|force-reload}" exit 1 ;; esac exit 0 debian/compat0000644000000000000000000000000211362646466010402 0ustar 7 debian/ircd-irc2.dirs0000644000000000000000000000003711362646466011645 0ustar usr/sbin etc/ircd var/log/ircd debian/copyright0000644000000000000000000002341311362646466011142 0ustar This package was debianized by Martin Loschwitz on Tue, 9 Apr 2002 12:53:32 +0200. Package adopted on 28 Apr 2006 by Kurt Roeckx It was downloaded from http://ftp.irc.org/ftp/irc/server Based on the original code written by Jarkko Oikarinen Copyright 1988, 1989, 1990, 1991 Jarkko Oikarinen and University of Oulu, Computing Center Copyright (C) 1990 Chelsea Ashley Dyerman Copyright (C) 1990 Markku Savela Copyright (C) 1990, 1991, 1992, 1993, 1994 Darren Reed Copyright (C) 1996-2002 Hybrid Development Team Copyright (C) 1996, 1997, 1998, 1999 Christophe Kalt Copyright (C) 1997 Alain Nissen Copyright (C) 1990, 1991 Armin Gruner Copyright (C) 2002 Piotr Kucharski All with the following license: * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 1, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. There are major contributions from: Jarkko Oikarinen , Markku Jarvinen , Kimmo Suominen , Jeff Trim , Vijay Subramaniam , Karl Kleinpaste , Greg Lindahl , Bill Wisner , Tom Davis , Tim Russell , Markku Savela , Tom Hopkins , Christopher Davis , Helen Rose , Tom Hinds , Tim Miller , Darren Reed , Mike Bolotski , Markku Savela and Chelsea Ashley Dyerman, Matthew Green , Chuck Kane , Matt Lyle , Vesa Ruokonen , Markku Savela Chelsea Ashley Dyerman , jarlek@ifi.uio.no, Armin Gruner Tom Hopkins , Hugo Calendar , Bo Adler , Michael Sandrof , Jon Solomon , Jan Peterson , Nathan Glasser , Helen Rose , Mike Pelletier , Basalat Ali Raja , Eric P. Scott , Dan Goodwin , Noah Friedman , Vesa Ruokonen , Christophe Kalt , Chris Behrens , Helmut Springer , Magnus Tjernstrom , Olivier Galibert Alain Nissen , Roar Thronæs , Michael 'Eumel' Neumayer , Jakub Vlasek , Kurt Roeckx , Roar Thronæs , Piotr Kucharski , Michal Svoboda along with several other people that might be unmentioned here by accident. nameser_def.h: res_init.c, nameser_def.h * Copyright (c) 1983, 1989, 1993 * The Regents of the University of California. All rights reserved. resolv_def.h: * Copyright (c) 1983, 1987, 1989, 1993 * The Regents of the University of California. All rights reserved. res_comp.c, res_mkquery.c: * Copyright (c) 1985, 1993 * The Regents of the University of California. All rights reserved. res_init.c: * Copyright (c) 1985, 1989, 1993 * The Regents of the University of California. All rights reserved. With the license: * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. nameser_def.h, res_comp.c, res_init.c, res_mkquery.c, resolv_def.h: * Portions Copyright (c) 1993 by Digital Equipment Corporation. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies, and that * the name of Digital Equipment Corporation not be used in advertising or * publicity pertaining to distribution of the document or software without * specific, written prior permission. * * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. nameser_def.h: * Portions Copyright (c) 1995 by International Business Machines, Inc. * * International Business Machines, Inc. (hereinafter called IBM) grants * permission under its copyrights to use, copy, modify, and distribute this * Software with or without fee, provided that the above copyright notice and * all paragraphs of this notice appear in all copies, and that the name of IBM * not be used in connection with the marketing of any product incorporating * the Software or modifications thereof, without specific, written prior * permission. * * To the extent it has a right to do so, IBM grants an immunity from suit * under its patents, if any, for the use, sale or manufacture of products to * the extent that such products are used for performing Domain Name System * dynamic updates in TCP/IP networks by means of the Software. No immunity is * granted for any product per se or for any other function of any product. * * THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, * DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN * IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. res_comp.c: * Copyright (c) 1996 by Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. support.c has parts: Copyright (C) 1991, 1993, 1995 Free Software Foundation, Inc. * Contributed by Torbjorn Granlund (tege@sics.se). The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. On Debian systems, the complete text of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/control0000644000000000000000000000110611362651511010570 0ustar Source: ircd-irc2 Section: net Priority: optional Maintainer: Kurt Roeckx Build-Depends: debhelper (>> 7.0.0), zlib1g-dev, autotools-dev Standards-Version: 3.8.3 Package: ircd-irc2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: dancer-ircd, ircd, ircd-dalnet Description: The original IRC server daemon This is the original Internet Relay Chat (IRC) daemon, allowing interactive character based communication between people connected to this server with IRC clients. . This version of ircd is mostly used on the IRCNet irc network. debian/lintian.overrides0000644000000000000000000000045411362653331012556 0ustar ircd-irc2: package-contains-upstream-install-documentation usr/share/doc/ircd-irc2/INSTALL.appendix.gz ircd-irc2: package-contains-upstream-install-documentation usr/share/doc/ircd-irc2/INSTALL.sgml.gz ircd-irc2: package-contains-upstream-install-documentation usr/share/doc/ircd-irc2/INSTALL.txt.gz debian/source/0000755000000000000000000000000011362646772010504 5ustar debian/source/format0000644000000000000000000000001411362646772011712 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000015311362646466010234 0ustar version=3 opts=dversionmangle=s/\+dfsg$// \ http://ftp.irc.org/ftp/irc/server/irc(.*)\.tgz debian uupdate debian/maint/0000755000000000000000000000000011640165311010274 5ustar debian/maint/config.h0000644000000000000000000007146511362651204011731 0ustar /************************************************************************ * IRC - Internet Relay Chat, support/config.h * Copyright (C) 1990 Jarkko Oikarinen * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 1, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* * ircdwatch configuration options. */ /* how often (in seconds) should we check that ircd runs? */ #define IRCDWATCH_POLLING_INTERVAL 30 /* * should we check for config file changes and HUP the server * if a change is detected? */ #undef IRCDWATCH_HUP_ON_CONFIG_CHANGE /* * although you may not want to log ircd-messages to syslog you * may want to log when ircdwatch reloads the config or when * ircd croaks and ircdwatch has to restart it */ #define IRCDWATCH_USE_SYSLOG #ifdef IRCDWATCH_USE_SYSLOG # define IRCDWATCH_SYSLOG_IDENT "ircdwatch" # define IRCDWATCH_SYSLOG_OPTIONS (LOG_PID) # define IRCDWATCH_SYSLOG_FACILITY LOG_DAEMON #endif /* * irc[d] configuration options. * */ /* CHROOTDIR * * Define for value added security if you are a rooter. * WARNING! Better to use external chroot and then run ircd without * this option. * * CPATH, MPATH, LPATH, PPATH, TPATH, QPATH, OPATH, * FNAME_USERLOG, FNAME_OPERLOG, FNAME_CONNLOG, FNAME_AUTHLOG * must have RPATH as root directory! Set them in Makefile * * You may want to define IRC_UID and IRC_GID */ #undef CHROOTDIR #if defined(CHROOTDIR) #define ROOT_PATH "/where/to/change/root/dir" #endif /* ENABLE_SUMMON * * The SUMMON command requires the ircd to be run as group tty in order * to work properly in many cases. If you are on a machine where it * won't work, or simply don't want local users to be summoned, undefine * this. * Consider its security implications before defining. */ #undef ENABLE_SUMMON /* local summon */ /* * If you want to have "USERS" output strictly RFC 1459 (showing * who/finger of your ircd or returning "USERS disabled"), define this. * Undefining leads to sending RPL_LOCALUSERS and RPL_GLOBALUSERS. * upon "USERS" request. */ #undef USERS_RFC1459 #ifdef USERS_RFC1459 /* * If defined, outputs who/finger alike output from ircd box. * Note that some boxes no longer have /etc/utmp. When undefined, it will * return ERR_USERSDISABLED numeric. * Consider its security implications before defining. */ #undef USERS_SHOWS_UTMP #endif /* DEFAULT_INVISIBLE * * When defined, your users will automatically be attributed with user * mode "i" (i == invisible). Invisibility means people dont showup in * WHO or NAMES unless they are on the same channel as you. */ #undef DEFAULT_INVISIBLE /* * Define this if you want to have KLINE command for opers and services. */ #undef KLINE /* * Define this if you want to have TKLINE and UNTKLINE commands * for opers and services. */ #define TKLINE /* If you want tklines to be limited in time, define this (seconds). */ /* #define TKLINE_MAXTIME 86400 */ /* Choose tkill notices to be sent either to &OPER or &NOTICES */ /* #define SCH_TKILL SCH_OPER */ #define SCH_TKILL SCH_NOTICE /* * Operator rights can be precisely defined in O:line flags. However * if you undefine any of the following, it will make given function * unaccessible to your operators, disregarding their O:line flags. */ #define OPER_CONNECT #define OPER_DIE #define OPER_REHASH #define OPER_RESTART #define OPER_SET #define OPER_SQUIT #define OPER_SQUIT_REMOTE #define OPER_KLINE #define OPER_TKLINE /* In a perfect world these two (or at least second) would be undefined. */ #define OPER_KILL #define OPER_KILL_REMOTE /* * Maximum number of network connections your server will allow. This must * not exceed OS limit of max. number of open file descriptors available upon * ircd start. * If you have a lot of server connections, it may be worth splitting the load * over 2 or more servers. * 1 server = 1 connection, 1 user = 1 connection. * Due to various sanity checks during startup, minimum is 13. */ #define MAXCONNECTIONS 1024 /* MAXIMUM LINKS * * This define is useful for leaf nodes and gateways. It keeps you from * connecting to too many places. It works by keeping you from * connecting to more than "n" nodes which you have C:blah::blah:6667 * lines for. * * Note that any number of nodes can still connect to you. This only * limits the number that you actively reach out to connect to. * * Leaf nodes are nodes which are on the edge of the tree. If you want * to have a backup link, then sometimes you end up connected to both * your primary and backup, routing traffic between them. To prevent * this, #define MAXIMUM_LINKS 1 and set up both primary and * secondary with C:blah::blah:6667 lines. THEY SHOULD NOT TRY TO * CONNECT TO YOU, YOU SHOULD CONNECT TO THEM. * * Gateways such as the server which connects Australia to the US can * do a similar thing. Put the American nodes you want to connect to * in with C:blah::blah:6667 lines, and the Australian nodes with * C:blah::blah lines. Have the Americans put you in with C:blah::blah * lines. Then you will only connect to one of the Americans. * * This value is only used if you don't have server classes defined, and * a server is in class 0 (the default class if none is set). * */ #define MAXIMUM_LINKS 5 /* * A pure non-routing leaf server can undefine HUB for best performance. * If your server is running as a a HUB Server then define this. * A HUB Server has many servers connect to it at the same as opposed * to a leaf which just has 1 server (typically the uplink). */ #define HUB #ifdef HUB /* * MAXSERVERS is the maximum number of servers that will be linked * to your server at the same time. This number is not a limit, * it is used to allocate memory when ircd is started. */ # define MAXSERVERS 25 #else # define MAXSERVERS 1 #endif /* * If you want to use timed klines, set it to frequence in seconds, * how often to check if client is to be removed; usually 60 seconds * (smallest granularity you can get in K:line anyway). * * Advised not to use it ;-) --Beeth */ /* #define TIMEDKLINES 300 */ /* * NOTE: defining CMDLINE_CONFIG and installing ircd SUID or SGID is a MAJOR * security problem - they can use the "-f" option to read any files * that the 'new' access lets them. Note also that defining this is * a major security hole if your ircd goes down and some other user * starts up the server with a new conf file that has some extra * O-lines. So don't use this unless you're debugging. */ /* allow conf-file to be specified on command line */ #undef CMDLINE_CONFIG /* * To use m4 as a preprocessor on the ircd.conf file, define M4_PREPROC. * The server will then call m4 each time it reads the ircd.conf file, * reading m4 output as the server's ircd.conf file. * Defining USE_M4_PREFIXES makes GNU m4 use -P flag. */ #undef M4_PREPROC #undef USE_M4_PREFIXES /* * Define if you want to use #include "file" in ircd.conf without M4. * If file is not absolute path, ircd etc path is prepended. * Note that "#include" must be at the beginning of the line. */ #undef CONFIG_DIRECTIVE_INCLUDE /* * If you wish to have the server send 'vital' messages about server * through syslog, define USE_SYSLOG. Only system errors and events critical * to the server are logged although if this is defined with FNAME_USERLOG, * syslog() is used additionally to the above file. It is not recommended that * 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 #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 */ /* * If you want to log to a different facility than DAEMON, change * this define. */ #define LOG_FACILITY LOG_DAEMON #endif /* USE_SYSLOG */ /* ** If you want your server channels logged to a file, define this and ** any of LOG_SCH_* you want. Logfile names are taken from channel names ** (like: ircd.ERRORS) and they must exist to be used. */ #undef LOG_SERVER_CHANNELS #ifdef LOG_SERVER_CHANNELS #undef LOG_SCH_ERROR /* &ERRORS */ #undef LOG_SCH_NOTICE /* &NOTICES */ #undef LOG_SCH_KILL /* &KILLS */ #undef LOG_SCH_CHAN /* &CHANNEL */ #undef LOG_SCH_NUM /* &NUMERICS */ #undef LOG_SCH_SERVER /* &SERVERS */ #undef LOG_SCH_HASH /* &HASH */ #undef LOG_SCH_LOCAL /* &LOCAL */ #undef LOG_SCH_SERVICE /* &SERVICES */ #undef LOG_SCH_DEBUG /* &DEBUG */ #undef LOG_SCH_AUTH /* &AUTH */ #undef LOG_SCH_SAVE /* &SAVE */ #undef LOG_SCH_WALLOP /* &WALLOPS */ #undef LOG_SCH_CLIENT /* &CLIENTS (if defined to exist) */ #undef LOG_SCH_OPER /* &OPER */ #endif /* LOG_SERVER_CHANNELS */ /* * LOG_OLDFORMAT * * Define this if you want old format of logs. (Mind, you will lose * additional information, like remote ip, port, etc.) */ #undef LOG_OLDFORMAT /* * Define this if you want to log failed /oper attempts. */ #undef FAILED_OPERLOG /* * Define this to make ircd create logfiles if they do not exist. */ #define LOGFILES_ALWAYS_CREATE /* * 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. */ #define CRYPT_OPER_PASSWORD /* * If you want to store encrypted passwords in N-lines for server links, * define this. For a C/N pair in your ircd.conf file, the password * need not be the same for both, as long as hte opposite end has the * right password in the opposite line. See INSTALL doc for more details. */ #undef CRYPT_LINK_PASSWORD /* * define this if you enable summon and if you want summon to look for the * least idle tty a user is logged in on. */ #undef LEAST_IDLE /* * IDLE_FROM_MSG * * Idle-time nullified only from privmsg, if undefined idle-time * is nullified from everything except ping/pong. * Added 3.8.1992, kny@cs.hut.fi (nam) */ #define IDLE_FROM_MSG /* * use these to setup a Unix domain socket to connect clients/servers to. */ #define UNIXPORT /* * IRC_UID * IRC_GID * * If you start the server as root but wish to have it run as another user, * define IRC_UID to that user id (and IRC_GID to the desired group id). * This should only be defined if you are running as root... * and even then perhaps not. */ /* #undef IRC_UID 65534 */ /* #undef IRC_GID 65534 */ /* * CLIENT_FLOOD * * this controls the number of bytes the server will allow a client to * 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 /* Remote query flood protection. */ #define CHREPLLEN 8192 /* * If you wish to run services, define USE_SERVICES. * This can make the server noticeably bigger and slower. * services are not fully implemented yet, so don't use it unless you really * know what you are doing. */ #undef USE_SERVICES /* * Define the following to make the delay for nicks random. * Some people believe a bot can exactly time the delay and don't like it, * I think this is a useless concern. -krys */ #undef RANDOM_NDELAY /* * You've read the BOFH saga and you liked it, then define the following. * * The two following will change the nick delay and channel delay features * making them totally user unfriendly but more efficient. */ #undef BETTER_NDELAY #undef BETTER_CDELAY /* * Defining this will enable the use of compressed server-server links. * In order to have it work, you must have the zlib version 1.0 or higher. * The library and the include files must have been found by configure, * if you have installed the zlib after running configure, run it again. */ #define ZIP_LINKS /* * Defining this will add an artificial 2 seconds delay for accepting * connections. This is the OLD behaviour of the server. * * NOTE: Undefining this leads to a significant increase in CPU usage if * you reject client which keeps connecting. */ #undef SLOW_ACCEPT /* * Defining this will make the server check for rapid connections from a single * host and reject new connections from this host if the limit is reached. * * NOTE: Enabling this feature will significantly increase the CPU usage * for servers carrying several hundred clients and getting many connections. */ #define CLONE_CHECK /* ** Servers with many clients and lots of K:lines are having noticable ** lag after rehash. Define this to the number of clients you want to ** be checked each time (all clients will eventually be checked, of course). ** This will lessen the load and eliminate the lag during rehash. ** Undefine (or define to bigger than MAXCONNECTIONS) to check all clients ** in one sweep. */ #define MAXDELAYEDKILLS 200 /* ** This defines the message that is sent to clients upon connect. ** Keep it short. */ #define HELLO_MSG "Please wait while we process your connection." /* * Connections rejected by check_clones() will be delayed for this many seconds * before final error is sent to them and their socket is closed. * This effectively reduces bouncing (fast reconnecting clients). * CLONE_CHECK must be defined for this to work. * * Note: it may lead to file descriptors exhaustion. ("All connections in use" * error message.) */ #define DELAY_CLOSE 15 /* Recommended value: 15 */ /* ** Define this to get oper-only &CLIENTS channel with clients connects, ** quits and nick changes. */ #define CLIENTS_CHANNEL /* ** Bitmask defining type of information sent to &CLIENTS, combine from ** CCL_CONN (client uid, nick, username, host and IP), CCL_CONNINFO ** (also user info), CCL_QUIT (client uid, nick, username, host and IP), ** CCL_QUITINFO (also quit reason), CCL_NICK (all nick changes). */ #define CLIENTS_CHANNEL_LEVEL (CCL_CONNINFO|CCL_QUITINFO|CCL_NICK) /* ** This adds ability to ban users with specified realnames from ** connecting to the server. May be useful for various drones. */ #define XLINE /* ** Define the reason users get as a rejection message. ** Some may use first form for the sake of transparency, some may believe it ** is not good that users can see the real reason behind X-rejection. */ /* #define XLINE_EXIT_REASON "X-denied user" */ #define XLINE_EXIT_REASON "Too many host connections (global)" /* ** Define this to whatever you want to see after successful OPER */ #define TXT_YOUREOPER "You are now an IRC Operator" /* ** If you have huge number of K-lines and provide your users with ** some other means of looking at them (or you are mean and simply ** do not want to show it at all), define this. ** Note that operators will get list of K anyway. */ /* #define TXT_NOSTATSK "Please use http://example.org/klines instead" */ /* ** If you don't want non-oper clients to see tkline list (like when you run ** some service which automatically tklines open proxies), define this. */ /* #undef DISABLE_STATSTKLINE */ /* ** If you have problems with two servers autoconnecting to each other ** all the time and thus squitting, define this. It will eat a little ** CPU during AC and it will not allow to try to connect to server that ** is trying to connect to you. */ /* #undef DISABLE_DOUBLE_CONNECTS */ /* ** Define delimiter of fields in ircd.conf. */ #ifdef INET6 # define IRCDCONF_DELIMITER '%' #else # define IRCDCONF_DELIMITER ':' #endif /* * Max number of channels a user is allowed to join. */ #define MAXCHANNELSPERUSER 21 /* Recommended value: 21 */ /* * USE_IAUTH makes ircd use the iauth program for authentication. * it can always be overriden by using the -s switch */ #define USE_IAUTH /* Following notice is sent before and after /LIST output. * If you do not want such behaviour, undefine. */ #define LIST_ALIS_NOTE "Usage of /list for listing all channels is " \ "deprecated. Please use \"/squery alis help\" instead." /* Define this to see when a channel topic was set and who it was set by. ** Warning: eats memory (around 5MB) */ #define TOPIC_WHO_TIME /* ** Define this to show local clients signon time in whois */ #define WHOIS_SIGNON_TIME /* * Split detection * This defines default thresholds for turning on and off the split-mode, * where joins to new channels do not give chanop status. * This should always be bigger than the max counts of * users/servers in your TLD (or some other close group), so you * get in split when you split. It is also a good practice to set * around 90% of what your whole network counts minimally (servers * inside masks are also counted), so that splits of smaller parts * would be noticed on each side. * * Defining to 0 disables entering split-mode. */ #define DEFAULT_SPLIT_USERS 0 #define DEFAULT_SPLIT_SERVERS 0 /* ** Notice sent to connecting users if the server is in the split-mode. */ #define SPLIT_CONNECT_NOTICE "Server is currently in split-mode." /* * Undefining NO_OPER_REMOTE removes the restriction that O-lines only become * fully effective for people on the 'same network' as the server. * Defined, it slightly increases the security of the server by * placing restrictions on where people can become operator from. * Dubious consideration, IMO. */ #undef NO_OPER_REMOTE /* ** CLCHNO defines changes in local clients count, which are shown ** as "Local in/de-crease" ** I guess rule of thumb would be 5% of your average user count. --B. */ #define CLCHNO 100 /* ** CLCHSEC defines minimum time in seconds between two consecutive ** "New highest local/global clients count" messages (prevents flood). */ #define CLCHSEC 300 /* ** Define this to allow MOTD for unregistered clients. Note that this is ** required by some European countries laws. */ #define MOTD_UNREG /* ** For standard "Gone" away reply for remote clients, undefine this. ** Leave defined for more helpful message. */ #define AWAY_MOREINFO /* ** If you do not wish your clients to use "nick 0" during registration, ** define this. */ #undef DISABLE_NICK0_REGISTRATION /* ** Define this if you want to use Japanese channel names in JIS encoding. */ #undef JAPANESE /* ** If you want to allow your opers to be able to use SIDTRACE command to ** see all clients from all servers that share the same SID prefix as your ** own, enable this. Useful for server "clusters", like 0PN. Requires also ** proper ACLs in O-line. */ #undef ENABLE_SIDTRACE /* STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP */ /* You shouldn't change anything below this line, unless absolutely needed. */ /* ** Accept only hostnames conforming to RFC1034/1035/1123. ** Conformance of the internal resolver to RFC1123. */ #define RESTRICT_HOSTNAMES /* ** Allow only "proper" chars in username. ** Disallow '^', '~', '+', '=', '-' as a first char. ** Require at least one alphanum and no more than two nonalphanum. */ #define RESTRICT_USERNAMES /* Maximum length the queue of pending connections to one port may grow to. * Note that your system limits this, too. FreeBSD, for instance, has sysctl * kern.ipc.somaxconn for that. Such must be bigger than this define prior to * ircd start. */ #define LISTENQUEUE 128 /* define DEBUGMODE to enable debugging mode.*/ #undef DEBUGMODE /* * Time interval to wait and if no messages have been received, then check for * PINGFREQUENCY and CONNECTFREQUENCY */ #define TIMESEC 60 /* Recommended value: 60 */ /* * If daemon doesn't receive anything from any of its links within * PINGFREQUENCY seconds, then the server will attempt to check for * an active link with a PING message. If no reply is received within * (PINGFREQUENCY * 2) seconds, then the connection will be closed. */ #define PINGFREQUENCY 120 /* Recommended value: 120 */ /* * If the connection to to uphost is down, then attempt to reconnect every * CONNECTFREQUENCY seconds. */ #define CONNECTFREQUENCY 600 /* Recommended value: 600 */ /* * Often net breaks for a short time and it's useful to try to * establishing the same connection again faster than CONNECTFREQUENCY * would allow. But, to keep trying on bad connection, we require * that connection has been open for certain minimum time * (HANGONGOODLINK) and we give the net few seconds to steady * (HANGONRETRYDELAY). This latter has to be long enough that the * other end of the connection has time to notice it broke too. */ #define HANGONRETRYDELAY 30 /* Recommended value: 30 seconds */ #define HANGONGOODLINK 900 /* Recommended value: 15 minutes */ /* * Number of seconds to wait for write to complete if stuck. */ #define WRITEWAITDELAY 15 /* Recommended value: 15 */ /* * Number of seconds to wait for DNS/authentication to complete. * Note that iauth's default timeout per module is 30 seconds, so this value * should be at least 30 * number of modules. Extra time should really be * given to be safe. */ #define ACCEPTTIMEOUT 90 /* Recommended value: 90 */ /* * Max time from the nickname change that still causes KILL * automaticly to switch for the current nick of that user. (seconds) */ #define KILLCHASETIMELIMIT 90 /* Recommended value: 90 */ #ifdef ZIP_LINKS /* * the compression level used. (Suggested values: 3, 4, 5) * Above 5 will only give a *very* marginal increase in compression for a * *very* large increase in CPU usage. */ # define ZIP_LEVEL 5 #endif #ifdef CLONE_CHECK /* * If CLONE_CHECK has been defined, these control how the checks are performed, * and how the alarm is triggered. * This triggers alarm when more than 10 clients in 2 seconds from the same host * try to connect to ircd. */ # define CLONE_MAX 10 # define CLONE_PERIOD 4 #endif /* * define NO_IDENT if you don't want to support ident (RFC1413). * it is a VERY bad idea to do so, since this will make it impossible to * efficientely track abusers. * NO_PREFIX should always be undefined. */ /* #undef NO_IDENT */ /* #undef NO_PREFIX */ /* ** LISTENER_DELAY, if defined, adds an artificial delay between checking ** listeners for new connections. If undefined, it accepts clients faster ** but the CPU load increases. ** LISTENER_MAXACCEPT defines how many clients will be accepted during one ** listener check. */ #ifdef SLOW_ACCEPT #define LISTENER_DELAY 2 #define LISTENER_MAXACCEPT 1 #else #define LISTENER_DELAY 1 #define LISTENER_MAXACCEPT 10 #endif /* ** If you don't feel your users should use too long nicknames, you can ** restrict length of their dnicks here. */ #define LOCALNICKLEN 15 /* ** If you don't want your users to have too short nicknames, define ** minimum nicklen allowed. */ /* #define MINLOCALNICKLEN 2 */ /* ** You probably don't want to disable it, but if you run into any problems, ** here's the knob. */ #define ENABLE_CIDR_LIMITS /* ** Define this to significantly speed up rehash with large amounts of I-lines. ** Wastes some memory each rehash (luckily not indefinitely). */ #define FASTER_ILINE_REHASH /* ** Restores old behaviour of Y-lines maxlinks limit, which was counted ** separately per each I-line using it. ** Note: if you use it with FASTER_ILINE_REHASH, clients will be able ** to exceed maxlinks limits after each rehash. Sorry. */ #undef YLINE_LIMITS_OLD_BEHAVIOUR /* ** Y-line [user@]host limits are now using ip hash instead of hostname hash, ** which means counts are against IPs, not hostnames. ** If you don't like that behaviour, you can undefine it. */ #define YLINE_LIMITS_IPHASH /* ** find_userhost (used in PRIVMSG user%host@server syntax) uses hostname ** hash. Noone really used that syntax anyway, so noone should notice. ** If you are rebellious or just don't want to waste memory -- define it. ** Note that if there's a hostname hash needed (and thus compiled in) ** for other reasons, it will be used in find_userhost anyway. ** Also note that defining this breaks compatibility with RFC 2812, as ** clients no longer will be able to PRIVMSG user%host@server (though they ** will be able to use user%ip@server), but it would still be compatible ** with RFC 1459, which defined only "user@server" syntax. */ #undef FIND_USERHOST_IPHASH /* ** Default behaviour of the server after the first netjoin is done. ** Possible values: 0 (SET CACCEPT OFF), 1 (SET CACCEPT ON) ** and 2 (SET CACCEPT SPLIT). */ #define CACCEPT_DEFAULT 2 /* Minimum values admin can set. */ #define SPLIT_USERS 10 #define SPLIT_SERVERS 1 /* STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP */ /* STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP */ /* STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP */ /* ------------------------- END CONFIGURATION SECTION -------------------- */ #ifndef ENABLE_SUMMON # undef LEAST_IDLE #endif #define SEQ_NOFILE 128 /* For Dynix (sequent OS) users : * set to your current kernel impl, * max number of socket connections; * ignored on other OS. */ /* * safety margin so we can always have one spare fd, for motd/authd or * whatever else. -5 allows "safety" margin of 1 and space reserved. */ #define MAXCLIENTS (MAXCONNECTIONS-5) /* In fact, if using server channels logs, it would be even more. */ #if (MAXCONNECTIONS < 13) # error Sorry, MAXCONNECTIONS minimum 13 for ircd to start. #endif #if defined(CLIENT_FLOOD) # if (CLIENT_FLOOD > 8000) || (CLIENT_FLOOD < 512) #error CLIENT_FLOOD needs redefining. # endif #else #error CLIENT_FLOOD undefined #endif /* sanity check */ #if defined(DELAY_CLOSE) # if defined(SLOW_ACCEPT) || !defined(CLONE_CHECK) # error define CLONE_CHECK and undefine SLOW_ACCEPT to use DELAY_CLOSE. # endif # if (DELAY_CLOSE < 1) # error DELAY_CLOSE needs redefining. # endif #endif #if defined(ZIP_LINKS) # if (ZIP_MINIMUM > ZIP_MAXIMUM) #error ZIP_MINIMUM needs redefining. # endif #endif /* I think we may allow undefining both SLOW_ACCEPT and CLONE_CHECK --B. */ #if 0 #if !defined(SLOW_ACCEPT) && !defined(CLONE_CHECK) # define CLONE_CHECK # define CLONE_MAX 2 # define CLONE_PERIOD 10 #endif #endif /* ** you wouldn't want to compress messages one by one.. would you? ** (it's not implemented anyways) */ #ifdef ZIP_LINKS # define SENDQ_ALWAYS #endif #if ! USE_POLL # if (MAXCONNECTIONS > FD_SETSIZE) #error FD_SETSIZE must be bigger than MAXCONNECTIONS # endif #endif /* ** buffer used for iauth-ircd communication ** very big servers might consider increasing it */ #ifdef USE_IAUTH # define IAUTH_BUFFER 65535 #endif /* ** Make sure that if zlib isn't found, or you don't want to use it, that you ** don't define ZIP_LINKS */ #ifndef USE_ZLIB #undef ZIP_LINKS #endif #if defined(TIMEDKLINES) # if (TIMEDKLINES + 0 < 60) # error TIMEDKLINES must be bigger than 60 seconds # endif #endif #ifndef SPLIT_USERS #error SPLIT_USERS must be defined #endif #ifndef SPLIT_SERVERS #error SPLIT_SERVERS must be defined #endif #if defined(CONFIG_DIRECTIVE_INCLUDE) && defined(M4_PREPROC) #error CONFIG_DIRECTIVE_INCLUDE and M4_PREPROC are mutually exclusive #endif #ifndef TKLINE #undef OPER_TKLINE #endif #if defined(LOGFILES_ALWAYS_CREATE) && !defined(HAVE_SYS_STAT_H) #error LOGFILES_ALWAYS_CREATE requires sys/stat.h #endif #ifndef IRCDCONF_DELIMITER #error IRCDCONF_DELIMITER must be defined #endif #if !defined(HELLO_MSG) #error HELLO_MSG must be defined #endif #if defined(TKLINE_MAXTIME) && (TKLINE_MAXTIME + 0) == 0 #undef TKLINE_MAXTIME #endif /* Hard limit tkline time (more than 3 years) */ #if !defined(TKLINE_MAXTIME) || (TKLINE_MAXTIME > 99999999) #define TKLINE_MAXTIME 99999999 #endif #if !defined(SCH_TKILL) #define SCH_TKILL SCH_NOTICE #endif #if defined(CLIENTS_CHANNEL) && !defined(CLIENTS_CHANNEL_LEVEL) #error define CLIENTS_CHANNEL_LEVEL #endif #if defined(MINLOCALNICKLEN) && ((MINLOCALNICKLEN + 0) < 2) #undef MINLOCALNICKLEN #endif #if defined(MINLOCALNICKLEN) && (MINLOCALNICKLEN > LOCALNICKLEN) #error MINLOCALNICKLEN bigger than (max)LOCALNICKLEN #endif /* we should probably not bother with that :) */ #if !defined(NBLOCK_POSIX) && !defined(NBLOCK_BSD) && !defined(NBLOCK_SYSV) #undef LISTENER_MAXACCEPT #define LISTENER_MAXACCEPT 1 #endif /* well, we save some memory if we don't actually need either of the hashes */ #if defined(YLINE_LIMITS_IPHASH) || defined(FIND_USERHOST_IPHASH) #define USE_IPHASH #endif #if !defined(YLINE_LIMITS_IPHASH) || !defined(FIND_USERHOST_IPHASH) #define USE_HOSTHASH #endif #if defined(CACCEPT_DEFAULT) #if ((CACCEPT_DEFAULT) > 2) || ((CACCEPT_DEFAULT) < 0) #error CACCEPT_DEFAULT can be 0, 1 or 2. #endif #endif debian/maint/ircd.motd0000644000000000000000000000076111362646467012127 0ustar [ Debian GNU/Linux ] |------------------------------------------------------------------------| | This is Debian's default IRCd server configuration for irc2.11. If you | | see this and if you are the server administrator, just edit ircd.conf | | and ircd.motd in /etc/ircd. | | Martin Loschwitz, 1st January 2005 | |------------------------------------------------------------------------| debian/maint/chkconf.80000644000000000000000000000124311362646467012021 0ustar .\" @(#)chkconf.8 1.0 13 Apr 2002 .TH CHKCONF 8 "13 April 2002" .SH NAME chkconf \- check ircd config-file .SH SYNOPSIS .hy 0 .BI "chkconf " .LP .SH DESCRIPTION .LP \fIchkconf\fP checks ircd config-file for known errors. .LP .SH COPYRIGHT (c) 1988,1989 University of Oulu, Computing Center, Finland, .LP (c) 1988,1989 Department of Information Processing Science, University of Oulu, Finland .LP (c) 1988,1989,1990,1991 Jarkko Oikarinen .LP For full COPYRIGHT see LICENSE file with IRC package. .LP .RE .SH "SEE ALSO" irc(1), ircd(8) .SH AUTHOR Jarkko Oikarinen, currently jto@tolsun.oulu.fi. Manual page was written by Martin Loschwitz in Apr 2002. debian/maint/ircdwatch.80000644000000000000000000000164211362646467012361 0ustar .TH IRCDWATCH 8 "04 May 2002" .SH NAME ircdwatch \- check ircds current state .SH SYNOPSIS .hy 0 .BI "ircdwatch [--kill | --rest | --help]" .LP .SH DESCRIPTION .LP \fIircdwatch\fP checks ircd's current state and starts/kills it if necessary. .LP \fB\-\-kill\fR stop both ircdwatch and ircd .LP \fB\-\-rest\fR stop ircdwatch but let ircd alone .LP \fB\-\-help\fR display help text .LP If you start \fIircdwatch\fP without any arguments, it will check if ircd runs and start it if it doesn't. .SH COPYRIGHT (c) 1988,1989 University of Oulu, Computing Center, Finland, .LP (c) 1988,1989 Department of Information Processing Science, University of Oulu, Finland .LP (c) 1988,1989,1990,1991 Jarkko Oikarinen .LP For full COPYRIGHT see LICENSE file with IRC package. .LP .RE .SH "SEE ALSO" irc(1), ircd(8) .SH AUTHOR ircdwatch was written by Christophe Kalt Manual page was written by Martin Loschwitz in May 2002. debian/maint/iauth.conf0000644000000000000000000000173211362646467012301 0ustar # If iauth timeouts, then reject user notimeout # This makes the IRC server require that iauth performs the authentication # in order for a new user connection to be accepted required # Perform ident lookups module rfc931 # Modules below this keyword will work in delayed execution mode. # This means client will be allowed to enter irc and if any module below # decides it shouldn't have, this client will be removed. #delayed # Check and reject open SOCKS proxies #module socks # port = 1080 # option = reject,paranoid # reason = Denied access (insecure proxy found) #module socks # port = 559 # option = reject,paranoid # reason = Denied access (insecure proxy found) # Check and reject HTTP CONNECT proxies on port 8080 #module webproxy # port = 8080 # option = reject # reason = Denied access (insecure proxy found) # Check and reject HTTP CONNECT proxies on port 3128 #module webproxy # port = 3128 # option = reject,careful # reason = Denied access (insecure proxy found) debian/maint/ircd-mkpasswd.80000644000000000000000000000113111362646467013152 0ustar .TH IRCD-MKPASSWD "8" "May 2002" .SH NAME ircd-mkpasswd \- manual page for ircd-mkpasswd .SH SYNOPSIS .hy 0 .BI "ircd-mkpasswd [-m|-d] [-l saltlength] [-s salt] [-p plaintext]" .LP \fB\-m\fR Generate an MD5 password .LP \fB\-d\fR Generate a DES password .LP \fB\-l\fR Specify a length for a random MD5 salt .LP \fB\-s\fR Specify a salt, 2 alphanumeric characters for DES, up to 16 for MD5 .LP \fB\-p\fR Specify a plaintext password to use .LP Example: ircd-mkpasswd \fB\-m\fR \fB\-s\fR 3dr \fB\-p\fR test .LP .SH DESCRIPTION .LP ircd-mkpasswd generates SALT encrypted passwords for use in ircd.conf debian/maint/ircd.conf0000644000000000000000000000102611362646467012104 0ustar # This is ircd's config-file. Look at # /usr/share/doc/ircd-irc2/ircd.conf.example.gz and # and /usr/share/doc/ircd-irc2/INSTALL.* for more detailled information # and instructions # M-Line M:irc.localhost::Debian ircd default configuration::000A # A-Line A:This is Debian's default ircd configurations:Please edit your /etc/ircd/ircd.conf file:Contact for questions::ExampleNet # Y-Lines Y:1:90::100:512000:5.5:100.100 Y:2:90::300:512000:5.5:250.250 # I-Line I:*:::0:1 I:127.0.0.1/32:::0:1 # P-Line P::::6667: debian/patches/0000755000000000000000000000000011640164340010614 5ustar debian/patches/irc2.11.2p2-s_conf.c.diff0000644000000000000000000000164311362647751014636 0ustar Index: s_conf.c =================================================================== RCS file: /usr/local/repository/irc/ircd/s_conf.c,v retrieving revision 1.192 retrieving revision 1.194 diff -u -r1.192 -r1.194 --- irc/ircd/s_conf.c 13 Nov 2009 20:25:55 -0000 1.192 +++ irc/ircd/s_conf.c 9 Mar 2010 15:05:01 -0000 1.194 @@ -48,7 +48,7 @@ */ #ifndef lint -static const volatile char rcsid[] = "@(#)$Id: s_conf.c,v 1.192 2009/11/13 20:25:55 chopin Exp $"; +static const volatile char rcsid[] = "@(#)$Id: s_conf.c,v 1.194 2010/03/09 15:05:01 chopin Exp $"; #endif #include "os.h" @@ -2700,7 +2700,7 @@ ** some crucial parts, which can be seen as a typo. --Beeth */ err = 1; } - if (strchr(host, '/') && match_ipmask(host, sptr, 0) == -1) + if (host && strchr(host, '/') && match_ipmask(host+1, sptr, 0) == -1) { /* check validity of 1.2.3.0/24 or it will be spewing errors ** for every connecting client. */ debian/patches/series0000644000000000000000000000003211640164340012024 0ustar irc2.11.2p2-s_conf.c.diff debian/README.dfsg0000644000000000000000000000047311362646466011012 0ustar The following files have been removed from the upstream source tarball: doc/rfc1459.txt doc/rfc2810.txt doc/rfc2811.txt doc/rfc2812.txt doc/rfc2813.txt They are non-free, and the author does not wish to dual license it under a different license. -- Kurt Roeckx Sat, 6 May 2006 19:32:05 +0200 debian/changelog0000644000000000000000000001146311640164407011050 0ustar ircd-irc2 (2.11.2p2+dfsg-2) unstable; urgency=low * Remove auto generated dpkg-source patch. (Closes: #643167) -- Kurt Roeckx Mon, 26 Sep 2011 23:04:40 +0200 ircd-irc2 (2.11.2p2+dfsg-1) unstable; urgency=low * New upstream release * Switch to dpkg-source 3.0 (quilt) format * Apply upstream patch to avoid segfault caused by opers. * Properly clean source * Update debian/maint/config.h for the upstream changes. * Add ${misc:Depends} to the Depends line. * Don't add the stoplink in runlevel 1, we should get killed. Also tell dh_installinit not to create any stop link. * Install doc/INSTALL.info as an info page. -- Kurt Roeckx Sun, 18 Apr 2010 20:23:00 +0200 ircd-irc2 (2.11.2p1+dfsg-2) unstable; urgency=low * Disable ipv6 support again (Closes: #547614) It doesn't work without ipv6 support in the kernel. * Don't redirect erorrs to /dev/null in the init script. -- Kurt Roeckx Mon, 21 Sep 2009 19:41:55 +0200 ircd-irc2 (2.11.2p1+dfsg-1) unstable; urgency=low * New upstream release * Enable IPv6 support. * Add watch file. * Change debhelper compat level from 4 to 7: - change dh_clean -k to dh_prep * Update Standards-Version from 3.6.1 to 3.8.3: - init script returns success when ircd already running, pass --oknodo to start-stop-daemon - Create /var/run/ircd in the init script - Convert debian/copyright from latin1 to utf8 * Don't fix permissions of /var/run/ircd or remove files in it from the postinst script. Also don't ship that empty dir. * Don't remove files in and the dirs /etc/ircd on purge, dpkg should remove those by itself. * Fix copyright file to include the copyright notices and all the license information. -- Kurt Roeckx Fri, 18 Sep 2009 21:23:33 +0200 ircd-irc2 (2.11.1p1+dfsg-2) unstable; urgency=low * k*BSD needs _GNU_SOURCE too. Always use it when we have __GLIBC__ (Closes: #414992) * Fix the default ircd.conf to point to the right location of the documentation. (Closes: #373662) * Add LSB formatted dependency info in init.d script (Closes: #469605) -- Kurt Roeckx Sat, 05 Apr 2008 23:26:48 +0200 ircd-irc2 (2.11.1p1+dfsg-1) unstable; urgency=low * Make new orig tarball with the RFCs removed because they're non-free (Closes: #365194) -- Kurt Roeckx Sat, 6 May 2006 19:32:05 +0200 ircd-irc2 (2.11.1p1-1) unstable; urgency=low * New maintainer, adopting package. * Acknowledge my own NMU (Closes: #318738) -- Kurt Roeckx Fri, 28 Apr 2006 20:26:45 +0200 ircd-irc2 (2.11.1p1-0.1) unstable; urgency=low * Non-maintainer upload. * New upstream release - Fix configure script detection of pow in -lm (Closes: #318738) - Apply upstream changes of config.h.dist to debian/maint/config.h * Change default ircd.conf to allow connections. -- Kurt Roeckx Sat, 4 Mar 2006 16:38:25 +0100 ircd-irc2 (2.11.0-1) unstable; urgency=low * New upstream version -- introducing irc2.11 along with these changes: - define CLONE_CHECK, no longer define SIXBONE_HACK and SLOW_ACCEPT - removed the ircd-irc2-client package as client is gone from source - multiple very small changes to adapt the package to new conditions -- Martin Loschwitz Sat, 01 Jan 2005 10:19:00 +0100 ircd-irc2 (2.10.3p7-1) unstable; urgency=low * New upstream version (Closes: #256264) * Thanks goes to Kurt Roeckx for preparing this release along with these changes: - debian/copyright: Corrected link to Download-Site - debian/docs: Install INSTALL.* files - debian/rules: Don't install ircd.m4 (it's disabled anyway) - debian/maint/ircd.conf: Point to INSTALL.* files as help - debian/maint/ircd.conf: Changed M-Line (work on more systems) - debian/maint/config.h: Adapted to the latest changes: * Enable usage of Unix domain sockets * Enable usage of compressed server links * Updated config.guess/config.sub -- Martin Loschwitz Thu, 29 Jul 2004 17:22:00 +0200 ircd-irc2 (2.10.3p5-2) unstable; urgency=high * Another upload with higher urgency (move faster torwards testing) -- Martin Loschwitz Wed, 15 Oct 2003 20:20:00 +0200 ircd-irc2 (2.10.3p5-1) unstable; urgency=low * New upstream version to fix security issues (Closes: #215844) * debian/control: Changed Maintainer's E-Mail address * debian/control: Bumped Standards-Version * debian/compat: Created, Updated to v4 -- Martin Loschwitz Wed, 15 Oct 2003 20:06:00 +0200 ircd-irc2 (2.10.3p3-1) unstable; urgency=low * Initial Release. (Closes: #141950) * updated config.guess/config.sub -- Martin Loschwitz Wed, 04 May 2002 11:51:00 +0200