diff -uNrd ircd-hybrid-7beta5/BUGS ircd-7+FreeBg-p3/BUGS --- ircd-hybrid-7beta5/BUGS Tue May 15 03:20:36 2001 +++ ircd-7+FreeBg-p3/BUGS Tue Jun 5 12:35:41 2001 @@ -64,4 +64,4 @@ with any report (with passwords and other sensitive information masked). -------------------------------------------------------------------------------- -$Id: BUGS,v 7.24 2001/05/15 07:20:36 toot Exp $ +$Id: BUGS,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ diff -uNrd ircd-hybrid-7beta5/CVS/Entries ircd-7+FreeBg-p3/CVS/Entries --- ircd-hybrid-7beta5/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/CVS/Entries Sat Feb 23 15:05:50 2002 @@ -0,0 +1,25 @@ +/BUGS/1.1.1.1/Tue Jun 5 16:35:41 2001// +/Hybrid-team/1.1.1.1/Tue Jun 5 16:35:41 2001// +/INSTALL/1.1.1.1/Tue Jun 5 16:35:41 2001// +/LICENSE/1.1.1.1/Tue Jun 5 16:35:41 2001// +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:41 2001// +/README.FIRST/1.1.1.1/Tue Jun 5 16:35:41 2001// +/README.VMS/1.1.1.1/Tue Jun 5 16:35:41 2001// +/README.small_nets/1.1.1.1/Tue Jun 5 16:35:41 2001// +/RELNOTES/1.1.1.1/Tue Jun 5 16:35:41 2001// +/TODO/1.1.1.1/Tue Jun 5 16:35:41 2001// +/configure/1.1.1.1/Tue Jun 5 16:35:41 2001// +/make.com/1.1.1.1/Tue Jun 5 16:35:41 2001// +D/adns//// +D/autoconf//// +D/contrib//// +D/doc//// +D/gnats//// +D/iauth//// +D/include//// +D/messages//// +D/modules//// +D/src//// +D/tools//// +D/zlib//// +/ChangeLog/1.20/Sat Feb 23 20:05:46 2002// diff -uNrd ircd-hybrid-7beta5/CVS/Repository ircd-7+FreeBg-p3/CVS/Repository --- ircd-hybrid-7beta5/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/CVS/Repository Sat Dec 8 22:55:21 2001 @@ -0,0 +1 @@ +hybrid7-bg diff -uNrd ircd-hybrid-7beta5/CVS/Root ircd-7+FreeBg-p3/CVS/Root --- ircd-hybrid-7beta5/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/CVS/Root Sat Dec 8 22:55:21 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/ChangeLog ircd-7+FreeBg-p3/ChangeLog --- ircd-hybrid-7beta5/ChangeLog Thu May 17 22:33:32 2001 +++ ircd-7+FreeBg-p3/ChangeLog Fri Nov 22 10:46:40 2002 @@ -1,3 +1,138 @@ +*** 20022211 by zer0c00l +- only opers with O flag in their line can talk to operwall and wallops +- added some numerics for showing identified users +- added RPL_SERVCHAN for hiding services' chans +- added on whois notice +- ircd now shows identified users with Nick Services + +*** 20020809 by zer0c00l +- protected services nicks +- added new numeric reply 415 ERR_SERV_NICK for kick/deop protection +- added new function and variable in s_misc.c s_check() for checking if it's service or not +- users can choose which services nicks to be protected + by editing the s_misc.c -> servnicks[] variable +- made changes in channel.c so users can't deop services nicks +- made changes in m_kick.c so users can't kick services nicks + +*** 20020222_2 by demond +- fixed numeric reply 298 (WHOIS nick in cyrillic) +- fixed irccmp() lookup tables to support cyrillic (Windows-1251) +- added marking of translated cyrnicks in sendto_channel + + +*** 20020216_1 by demond +- ircd now sets its own corefile size +- introduced chanmode +C (no nicks in cyrillic allowed to join) +- introduced relays{} conf block, describing which pseudo servers + are to be ignored on certain notices (server split/rejoin) + + +*** 20011207_1 by demond +- implemented chanmode +x: queueing all JOIN, PART, PRIVMSG + NICK and QUIT notifications to the channel and flushing the + queues through hybrid7 event system +- moved all nick collision kill notices to FLAGS_SKILL + + +*** 20011202_1 by demond +- implemented +M chanmode (only reg nicks may speak on channel) +- implemented +R usermode (accept msgs from reg nicks only) +- now not allowing mixed cyr/lat nicknames, indicating cyr nick + with a WHOIS numeric + + +*** 20011104_2 by demond +- fixed minor u@h spoof bug + + +*** 20011104_1 by demond +- netid now configurable, defaults to "bnet" if not specified +- username@host can be given for spoofing +- more efficient services lookup algorithm +- cyrillic is allowed in nicks & usernames as configurable option + + +*** 20010909_1 by demond +- implemented +r and +R chanmodes (registered and reg nicks only channels) + + +*** 20010908_3 by demond +- fixed modules/Makefile.in, now creating autoload dir before installing files +- now relaying TOPIC on burst_all() and checking topic TS on ms_topic() +- removed restart_resolver() on REHASH, coredumps if theres no /etc/resolv.conf + + +*** 20010908_2 by demond +- now reseting FLAGS_SVS_IDENT on nick change +- SVSHINT with no args resets all svsflags on all clients +- no showing svsflags on WHOIS if services not present + + +*** 20010908_1 by demond +- fixed MODE_NOCOLOR omission in m_sjoin.c handler +- fixed svshint_msgtab[] omission in modules.c (static linking) + + +*** 20010828_1 by demond +- implemented relaying of client svsflags field (bundled with hopcount :) + + +*** 20010827_1 by demond +- changed "identified" & "logged" WHOIS numerics... damn BitchX + + +*** 20010826_1 by demond +- implemented SVSHINT command for relaying services status flags + + +*** 20010716_1 by demond +- fixed realhost relay omission; fixed color stripping, + now will handle mIRC and ANSI colors correctly + + +*** 20010712_1 by demond +- implemented equivalent {} conf block; we now use it + for defining which nicks (in pairs) are to be treated + as equivalent; STATS Y will show those + + +*** 20010708_2 by demond +- implemented services{} conf block, for services that are + to be treated specially; now SVSNICK accepted from services only; + WHOIS doesnt show channels that services clients are on + + +*** 20010708_1 by demond +- implemented SVSNICK command, change local client nick + by remote server (services) command + + +*** 20010706_1 by demond +- fixed color_strip() omission in m_part.c + + +*** 20010705_1 by demond +- fixed realhost logging in the userlog file + + +*** 20010701_1 by demond +- added skip_on_fail auth{} block option (yes/no) causing + aconf matching to skip this block if password check failed + + +*** 20010625_1 by demond +- fixed cyrillic translation in m_message on client + + +*** 20010621 by demond +- implemented cyrillic character translation (accessible + through 2 new usermodes: +T for Windows-1251 and +Y for ISO-8859-5 + + +*** 20010517_11-bg by demond +- implemented hostname cloaking and no-color chanmode +c + + *** 20010517_11 by lusky - revved patchlevel to beta5 diff -uNrd ircd-hybrid-7beta5/Hybrid-team ircd-7+FreeBg-p3/Hybrid-team --- ircd-hybrid-7beta5/Hybrid-team Tue Apr 24 23:55:14 2001 +++ ircd-7+FreeBg-p3/Hybrid-team Tue Jun 5 12:35:41 2001 @@ -1,4 +1,4 @@ -$Id: Hybrid-team,v 7.30 2001/04/25 03:55:14 habeeb Exp $ +$Id: Hybrid-team,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ The hybrid team is a group of ircd coders who were frustrated with the instability and all-out "dirtiness" of the EFnet ircd's diff -uNrd ircd-hybrid-7beta5/INSTALL ircd-7+FreeBg-p3/INSTALL --- ircd-hybrid-7beta5/INSTALL Sat May 5 09:46:23 2001 +++ ircd-7+FreeBg-p3/INSTALL Tue Jun 5 12:35:41 2001 @@ -130,4 +130,4 @@ This may be kludged in the future. -------------------------------------------------------------------------------- -$Id: INSTALL,v 7.14 2001/05/05 13:46:23 fl_ Exp $ +$Id: INSTALL,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ diff -uNrd ircd-hybrid-7beta5/LICENSE ircd-7+FreeBg-p3/LICENSE --- ircd-hybrid-7beta5/LICENSE Fri Oct 6 00:26:47 2000 +++ ircd-7+FreeBg-p3/LICENSE Tue Jun 5 12:35:41 2001 @@ -1,4 +1,4 @@ -$Id: LICENSE,v 7.2 2000/10/06 04:26:47 lusky Exp $ +$Id: LICENSE,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ GNU GENERAL PUBLIC LICENSE Version 1, February 1989 @@ -250,4 +250,4 @@ That's all there is to it! -- -$Id: LICENSE,v 7.2 2000/10/06 04:26:47 lusky Exp $ +$Id: LICENSE,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ diff -uNrd ircd-hybrid-7beta5/Makefile.in ircd-7+FreeBg-p3/Makefile.in --- ircd-hybrid-7beta5/Makefile.in Sat May 5 20:04:43 2001 +++ ircd-7+FreeBg-p3/Makefile.in Tue Jun 5 12:35:41 2001 @@ -16,7 +16,7 @@ #* along with this program; if not, write to the Free Software #* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #* -#* $Id: Makefile.in,v 7.30 2001/05/06 00:04:43 androsyn Exp $ +#* $Id: Makefile.in,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ #*/ RM=@RM@ diff -uNrd ircd-hybrid-7beta5/README.FIRST ircd-7+FreeBg-p3/README.FIRST --- ircd-hybrid-7beta5/README.FIRST Thu Apr 26 03:53:32 2001 +++ ircd-7+FreeBg-p3/README.FIRST Tue Jun 5 12:35:41 2001 @@ -88,4 +88,4 @@ - Other files recommended for reading: BUGS, README.FIRST, INSTALL -------------------------------------------------------------------------------- -$Id: README.FIRST,v 7.16 2001/04/26 07:53:32 kreator Exp $ +$Id: README.FIRST,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ diff -uNrd ircd-hybrid-7beta5/README.VMS ircd-7+FreeBg-p3/README.VMS --- ircd-hybrid-7beta5/README.VMS Fri Jan 19 02:20:23 2001 +++ ircd-7+FreeBg-p3/README.VMS Tue Jun 5 12:35:41 2001 @@ -16,4 +16,4 @@ [.modules]*.obj;*. It's not installed automatically yet, you'll have to copy it to IRCD_PREFIX by hand. -$Id: README.VMS,v 1.3 2001/01/19 07:20:23 ejb Exp $ +$Id: README.VMS,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ diff -uNrd ircd-hybrid-7beta5/README.small_nets ircd-7+FreeBg-p3/README.small_nets --- ircd-hybrid-7beta5/README.small_nets Wed Jan 24 09:58:34 2001 +++ ircd-7+FreeBg-p3/README.small_nets Tue Jun 5 12:35:41 2001 @@ -53,4 +53,4 @@ - Dianora -------------------------------------------------------------------------------- -$Id: README.small_nets,v 7.4 2001/01/24 14:58:34 wcampbel Exp $ +$Id: README.small_nets,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ diff -uNrd ircd-hybrid-7beta5/RELNOTES ircd-7+FreeBg-p3/RELNOTES --- ircd-hybrid-7beta5/RELNOTES Wed Jan 24 09:58:34 2001 +++ ircd-7+FreeBg-p3/RELNOTES Tue Jun 5 12:35:41 2001 @@ -42,4 +42,4 @@ ************************************************************************* -------------------------------------------------------------------------------- -$Id: RELNOTES,v 1.8 2001/01/24 14:58:34 wcampbel Exp $ +$Id: RELNOTES,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ diff -uNrd ircd-hybrid-7beta5/adns/COPYING ircd-7+FreeBg-p3/adns/COPYING --- ircd-hybrid-7beta5/adns/COPYING Sun Feb 4 20:05:27 2001 +++ ircd-7+FreeBg-p3/adns/COPYING Tue Jun 5 12:35:41 2001 @@ -263,7 +263,7 @@ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM"IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. diff -uNrd ircd-hybrid-7beta5/adns/CVS/Entries ircd-7+FreeBg-p3/adns/CVS/Entries --- ircd-hybrid-7beta5/adns/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/adns/CVS/Entries Sat Dec 8 22:55:22 2001 @@ -0,0 +1,20 @@ +/.depend/1.1.1.1/Tue Jun 5 16:35:41 2001// +/COPYING/1.1.1.1/Tue Jun 5 16:35:41 2001// +/GPL-vs-LGPL/1.1.1.1/Tue Jun 5 16:35:41 2001// +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:41 2001// +/README/1.1.1.1/Tue Jun 5 16:35:41 2001// +/README.ircd/1.1.1.1/Tue Jun 5 16:35:42 2001// +/adns.h/1.1.1.1/Tue Jun 5 16:35:42 2001// +/check.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/dlist.h/1.1.1.1/Tue Jun 5 16:35:42 2001// +/event.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/general.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/internal.h/1.1.1.1/Tue Jun 5 16:35:42 2001// +/parse.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/query.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/reply.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/setup.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/transmit.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/tvarith.h/1.1.1.1/Tue Jun 5 16:35:42 2001// +/types.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +D diff -uNrd ircd-hybrid-7beta5/adns/CVS/Repository ircd-7+FreeBg-p3/adns/CVS/Repository --- ircd-hybrid-7beta5/adns/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/adns/CVS/Repository Sat Dec 8 22:55:21 2001 @@ -0,0 +1 @@ +hybrid7-bg/adns diff -uNrd ircd-hybrid-7beta5/adns/CVS/Root ircd-7+FreeBg-p3/adns/CVS/Root --- ircd-hybrid-7beta5/adns/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/adns/CVS/Root Sat Dec 8 22:55:21 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/adns/Makefile.in ircd-7+FreeBg-p3/adns/Makefile.in --- ircd-hybrid-7beta5/adns/Makefile.in Sat Mar 31 13:12:27 2001 +++ ircd-7+FreeBg-p3/adns/Makefile.in Tue Jun 5 12:35:41 2001 @@ -1,7 +1,7 @@ # # Makefile.in for ircd/src # -# $Id: Makefile.in,v 1.6 2001/03/31 18:12:27 ejb Exp $ +# $Id: Makefile.in,v 1.1.1.1 2001/06/05 16:35:41 demond Exp $ # CC = @CC@ INSTALL = @INSTALL@ diff -uNrd ircd-hybrid-7beta5/adns/adns.h ircd-7+FreeBg-p3/adns/adns.h --- ircd-hybrid-7beta5/adns/adns.h Sun Feb 25 03:41:01 2001 +++ ircd-7+FreeBg-p3/adns/adns.h Tue Jun 5 12:35:42 2001 @@ -51,7 +51,7 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * - * $Id: adns.h,v 1.4 2001/02/25 08:41:01 androsyn Exp $ + * $Id: adns.h,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #ifndef ADNS_H_INCLUDED diff -uNrd ircd-hybrid-7beta5/adns/check.c ircd-7+FreeBg-p3/adns/check.c --- ircd-hybrid-7beta5/adns/check.c Wed Feb 14 00:53:08 2001 +++ ircd-7+FreeBg-p3/adns/check.c Tue Jun 5 12:35:42 2001 @@ -24,7 +24,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: check.c,v 1.3 2001/02/14 05:53:08 toot Exp $ + * $Id: check.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include "fileio.h" diff -uNrd ircd-hybrid-7beta5/adns/dlist.h ircd-7+FreeBg-p3/adns/dlist.h --- ircd-hybrid-7beta5/adns/dlist.h Wed Feb 14 00:53:09 2001 +++ ircd-7+FreeBg-p3/adns/dlist.h Tue Jun 5 12:35:42 2001 @@ -24,7 +24,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: dlist.h,v 1.3 2001/02/14 05:53:09 toot Exp $ + * $Id: dlist.h,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #ifndef ADNS_DLIST_H_INCLUDED diff -uNrd ircd-hybrid-7beta5/adns/event.c ircd-7+FreeBg-p3/adns/event.c --- ircd-hybrid-7beta5/adns/event.c Fri Apr 6 05:30:36 2001 +++ ircd-7+FreeBg-p3/adns/event.c Tue Jun 5 12:35:42 2001 @@ -26,7 +26,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: event.c,v 1.10 2001/04/06 09:30:36 a1kmm Exp $ + * $Id: event.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/adns/general.c ircd-7+FreeBg-p3/adns/general.c --- ircd-hybrid-7beta5/adns/general.c Mon Feb 26 12:27:25 2001 +++ ircd-7+FreeBg-p3/adns/general.c Tue Jun 5 12:35:42 2001 @@ -25,7 +25,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: general.c,v 1.9 2001/02/26 17:27:25 androsyn Exp $ + * $Id: general.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include "fileio.h" diff -uNrd ircd-hybrid-7beta5/adns/internal.h ircd-7+FreeBg-p3/adns/internal.h --- ircd-hybrid-7beta5/adns/internal.h Fri Apr 6 05:30:36 2001 +++ ircd-7+FreeBg-p3/adns/internal.h Tue Jun 5 12:35:42 2001 @@ -26,7 +26,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: internal.h,v 1.7 2001/04/06 09:30:36 a1kmm Exp $ + * $Id: internal.h,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #ifndef ADNS_INTERNAL_H_INCLUDED diff -uNrd ircd-hybrid-7beta5/adns/parse.c ircd-7+FreeBg-p3/adns/parse.c --- ircd-hybrid-7beta5/adns/parse.c Mon Feb 26 12:27:25 2001 +++ ircd-7+FreeBg-p3/adns/parse.c Tue Jun 5 12:35:42 2001 @@ -24,7 +24,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: parse.c,v 1.4 2001/02/26 17:27:25 androsyn Exp $ + * $Id: parse.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include "fileio.h" diff -uNrd ircd-hybrid-7beta5/adns/query.c ircd-7+FreeBg-p3/adns/query.c --- ircd-hybrid-7beta5/adns/query.c Fri Apr 20 01:41:23 2001 +++ ircd-7+FreeBg-p3/adns/query.c Tue Jun 5 12:35:42 2001 @@ -26,7 +26,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: query.c,v 1.10 2001/04/20 05:41:23 androsyn Exp $ + * $Id: query.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include "memory.h" diff -uNrd ircd-hybrid-7beta5/adns/reply.c ircd-7+FreeBg-p3/adns/reply.c --- ircd-hybrid-7beta5/adns/reply.c Fri Apr 6 05:30:37 2001 +++ ircd-7+FreeBg-p3/adns/reply.c Tue Jun 5 12:35:42 2001 @@ -24,7 +24,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: reply.c,v 1.6 2001/04/06 09:30:37 a1kmm Exp $ + * $Id: reply.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/adns/setup.c ircd-7+FreeBg-p3/adns/setup.c --- ircd-hybrid-7beta5/adns/setup.c Fri Apr 6 05:30:37 2001 +++ ircd-7+FreeBg-p3/adns/setup.c Tue Jun 5 12:35:42 2001 @@ -25,7 +25,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: setup.c,v 1.19 2001/04/06 09:30:37 a1kmm Exp $ + * $Id: setup.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/adns/transmit.c ircd-7+FreeBg-p3/adns/transmit.c --- ircd-hybrid-7beta5/adns/transmit.c Fri Apr 20 01:41:23 2001 +++ ircd-7+FreeBg-p3/adns/transmit.c Tue Jun 5 12:35:42 2001 @@ -25,7 +25,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: transmit.c,v 1.4 2001/04/20 05:41:23 androsyn Exp $ + * $Id: transmit.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/adns/tvarith.h ircd-7+FreeBg-p3/adns/tvarith.h --- ircd-hybrid-7beta5/adns/tvarith.h Fri Apr 6 05:30:37 2001 +++ ircd-7+FreeBg-p3/adns/tvarith.h Tue Jun 5 12:35:42 2001 @@ -24,7 +24,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: tvarith.h,v 1.3 2001/04/06 09:30:37 a1kmm Exp $ + * $Id: tvarith.h,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #ifndef ADNS_TVARITH_H_INCLUDED diff -uNrd ircd-hybrid-7beta5/adns/types.c ircd-7+FreeBg-p3/adns/types.c --- ircd-hybrid-7beta5/adns/types.c Mon Feb 26 12:27:26 2001 +++ ircd-7+FreeBg-p3/adns/types.c Tue Jun 5 12:35:42 2001 @@ -24,7 +24,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: types.c,v 1.5 2001/02/26 17:27:26 androsyn Exp $ + * $Id: types.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/autoconf/CVS/Entries ircd-7+FreeBg-p3/autoconf/CVS/Entries --- ircd-hybrid-7beta5/autoconf/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/autoconf/CVS/Entries Sat Dec 8 22:55:22 2001 @@ -0,0 +1,4 @@ +/acconfig.h/1.1.1.1/Tue Jun 5 16:35:42 2001// +/configure.in/1.1.1.1/Tue Jun 5 16:35:42 2001// +/install-sh/1.1.1.1/Tue Jun 5 16:35:42 2001// +D diff -uNrd ircd-hybrid-7beta5/autoconf/CVS/Repository ircd-7+FreeBg-p3/autoconf/CVS/Repository --- ircd-hybrid-7beta5/autoconf/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/autoconf/CVS/Repository Sat Dec 8 22:55:22 2001 @@ -0,0 +1 @@ +hybrid7-bg/autoconf diff -uNrd ircd-hybrid-7beta5/autoconf/CVS/Root ircd-7+FreeBg-p3/autoconf/CVS/Root --- ircd-hybrid-7beta5/autoconf/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/autoconf/CVS/Root Sat Dec 8 22:55:22 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/autoconf/acconfig.h ircd-7+FreeBg-p3/autoconf/acconfig.h --- ircd-hybrid-7beta5/autoconf/acconfig.h Sat May 5 20:04:50 2001 +++ ircd-7+FreeBg-p3/autoconf/acconfig.h Tue Jun 5 12:35:42 2001 @@ -1,5 +1,5 @@ /* - * $Id: acconfig.h,v 7.12 2001/05/06 00:04:50 androsyn Exp $ + * $Id: acconfig.h,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ /* Define if you have the poll() system call. */ diff -uNrd ircd-hybrid-7beta5/autoconf/configure.in ircd-7+FreeBg-p3/autoconf/configure.in --- ircd-hybrid-7beta5/autoconf/configure.in Mon May 7 19:51:05 2001 +++ ircd-7+FreeBg-p3/autoconf/configure.in Tue Jun 5 12:35:42 2001 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 7.54 2001/05/07 23:51:05 androsyn Exp $ +dnl $Id: configure.in,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(include/class.h) diff -uNrd ircd-hybrid-7beta5/autoconf/install-sh ircd-7+FreeBg-p3/autoconf/install-sh --- ircd-hybrid-7beta5/autoconf/install-sh Wed Aug 25 23:36:21 1999 +++ ircd-7+FreeBg-p3/autoconf/install-sh Tue Jun 5 12:35:42 2001 @@ -1,5 +1,5 @@ #! /bin/sh -# $Id: install-sh,v 7.1 1999/08/26 03:36:21 lusky Exp $ +# $Id: install-sh,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # diff -uNrd ircd-hybrid-7beta5/contrib/CVS/Entries ircd-7+FreeBg-p3/contrib/CVS/Entries --- ircd-hybrid-7beta5/contrib/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/contrib/CVS/Entries Sat Dec 8 22:55:22 2001 @@ -0,0 +1,13 @@ +/.depend/1.1.1.1/Tue Jun 5 16:35:42 2001// +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:42 2001// +/README/1.1.1.1/Tue Jun 5 16:35:42 2001// +/README.HASH/1.1.1.1/Tue Jun 5 16:35:42 2001// +/links_notice.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/m_clearchan.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/m_hash.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/m_jupe.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/m_nickinfo.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/m_opme.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/stats_notice.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +/whois_notice.c/1.1.1.1/Tue Jun 5 16:35:42 2001// +D diff -uNrd ircd-hybrid-7beta5/contrib/CVS/Repository ircd-7+FreeBg-p3/contrib/CVS/Repository --- ircd-hybrid-7beta5/contrib/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/contrib/CVS/Repository Sat Dec 8 22:55:22 2001 @@ -0,0 +1 @@ +hybrid7-bg/contrib diff -uNrd ircd-hybrid-7beta5/contrib/CVS/Root ircd-7+FreeBg-p3/contrib/CVS/Root --- ircd-hybrid-7beta5/contrib/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/contrib/CVS/Root Sat Dec 8 22:55:22 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/contrib/Makefile.in ircd-7+FreeBg-p3/contrib/Makefile.in --- ircd-hybrid-7beta5/contrib/Makefile.in Sat Mar 31 13:12:29 2001 +++ ircd-7+FreeBg-p3/contrib/Makefile.in Tue Jun 5 12:35:42 2001 @@ -1,7 +1,7 @@ # # Makefile.in for ircd/contrib # -# $Id: Makefile.in,v 1.12 2001/03/31 18:12:29 ejb Exp $ +# $Id: Makefile.in,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ # CC = @CC@ RM = @RM@ diff -uNrd ircd-hybrid-7beta5/contrib/m_clearchan.c ircd-7+FreeBg-p3/contrib/m_clearchan.c --- ircd-hybrid-7beta5/contrib/m_clearchan.c Mon May 14 06:08:47 2001 +++ ircd-7+FreeBg-p3/contrib/m_clearchan.c Tue Jun 5 12:35:42 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_clearchan.c,v 1.16 2001/05/14 10:08:47 toot Exp $ + * $Id: m_clearchan.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/contrib/m_hash.c ircd-7+FreeBg-p3/contrib/m_hash.c --- ircd-hybrid-7beta5/contrib/m_hash.c Wed May 16 04:50:56 2001 +++ ircd-7+FreeBg-p3/contrib/m_hash.c Tue Jun 5 12:35:42 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_hash.c,v 1.5 2001/05/16 08:50:56 toot Exp $ + * $Id: m_hash.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/contrib/m_jupe.c ircd-7+FreeBg-p3/contrib/m_jupe.c --- ircd-hybrid-7beta5/contrib/m_jupe.c Thu Mar 15 14:14:02 2001 +++ ircd-7+FreeBg-p3/contrib/m_jupe.c Tue Jun 5 12:35:42 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_jupe.c,v 1.13 2001/03/15 19:14:02 fl_ Exp $ + * $Id: m_jupe.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ /* diff -uNrd ircd-hybrid-7beta5/contrib/m_nickinfo.c ircd-7+FreeBg-p3/contrib/m_nickinfo.c --- ircd-hybrid-7beta5/contrib/m_nickinfo.c Wed May 16 04:50:56 2001 +++ ircd-7+FreeBg-p3/contrib/m_nickinfo.c Tue Jun 5 12:35:42 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_nickinfo.c,v 1.5 2001/05/16 08:50:56 toot Exp $ + * $Id: m_nickinfo.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/contrib/m_opme.c ircd-7+FreeBg-p3/contrib/m_opme.c --- ircd-hybrid-7beta5/contrib/m_opme.c Mon Mar 5 21:24:29 2001 +++ ircd-7+FreeBg-p3/contrib/m_opme.c Tue Jun 5 12:35:42 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_opme.c,v 1.10 2001/03/06 02:24:29 androsyn Exp $ + * $Id: m_opme.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/contrib/stats_notice.c ircd-7+FreeBg-p3/contrib/stats_notice.c --- ircd-hybrid-7beta5/contrib/stats_notice.c Sun Apr 29 10:23:36 2001 +++ ircd-7+FreeBg-p3/contrib/stats_notice.c Tue Jun 5 12:35:42 2001 @@ -1,6 +1,6 @@ /* copyright (c) 2000 Edward Brocklesby, Hybrid Development Team */ /* - * $Id: stats_notice.c,v 1.5 2001/04/29 14:23:36 fl_ Exp $ + * $Id: stats_notice.c,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ */ #include "modules.h" diff -uNrd ircd-hybrid-7beta5/doc/CIDR.txt ircd-7+FreeBg-p3/doc/CIDR.txt --- ircd-hybrid-7beta5/doc/CIDR.txt Wed Jan 24 09:58:41 2001 +++ ircd-7+FreeBg-p3/doc/CIDR.txt Tue Jun 5 12:35:42 2001 @@ -1,4 +1,4 @@ -$Id: CIDR.txt,v 1.4 2001/01/24 14:58:41 wcampbel Exp $ +$Id: CIDR.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ CIDR Information ---------------- diff -uNrd ircd-hybrid-7beta5/doc/CVS/Entries ircd-7+FreeBg-p3/doc/CVS/Entries --- ircd-hybrid-7beta5/doc/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/doc/CVS/Entries Sat Feb 23 15:05:47 2002 @@ -0,0 +1,39 @@ +/CIDR.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/LazyLinks.as.implemented.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/LazyLinks.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:42 2001// +/Persistent_Clients.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/README.TSora/1.1.1.1/Tue Jun 5 16:35:42 2001// +/Tao-of-IRC.940110/1.1.1.1/Tue Jun 5 16:35:42 2001// +/challenge.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/cookies.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/cryptlink.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/event.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/fd-management.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/file-management.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/guidelines.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/hostmask.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/iauth.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/index.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/ircd.8/1.1.1.1/Tue Jun 5 16:35:42 2001// +/ircd.motd/1.1.1.1/Tue Jun 5 16:35:42 2001// +/kline.conf/1.1.1.1/Tue Jun 5 16:35:42 2001// +/kline.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/linebuf.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/message-customisation.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/modeg.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/network.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/operguide.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/opermyth.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/rfc1459.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/send.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/server-version-info/1.1.1.1/Tue Jun 5 16:35:42 2001// +/simple.conf/1.1.1.1/Tue Jun 5 16:35:42 2001// +/users.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/vchans.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/whats-new-code.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +/whats-new.txt/1.1.1.1/Tue Jun 5 16:35:42 2001// +D/old//// +/modes.txt/1.4/Sun Feb 17 06:35:45 2002// +/opers.txt/1.5/Sun Feb 17 06:35:45 2002// +/example.conf/1.6/Sat Feb 23 20:05:47 2002// diff -uNrd ircd-hybrid-7beta5/doc/CVS/Repository ircd-7+FreeBg-p3/doc/CVS/Repository --- ircd-hybrid-7beta5/doc/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/doc/CVS/Repository Sat Dec 8 22:55:23 2001 @@ -0,0 +1 @@ +hybrid7-bg/doc diff -uNrd ircd-hybrid-7beta5/doc/CVS/Root ircd-7+FreeBg-p3/doc/CVS/Root --- ircd-hybrid-7beta5/doc/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/doc/CVS/Root Sat Dec 8 22:55:23 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/doc/Persistent_Clients.txt ircd-7+FreeBg-p3/doc/Persistent_Clients.txt --- ircd-hybrid-7beta5/doc/Persistent_Clients.txt Wed Jan 24 09:58:41 2001 +++ ircd-7+FreeBg-p3/doc/Persistent_Clients.txt Tue Jun 5 12:35:42 2001 @@ -105,6 +105,6 @@ as possible, in order to eat up memory in a DDoS attempt. One of the same criticisms against vchans actually. -$Id: Persistent_Clients.txt,v 1.3 2001/01/24 14:58:41 wcampbel Exp $ +$Id: Persistent_Clients.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ diff -uNrd ircd-hybrid-7beta5/doc/event.txt ircd-7+FreeBg-p3/doc/event.txt --- ircd-hybrid-7beta5/doc/event.txt Wed Jan 24 09:58:41 2001 +++ ircd-7+FreeBg-p3/doc/event.txt Tue Jun 5 12:35:42 2001 @@ -1,7 +1,7 @@ Overview of the event subsystem Adrian Chadd -$Id: event.txt,v 1.2 2001/01/24 14:58:41 wcampbel Exp $ +$Id: event.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ One of the things that immediately struck me whilst first looking at the diff -uNrd ircd-hybrid-7beta5/doc/example.conf ircd-7+FreeBg-p3/doc/example.conf --- ircd-hybrid-7beta5/doc/example.conf Mon May 7 11:50:21 2001 +++ ircd-7+FreeBg-p3/doc/example.conf Sat Feb 23 15:05:47 2002 @@ -1,5 +1,5 @@ /* Hybrid 7 Example configuration file - * $Id: example.conf,v 7.93 2001/05/07 15:50:21 toot Exp $ + * $Id: example.conf,v 1.6 2002/02/23 20:00:45 demond Exp $ * December 2000 - ejb, wcampbel, db and others */ @@ -220,6 +220,12 @@ gline_exempt = yes; class = "opers"; + + /* this will cause auth block matching + * to continue if the password supplied + * is incorrect -demond + */ + skip_on_fail = yes; }; auth { @@ -288,6 +294,11 @@ /* We can force the user to have ident here (I: + flag) */ have_ident = yes; + + /* this will cloak client host + * -demond + */ + maskhost = yes; }; /* Define operators, old O: lines. @@ -481,6 +492,31 @@ host = "hostname"; }; +/* This will determine which servers are to be treated specially, + * as services. We now use this for SVSNICK handling. -demond + */ +services { + name = "services.ca"; +}; + +/* This will make the nick redirection we need on IRC Bulgaria + * -demond + */ +equivalent { + nicks = "NS/NickServ"; + nicks = "CS/ChanServ"; + nicks = "OS/OperServ"; +}; + +/* Describe which (pseudo) servers are to be treated specially + * -demond + */ +relays { + name = "unibg-r.bulgaria.org"; + name = "dalnet-r.bulgaria.org"; + name = "under-r.bulgaria.org"; +}; + /* Replacement for K: lines, bans based on user@host */ kill { user = "bad@*.hacked.edu"; @@ -709,6 +745,11 @@ fname_operlog = "logs/operlog"; fname_foperlog = "logs/foperlog"; + /* Network identification string, for host cloaking + * -demond + */ + netid = "bnet"; + /* max_targets * only max_target targets can be PRIVMSG'ed / NOTICE'd in a single * command. default is 4 if not defined here. setting to 0 will have @@ -778,6 +819,17 @@ * down. */ persistant_expire_time = 24 hours; + + /* Allow cyrillic (Windows-1251) in nicks & usernames + * -demond + */ + cyrillic = no; + + /* Translate all sendto_channel() stuff to umode +T/+Y users + * (WARNING: this may take clients out of sync!) + * -demond + */ + totaltrans = no; }; modules { diff -uNrd ircd-hybrid-7beta5/doc/fd-management.txt ircd-7+FreeBg-p3/doc/fd-management.txt --- ircd-hybrid-7beta5/doc/fd-management.txt Wed Nov 8 14:57:54 2000 +++ ircd-7+FreeBg-p3/doc/fd-management.txt Tue Jun 5 12:35:42 2001 @@ -1,7 +1,7 @@ Overview of the filedescriptor subsystem Adrian Chadd -$Id: fd-management.txt,v 1.1 2000/11/08 19:57:54 adrian Exp $ +$Id: fd-management.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ Filedescriptor lists diff -uNrd ircd-hybrid-7beta5/doc/file-management.txt ircd-7+FreeBg-p3/doc/file-management.txt --- ircd-hybrid-7beta5/doc/file-management.txt Wed Nov 8 14:57:54 2000 +++ ircd-7+FreeBg-p3/doc/file-management.txt Tue Jun 5 12:35:42 2001 @@ -1,7 +1,7 @@ Overview of the file management subsystem Adrian Chadd -$Id: file-management.txt,v 1.1 2000/11/08 19:57:54 adrian Exp $ +$Id: file-management.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ File operations diff -uNrd ircd-hybrid-7beta5/doc/guidelines.txt ircd-7+FreeBg-p3/doc/guidelines.txt --- ircd-hybrid-7beta5/doc/guidelines.txt Fri Mar 16 20:34:50 2001 +++ ircd-7+FreeBg-p3/doc/guidelines.txt Tue Jun 5 12:35:42 2001 @@ -33,4 +33,4 @@ 8. Don't forget to include a CVS Id. -# $Id: guidelines.txt,v 1.1 2001/03/17 01:34:50 db Exp $ +# $Id: guidelines.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ diff -uNrd ircd-hybrid-7beta5/doc/hostmask.txt ircd-7+FreeBg-p3/doc/hostmask.txt --- ircd-hybrid-7beta5/doc/hostmask.txt Wed May 2 05:09:52 2001 +++ ircd-7+FreeBg-p3/doc/hostmask.txt Tue Jun 5 12:35:42 2001 @@ -1,6 +1,6 @@ The hostmask/netmask system. Copyright(C) 2001 by Andrew Miller(A1kmm) -$Id: hostmask.txt,v 1.1 2001/05/02 09:09:52 a1kmm Exp $ +$Id: hostmask.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ Contents ======== diff -uNrd ircd-hybrid-7beta5/doc/iauth.txt ircd-7+FreeBg-p3/doc/iauth.txt --- ircd-hybrid-7beta5/doc/iauth.txt Sun Jan 9 22:21:37 2000 +++ ircd-7+FreeBg-p3/doc/iauth.txt Tue Jun 5 12:35:42 2001 @@ -1,4 +1,4 @@ -$Id: iauth.txt,v 1.2 2000/01/10 03:21:37 wnder Exp $ +$Id: iauth.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ Patrick Alken 01/09/2000 diff -uNrd ircd-hybrid-7beta5/doc/index.txt ircd-7+FreeBg-p3/doc/index.txt --- ircd-hybrid-7beta5/doc/index.txt Fri Feb 23 15:49:28 2001 +++ ircd-7+FreeBg-p3/doc/index.txt Tue Jun 5 12:35:42 2001 @@ -1,5 +1,5 @@ -# $Id: index.txt,v 1.8 2001/02/23 20:49:28 wcampbel Exp $ +# $Id: index.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ Here is the overview of the documents in the doc/ directory. CIDR.txt - Description of CIDR in IPv4 diff -uNrd ircd-hybrid-7beta5/doc/kline.txt ircd-7+FreeBg-p3/doc/kline.txt --- ircd-hybrid-7beta5/doc/kline.txt Wed Jan 24 09:58:42 2001 +++ ircd-7+FreeBg-p3/doc/kline.txt Tue Jun 5 12:35:42 2001 @@ -93,5 +93,5 @@ user,host,reason should be obvious.. -$Id: kline.txt,v 1.3 2001/01/24 14:58:42 wcampbel Exp $ +$Id: kline.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ diff -uNrd ircd-hybrid-7beta5/doc/linebuf.txt ircd-7+FreeBg-p3/doc/linebuf.txt --- ircd-hybrid-7beta5/doc/linebuf.txt Mon Nov 27 14:23:02 2000 +++ ircd-7+FreeBg-p3/doc/linebuf.txt Tue Jun 5 12:35:42 2001 @@ -3,7 +3,7 @@ By Adrian Chadd -$Id: linebuf.txt,v 1.1 2000/11/27 19:23:02 adrian Exp $ +$Id: linebuf.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ History diff -uNrd ircd-hybrid-7beta5/doc/message-customisation.txt ircd-7+FreeBg-p3/doc/message-customisation.txt --- ircd-hybrid-7beta5/doc/message-customisation.txt Sun Apr 1 18:06:49 2001 +++ ircd-7+FreeBg-p3/doc/message-customisation.txt Tue Jun 5 12:35:42 2001 @@ -1,7 +1,7 @@ Message customization/localization system David Taylor -$Id: message-customisation.txt,v 1.3 2001/04/01 22:06:49 ejb Exp $ +$Id: message-customisation.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ Please send any comments, questions, flames or suggestions to the above address :) diff -uNrd ircd-hybrid-7beta5/doc/modeg.txt ircd-7+FreeBg-p3/doc/modeg.txt --- ircd-hybrid-7beta5/doc/modeg.txt Thu Jan 25 22:11:54 2001 +++ ircd-7+FreeBg-p3/doc/modeg.txt Tue Jun 5 12:35:42 2001 @@ -110,4 +110,4 @@ -- Walter Campbell -$Id: modeg.txt,v 1.1 2001/01/26 03:11:54 wcampbel Exp $ +$Id: modeg.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ diff -uNrd ircd-hybrid-7beta5/doc/modes.txt ircd-7+FreeBg-p3/doc/modes.txt --- ircd-hybrid-7beta5/doc/modes.txt Wed Jan 17 19:00:29 2001 +++ ircd-7+FreeBg-p3/doc/modes.txt Sun Feb 17 01:35:45 2002 @@ -23,6 +23,9 @@ +x - external - See remote server connection and split notices +y - spy - See LINKS, STATS (if configured), TRACE notices +z - operwall - See oper generated WALLOPS ++T - cyrillic t.- Automatic PRIVMSG cyr->lat character translation (Win-1251) ++Y - cyrillic t.- Automatic PRIVMSG cyr->lat character translation (ISO-8859-5) ++R - reg accept.- Accept PRIVMSGs from registered nicks only Channel Modes: @@ -48,8 +51,14 @@ +t - topic - Only chanops can change the topic +v - voice - Can speak in a moderated channel, and is exempt from flood restrictions ++c - no color - Cloak color in chan msgs, topica and quits sent to channel ++r - registered - Channel is registered with services (set by services only) ++R - reg join - Only registered nicks can join the channel ++M - reg speak - Only registered nicks may speak on channel ++x - pacing - Pace JOINs, PARTs, PRIVMSGs and QUITs on channel ++C - no cyrnicks- Clients w/ nicks in cyrillic are NOT allowed to join The third part of the 004 numeric lists channel modes that require arguments. Currently these are bklovedIh. -# $Id: modes.txt,v 7.4 2001/01/18 00:00:29 wcampbel Exp $ +# $Id: modes.txt,v 1.4 2002/02/17 05:28:37 demond Exp $ diff -uNrd ircd-hybrid-7beta5/doc/network.txt ircd-7+FreeBg-p3/doc/network.txt --- ircd-hybrid-7beta5/doc/network.txt Wed Jan 24 09:58:43 2001 +++ ircd-7+FreeBg-p3/doc/network.txt Tue Jun 5 12:35:42 2001 @@ -1,7 +1,7 @@ Overview of the network subsystem Adrian Chadd -$Id: network.txt,v 1.6 2001/01/24 14:58:43 wcampbel Exp $ +$Id: network.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ This document is an overview of the new and hopefully improved network diff -uNrd ircd-hybrid-7beta5/doc/old/CVS/Entries ircd-7+FreeBg-p3/doc/old/CVS/Entries --- ircd-hybrid-7beta5/doc/old/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/doc/old/CVS/Entries Sat Dec 8 22:55:24 2001 @@ -0,0 +1,8 @@ +/Authors/1.1.1.1/Tue Jun 5 16:35:42 2001// +/Etiquette/1.1.1.1/Tue Jun 5 16:35:42 2001// +/README/1.1.1.1/Tue Jun 5 16:35:43 2001// +/example.conf.trillian/1.1.1.1/Tue Jun 5 16:35:43 2001// +/example_old.conf/1.1.1.1/Tue Jun 5 16:35:43 2001// +/ircd.8/1.1.1.1/Tue Jun 5 16:35:43 2001// +/simple.conf/1.1.1.1/Tue Jun 5 16:35:43 2001// +D/US-Admin//// diff -uNrd ircd-hybrid-7beta5/doc/old/CVS/Repository ircd-7+FreeBg-p3/doc/old/CVS/Repository --- ircd-hybrid-7beta5/doc/old/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/doc/old/CVS/Repository Sat Dec 8 22:55:23 2001 @@ -0,0 +1 @@ +hybrid7-bg/doc/old diff -uNrd ircd-hybrid-7beta5/doc/old/CVS/Root ircd-7+FreeBg-p3/doc/old/CVS/Root --- ircd-hybrid-7beta5/doc/old/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/doc/old/CVS/Root Sat Dec 8 22:55:23 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/doc/old/US-Admin/CVS/Entries ircd-7+FreeBg-p3/doc/old/US-Admin/CVS/Entries --- ircd-hybrid-7beta5/doc/old/US-Admin/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/doc/old/US-Admin/CVS/Entries Sat Dec 8 22:55:24 2001 @@ -0,0 +1,4 @@ +/Networking/1.1.1.1/Tue Jun 5 16:35:43 2001// +/Operators/1.1.1.1/Tue Jun 5 16:35:43 2001// +/README/1.1.1.1/Tue Jun 5 16:35:43 2001// +D diff -uNrd ircd-hybrid-7beta5/doc/old/US-Admin/CVS/Repository ircd-7+FreeBg-p3/doc/old/US-Admin/CVS/Repository --- ircd-hybrid-7beta5/doc/old/US-Admin/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/doc/old/US-Admin/CVS/Repository Sat Dec 8 22:55:24 2001 @@ -0,0 +1 @@ +hybrid7-bg/doc/old/US-Admin diff -uNrd ircd-hybrid-7beta5/doc/old/US-Admin/CVS/Root ircd-7+FreeBg-p3/doc/old/US-Admin/CVS/Root --- ircd-hybrid-7beta5/doc/old/US-Admin/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/doc/old/US-Admin/CVS/Root Sat Dec 8 22:55:24 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/doc/old/example_old.conf ircd-7+FreeBg-p3/doc/old/example_old.conf --- ircd-hybrid-7beta5/doc/old/example_old.conf Fri Dec 22 22:32:23 2000 +++ ircd-7+FreeBg-p3/doc/old/example_old.conf Tue Jun 5 12:35:43 2001 @@ -2,7 +2,7 @@ # IRC - Internet Relay Chat, doc/example.conf # Copyright (C) 1992, Bill Wisner # -# $Id: example_old.conf,v 1.1 2000/12/23 03:32:23 db Exp $ +# $Id: example_old.conf,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ # # Example of an old style ircd.conf file, which h7 will not parse # but is kept here for historical interest diff -uNrd ircd-hybrid-7beta5/doc/old/simple.conf ircd-7+FreeBg-p3/doc/old/simple.conf --- ircd-hybrid-7beta5/doc/old/simple.conf Fri Dec 22 22:32:23 2000 +++ ircd-7+FreeBg-p3/doc/old/simple.conf Tue Jun 5 12:35:43 2001 @@ -1,7 +1,7 @@ # IRC minimal example configuration file # -# $Id: simple.conf,v 1.1 2000/12/23 03:32:23 db Exp $ -# $Id: simple.conf,v 1.1 2000/12/23 03:32:23 db Exp $ +# $Id: simple.conf,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ +# $Id: simple.conf,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ # # This is a basic ircd.conf that will get you up and running with # little or no modifications. See the example.conf file for more diff -uNrd ircd-hybrid-7beta5/doc/opers.txt ircd-7+FreeBg-p3/doc/opers.txt --- ircd-hybrid-7beta5/doc/opers.txt Mon Apr 30 10:29:38 2001 +++ ircd-7+FreeBg-p3/doc/opers.txt Sun Feb 17 01:35:45 2002 @@ -1,5 +1,5 @@ This file outlines the features that ircd-hybrid has for IRC Operators. -$Id: opers.txt,v 7.20 2001/04/30 14:29:38 jdc Exp $ +$Id: opers.txt,v 1.5 2002/02/17 05:28:53 demond Exp $ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= @@ -27,6 +27,9 @@ * +a - Is marked as a server admin in whois. * +e - Can see possible drone warnings +g - "caller id" mode only allow accept clients to message you + +T - Cyrillic to latin character translation (Windows-1251) + +Y - Cyrillic to latin character translation (ISO-8859-5) + +R - Accept PRIVMSGs from registered nicks only For +g: /QUOTE ACCEPT -- Add a permitted nickname /QUOTE ACCEPT - -- Remove a permitted nickname @@ -72,6 +75,7 @@ p - Shows opers connected and their idle times * q - Shows quarantined nicks (Old Q: lines) * r - Shows resource usage by ircd + * R - Shows configured relay servers * s - Shows the server cache * t - Shows generic server stats * U - Shows shared blocks (Old U: lines) @@ -79,7 +83,9 @@ * v - Shows connected servers and their idle times * x - Shows gecos bans (Old X: lines) * y - Shows Y lines + * Y - Shows equivalent nicks * z - Shows memory stats + * Z - Shows services blocks * ? - Shows connected servers and sendq info about them CONNECT - CONNECT [port] [server_B] diff -uNrd ircd-hybrid-7beta5/doc/send.txt ircd-7+FreeBg-p3/doc/send.txt --- ircd-hybrid-7beta5/doc/send.txt Sat Feb 10 13:24:30 2001 +++ ircd-7+FreeBg-p3/doc/send.txt Tue Jun 5 12:35:42 2001 @@ -290,4 +290,4 @@ -- Diane Bruce -$Id: send.txt,v 1.16 2001/02/10 18:24:30 fl_ Exp $ +$Id: send.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ diff -uNrd ircd-hybrid-7beta5/doc/server-version-info ircd-7+FreeBg-p3/doc/server-version-info --- ircd-hybrid-7beta5/doc/server-version-info Sun Feb 18 00:44:45 2001 +++ ircd-7+FreeBg-p3/doc/server-version-info Tue Jun 5 12:35:42 2001 @@ -1,4 +1,4 @@ -$Id: server-version-info,v 7.10 2001/02/18 05:44:45 wcampbel Exp $ +$Id: server-version-info,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ Updated for Hybrid 7 (2000/12/28) When you type /version you will often see something like this: diff -uNrd ircd-hybrid-7beta5/doc/simple.conf ircd-7+FreeBg-p3/doc/simple.conf --- ircd-hybrid-7beta5/doc/simple.conf Wed Jan 24 09:58:45 2001 +++ ircd-7+FreeBg-p3/doc/simple.conf Tue Jun 5 12:35:42 2001 @@ -1,6 +1,6 @@ # Hybrid 7 minimal example configuration file # -# $Id: simple.conf,v 7.6 2001/01/24 14:58:45 wcampbel Exp $ +# $Id: simple.conf,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ # # This is a basic ircd.conf that will get your server running with # little modification. See the example.conf for more specific diff -uNrd ircd-hybrid-7beta5/doc/users.txt ircd-7+FreeBg-p3/doc/users.txt --- ircd-hybrid-7beta5/doc/users.txt Wed Apr 18 08:54:15 2001 +++ ircd-7+FreeBg-p3/doc/users.txt Tue Jun 5 12:35:42 2001 @@ -1,5 +1,5 @@ This file outlines the features that ircd-hybrid supports for users. -$Id: users.txt,v 1.1 2001/04/18 12:54:15 fl_ Exp $ +$Id: users.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ =-=-=-=-=-=-=-=-= USERMODES diff -uNrd ircd-hybrid-7beta5/doc/vchans.txt ircd-7+FreeBg-p3/doc/vchans.txt --- ircd-hybrid-7beta5/doc/vchans.txt Sat Nov 4 22:01:02 2000 +++ ircd-7+FreeBg-p3/doc/vchans.txt Tue Jun 5 12:35:42 2001 @@ -1,4 +1,4 @@ -$Id: vchans.txt,v 1.1 2000/11/05 03:01:02 db Exp $ +$Id: vchans.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ "Virtual Channels" ====================== diff -uNrd ircd-hybrid-7beta5/doc/whats-new-code.txt ircd-7+FreeBg-p3/doc/whats-new-code.txt --- ircd-hybrid-7beta5/doc/whats-new-code.txt Wed Jan 24 09:58:45 2001 +++ ircd-7+FreeBg-p3/doc/whats-new-code.txt Tue Jun 5 12:35:42 2001 @@ -1,7 +1,7 @@ Whats changed in the codebase -# $Id: whats-new-code.txt,v 1.2 2001/01/24 14:58:45 wcampbel Exp $ +# $Id: whats-new-code.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ First, please note one thing - a *LOT* has changed in hybrid-7. diff -uNrd ircd-hybrid-7beta5/doc/whats-new.txt ircd-7+FreeBg-p3/doc/whats-new.txt --- ircd-hybrid-7beta5/doc/whats-new.txt Thu Mar 15 06:19:30 2001 +++ ircd-7+FreeBg-p3/doc/whats-new.txt Tue Jun 5 12:35:42 2001 @@ -199,5 +199,5 @@ AOPS - Supports anonymous channel ops (channel mode +a) UID - Unique user-ID support -# $Id: whats-new.txt,v 7.22 2001/03/15 11:19:30 fl_ Exp $ +# $Id: whats-new.txt,v 1.1.1.1 2001/06/05 16:35:42 demond Exp $ diff -uNrd ircd-hybrid-7beta5/gnats/CVS/Entries ircd-7+FreeBg-p3/gnats/CVS/Entries --- ircd-hybrid-7beta5/gnats/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/gnats/CVS/Entries Sat Dec 8 22:55:24 2001 @@ -0,0 +1,4 @@ +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:43 2001// +/leguin/1.1.1.1/Tue Jun 5 16:35:43 2001// +/send-pr.in/1.1.1.1/Tue Jun 5 16:35:43 2001// +D diff -uNrd ircd-hybrid-7beta5/gnats/CVS/Repository ircd-7+FreeBg-p3/gnats/CVS/Repository --- ircd-hybrid-7beta5/gnats/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/gnats/CVS/Repository Sat Dec 8 22:55:24 2001 @@ -0,0 +1 @@ +hybrid7-bg/gnats diff -uNrd ircd-hybrid-7beta5/gnats/CVS/Root ircd-7+FreeBg-p3/gnats/CVS/Root --- ircd-hybrid-7beta5/gnats/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/gnats/CVS/Root Sat Dec 8 22:55:24 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/gnats/send-pr.in ircd-7+FreeBg-p3/gnats/send-pr.in --- ircd-hybrid-7beta5/gnats/send-pr.in Wed Dec 20 19:16:28 2000 +++ ircd-7+FreeBg-p3/gnats/send-pr.in Tue Jun 5 12:35:43 2001 @@ -20,7 +20,7 @@ # along with GNU GNATS; see the file COPYING. If not, write to # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. # -# $Id: send-pr.in,v 1.1 2000/12/21 00:16:28 ejb Exp $ +# $Id: send-pr.in,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ # The version of this send-pr. VERSION=3.113 diff -uNrd ircd-hybrid-7beta5/iauth/CVS/Entries ircd-7+FreeBg-p3/iauth/CVS/Entries --- ircd-hybrid-7beta5/iauth/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/iauth/CVS/Entries Sat Dec 8 22:55:26 2001 @@ -0,0 +1,3 @@ +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:43 2001// +D/include//// +D/source//// diff -uNrd ircd-hybrid-7beta5/iauth/CVS/Repository ircd-7+FreeBg-p3/iauth/CVS/Repository --- ircd-hybrid-7beta5/iauth/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/iauth/CVS/Repository Sat Dec 8 22:55:25 2001 @@ -0,0 +1 @@ +hybrid7-bg/iauth diff -uNrd ircd-hybrid-7beta5/iauth/CVS/Root ircd-7+FreeBg-p3/iauth/CVS/Root --- ircd-hybrid-7beta5/iauth/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/iauth/CVS/Root Sat Dec 8 22:55:25 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/iauth/Makefile.in ircd-7+FreeBg-p3/iauth/Makefile.in --- ircd-hybrid-7beta5/iauth/Makefile.in Sun Dec 17 21:01:34 2000 +++ ircd-7+FreeBg-p3/iauth/Makefile.in Tue Jun 5 12:35:43 2001 @@ -1,5 +1,5 @@ # IAuth Makefile (C) Patrick Alken 1999 -# $Id: Makefile.in,v 7.6 2000/12/18 02:01:34 cosine Exp $ +# $Id: Makefile.in,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ CC = @CC@ CFLAGS = @CFLAGS@ diff -uNrd ircd-hybrid-7beta5/iauth/include/CVS/Entries ircd-7+FreeBg-p3/iauth/include/CVS/Entries --- ircd-hybrid-7beta5/iauth/include/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/iauth/include/CVS/Entries Sat Dec 8 22:55:25 2001 @@ -0,0 +1,13 @@ +/auth.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/class.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/commands.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/conf.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/iauth.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/log.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/match.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/misc.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/mtree.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/res.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/setup.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/sock.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +D diff -uNrd ircd-hybrid-7beta5/iauth/include/CVS/Repository ircd-7+FreeBg-p3/iauth/include/CVS/Repository --- ircd-hybrid-7beta5/iauth/include/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/iauth/include/CVS/Repository Sat Dec 8 22:55:25 2001 @@ -0,0 +1 @@ +hybrid7-bg/iauth/include diff -uNrd ircd-hybrid-7beta5/iauth/include/CVS/Root ircd-7+FreeBg-p3/iauth/include/CVS/Root --- ircd-hybrid-7beta5/iauth/include/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/iauth/include/CVS/Root Sat Dec 8 22:55:25 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/iauth/include/auth.h ircd-7+FreeBg-p3/iauth/include/auth.h --- ircd-hybrid-7beta5/iauth/include/auth.h Tue Jan 4 19:20:01 2000 +++ ircd-7+FreeBg-p3/iauth/include/auth.h Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: auth.h,v 7.5 2000/01/05 00:20:01 wnder Exp $ + * $Id: auth.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_auth_h diff -uNrd ircd-hybrid-7beta5/iauth/include/class.h ircd-7+FreeBg-p3/iauth/include/class.h --- ircd-hybrid-7beta5/iauth/include/class.h Tue Jan 4 19:20:02 2000 +++ ircd-7+FreeBg-p3/iauth/include/class.h Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: class.h,v 7.2 2000/01/05 00:20:02 wnder Exp $ + * $Id: class.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_class_h diff -uNrd ircd-hybrid-7beta5/iauth/include/commands.h ircd-7+FreeBg-p3/iauth/include/commands.h --- ircd-hybrid-7beta5/iauth/include/commands.h Tue Jan 4 19:20:02 2000 +++ ircd-7+FreeBg-p3/iauth/include/commands.h Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: commands.h,v 7.2 2000/01/05 00:20:02 wnder Exp $ + * $Id: commands.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_commands_h diff -uNrd ircd-hybrid-7beta5/iauth/include/conf.h ircd-7+FreeBg-p3/iauth/include/conf.h --- ircd-hybrid-7beta5/iauth/include/conf.h Tue Jan 4 19:20:02 2000 +++ ircd-7+FreeBg-p3/iauth/include/conf.h Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: conf.h,v 7.4 2000/01/05 00:20:02 wnder Exp $ + * $Id: conf.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_conf_h diff -uNrd ircd-hybrid-7beta5/iauth/include/iauth.h ircd-7+FreeBg-p3/iauth/include/iauth.h --- ircd-hybrid-7beta5/iauth/include/iauth.h Sun Dec 17 21:01:39 2000 +++ ircd-7+FreeBg-p3/iauth/include/iauth.h Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: iauth.h,v 7.5 2000/12/18 02:01:39 cosine Exp $ + * $Id: iauth.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_iauth_h diff -uNrd ircd-hybrid-7beta5/iauth/include/log.h ircd-7+FreeBg-p3/iauth/include/log.h --- ircd-hybrid-7beta5/iauth/include/log.h Sun Dec 17 21:01:39 2000 +++ ircd-7+FreeBg-p3/iauth/include/log.h Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: log.h,v 7.1 2000/12/18 02:01:39 cosine Exp $ + * $Id: log.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_log_h diff -uNrd ircd-hybrid-7beta5/iauth/include/match.h ircd-7+FreeBg-p3/iauth/include/match.h --- ircd-hybrid-7beta5/iauth/include/match.h Sun Dec 17 21:01:39 2000 +++ ircd-7+FreeBg-p3/iauth/include/match.h Tue Jun 5 12:35:43 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: match.h,v 7.1 2000/12/18 02:01:39 cosine Exp $ + * $Id: match.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_match_h #define INCLUDED_match_h diff -uNrd ircd-hybrid-7beta5/iauth/include/misc.h ircd-7+FreeBg-p3/iauth/include/misc.h --- ircd-hybrid-7beta5/iauth/include/misc.h Mon Sep 13 15:16:09 1999 +++ ircd-7+FreeBg-p3/iauth/include/misc.h Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: misc.h,v 7.3 1999/09/13 19:16:09 wnder Exp $ + * $Id: misc.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_misc_h diff -uNrd ircd-hybrid-7beta5/iauth/include/mtree.h ircd-7+FreeBg-p3/iauth/include/mtree.h --- ircd-hybrid-7beta5/iauth/include/mtree.h Sun Jan 9 00:59:10 2000 +++ ircd-7+FreeBg-p3/iauth/include/mtree.h Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: mtree.h,v 7.5 2000/01/09 05:59:10 wnder Exp $ + * $Id: mtree.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_mtree_h diff -uNrd ircd-hybrid-7beta5/iauth/include/res.h ircd-7+FreeBg-p3/iauth/include/res.h --- ircd-hybrid-7beta5/iauth/include/res.h Fri Sep 10 14:14:30 1999 +++ ircd-7+FreeBg-p3/iauth/include/res.h Tue Jun 5 12:35:43 2001 @@ -1,7 +1,7 @@ /* * iauth/res.h (C)opyright 1992 Darren Reed. * - * $Id: res.h,v 7.2 1999/09/10 18:14:30 wnder Exp $ + * $Id: res.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_res_h diff -uNrd ircd-hybrid-7beta5/iauth/include/sock.h ircd-7+FreeBg-p3/iauth/include/sock.h --- ircd-hybrid-7beta5/iauth/include/sock.h Tue Jan 4 19:20:03 2000 +++ ircd-7+FreeBg-p3/iauth/include/sock.h Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: sock.h,v 7.4 2000/01/05 00:20:03 wnder Exp $ + * $Id: sock.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_sock_h diff -uNrd ircd-hybrid-7beta5/iauth/source/CVS/Entries ircd-7+FreeBg-p3/iauth/source/CVS/Entries --- ircd-hybrid-7beta5/iauth/source/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/iauth/source/CVS/Entries Sat Dec 8 22:55:26 2001 @@ -0,0 +1,14 @@ +/.depend/1.1.1.1/Tue Jun 5 16:35:43 2001// +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:43 2001// +/auth.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +/class.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +/commands.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +/conf.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +/iauth.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +/log.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +/match.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +/misc.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +/mtree.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +/res.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +/sock.c/1.1.1.1/Tue Jun 5 16:35:43 2001// +D diff -uNrd ircd-hybrid-7beta5/iauth/source/CVS/Repository ircd-7+FreeBg-p3/iauth/source/CVS/Repository --- ircd-hybrid-7beta5/iauth/source/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/iauth/source/CVS/Repository Sat Dec 8 22:55:25 2001 @@ -0,0 +1 @@ +hybrid7-bg/iauth/source diff -uNrd ircd-hybrid-7beta5/iauth/source/CVS/Root ircd-7+FreeBg-p3/iauth/source/CVS/Root --- ircd-hybrid-7beta5/iauth/source/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/iauth/source/CVS/Root Sat Dec 8 22:55:25 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/iauth/source/Makefile.in ircd-7+FreeBg-p3/iauth/source/Makefile.in --- ircd-hybrid-7beta5/iauth/source/Makefile.in Sat Mar 31 13:12:30 2001 +++ ircd-7+FreeBg-p3/iauth/source/Makefile.in Tue Jun 5 12:35:43 2001 @@ -1,7 +1,7 @@ # # Makefile.in for ircd/iauth # -# $Id: Makefile.in,v 7.8 2001/03/31 18:12:30 ejb Exp $ +# $Id: Makefile.in,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ # CC = @CC@ RM = @RM@ diff -uNrd ircd-hybrid-7beta5/iauth/source/auth.c ircd-7+FreeBg-p3/iauth/source/auth.c --- ircd-hybrid-7beta5/iauth/source/auth.c Sat Jan 8 16:38:48 2000 +++ ircd-7+FreeBg-p3/iauth/source/auth.c Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: auth.c,v 7.7 2000/01/08 21:38:48 wnder Exp $ + * $Id: auth.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/iauth/source/class.c ircd-7+FreeBg-p3/iauth/source/class.c --- ircd-hybrid-7beta5/iauth/source/class.c Tue Jan 4 19:20:06 2000 +++ ircd-7+FreeBg-p3/iauth/source/class.c Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: class.c,v 7.2 2000/01/05 00:20:06 wnder Exp $ + * $Id: class.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/iauth/source/commands.c ircd-7+FreeBg-p3/iauth/source/commands.c --- ircd-hybrid-7beta5/iauth/source/commands.c Tue Jan 4 19:20:06 2000 +++ ircd-7+FreeBg-p3/iauth/source/commands.c Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: commands.c,v 7.3 2000/01/05 00:20:06 wnder Exp $ + * $Id: commands.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/iauth/source/conf.c ircd-7+FreeBg-p3/iauth/source/conf.c --- ircd-hybrid-7beta5/iauth/source/conf.c Sat Jan 8 16:38:49 2000 +++ ircd-7+FreeBg-p3/iauth/source/conf.c Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: conf.c,v 7.6 2000/01/08 21:38:49 wnder Exp $ + * $Id: conf.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/iauth/source/iauth.c ircd-7+FreeBg-p3/iauth/source/iauth.c --- ircd-hybrid-7beta5/iauth/source/iauth.c Tue Jan 4 19:20:07 2000 +++ ircd-7+FreeBg-p3/iauth/source/iauth.c Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: iauth.c,v 7.4 2000/01/05 00:20:07 wnder Exp $ + * $Id: iauth.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/iauth/source/log.c ircd-7+FreeBg-p3/iauth/source/log.c --- ircd-hybrid-7beta5/iauth/source/log.c Sun Dec 17 21:01:40 2000 +++ ircd-7+FreeBg-p3/iauth/source/log.c Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: log.c,v 1.1 2000/12/18 02:01:40 cosine Exp $ + * $Id: log.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/iauth/source/match.c ircd-7+FreeBg-p3/iauth/source/match.c --- ircd-hybrid-7beta5/iauth/source/match.c Sun Dec 17 21:01:40 2000 +++ ircd-7+FreeBg-p3/iauth/source/match.c Tue Jun 5 12:35:43 2001 @@ -22,7 +22,7 @@ * Cleanup of collapse and match * Moved static calls variable to match * Added asserts for null pointers - * $Id: match.c,v 1.1 2000/12/18 02:01:40 cosine Exp $ + * $Id: match.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ * */ diff -uNrd ircd-hybrid-7beta5/iauth/source/misc.c ircd-7+FreeBg-p3/iauth/source/misc.c --- ircd-hybrid-7beta5/iauth/source/misc.c Tue Jan 4 19:20:07 2000 +++ ircd-7+FreeBg-p3/iauth/source/misc.c Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: misc.c,v 7.4 2000/01/05 00:20:07 wnder Exp $ + * $Id: misc.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/iauth/source/mtree.c ircd-7+FreeBg-p3/iauth/source/mtree.c --- ircd-hybrid-7beta5/iauth/source/mtree.c Sun Jan 9 14:49:49 2000 +++ ircd-7+FreeBg-p3/iauth/source/mtree.c Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: mtree.c,v 7.7 2000/01/09 19:49:49 wnder Exp $ + * $Id: mtree.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ /* diff -uNrd ircd-hybrid-7beta5/iauth/source/res.c ircd-7+FreeBg-p3/iauth/source/res.c --- ircd-hybrid-7beta5/iauth/source/res.c Tue Jan 9 20:00:22 2001 +++ ircd-7+FreeBg-p3/iauth/source/res.c Tue Jun 5 12:35:43 2001 @@ -4,7 +4,7 @@ * shape or form. The author takes no responsibility for any damage or loss * of property which results from the use of this software. * - * $Id: res.c,v 7.4 2001/01/10 01:00:22 toot Exp $ + * $Id: res.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ * * July 1999 - Rewrote a bunch of stuff here. Change hostent builder code, * added callbacks and reference counting of returned hostents. diff -uNrd ircd-hybrid-7beta5/iauth/source/sock.c ircd-7+FreeBg-p3/iauth/source/sock.c --- ircd-hybrid-7beta5/iauth/source/sock.c Sat Jan 8 16:38:51 2000 +++ ircd-7+FreeBg-p3/iauth/source/sock.c Tue Jun 5 12:35:43 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: sock.c,v 7.7 2000/01/08 21:38:51 wnder Exp $ + * $Id: sock.c,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/include/CVS/Entries ircd-7+FreeBg-p3/include/CVS/Entries --- ircd-hybrid-7beta5/include/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/include/CVS/Entries Sat Feb 23 15:05:48 2002 @@ -0,0 +1,63 @@ +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:43 2001// +/class.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/client.h/1.5/Tue Dec 4 04:20:05 2001// +/common.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/config.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/config.h.dist/1.1.1.1/Tue Jun 5 16:35:43 2001// +/debug.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/dline_conf.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/event.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/fdlist.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/fileio.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/handlers.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/hash.h/1.3/Sun Nov 4 21:07:08 2001// +/hook.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/hostmask.h/1.2/Mon Jul 2 04:10:33 2001// +/irc_string.h/1.1.1.1/Tue Jun 5 16:35:43 2001// +/ircd.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircd_defs.h/1.2/Sun Jun 17 01:21:58 2001// +/ircd_getopt.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircd_handler.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircd_signal.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircdauth.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/linebuf.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/list.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/listener.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_info.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_kline.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/md5.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/memory.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/modules.h/1.3/Sun Sep 9 12:14:02 2001// +/motd.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/msg.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/packet.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/parse.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/patchlevel.h/1.2/Sun Jun 17 01:24:16 2001// +/patricia.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/res.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/restart.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/rsa.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/s_auth.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/s_bsd.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/s_debug.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/s_gline.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/s_log.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/s_misc.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/s_serv.h/1.3/Tue Aug 28 10:54:34 2001// +/s_stats.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/s_user.h/1.2/Sun Jun 17 01:25:01 2001// +/s_zip.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/scache.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/send.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/setup.h.in/1.1.1.1/Tue Jun 5 16:35:44 2001// +/setup.h_vms/1.1.1.1/Tue Jun 5 16:35:44 2001// +/sprintf_irc.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/tools.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/vchannel.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/whowas.h/1.1.1.1/Tue Jun 5 16:35:44 2001// +/channel.h/1.9/Sun Feb 17 06:35:46 2002// +/numeric.h/1.9/Sun Feb 17 06:35:46 2002// +/supported.h/1.5/Sun Feb 17 06:35:46 2002// +/s_conf.h/1.8/Sat Feb 23 20:05:48 2002// +/serno.h/1.20/Sat Feb 23 20:05:48 2002// +D diff -uNrd ircd-hybrid-7beta5/include/CVS/Repository ircd-7+FreeBg-p3/include/CVS/Repository --- ircd-hybrid-7beta5/include/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/include/CVS/Repository Sat Dec 8 22:55:26 2001 @@ -0,0 +1 @@ +hybrid7-bg/include diff -uNrd ircd-hybrid-7beta5/include/CVS/Root ircd-7+FreeBg-p3/include/CVS/Root --- ircd-hybrid-7beta5/include/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/include/CVS/Root Sat Dec 8 22:55:26 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/include/channel.h ircd-7+FreeBg-p3/include/channel.h --- ircd-hybrid-7beta5/include/channel.h Mon May 14 06:08:54 2001 +++ ircd-7+FreeBg-p3/include/channel.h Sun Feb 17 01:35:46 2002 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: channel.h,v 7.69 2001/05/14 10:08:54 toot Exp $ + * $Id: channel.h,v 1.9 2002/02/17 05:29:11 demond Exp $ */ #include /* time_t */ @@ -43,6 +43,23 @@ char key[KEYLEN + 1]; }; +/* used for pacing JOINs, PARTs and PRIVMSGs/NOTICEs to channel + * -demond + */ +struct Pace +{ + struct Pace *next; + int shownames; /* if nonzero, show names to client on JOIN */ + /* buffer len on NICK/QUIT notification */ + char *text; /* message text on chanmsg */ + /* send buffer on NICK/QUIT notification */ + + char nick[NICKLEN+1]; /* nick-originator on JOIN/PART or "command" */ + char user[HOSTLEN+1]; /* username on JOIN/PART or "butone" on chanmsg */ + char host[HOSTLEN+1]; /* host on JOIN/PART or originator on chanmsg */ + char chan[1]; +}; + /* channel structure */ struct Channel @@ -73,6 +90,14 @@ dlink_list exceptlist; dlink_list invexlist; + struct Pace *joinh, *joint; /* pace JOIN list head, tail */ + struct Pace *parth, *partt; /* pace PART list head, tail */ + int joins, parts; /* pace counters */ + + struct Pace *msgh, *msgt; /* pace chanmsg list head, tail */ + struct Pace *sendh, *sendt; /* pace NICK/QUIT list head, tail */ + int msgs, sends; /* pace counters */ + time_t first_received_message_time; /* channel flood control */ int received_number_of_privmsgs; int flood_noticed; @@ -85,6 +110,7 @@ extern struct Channel *GlobalChannelList; void cleanup_channels(void *); +void pace_channels(void *); #define CREATE 1 /* whether a channel should be created or just tested for existence */ @@ -152,6 +178,11 @@ struct Channel *chptr, struct Client *source_p); +extern void add_pace(struct Channel *, struct Client *, char *, int, int); +extern void add_pace_msg(struct Channel *, struct Client *, struct Client *, char *, char *); +extern void add_pace_send(struct Channel *, char *, int); +extern void sendto_chanlists_local(struct Channel *, char *, int); + /* ** Channel Related macros follow */ @@ -161,6 +192,7 @@ #define CAN_SEND_NONOP 1 #define CAN_SEND_OPV 2 +#define CAN_SEND_NOTREG 3 /* nonreg nicks cannot send to +M chans */ /* Channel related flags */ @@ -182,6 +214,9 @@ #define MODE_DEOPPED CHFL_DEOPPED /* channel modes ONLY */ +#define MODE_REGCHAN 0x0001 /* channel is registered with services */ +#define MODE_REGNICKS 0x0002 /* only registered nicknames can join */ + #define MODE_PRIVATE 0x0008 #define MODE_SECRET 0x0010 #define MODE_MODERATED 0x0020 @@ -191,10 +226,16 @@ #define MODE_KEY 0x0200 #define MODE_BAN 0x0400 #define MODE_EXCEPTION 0x0800 + +#define MODE_NOCOLOR 0x1000 /* strip mIRC & ANSI color */ #define MODE_INVEX 0x2000 #define MODE_HIDEOPS 0x4000 #define MODE_LIMIT 0x8000 /* was 0x8000 */ +#define MODE_REGSPEAK 0x10000 /* only registered nicknames may speak */ +#define MODE_PACE 0x20000 /* pacing JOIN, PART, PRIVMSG and QUIT */ + +#define MODE_CYRNICKS 0x40000 /* cyrillic nicks are NOT allowed to join */ /* * mode flags which take another parameter (With PARAmeterS) */ @@ -221,6 +262,18 @@ #define SecretChannel(x) ((x) && ((x)->mode.mode & MODE_SECRET)) /* channel not shown but names are */ #define HiddenChannel(x) ((x) && ((x)->mode.mode & MODE_PRIVATE)) + +/* colors stripped from chanmsgs, notices, ctcps, quits */ +#define NoColorChannel(x) ((x) && ((x)->mode.mode & MODE_NOCOLOR)) + +#define RegNicksOnlyChannel(x) ((x) && ((x)->mode.mode & MODE_REGNICKS)) +#define RegsMaySpeakChannel(x) ((x) && ((x)->mode.mode & MODE_REGSPEAK)) + +#define NoCyrNicksChannel(x) ((x) && ((x)->mode.mode & MODE_CYRNICKS)) + +/* we are pacing JOINs, PARTs, PRIVMSGs and QUITs sent to the channel */ +#define PaceChannel(x) ((x) && ((x)->mode.mode & MODE_PACE)) + /* channel visible */ #define ShowChannel(v,c) (PubChannel(c) || IsMember((v),(c))) #define PubChannel(x) ((!x) || ((x)->mode.mode &\ @@ -239,8 +292,29 @@ } aBan; #define CLEANUP_CHANNELS_TIME (30*60) +#define PACE_CHANNELS_TIME 1 /* pace queue flush frequency */ + #define MAX_VCHAN_TIME (60*60) /* Number of chanops, peon, voiced, halfops sublists */ #define MAX_SUBLISTS 4 -#endif /* INCLUDED_channel_h */ +#define MAX_PACEJOIN 100 /* max number of events in pace queue */ +#define MAX_PACEMSG 100 +#define MAX_PACESEND 100 +extern char *strip_color(const char *, int); + +/* + * we don't need this anymore... -demond + * +#define strip_color(x) if (x) {\ + char *p = x, *q = x;\ + if (strchr(x, '\003') || strchr(x, '\033'))\ + do {\ + if ((*q == '\003') || (*q == '\033'))\ + ++q;\ + }\ + while (*p++ = *q++);\ + } +*/ + +#endif /* INCLUDED_channel_h */ diff -uNrd ircd-hybrid-7beta5/include/class.h ircd-7+FreeBg-p3/include/class.h --- ircd-hybrid-7beta5/include/class.h Thu Dec 21 15:05:37 2000 +++ ircd-7+FreeBg-p3/include/class.h Tue Jun 5 12:35:43 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: class.h,v 7.8 2000/12/21 20:05:37 db Exp $ */ +/* $Id: class.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_class_h #define INCLUDED_class_h diff -uNrd ircd-hybrid-7beta5/include/client.h ircd-7+FreeBg-p3/include/client.h --- ircd-hybrid-7beta5/include/client.h Wed May 9 04:08:16 2001 +++ ircd-7+FreeBg-p3/include/client.h Fri Nov 22 10:25:43 2002 @@ -17,7 +17,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * - * $Id: client.h,v 7.110 2001/05/09 08:08:16 a1kmm Exp $ + * $Id: client.h,v 1.5 2001/12/04 04:20:05 demond Exp $ */ #ifndef INCLUDED_client_h #define INCLUDED_client_h @@ -61,6 +61,7 @@ #define CLIENT_BUFSIZE 512 /* must be at least 512 bytes */ +#define SERVICESHOST "united.bgfree.services" /* * pre declare structs */ @@ -136,6 +137,9 @@ unsigned int umodes; /* opers, normal users subset */ unsigned int flags; /* client flags */ unsigned int flags2; /* ugh. overflow */ + + unsigned int svsflags; /* services flags */ + int fd; /* >= 0, for local clients */ int zipfd; /* For ZipLinks. This is actually the network fd, rather than the fd to the zip * process. This way all of the code just reads and writes from the ziplink process. @@ -176,6 +180,11 @@ */ char host[HOSTLEN + 1]; /* client's hostname */ /* + * this contains client's real host, whereas host[] field + * is modified (in register_local_user) to store masked hostname + */ + char realhost[HOSTLEN + 1]; + /* * client->info for unix clients will normally contain the info from the * gcos field in /etc/passwd but anything can go here. */ @@ -379,12 +388,18 @@ #define FLAGS_UNAUTH 0x8000 /* show unauth connects here */ #define FLAGS_DRONE 0x10000 /* show drone connects */ #define FLAGS_LOCOPS 0x20000 /* show locops */ + #define FLAGS_PERSISTANT 0x100000 /* persist on close. */ +#define FLAGS_TRANSWIN 0x200000 /* translate cyrillic Windows-1251 */ +#define FLAGS_TRANSISO 0x400000 /* translate cyrillic ISO-8859-5 */ +#define FLAGS_REGACCEPT 0x800000 /* accepting from reg nicks only */ /* user information flags, only settable by remote mode or local oper */ #define FLAGS_OPER 0x40000 /* Operator */ #define FLAGS_ADMIN 0x80000 /* Admin on server */ +#define FLAGS_SVS_IDENT 0x0001 /* client has identified with services */ +#define FLAGS_SVS_ADMIN 0x0002 /* client has identified as services admin */ #define FLAGS_ALL FLAGS_SERVNOTICE #define FLAGS_NOTADMIN FLAGS_OPER @@ -433,7 +448,8 @@ FLAGS_NCHANGE | FLAGS_OPERWALL | FLAGS_DEBUG | \ FLAGS_BOTS | FLAGS_EXTERNAL | FLAGS_DRONE | \ FLAGS_ADMIN | FLAGS_UNAUTH | FLAGS_CALLERID | \ - FLAGS_LOCOPS | FLAGS_PERSISTANT) + FLAGS_LOCOPS | FLAGS_PERSISTANT | \ + FLAGS_TRANSWIN | FLAGS_TRANSISO | FLAGS_REGACCEPT) #define FLAGS_ID (FLAGS_NEEDID | FLAGS_GOTID) @@ -488,6 +504,13 @@ #define SetCallerId(x) ((x)->umodes |= FLAGS_CALLERID) #define IsSetCallerId(x) ((x)->umodes & FLAGS_CALLERID) +#define SetTransWin(x) ((x)->umodes |= FLAGS_TRANSWIN) +#define IsSetTransWin(x) ((x)->umodes & FLAGS_TRANSWIN) +#define SetTransISO(x) ((x)->umodes |= FLAGS_TRANSISO) +#define IsSetTransISO(x) ((x)->umodes & FLAGS_TRANSISO) +#define SetRegAccept(x) ((x)->umodes |= FLAGS_REGACCEPT) +#define IsSetRegAccept(x) ((x)->umodes & FLAGS_REGACCEPT) + #define SetIpHash(x) ((x)->flags |= FLAGS_IPHASH) #define ClearIpHash(x) ((x)->flags &= ~FLAGS_IPHASH) #define IsIpHash(x) ((x)->flags & FLAGS_IPHASH) @@ -500,6 +523,10 @@ #define SetGotId(x) ((x)->flags |= FLAGS_GOTID) #define IsGotId(x) (((x)->flags & FLAGS_GOTID) != 0) +#define IsNSId(x) ((x)->svsflags & FLAGS_SVS_IDENT) +#define SetNSId(x) ((x)->svsflags |= FLAGS_SVS_IDENT) +#define ClearNSId(x) ((x)->svsflags &= ~FLAGS_SVS_IDENT) + /* * flags2 macros. */ @@ -590,6 +617,8 @@ extern int change_local_nick(struct Client *client_p, struct Client *source_p, char *nick); extern int clean_nick_name(char* nick); + +extern char *translate(struct Client *client_p, char *buf); #endif /* INCLUDED_client_h */ diff -uNrd ircd-hybrid-7beta5/include/common.h ircd-7+FreeBg-p3/include/common.h --- ircd-hybrid-7beta5/include/common.h Sun Jan 23 16:02:35 2000 +++ ircd-7+FreeBg-p3/include/common.h Tue Jun 5 12:35:43 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: common.h,v 7.2 2000/01/23 21:02:35 db Exp $ + * $Id: common.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_common_h #define INCLUDED_common_h diff -uNrd ircd-hybrid-7beta5/include/config.h ircd-7+FreeBg-p3/include/config.h --- ircd-hybrid-7beta5/include/config.h Sat May 5 09:37:32 2001 +++ ircd-7+FreeBg-p3/include/config.h Tue Jun 5 12:35:43 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: config.h,v 7.107 2001/05/05 13:37:32 fl_ Exp $ + * $Id: config.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_config_h #define INCLUDED_config_h diff -uNrd ircd-hybrid-7beta5/include/config.h.dist ircd-7+FreeBg-p3/include/config.h.dist --- ircd-hybrid-7beta5/include/config.h.dist Mon May 7 11:50:29 2001 +++ ircd-7+FreeBg-p3/include/config.h.dist Tue Jun 5 12:35:43 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: config.h.dist,v 7.44 2001/05/07 15:50:29 toot Exp $ + * $Id: config.h.dist,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_config_h #define INCLUDED_config_h diff -uNrd ircd-hybrid-7beta5/include/dline_conf.h ircd-7+FreeBg-p3/include/dline_conf.h --- ircd-hybrid-7beta5/include/dline_conf.h Mon Apr 9 11:13:57 2001 +++ ircd-7+FreeBg-p3/include/dline_conf.h Tue Jun 5 12:35:43 2001 @@ -1,6 +1,6 @@ /* dline_conf.h -- lets do dlines right shall we? * - * $Id: dline_conf.h,v 7.13 2001/04/09 15:13:57 davidt Exp $ + * $Id: dline_conf.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_dline_conf_h diff -uNrd ircd-hybrid-7beta5/include/event.h ircd-7+FreeBg-p3/include/event.h --- ircd-hybrid-7beta5/include/event.h Thu Apr 19 18:29:37 2001 +++ ircd-7+FreeBg-p3/include/event.h Tue Jun 5 12:35:43 2001 @@ -2,7 +2,7 @@ * event.h - defines for event.c, the event system. This has been ported * from squid by adrian to simplify scheduling events. * - * $Id: event.h,v 1.7 2001/04/19 22:29:37 a1kmm Exp $ + * $Id: event.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef __EVENT_H__ #define __EVENT_H__ diff -uNrd ircd-hybrid-7beta5/include/fdlist.h ircd-7+FreeBg-p3/include/fdlist.h --- ircd-hybrid-7beta5/include/fdlist.h Mon Mar 5 21:22:08 2001 +++ ircd-7+FreeBg-p3/include/fdlist.h Tue Jun 5 12:35:43 2001 @@ -1,7 +1,7 @@ /* * fdlist.h * - * $Id: fdlist.h,v 7.19 2001/03/06 02:22:08 androsyn Exp $ + * $Id: fdlist.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_fdlist_h #define INCLUDED_fdlist_h diff -uNrd ircd-hybrid-7beta5/include/fileio.h ircd-7+FreeBg-p3/include/fileio.h --- ircd-hybrid-7beta5/include/fileio.h Fri Mar 23 05:47:56 2001 +++ ircd-7+FreeBg-p3/include/fileio.h Tue Jun 5 12:35:43 2001 @@ -16,7 +16,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * - * $Id: fileio.h,v 7.7 2001/03/23 10:47:56 ejb Exp $ + * $Id: fileio.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_fileio_h #define INCLUDED_fileio_h diff -uNrd ircd-hybrid-7beta5/include/handlers.h ircd-7+FreeBg-p3/include/handlers.h --- ircd-hybrid-7beta5/include/handlers.h Mon Mar 5 21:22:08 2001 +++ ircd-7+FreeBg-p3/include/handlers.h Tue Jun 5 12:35:43 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: handlers.h,v 7.36 2001/03/06 02:22:08 androsyn Exp $ + * $Id: handlers.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_handlers_h #define INCLUDED_handlers_h diff -uNrd ircd-hybrid-7beta5/include/hash.h ircd-7+FreeBg-p3/include/hash.h --- ircd-hybrid-7beta5/include/hash.h Mon Mar 5 21:04:57 2001 +++ ircd-7+FreeBg-p3/include/hash.h Sun Nov 4 16:07:08 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: hash.h,v 7.8 2001/03/06 02:04:57 androsyn Exp $ + * $Id: hash.h,v 1.3 2001/11/04 21:07:08 demond Exp $ */ #ifndef INCLUDED_hash_h #define INCLUDED_hash_h @@ -49,11 +49,18 @@ }; struct Client *hash_find_id(const char *name, struct Client *client_p); + +extern int services_present(void); +extern struct Client* find_services(void); + extern int add_to_id_hash_table(char *, struct Client *); extern struct HashEntry hash_get_channel_block(int i); extern size_t hash_get_client_table_size(void); extern size_t hash_get_channel_table_size(void); extern void init_hash(void); + +extern void clear_svs_client_hash_table(void); + extern void add_to_client_hash_table(const char* name, struct Client* client); extern void del_from_client_hash_table(const char* name, diff -uNrd ircd-hybrid-7beta5/include/hostmask.h ircd-7+FreeBg-p3/include/hostmask.h --- ircd-hybrid-7beta5/include/hostmask.h Mon May 7 17:27:11 2001 +++ ircd-7+FreeBg-p3/include/hostmask.h Mon Jul 2 00:10:33 2001 @@ -15,7 +15,7 @@ * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * $Id: hostmask.h,v 1.12 2001/05/07 21:27:11 fl_ Exp $ + * $Id: hostmask.h,v 1.2 2001/07/02 04:10:33 demond Exp $ */ enum @@ -40,13 +40,13 @@ int match_ipv6(struct irc_inaddr*, struct irc_inaddr*, int); int match_ipv4(struct irc_inaddr*, struct irc_inaddr*, int); struct ConfItem* find_conf_by_address(const char*, struct irc_inaddr*, - int, int, const char*); + int, int, const char*, char *); void add_conf_by_address(const char*, int, const char*, struct ConfItem*); void delete_one_address_conf(const char*, struct ConfItem*); void clear_out_address_conf(void); void init_host_hash(void); struct ConfItem* find_address_conf(const char*, const char*, - struct irc_inaddr*, int); + struct irc_inaddr*, int, char *); struct ConfItem* find_dline(struct irc_inaddr *, int); void report_dlines(struct Client*); diff -uNrd ircd-hybrid-7beta5/include/irc_string.h ircd-7+FreeBg-p3/include/irc_string.h --- ircd-hybrid-7beta5/include/irc_string.h Wed Mar 14 16:50:04 2001 +++ ircd-7+FreeBg-p3/include/irc_string.h Tue Jun 5 12:35:43 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: irc_string.h,v 7.16 2001/03/14 21:50:04 androsyn Exp $ + * $Id: irc_string.h,v 1.1.1.1 2001/06/05 16:35:43 demond Exp $ */ #ifndef INCLUDED_irc_string_h #define INCLUDED_irc_string_h diff -uNrd ircd-hybrid-7beta5/include/ircd.h ircd-7+FreeBg-p3/include/ircd.h --- ircd-hybrid-7beta5/include/ircd.h Thu May 10 02:30:39 2001 +++ ircd-7+FreeBg-p3/include/ircd.h Tue Jun 5 12:35:44 2001 @@ -19,7 +19,7 @@ * * "ircd.h". - Headers file. * - * $Id: ircd.h,v 7.31 2001/05/10 06:30:39 a1kmm Exp $ + * $Id: ircd.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ * */ #ifndef INCLUDED_ircd_h diff -uNrd ircd-hybrid-7beta5/include/ircd_defs.h ircd-7+FreeBg-p3/include/ircd_defs.h --- ircd-hybrid-7beta5/include/ircd_defs.h Wed Mar 28 00:50:09 2001 +++ ircd-7+FreeBg-p3/include/ircd_defs.h Sat Jun 16 21:21:58 2001 @@ -17,7 +17,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * - * $Id: ircd_defs.h,v 7.19 2001/03/28 05:50:09 db Exp $ + * $Id: ircd_defs.h,v 1.2 2001/06/17 01:21:58 demond Exp $ * * ircd_defs.h - Global size definitions for record entries used * througout ircd. Please think 3 times before adding anything to this @@ -35,7 +35,7 @@ #define HOSTLEN 63 /* Length of hostname. Updated to */ /* comply with RFC1123 */ -#define NICKLEN 9 /* Necessary to put 9 here instead of 10 +#define NICKLEN 15 /* Necessary to put 9 here instead of 10 * if s_msg.c/m_nick has been corrected. * This preserves compatibility with old * servers --msa diff -uNrd ircd-hybrid-7beta5/include/ircd_handler.h ircd-7+FreeBg-p3/include/ircd_handler.h --- ircd-hybrid-7beta5/include/ircd_handler.h Mon Mar 5 21:22:09 2001 +++ ircd-7+FreeBg-p3/include/ircd_handler.h Tue Jun 5 12:35:44 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: ircd_handler.h,v 7.4 2001/03/06 02:22:09 androsyn Exp $ + * $Id: ircd_handler.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_ircd_handler_h #define INCLUDED_ircd_handler_h diff -uNrd ircd-hybrid-7beta5/include/ircd_signal.h ircd-7+FreeBg-p3/include/ircd_signal.h --- ircd-hybrid-7beta5/include/ircd_signal.h Thu Dec 30 15:35:30 1999 +++ ircd-7+FreeBg-p3/include/ircd_signal.h Tue Jun 5 12:35:44 2001 @@ -17,7 +17,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * - * $Id: ircd_signal.h,v 7.1 1999/12/30 20:35:30 db Exp $ + * $Id: ircd_signal.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ * */ #ifndef INCLUDED_ircd_signal_h diff -uNrd ircd-hybrid-7beta5/include/ircdauth.h ircd-7+FreeBg-p3/include/ircdauth.h --- ircd-hybrid-7beta5/include/ircdauth.h Fri Dec 29 23:36:53 2000 +++ ircd-7+FreeBg-p3/include/ircdauth.h Tue Jun 5 12:35:44 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: ircdauth.h,v 7.4 2000/12/30 04:36:53 lusky Exp $ + * $Id: ircdauth.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_ircdauth_h diff -uNrd ircd-hybrid-7beta5/include/list.h ircd-7+FreeBg-p3/include/list.h --- ircd-hybrid-7beta5/include/list.h Thu May 10 02:30:39 2001 +++ ircd-7+FreeBg-p3/include/list.h Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * "list.h". - Headers file. * * - * $Id: list.h,v 7.11 2001/05/10 06:30:39 a1kmm Exp $ + * $Id: list.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ * */ diff -uNrd ircd-hybrid-7beta5/include/listener.h ircd-7+FreeBg-p3/include/listener.h --- ircd-hybrid-7beta5/include/listener.h Mon Feb 26 01:53:46 2001 +++ ircd-7+FreeBg-p3/include/listener.h Tue Jun 5 12:35:44 2001 @@ -16,7 +16,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * - * $Id: listener.h,v 7.7 2001/02/26 06:53:46 androsyn Exp $ + * $Id: listener.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_listener_h #define INCLUDED_listener_h diff -uNrd ircd-hybrid-7beta5/include/m_info.h ircd-7+FreeBg-p3/include/m_info.h --- ircd-hybrid-7beta5/include/m_info.h Mon Mar 19 04:59:55 2001 +++ ircd-7+FreeBg-p3/include/m_info.h Tue Jun 5 12:35:44 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_info.h,v 7.29 2001/03/19 09:59:55 toot Exp $ + * $Id: m_info.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_m_info_h #define INCLUDED_m_info_h diff -uNrd ircd-hybrid-7beta5/include/m_kline.h ircd-7+FreeBg-p3/include/m_kline.h --- ircd-hybrid-7beta5/include/m_kline.h Tue Mar 13 15:38:20 2001 +++ ircd-7+FreeBg-p3/include/m_kline.h Tue Jun 5 12:35:44 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_kline.h,v 7.6 2001/03/13 20:38:20 fl_ Exp $ + * $Id: m_kline.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_m_kline_h #define INCLUDED_m_kline_h diff -uNrd ircd-hybrid-7beta5/include/memory.h ircd-7+FreeBg-p3/include/memory.h --- ircd-hybrid-7beta5/include/memory.h Sat Apr 21 12:01:40 2001 +++ ircd-7+FreeBg-p3/include/memory.h Tue Jun 5 12:35:44 2001 @@ -1,4 +1,4 @@ -/* $Id: memory.h,v 7.15 2001/04/21 16:01:40 toot Exp $ */ +/* $Id: memory.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef _I_MEMORY_H #define _I_MEMORY_H diff -uNrd ircd-hybrid-7beta5/include/modules.h ircd-7+FreeBg-p3/include/modules.h --- ircd-hybrid-7beta5/include/modules.h Wed Apr 4 12:17:38 2001 +++ ircd-7+FreeBg-p3/include/modules.h Sun Sep 9 08:14:02 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: modules.h,v 7.17 2001/04/04 16:17:38 androsyn Exp $ + * $Id: modules.h,v 1.3 2001/09/09 12:14:02 demond Exp $ */ #ifndef INCLUDED_modules_h @@ -122,6 +122,8 @@ extern struct Message squit_msgtab; extern struct Message stats_msgtab; extern struct Message svinfo_msgtab; +extern struct Message svsnick_msgtab; +extern struct Message svshint_msgtab; extern struct Message testline_msgtab; extern struct Message time_msgtab; extern struct Message topic_msgtab; diff -uNrd ircd-hybrid-7beta5/include/motd.h ircd-7+FreeBg-p3/include/motd.h --- ircd-hybrid-7beta5/include/motd.h Sun Jan 21 23:18:17 2001 +++ ircd-7+FreeBg-p3/include/motd.h Tue Jun 5 12:35:44 2001 @@ -1,7 +1,7 @@ /* * motd.h * - * $Id: motd.h,v 7.5 2001/01/22 04:18:17 lusky Exp $ + * $Id: motd.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_motd_h #define INCLUDED_motd_h diff -uNrd ircd-hybrid-7beta5/include/msg.h ircd-7+FreeBg-p3/include/msg.h --- ircd-hybrid-7beta5/include/msg.h Mon Mar 5 21:22:09 2001 +++ ircd-7+FreeBg-p3/include/msg.h Tue Jun 5 12:35:44 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: msg.h,v 7.38 2001/03/06 02:22:09 androsyn Exp $ + * $Id: msg.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_msg_h #define INCLUDED_msg_h diff -uNrd ircd-hybrid-7beta5/include/numeric.h ircd-7+FreeBg-p3/include/numeric.h --- ircd-hybrid-7beta5/include/numeric.h Mon Mar 12 01:36:54 2001 +++ ircd-7+FreeBg-p3/include/numeric.h Thu Nov 21 16:52:19 2002 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: numeric.h,v 7.16 2001/03/12 06:36:54 a1kmm Exp $ + * $Id: numeric.h,v 1.9 2002/02/17 05:29:21 demond Exp $ */ #ifndef INCLUDED_numeric_h #define INCLUDED_numeric_h @@ -121,6 +121,8 @@ * Added ERR_CANNOTSENDTOCHAN... */ +/* -zer0c00l 08 September 2002 added ERR_SERV_NICK to 415 */ + /* * form_str - return a format string for a message number * messages are defined below @@ -176,6 +178,10 @@ #define RPL_STATSDLINE 225 #define RPL_STATSALINE 226 +#define RPL_STATSZLINE 227 +#define RPL_EQUIVALENTS 228 +#define RPL_RELAYS 229 + #define RPL_SERVLIST 234 #define RPL_SERVLISTEND 235 @@ -212,6 +218,8 @@ /* numeric_replies */ +#define RPL_WHOISCYRILLIC 298 /* this nick is cyrillic-encoded */ + #define RPL_NONE 300 #define RPL_AWAY 301 #define RPL_USERHOST 302 @@ -241,6 +249,13 @@ #define RPL_LISTEND 323 #define RPL_CHANNELMODEIS 324 +#define RPL_IDENTUSERS 325 + +#define RPL_WHOISSVSHINT 326 /* identified with services */ +#define RPL_WHOISREALHOST 327 + +#define RPL_SERVCHAN 328 /* hidin' services chans */ + #define RPL_CREATIONTIME 329 #define RPL_NOTOPIC 331 @@ -309,6 +324,8 @@ #define ERR_NOTOPLEVEL 413 #define ERR_WILDTOPLEVEL 414 +#define ERR_SERV_NICK 415 + #define ERR_UNKNOWNCOMMAND 421 #define ERR_NOMOTD 422 #define ERR_NOADMININFO 423 @@ -337,6 +354,10 @@ #define ERR_YOUWILLBEBANNED 466 #define ERR_KEYSET 467 +#define ERR_CANNOTSENDNOTREG 468 /* only reg nicks may speak */ +#define ERR_REGNICKSCHAN 469 /* channel is for reg nicks only */ +#define ERR_NOCYRNICKCHAN 470 /* no cyrillic nicks allowed */ + #define ERR_CHANNELISFULL 471 #define ERR_UNKNOWNMODE 472 #define ERR_INVITEONLYCHAN 473 @@ -354,6 +375,8 @@ #define ERR_BANNEDNICK 485 #define ERR_NOOPERHOST 491 + +#define ERR_REGACCEPTONLY 499 /* accepting from reg nicks only */ #define ERR_UMODEUNKNOWNFLAG 501 #define ERR_USERSDONTMATCH 502 diff -uNrd ircd-hybrid-7beta5/include/packet.h ircd-7+FreeBg-p3/include/packet.h --- ircd-hybrid-7beta5/include/packet.h Thu Apr 19 03:38:07 2001 +++ ircd-7+FreeBg-p3/include/packet.h Tue Jun 5 12:35:44 2001 @@ -19,7 +19,7 @@ * * "packet.h". - Headers file. * - * $Id: packet.h,v 7.10 2001/04/19 07:38:07 a1kmm Exp $ + * $Id: packet.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ * */ #ifndef INCLUDED_packet_h diff -uNrd ircd-hybrid-7beta5/include/parse.h ircd-7+FreeBg-p3/include/parse.h --- ircd-hybrid-7beta5/include/parse.h Mon Feb 5 15:12:30 2001 +++ ircd-7+FreeBg-p3/include/parse.h Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * "parse.h". - Headers file. * * - * $Id: parse.h,v 7.13 2001/02/05 20:12:30 davidt Exp $ + * $Id: parse.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ * */ #ifndef INCLUDED_parse_h_h diff -uNrd ircd-hybrid-7beta5/include/patchlevel.h ircd-7+FreeBg-p3/include/patchlevel.h --- ircd-hybrid-7beta5/include/patchlevel.h Thu May 17 22:33:27 2001 +++ ircd-7+FreeBg-p3/include/patchlevel.h Fri Nov 22 10:42:35 2002 @@ -17,5 +17,5 @@ */ #ifndef PATCHLEVEL -#define PATCHLEVEL "hybrid-7beta5" +#define PATCHLEVEL "hybrid-7+FreeBg-p3" #endif diff -uNrd ircd-hybrid-7beta5/include/patricia.h ircd-7+FreeBg-p3/include/patricia.h --- ircd-hybrid-7beta5/include/patricia.h Mon Apr 9 11:13:57 2001 +++ ircd-7+FreeBg-p3/include/patricia.h Tue Jun 5 12:35:44 2001 @@ -1,5 +1,5 @@ /* - * $Id: patricia.h,v 7.8 2001/04/09 15:13:57 davidt Exp $ + * $Id: patricia.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ * Dave Plonka * * This product includes software developed by the University of Michigan, diff -uNrd ircd-hybrid-7beta5/include/res.h ircd-7+FreeBg-p3/include/res.h --- ircd-hybrid-7beta5/include/res.h Wed Mar 28 00:50:10 2001 +++ ircd-7+FreeBg-p3/include/res.h Tue Jun 5 12:35:44 2001 @@ -1,5 +1,5 @@ /* - * $Id: res.h,v 7.17 2001/03/28 05:50:10 db Exp $ + * $Id: res.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ * New res.h * Aaron Sethman */ diff -uNrd ircd-hybrid-7beta5/include/restart.h ircd-7+FreeBg-p3/include/restart.h --- ircd-hybrid-7beta5/include/restart.h Fri Oct 6 00:26:58 2000 +++ ircd-7+FreeBg-p3/include/restart.h Tue Jun 5 12:35:44 2001 @@ -1,5 +1,5 @@ /* - * $Id: restart.h,v 7.3 2000/10/06 04:26:58 lusky Exp $ + * $Id: restart.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_restart_h diff -uNrd ircd-hybrid-7beta5/include/rsa.h ircd-7+FreeBg-p3/include/rsa.h --- ircd-hybrid-7beta5/include/rsa.h Fri Apr 13 18:39:43 2001 +++ ircd-7+FreeBg-p3/include/rsa.h Tue Jun 5 12:35:44 2001 @@ -19,7 +19,7 @@ * * * - * $Id: rsa.h,v 7.2 2001/04/13 22:39:43 davidt Exp $ + * $Id: rsa.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ int generate_challenge( char ** r_challenge, char ** r_response, char * key ); diff -uNrd ircd-hybrid-7beta5/include/s_auth.h ircd-7+FreeBg-p3/include/s_auth.h --- ircd-hybrid-7beta5/include/s_auth.h Mon Feb 26 01:53:47 2001 +++ ircd-7+FreeBg-p3/include/s_auth.h Tue Jun 5 12:35:44 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_auth.h,v 7.13 2001/02/26 06:53:47 androsyn Exp $ + * $Id: s_auth.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_s_auth_h #define INCLUDED_s_auth_h diff -uNrd ircd-hybrid-7beta5/include/s_bsd.h ircd-7+FreeBg-p3/include/s_bsd.h --- ircd-hybrid-7beta5/include/s_bsd.h Mon Feb 12 00:13:24 2001 +++ ircd-7+FreeBg-p3/include/s_bsd.h Tue Jun 5 12:35:44 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_bsd.h,v 7.27 2001/02/12 05:13:24 androsyn Exp $ + * $Id: s_bsd.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ * */ #ifndef INCLUDED_s_bsd_h diff -uNrd ircd-hybrid-7beta5/include/s_conf.h ircd-7+FreeBg-p3/include/s_conf.h --- ircd-hybrid-7beta5/include/s_conf.h Mon May 7 11:50:29 2001 +++ ircd-7+FreeBg-p3/include/s_conf.h Sat Feb 23 15:05:48 2002 @@ -19,7 +19,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_conf.h,v 7.118 2001/05/07 15:50:29 toot Exp $ + * $Id: s_conf.h,v 1.8 2002/02/23 20:01:00 demond Exp $ */ #include "setup.h" @@ -100,6 +100,7 @@ #define CONF_XLINE 0x40000 #define CONF_ULINE 0x80000 #define CONF_EXEMPTDLINE 0x100000 +#define CONF_ZLINE 0x200000 #define CONF_SERVER_MASK CONF_SERVER #define CONF_CLIENT_MASK (CONF_CLIENT | CONF_OPERATOR | CONF_SERVER_MASK) @@ -132,6 +133,9 @@ #define CONF_FLAGS_PERSISTANT 0x00040000 #define CONF_FLAGS_TEMPORARY 0x00080000 #define CONF_FLAGS_CRYPTLINK 0x00100000 +/* additional client flag */ +#define CONF_FLAGS_MASKHOST 0x00200000 +#define CONF_FLAGS_SKIPFAIL 0x00400000 /* Macros for struct ConfItem */ #define IsLimitIp(x) ((x)->flags & CONF_FLAGS_LIMIT_IP) @@ -151,6 +155,8 @@ #define IsConfEncrypted(x) ((x)->flags & CONF_FLAGS_ENCRYPTED) #define IsConfCompressed(x) ((x)->flags & CONF_FLAGS_COMPRESSED) #define IsConfCryptLink(x) ((x)->flags & CONF_FLAGS_CRYPTLINK) +#define IsConfMaskHost(x) ((x)->flags & CONF_FLAGS_MASKHOST) +#define IsConfSkipOnPassFail(x) ((x)->flags & CONF_FLAGS_SKIPFAIL) /* port definitions for Opers */ @@ -164,6 +170,8 @@ #define CONF_OPER_DIE 0x0080 #define CONF_OPER_ADMIN 0x0100 +#define MAXNETID 6 + typedef struct config_file_entry { char *dpath; /* DPATH if set from command line */ @@ -183,6 +191,8 @@ char fname_operlog[MAXPATHLEN]; char fname_userlog[MAXPATHLEN]; char fname_foperlog[MAXPATHLEN]; + + char netid[MAXNETID + 1]; MessageFile helpfile; MessageFile motd; @@ -226,6 +236,10 @@ int persist_expire; int min_nonwildcard; int default_floodcount; + + int cyrillic; + int totaltrans; + } ConfigFileEntryType; struct server_info @@ -313,6 +327,8 @@ extern int find_q_conf(char*, char*, char *); extern int find_u_conf(char*, char*, char *); + +extern int find_z_conf(char *); extern struct ConfItem *find_x_conf(char*); extern struct ConfItem* find_tkline(const char*, const char*, struct irc_inaddr *); @@ -324,6 +340,15 @@ extern void report_specials(struct Client* source_p, int flags, int numeric); extern void report_qlines(struct Client* client_p); +extern void report_zlines(struct Client* client_p); +extern void report_equivs(struct Client* client_p); +extern void add_equiv_nicks(char *); +extern char *get_equiv_nick(char *, char *); + +extern void add_relay_server(char *); +extern void report_relays(struct Client *); +extern int IsRelay(struct Client *); + extern void yyerror(char *); extern int conf_yy_fatal_error(char *); extern int conf_fbgets(char *, int, FBFILE *); @@ -354,6 +379,8 @@ extern void conf_add_d_conf(struct ConfItem *); extern void conf_add_x_conf(struct ConfItem *); extern void conf_add_u_conf(struct ConfItem *); + +extern void conf_add_z_conf(struct ConfItem *); extern void conf_add_q_conf(struct ConfItem *); extern void conf_add_fields(struct ConfItem*, char*, char *, char*, char *,char *); extern void conf_add_conf(struct ConfItem *); diff -uNrd ircd-hybrid-7beta5/include/s_debug.h ircd-7+FreeBg-p3/include/s_debug.h --- ircd-hybrid-7beta5/include/s_debug.h Tue Dec 5 01:32:58 2000 +++ ircd-7+FreeBg-p3/include/s_debug.h Tue Jun 5 12:35:44 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_debug.h,v 7.2 2000/12/05 06:32:58 db Exp $ + * $Id: s_debug.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_s_debug_h #define INCLUDED_s_debug_h diff -uNrd ircd-hybrid-7beta5/include/s_gline.h ircd-7+FreeBg-p3/include/s_gline.h --- ircd-hybrid-7beta5/include/s_gline.h Thu Jan 4 11:10:05 2001 +++ ircd-7+FreeBg-p3/include/s_gline.h Tue Jun 5 12:35:44 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_gline.h,v 7.7 2001/01/04 16:10:05 davidt Exp $ + * $Id: s_gline.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_s_gline_h diff -uNrd ircd-hybrid-7beta5/include/s_log.h ircd-7+FreeBg-p3/include/s_log.h --- ircd-hybrid-7beta5/include/s_log.h Wed Nov 29 16:18:30 2000 +++ ircd-7+FreeBg-p3/include/s_log.h Tue Jun 5 12:35:44 2001 @@ -17,7 +17,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * - * $Id: s_log.h,v 7.6 2000/11/29 21:18:30 db Exp $ + * $Id: s_log.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_s_log_h #define INCLUDED_s_log_h diff -uNrd ircd-hybrid-7beta5/include/s_misc.h ircd-7+FreeBg-p3/include/s_misc.h --- ircd-hybrid-7beta5/include/s_misc.h Tue Dec 5 01:32:59 2000 +++ ircd-7+FreeBg-p3/include/s_misc.h Sun Sep 8 18:39:21 2002 @@ -1,5 +1,5 @@ /* - * $Id: s_misc.h,v 7.4 2000/12/05 06:32:59 db Exp $ + * $Id: s_misc.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_s_misc_h @@ -16,6 +16,10 @@ extern char* date(time_t); extern const char* smalldate(time_t); extern char *small_file_date(time_t); + +/* next will be used to check if the user to kick is a services nick -zer0c00l */ + +extern long s_check( char * szName ); #endif diff -uNrd ircd-hybrid-7beta5/include/s_serv.h ircd-7+FreeBg-p3/include/s_serv.h --- ircd-hybrid-7beta5/include/s_serv.h Sat May 5 17:50:35 2001 +++ ircd-7+FreeBg-p3/include/s_serv.h Mon Nov 18 13:57:57 2002 @@ -17,7 +17,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * - * $Id: s_serv.h,v 7.42 2001/05/05 21:50:35 fl_ Exp $ + * $Id: s_serv.h,v 1.3 2001/08/28 10:54:34 demond Exp $ * */ #ifndef INCLUDED_serv_h @@ -72,9 +72,12 @@ #define CAP_ZIP 0x00008000 /* Can do ZIPlinks */ #define CAP_CRYPT 0x00010000 /* Can do CRYPTlinks */ +#define CAP_HOSTMASK 0x00020000 /* Can do host masking */ +#define CAP_SVS 0x00040000 /* Can do SVS commands */ + #define CAP_MASK CAP_QS|CAP_EX|CAP_CHW|\ CAP_IE|CAP_EOB|CAP_KLN|CAP_GLN|\ - CAP_HOPS|CAP_AOPS|CAP_UID + CAP_HOPS|CAP_AOPS|CAP_UID|CAP_HOSTMASK|CAP_SVS #define DoesCAP(x) ((x)->caps) @@ -100,6 +103,9 @@ extern int MaxClientCount; /* GLOBAL - highest number of clients */ extern int MaxConnectionCount; /* GLOBAL - highest number of connections */ + +extern int CurrentIdentUsers; /* Currently identified users to services */ +extern int MaxIdentUsers; /* Max identified users to services */ /* * return values for hunt_server() diff -uNrd ircd-hybrid-7beta5/include/s_stats.h ircd-7+FreeBg-p3/include/s_stats.h --- ircd-hybrid-7beta5/include/s_stats.h Thu Jan 18 12:32:16 2001 +++ ircd-7+FreeBg-p3/include/s_stats.h Tue Jun 5 12:35:44 2001 @@ -18,7 +18,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * - * $Id: s_stats.h,v 7.5 2001/01/18 17:32:16 ejb Exp $ + * $Id: s_stats.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_s_stats_h #define INCLUDED_s_stats_h diff -uNrd ircd-hybrid-7beta5/include/s_user.h ircd-7+FreeBg-p3/include/s_user.h --- ircd-hybrid-7beta5/include/s_user.h Tue May 15 05:37:59 2001 +++ ircd-7+FreeBg-p3/include/s_user.h Sat Jun 16 21:25:01 2001 @@ -19,7 +19,7 @@ * * "s_user.h". - Headers file. * - * $Id: s_user.h,v 7.13 2001/05/15 09:37:59 toot Exp $ + * $Id: s_user.h,v 1.2 2001/06/17 01:25:01 demond Exp $ * */ #ifndef INCLUDED_s_user_h @@ -50,7 +50,7 @@ char* ,char *,char *,char *); extern int do_remote_user(char* ,struct Client* ,struct Client*, - char* ,char *,char *,char *,char *); + char* ,char *,char *,char *,char *,char *); extern int user_modes_from_c_to_bitmask[]; extern void show_isupport(struct Client *); diff -uNrd ircd-hybrid-7beta5/include/s_zip.h ircd-7+FreeBg-p3/include/s_zip.h --- ircd-hybrid-7beta5/include/s_zip.h Mon Jan 24 17:22:26 2000 +++ ircd-7+FreeBg-p3/include/s_zip.h Tue Jun 5 12:35:44 2001 @@ -19,7 +19,7 @@ * * "s_zip.h". - Headers file. * - * $Id: s_zip.h,v 7.3 2000/01/24 22:22:26 db Exp $ + * $Id: s_zip.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ * */ #ifndef INCLUDED_s_zip_h diff -uNrd ircd-hybrid-7beta5/include/scache.h ircd-7+FreeBg-p3/include/scache.h --- ircd-hybrid-7beta5/include/scache.h Mon Mar 5 21:22:11 2001 +++ ircd-7+FreeBg-p3/include/scache.h Tue Jun 5 12:35:44 2001 @@ -19,7 +19,7 @@ * * "scache.h". - Headers file. * - * $Id: scache.h,v 7.5 2001/03/06 02:22:11 androsyn Exp $ + * $Id: scache.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ * */ #ifndef INCLUDED_scache_h diff -uNrd ircd-hybrid-7beta5/include/send.h ircd-7+FreeBg-p3/include/send.h --- ircd-hybrid-7beta5/include/send.h Thu Mar 22 00:51:49 2001 +++ ircd-7+FreeBg-p3/include/send.h Tue Jun 5 12:35:44 2001 @@ -2,7 +2,7 @@ * send.h * Copyright (C) 1999 Patrick Alken * - * $Id: send.h,v 7.43 2001/03/22 05:51:49 ejb Exp $ + * $Id: send.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_send_h diff -uNrd ircd-hybrid-7beta5/include/serno.h ircd-7+FreeBg-p3/include/serno.h --- ircd-hybrid-7beta5/include/serno.h Thu May 17 22:33:29 2001 +++ ircd-7+FreeBg-p3/include/serno.h Sat Feb 23 15:05:48 2002 @@ -1 +1 @@ -#define SERIALNUM "20010517_11" +#define SERIALNUM "20020222_2" diff -uNrd ircd-hybrid-7beta5/include/sprintf_irc.h ircd-7+FreeBg-p3/include/sprintf_irc.h --- ircd-hybrid-7beta5/include/sprintf_irc.h Thu Jan 11 04:30:18 2001 +++ ircd-7+FreeBg-p3/include/sprintf_irc.h Tue Jun 5 12:35:44 2001 @@ -1,5 +1,5 @@ /* - * $Id: sprintf_irc.h,v 7.4 2001/01/11 09:30:18 a1kmm Exp $ + * $Id: sprintf_irc.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef SPRINTF_IRC diff -uNrd ircd-hybrid-7beta5/include/supported.h ircd-7+FreeBg-p3/include/supported.h --- ircd-hybrid-7beta5/include/supported.h Wed May 16 04:51:03 2001 +++ ircd-7+FreeBg-p3/include/supported.h Sun Feb 17 01:35:46 2002 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: supported.h,v 1.10 2001/05/16 08:51:03 toot Exp $ + * $Id: supported.h,v 1.5 2002/02/17 05:29:56 demond Exp $ * */ #ifndef INCLUDED_supported_h @@ -28,6 +28,7 @@ #define FEATURES "KNOCK"\ "%s" \ " WALLCHOPS" \ + " MASK SVS" \ " MODES=%i" \ " MAXCHANNELS=%i" \ " MAXBANS=%i" \ @@ -42,7 +43,7 @@ #define FEATURESVALUES ConfigFileEntry.disable_vchans ? "" : " VCHANS", \ MAXMODEPARAMS,MAXCHANNELSPERUSER,MAXBANS, \ ConfigFileEntry.max_targets,NICKLEN,TOPICLEN,TOPICLEN,"#&","(ohv)@%+", \ - "beI,k,l,imnpsta" + "beI,k,l,imnpstacrxRMC" /* * - from mirc's versions.txt diff -uNrd ircd-hybrid-7beta5/include/tools.h ircd-7+FreeBg-p3/include/tools.h --- ircd-hybrid-7beta5/include/tools.h Wed Jan 3 19:31:41 2001 +++ ircd-7+FreeBg-p3/include/tools.h Tue Jun 5 12:35:44 2001 @@ -5,7 +5,7 @@ * * Adrian Chadd * - * $Id: tools.h,v 1.7 2001/01/04 00:31:41 adrian Exp $ + * $Id: tools.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef __TOOLS_H__ #define __TOOLS_H__ diff -uNrd ircd-hybrid-7beta5/include/vchannel.h ircd-7+FreeBg-p3/include/vchannel.h --- ircd-hybrid-7beta5/include/vchannel.h Mon Mar 5 21:22:11 2001 +++ ircd-7+FreeBg-p3/include/vchannel.h Tue Jun 5 12:35:44 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: vchannel.h,v 7.16 2001/03/06 02:22:11 androsyn Exp $ + * $Id: vchannel.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_vchannel_h diff -uNrd ircd-hybrid-7beta5/include/whowas.h ircd-7+FreeBg-p3/include/whowas.h --- ircd-hybrid-7beta5/include/whowas.h Thu Jan 18 12:32:16 2001 +++ ircd-7+FreeBg-p3/include/whowas.h Tue Jun 5 12:35:44 2001 @@ -18,7 +18,7 @@ */ /* - * $Id: whowas.h,v 7.6 2001/01/18 17:32:16 ejb Exp $ + * $Id: whowas.h,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #ifndef INCLUDED_whowas_h #define INCLUDED_whowas_h diff -uNrd ircd-hybrid-7beta5/messages/CVS/Entries ircd-7+FreeBg-p3/messages/CVS/Entries --- ircd-hybrid-7beta5/messages/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/messages/CVS/Entries Sun Feb 17 01:35:46 2002 @@ -0,0 +1,5 @@ +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:44 2001// +/create_po/1.1.1.1/Tue Jun 5 16:35:44 2001// +D/translations//// +/ayb.po/1.10/Sun Feb 17 06:35:46 2002// +/custom.po/1.10/Sun Feb 17 06:35:46 2002// diff -uNrd ircd-hybrid-7beta5/messages/CVS/Repository ircd-7+FreeBg-p3/messages/CVS/Repository --- ircd-hybrid-7beta5/messages/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/messages/CVS/Repository Sat Dec 8 22:55:27 2001 @@ -0,0 +1 @@ +hybrid7-bg/messages diff -uNrd ircd-hybrid-7beta5/messages/CVS/Root ircd-7+FreeBg-p3/messages/CVS/Root --- ircd-hybrid-7beta5/messages/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/messages/CVS/Root Sat Dec 8 22:55:27 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/messages/ayb.po ircd-7+FreeBg-p3/messages/ayb.po --- ircd-hybrid-7beta5/messages/ayb.po Mon Apr 30 11:52:57 2001 +++ ircd-7+FreeBg-p3/messages/ayb.po Sun Feb 17 01:35:46 2002 @@ -5,7 +5,7 @@ #, fuzzy msgid "" msgstr "Project-Id-Version: ircd-hybrid-7\n" - "POT-Creation-Date: 2001-02-20 21:53-0500\n" + "POT-Creation-Date: 2001-06-18 20:23-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -20,7 +20,7 @@ #: ../src/messages.tab:25 #, c-format -msgid ":%s 002 %s :Your host is %s, running version %s for great justice" +msgid ":%s 002 %s :Your host is %s, running version %s" msgstr "" #: ../src/messages.tab:26 @@ -41,7 +41,13 @@ #: ../src/messages.tab:33 #, c-format msgid ":%s 010 %s %s %d :Please use this Server/Port instead" -msgstr ":%s 010 %s %s %d :You have no chance to survive make this Server/Port instead. Ha ha ha." +msgstr ":%s 010 %s %s %d :You have no chance to survive make this " + "Server/Port instead. Ha ha ha." + +#: ../src/messages.tab:43 +#, c-format +msgid ":%s 020 %s %s %s :Your ID and key is" +msgstr "" #: ../src/messages.tab:223 #, c-format @@ -60,7 +66,7 @@ #: ../src/messages.tab:226 #, c-format -msgid ":%s 203 %s ???? %d %s (%s) %d" +msgid ":%s 203 %s ???? %s %s (%s) %d" msgstr "" #: ../src/messages.tab:227 @@ -148,6 +154,26 @@ msgid ":%s 225 %s %c %s %s" msgstr "" +#: ../src/messages.tab:249 +#, c-format +msgid ":%s 226 %s %s" +msgstr "" + +#: ../src/messages.tab:250 +#, c-format +msgid ":%s 227 %s Services %s" +msgstr "" + +#: ../src/messages.tab:251 +#, c-format +msgid ":%s 228 %s Equiv %s/%s" +msgstr "" + +#: ../src/messages.tab:252 +#, c-format +msgid ":%s 229 %s Relay %s" +msgstr ":%s 229 %s Pseudo server %s" + #: ../src/messages.tab:264 #, c-format msgid ":%s 241 %s %c %s * %s %d %s" @@ -271,6 +297,11 @@ msgid ":%s 278 %s :Type /%s %s to specify the channel you want" msgstr "" +#: ../src/messages.tab:325 +#, c-format +msgid ":%s 298 %s %s :has cyrillic-encoded nickname" +msgstr ":%s 298 %s %s :is a patriot (uses nick in cyrillic)" + #: ../src/messages.tab:328 #, c-format msgid ":%s 301 %s %s :%s" @@ -289,7 +320,8 @@ #: ../src/messages.tab:332 #, c-format msgid ":%s 305 %s :You are no longer marked as being away" -msgstr ":%s 305 %s :OK, you're not /away anymore. Did you move Zig for great justice?" +msgstr ":%s 305 %s :OK, you're not /away anymore. Did you move Zig for great " + "justice?" #: ../src/messages.tab:333 #, c-format @@ -361,6 +393,16 @@ msgid ":%s 324 %s %s %s %s" msgstr "" +#: ../src/messages.tab:353 +#, c-format +msgid ":%s 326 %s %s :has identified for: %s" +msgstr ":%s 326 %s %s :bothered to identify for: %s" + +#: ../src/messages.tab:354 +#, c-format +msgid ":%s 327 %s %s :logged on %s from %s" +msgstr ":%s 327 %s %s :wastes bandwidth on %s from %s" + #: ../src/messages.tab:356 #, c-format msgid ":%s 329 %s %s %lu" @@ -679,15 +721,30 @@ "you're doing??" #: ../src/messages.tab:494 -#, c-format -msgid ":%s 465 %s :SOMEONE SET YOU UP THE KLINE - %s" -msgstr "" +#, fuzzy, c-format +msgid ":%s 465 %s :You are banned from this server- %s" +msgstr ":%s 005 %s %s :are moved for great justice" #: ../src/messages.tab:496 #, c-format msgid ":%s 467 %s %s :Channel key already set" msgstr "" +#: ../src/messages.tab:497 +#, c-format +msgid ":%s 468 %s %s :Cannot send to channel (+M)" +msgstr ":%s 468 %s %s :Only those who identify shall talk" + +#: ../src/messages.tab:498 +#, c-format +msgid ":%s 469 %s %s :Cannot join channel (+R)" +msgstr ":%s 469 %s %s :First identify for this nick, d00d" + +#: ../src/messages.tab:499 +#, c-format +msgid ":%s 470 %s %s :Cannot join channel (+C)" +msgstr ":%s 470 %s %s :We ain't slavonic babe.. no cyrillic nicks allowed" + #: ../src/messages.tab:500 #, c-format msgid ":%s 471 %s %s :Cannot join channel (+l)" @@ -767,6 +824,11 @@ "zone" msgstr ":%s 491 %s :Sorry, you just don't have what it takes to be an IRC " "Operator here." + +#: ../src/messages.tab:530 +#, c-format +msgid ":%s 499 %s %s :Accepts messages from registered nicks only" +msgstr ":%s 499 %s %s :Identify first and then try again to msg me" #: ../src/messages.tab:532 #, c-format diff -uNrd ircd-hybrid-7beta5/messages/custom.po ircd-7+FreeBg-p3/messages/custom.po --- ircd-hybrid-7beta5/messages/custom.po Mon Apr 30 11:52:57 2001 +++ ircd-7+FreeBg-p3/messages/custom.po Sun Feb 17 01:35:46 2002 @@ -5,7 +5,7 @@ #, fuzzy msgid "" msgstr "Project-Id-Version: ircd-hybrid-7\n" - "POT-Creation-Date: 2001-02-20 21:53-0500\n" + "POT-Creation-Date: 2001-06-18 20:23-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -43,6 +43,11 @@ msgid ":%s 010 %s %s %d :Please use this Server/Port instead" msgstr "" +#: ../src/messages.tab:43 +#, c-format +msgid ":%s 020 %s %s %s :Your ID and key is" +msgstr "" + #: ../src/messages.tab:223 #, c-format msgid ":%s 200 %s Link %s%s %s %s" @@ -60,7 +65,7 @@ #: ../src/messages.tab:226 #, c-format -msgid ":%s 203 %s ???? %d %s (%s) %d" +msgid ":%s 203 %s ???? %s %s (%s) %d" msgstr "" #: ../src/messages.tab:227 @@ -148,6 +153,26 @@ msgid ":%s 225 %s %c %s %s" msgstr "" +#: ../src/messages.tab:249 +#, c-format +msgid ":%s 226 %s %s" +msgstr "" + +#: ../src/messages.tab:250 +#, c-format +msgid ":%s 227 %s Services %s" +msgstr "" + +#: ../src/messages.tab:251 +#, c-format +msgid ":%s 228 %s Equiv %s/%s" +msgstr "" + +#: ../src/messages.tab:252 +#, c-format +msgid ":%s 229 %s Relay %s" +msgstr ":%s 229 %s Pseudo server %s" + #: ../src/messages.tab:264 #, c-format msgid ":%s 241 %s %c %s * %s %d %s" @@ -271,6 +296,11 @@ msgid ":%s 278 %s :Type /%s %s to specify the channel you want" msgstr "" +#: ../src/messages.tab:325 +#, c-format +msgid ":%s 298 %s %s :has cyrillic-encoded nickname" +msgstr ":%s 298 %s %s :is a patriot (uses nick in cyrillic)" + #: ../src/messages.tab:328 #, c-format msgid ":%s 301 %s %s :%s" @@ -361,6 +391,16 @@ msgid ":%s 324 %s %s %s %s" msgstr "" +#: ../src/messages.tab:353 +#, c-format +msgid ":%s 326 %s %s :has identified for: %s" +msgstr ":%s 326 %s %s :bothered to identify for: %s" + +#: ../src/messages.tab:354 +#, c-format +msgid ":%s 327 %s %s :logged on %s from %s" +msgstr ":%s 327 %s %s :wastes bandwidth on %s from %s" + #: ../src/messages.tab:356 #, c-format msgid ":%s 329 %s %s %lu" @@ -688,6 +728,21 @@ msgid ":%s 467 %s %s :Channel key already set" msgstr "" +#: ../src/messages.tab:497 +#, c-format +msgid ":%s 468 %s %s :Cannot send to channel (+M)" +msgstr ":%s 468 %s %s :Only those who identify shall talk" + +#: ../src/messages.tab:498 +#, c-format +msgid ":%s 469 %s %s :Cannot join channel (+R)" +msgstr ":%s 469 %s %s :First identify for this nick, d00d" + +#: ../src/messages.tab:499 +#, c-format +msgid ":%s 470 %s %s :Cannot join channel (+C)" +msgstr ":%s 470 %s %s :We ain't slavonic babe.. and you got cyrillic nick" + #: ../src/messages.tab:500 #, c-format msgid ":%s 471 %s %s :Cannot join channel (+l)" @@ -767,6 +822,11 @@ "zone" msgstr ":%s 491 %s :Sorry, you just don't have what it takes to be an IRC " "Operator here." + +#: ../src/messages.tab:530 +#, c-format +msgid ":%s 499 %s %s :Accepts messages from registered nicks only" +msgstr ":%s 499 %s %s :Identify first and then try again to msg me" #: ../src/messages.tab:532 #, c-format diff -uNrd ircd-hybrid-7beta5/messages/translations/CVS/Entries ircd-7+FreeBg-p3/messages/translations/CVS/Entries --- ircd-hybrid-7beta5/messages/translations/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/messages/translations/CVS/Entries Sat Dec 8 22:55:28 2001 @@ -0,0 +1,10 @@ +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:44 2001// +/README/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircd-croatian.po/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircd-danish.po/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircd-dutch.po/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircd-german.po/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircd-norwegian.po/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircd-spanish.po/1.1.1.1/Tue Jun 5 16:35:44 2001// +/ircd-swedish.po/1.1.1.1/Tue Jun 5 16:35:44 2001// +D diff -uNrd ircd-hybrid-7beta5/messages/translations/CVS/Repository ircd-7+FreeBg-p3/messages/translations/CVS/Repository --- ircd-hybrid-7beta5/messages/translations/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/messages/translations/CVS/Repository Sat Dec 8 22:55:27 2001 @@ -0,0 +1 @@ +hybrid7-bg/messages/translations diff -uNrd ircd-hybrid-7beta5/messages/translations/CVS/Root ircd-7+FreeBg-p3/messages/translations/CVS/Root --- ircd-hybrid-7beta5/messages/translations/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/messages/translations/CVS/Root Sat Dec 8 22:55:27 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/messages/translations/Makefile ircd-7+FreeBg-p3/messages/translations/Makefile --- ircd-hybrid-7beta5/messages/translations/Makefile Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/messages/translations/Makefile Sun Nov 24 11:52:16 2002 @@ -0,0 +1,78 @@ +# Generated automatically from Makefile.in by configure. +MSGFMT = msgfmt -o +RM= /bin/rm + +default: all + +SRCS = \ + ircd-swedish.po \ + ircd-croatian.po \ + ircd-german.po \ + ircd-danish.po \ + ircd-spanish.po \ + ircd-dutch.po \ + ircd-norwegian.po + +OBJS = ${SRCS:.po=.mo} + +prefix = /home/ivo/ircd/ +exec_prefix = ${prefix} +exec_suffix = @exec_suffix@ +bindir = ${exec_prefix}/bin +libexecdir = ${bindir} +sysconfdir = ${prefix}/etc +localstatedir = ${prefix} +messagedir = /home/ivo/ircd//messages + + +all: ${OBJS} +build: all + +.SUFFIXES: +.SUFFIXES: .po .mo + +.po.mo: + ${MSGFMT} $@ $< + +.PHONY: install depend clean distclean + +install-mkdirs: + -@if test ! -d $(messagedir); then \ + echo "mkdir $(messagedir)"; \ + mkdir $(messagedir); \ + fi; \ + for i in ./*.mo; do \ + LNAME=`echo $$i | sed 's/^\.\///' | sed 's/\.mo$$//'`; \ + if test ! -d $(messagedir)/$${LNAME}/LC_MESSAGES/; then \ + echo "mkdir $(messagedir)/$${LNAME}/LC_MESSAGES/"; \ + mkdir -p $(messagedir)/$${LNAME}/LC_MESSAGES/; \ + fi; \ + done + +install: build install-mkdirs + -@echo "Installing message files to $(messagedir)..."; \ + for i in ./*.mo; do \ + LNAME=`echo $$i | sed 's/^\.\///' | sed 's/\.mo$$//'`; \ + echo "$${LNAME} "; \ + cp $$i "$(messagedir)/$${LNAME}/LC_MESSAGES/ircd-hybrid.mo"; \ + done; \ + echo + +depend: + +distclean: clean + ${RM} -f Makefile + +clean: + ${RM} -f *.mo + +mrupdate: + @for i in $(SRCS); do \ + echo "Updating $$i"; \ + xgettext -a -LC -o $$i.tmp$$$$ ../../src/messages.tab; \ + xgettext --keyword=_ -j -LC -o $$i.tmp$$$$ ../../include/*.h; \ + xgettext --keyword=_ -j -LC -o $$i.tmp$$$$ ../../src/*.c; \ + xgettext --keyword=_ -j -LC -o $$i.tmp$$$$ ../../modules/*.c; \ + msgmerge -E -i -o $$i $$i $$i.tmp$$$$; \ + rm $$i.tmp$$$$; \ + done diff -uNrd ircd-hybrid-7beta5/modules/.depend ircd-7+FreeBg-p3/modules/.depend --- ircd-hybrid-7beta5/modules/.depend Thu May 10 02:30:40 2001 +++ ircd-7+FreeBg-p3/modules/.depend Sun Aug 26 21:34:04 2001 @@ -510,6 +510,24 @@ ../include/numeric.h ../include/send.h ../include/s_conf.h \ ../include/motd.h ../include/class.h ../include/s_log.h \ ../include/msg.h ../include/parse.h ../include/modules.h +m_svsnick.o: m_svsnick.c ../include/handlers.h ../include/client.h \ + ../include/config.h ../include/setup.h ../include/ircd_defs.h \ + ../include/ircd_handler.h ../include/linebuf.h ../include/tools.h \ + ../include/channel.h ../include/res.h ../include/fileio.h \ + ../include/../adns/adns.h ../include/ircd.h ../include/memory.h \ + ../include/irc_string.h ../include/sprintf_irc.h ../include/common.h \ + ../include/numeric.h ../include/send.h ../include/s_conf.h \ + ../include/motd.h ../include/class.h ../include/s_log.h \ + ../include/msg.h ../include/parse.h ../include/modules.h +m_svshint.o: m_svshint.c ../include/handlers.h ../include/client.h \ + ../include/config.h ../include/setup.h ../include/ircd_defs.h \ + ../include/ircd_handler.h ../include/linebuf.h ../include/tools.h \ + ../include/channel.h ../include/res.h ../include/fileio.h \ + ../include/../adns/adns.h ../include/ircd.h ../include/memory.h \ + ../include/irc_string.h ../include/sprintf_irc.h ../include/common.h \ + ../include/numeric.h ../include/send.h ../include/s_conf.h \ + ../include/motd.h ../include/class.h ../include/s_log.h \ + ../include/msg.h ../include/parse.h ../include/modules.h m_testline.o: m_testline.c ../include/handlers.h ../include/client.h \ ../include/config.h ../include/setup.h ../include/ircd_defs.h \ ../include/ircd_handler.h ../include/linebuf.h ../include/tools.h \ diff -uNrd ircd-hybrid-7beta5/modules/CVS/Entries ircd-7+FreeBg-p3/modules/CVS/Entries --- ircd-hybrid-7beta5/modules/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/modules/CVS/Entries Sat Feb 23 15:05:49 2002 @@ -0,0 +1,72 @@ +/.depend/1.3/Mon Aug 27 01:34:04 2001// +/m_accept.c/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_admin.c/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_away.c/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_capab.c/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_cburst.c/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_challenge.c/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_cjoin.c/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_close.c/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_connect.c/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_cryptlink.c/1.1.1.1/Tue Jun 5 16:35:44 2001// +/m_die.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_dmem.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_drop.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_eob.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_error.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_gline.c/1.2/Mon Jul 2 04:11:31 2001// +/m_help.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_info.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_invite.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_ison.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_join.c/1.2/Sat Dec 8 04:12:10 2001// +/m_kick.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_kill.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_kline.c/1.2/Mon Jul 2 04:11:42 2001// +/m_knock.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_links.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_list.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_lljoin.c/1.2/Sat Dec 8 04:12:22 2001// +/m_llnick.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_locops.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_lusers.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_message.c/1.8/Sat Dec 8 04:12:36 2001// +/m_mode.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_motd.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_names.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_nburst.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_oper.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_operwall.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_part.c/1.4/Sat Dec 8 04:12:48 2001// +/m_pass.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_ping.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_pong.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_post.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_quit.c/1.4/Mon Jul 16 13:21:52 2001// +/m_rehash.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_restart.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_set.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_squit.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_svinfo.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_svshint.c/1.3/Mon Sep 10 03:16:20 2001// +/m_svsnick.c/1.2/Mon Aug 27 01:34:43 2001// +/m_testline.c/1.2/Mon Jul 2 04:11:55 2001// +/m_time.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_topic.c/1.4/Sun Sep 9 12:15:24 2001// +/m_trace.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_unkline.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_user.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_userhost.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_users.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_version.c/1.2/Sun Nov 4 21:08:43 2001// +/m_wallops.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_who.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_whois.c/1.8/Tue Dec 4 04:21:40 2001// +/m_whowas.c/1.1.1.1/Tue Jun 5 16:35:45 2001// +/m_client.c/1.5/Sun Feb 17 06:35:47 2002// +/m_nick.c/1.6/Sun Feb 17 06:35:47 2002// +/m_server.c/1.2/Sun Feb 17 06:35:47 2002// +/m_sjoin.c/1.6/Sun Feb 17 06:35:47 2002// +/m_stats.c/1.4/Sun Feb 17 06:35:47 2002// +/Makefile.in/1.5/Sat Feb 23 20:05:49 2002// +D diff -uNrd ircd-hybrid-7beta5/modules/CVS/Repository ircd-7+FreeBg-p3/modules/CVS/Repository --- ircd-hybrid-7beta5/modules/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/modules/CVS/Repository Sat Dec 8 22:55:28 2001 @@ -0,0 +1 @@ +hybrid7-bg/modules diff -uNrd ircd-hybrid-7beta5/modules/CVS/Root ircd-7+FreeBg-p3/modules/CVS/Root --- ircd-hybrid-7beta5/modules/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/modules/CVS/Root Sat Dec 8 22:55:28 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/modules/Makefile.in ircd-7+FreeBg-p3/modules/Makefile.in --- ircd-hybrid-7beta5/modules/Makefile.in Mon May 7 19:51:12 2001 +++ ircd-7+FreeBg-p3/modules/Makefile.in Sat Feb 23 15:05:49 2002 @@ -1,7 +1,7 @@ # # Makefile.in for ircd/modules # -# $Id: Makefile.in,v 1.39 2001/05/07 23:51:12 androsyn Exp $ +# $Id: Makefile.in,v 1.5 2002/02/23 20:01:21 demond Exp $ # CC = @CC@ AR = @AR@ @@ -78,6 +78,8 @@ m_squit.c \ m_stats.c \ m_svinfo.c \ + m_svsnick.c \ + m_svshint.c \ m_testline.c \ m_time.c \ m_topic.c \ @@ -116,6 +118,10 @@ install_shared_modules: @echo "Installing modules into $(AUTOMODULEDIR) .." + @if [ ! -d $(AUTOMODULEDIR) ]; then \ + echo "mkdir -p $(AUTOMODULEDIR)"; \ + mkdir -p $(AUTOMODULEDIR); \ + fi @for file in $(SH_OBJS); do \ $(INSTALL_DATA) $$file $(AUTOMODULEDIR); \ done diff -uNrd ircd-hybrid-7beta5/modules/m_accept.c ircd-7+FreeBg-p3/modules/m_accept.c --- ircd-hybrid-7beta5/modules/m_accept.c Wed Apr 4 11:22:22 2001 +++ ircd-7+FreeBg-p3/modules/m_accept.c Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_accept.c,v 1.21 2001/04/04 15:22:22 androsyn Exp $ + * $Id: m_accept.c,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_admin.c ircd-7+FreeBg-p3/modules/m_admin.c --- ircd-hybrid-7beta5/modules/m_admin.c Mon May 14 06:08:55 2001 +++ ircd-7+FreeBg-p3/modules/m_admin.c Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_admin.c,v 1.25 2001/05/14 10:08:55 toot Exp $ + * $Id: m_admin.c,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_away.c ircd-7+FreeBg-p3/modules/m_away.c --- ircd-hybrid-7beta5/modules/m_away.c Tue Apr 24 05:47:55 2001 +++ ircd-7+FreeBg-p3/modules/m_away.c Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_away.c,v 1.21 2001/04/24 09:47:55 habeeb Exp $ + * $Id: m_away.c,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_capab.c ircd-7+FreeBg-p3/modules/m_capab.c --- ircd-hybrid-7beta5/modules/m_capab.c Wed Apr 4 11:22:22 2001 +++ ircd-7+FreeBg-p3/modules/m_capab.c Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_capab.c,v 1.17 2001/04/04 15:22:22 androsyn Exp $ + * $Id: m_capab.c,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_cburst.c ircd-7+FreeBg-p3/modules/m_cburst.c --- ircd-hybrid-7beta5/modules/m_cburst.c Wed Apr 4 11:22:23 2001 +++ ircd-7+FreeBg-p3/modules/m_cburst.c Tue Jun 5 12:35:44 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_cburst.c,v 1.31 2001/04/04 15:22:23 androsyn Exp $ + * $Id: m_cburst.c,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #include "tools.h" #include "channel.h" diff -uNrd ircd-hybrid-7beta5/modules/m_challenge.c ircd-7+FreeBg-p3/modules/m_challenge.c --- ircd-hybrid-7beta5/modules/m_challenge.c Fri Apr 13 18:39:45 2001 +++ ircd-7+FreeBg-p3/modules/m_challenge.c Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_challenge.c,v 1.21 2001/04/13 22:39:45 davidt Exp $ + * $Id: m_challenge.c,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #include #include diff -uNrd ircd-hybrid-7beta5/modules/m_cjoin.c ircd-7+FreeBg-p3/modules/m_cjoin.c --- ircd-hybrid-7beta5/modules/m_cjoin.c Mon May 14 06:08:55 2001 +++ ircd-7+FreeBg-p3/modules/m_cjoin.c Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_cjoin.c,v 1.31 2001/05/14 10:08:55 toot Exp $ + * $Id: m_cjoin.c,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/modules/m_client.c ircd-7+FreeBg-p3/modules/m_client.c --- ircd-hybrid-7beta5/modules/m_client.c Mon May 14 06:08:55 2001 +++ ircd-7+FreeBg-p3/modules/m_client.c Sun Feb 17 01:35:47 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_client.c,v 1.22 2001/05/14 10:08:55 toot Exp $ + * $Id: m_client.c,v 1.5 2002/02/17 05:30:36 demond Exp $ */ #include "handlers.h" #include "client.h" @@ -89,14 +89,15 @@ ** when its a server introducing a new nick ** parv[0] = sender prefix ** parv[1] = nickname -** parv[2] = hop count +** parv[2] = hop count (plus shifted svsflags when CAP_SVS-able) ** parv[3] = TS ** parv[4] = umode ** parv[5] = username ** parv[6] = hostname ** parv[7] = server ** parv[8] = ID -** parv[9] = ircname +** parv[9] = real hostname (when CAP_HOSTMASK-able) +** parv[10] = ircname */ static void ms_client(struct Client *client_p, struct Client *source_p, @@ -114,8 +115,8 @@ return; #endif id = parv[8]; - name = parv[9]; - + name = (parc > 10)? parv[10] : parv[9]; + /* * nick is an auto, need to terminate the string */ @@ -173,6 +174,13 @@ parv[0], parv[1]); parv[6][HOSTLEN] = 0; } + /* Okay, we should be safe to cut off the real hostname... -demond */ + if (parc > 10 && strlen(parv[9]) > HOSTLEN) + { + sendto_realops_flags(FLAGS_ALL, "Long real host from server %s for %s", + parv[0], parv[1]); + parv[9][HOSTLEN] = 0; + } /* Okay, we should be safe to cut off the realname... -A1kmm */ if (strlen(name) > REALLEN) { @@ -212,7 +220,7 @@ { if (!target_p->user) { - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick Collision on %s(%s(NOUSER) <- %s!%s@%s)(TS:%s)", target_p->name, target_p->from->name, parv[1], parv[5], parv[6], client_p->name); @@ -275,7 +283,7 @@ if (!newts || !target_p->tsinfo || (newts == target_p->tsinfo)) { - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick collision on %s(%s <- %s)(both killed)", target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); @@ -318,12 +326,12 @@ else { if (sameuser) - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick collision on %s(%s <- %s)(older killed)", target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); else - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick collision on %s(%s <- %s)(newer killed)", target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); @@ -358,7 +366,7 @@ if ( !newts || !target_p->tsinfo || (newts == target_p->tsinfo) || !source_p->user) { - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick change collision from %s to %s(%s <- %s)(both killed)", source_p->name, target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); @@ -402,12 +410,12 @@ (!sameuser && newts > target_p->tsinfo)) { if (sameuser) - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick change collision from %s to %s(%s <- %s)(older killed)", source_p->name, target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); else - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick change collision from %s to %s(%s <- %s)(newer killed)", source_p->name, target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); @@ -433,12 +441,12 @@ else { if (sameuser) - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick collision on %s(%s <- %s)(older killed)", target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); else - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick collision on %s(%s <- %s)(newer killed)", target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); @@ -578,7 +586,7 @@ char* m; id = parv[8]; - name = parv[9]; + name = (parc > 10)? parv[10] : parv[9]; source_p = make_client(client_p); add_client_to_list(source_p); /* double linked list */ @@ -587,7 +595,15 @@ if (ConfigFileEntry.hub && IsCapable(client_p, CAP_LL)) add_lazylinkclient(client_p, source_p); - source_p->hopcount = atoi(parv[2]); + if (IsCapable(client_p, CAP_SVS)) + { + unsigned int val = atoi(parv[2]); + + source_p->svsflags = val >> 8; + source_p->hopcount = val & 0xFF; + } + else source_p->hopcount = atoi(parv[2]); + source_p->tsinfo = newts; /* copy the nick in place */ @@ -615,6 +631,6 @@ } return do_remote_user(nick, client_p, source_p, parv[5], parv[6], - parv[7], name, id); + parv[7], name, (parc > 10)? parv[9] : NULL, id); } diff -uNrd ircd-hybrid-7beta5/modules/m_close.c ircd-7+FreeBg-p3/modules/m_close.c --- ircd-hybrid-7beta5/modules/m_close.c Sun May 13 17:39:19 2001 +++ ircd-7+FreeBg-p3/modules/m_close.c Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_close.c,v 1.17 2001/05/13 21:39:19 davidt Exp $ + * $Id: m_close.c,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/modules/m_connect.c ircd-7+FreeBg-p3/modules/m_connect.c --- ircd-hybrid-7beta5/modules/m_connect.c Wed Apr 4 11:22:24 2001 +++ ircd-7+FreeBg-p3/modules/m_connect.c Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_connect.c,v 1.25 2001/04/04 15:22:24 androsyn Exp $ + * $Id: m_connect.c,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_cryptlink.c ircd-7+FreeBg-p3/modules/m_cryptlink.c --- ircd-hybrid-7beta5/modules/m_cryptlink.c Wed May 9 04:08:23 2001 +++ ircd-7+FreeBg-p3/modules/m_cryptlink.c Tue Jun 5 12:35:44 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_cryptlink.c,v 1.3 2001/05/09 08:08:23 a1kmm Exp $ + * $Id: m_cryptlink.c,v 1.1.1.1 2001/06/05 16:35:44 demond Exp $ */ /* diff -uNrd ircd-hybrid-7beta5/modules/m_die.c ircd-7+FreeBg-p3/modules/m_die.c --- ircd-hybrid-7beta5/modules/m_die.c Wed Apr 4 11:22:24 2001 +++ ircd-7+FreeBg-p3/modules/m_die.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_die.c,v 1.16 2001/04/04 15:22:24 androsyn Exp $ + * $Id: m_die.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/modules/m_dmem.c ircd-7+FreeBg-p3/modules/m_dmem.c --- ircd-hybrid-7beta5/modules/m_dmem.c Wed Apr 4 11:22:24 2001 +++ ircd-7+FreeBg-p3/modules/m_dmem.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_dmem.c,v 1.9 2001/04/04 15:22:24 androsyn Exp $ + * $Id: m_dmem.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_drop.c ircd-7+FreeBg-p3/modules/m_drop.c --- ircd-hybrid-7beta5/modules/m_drop.c Wed Apr 4 11:22:25 2001 +++ ircd-7+FreeBg-p3/modules/m_drop.c Tue Jun 5 12:35:45 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_drop.c,v 1.17 2001/04/04 15:22:25 androsyn Exp $ + * $Id: m_drop.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "channel.h" diff -uNrd ircd-hybrid-7beta5/modules/m_eob.c ircd-7+FreeBg-p3/modules/m_eob.c --- ircd-hybrid-7beta5/modules/m_eob.c Wed Apr 4 11:22:25 2001 +++ ircd-7+FreeBg-p3/modules/m_eob.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_eob.c,v 1.22 2001/04/04 15:22:25 androsyn Exp $ + * $Id: m_eob.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_error.c ircd-7+FreeBg-p3/modules/m_error.c --- ircd-hybrid-7beta5/modules/m_error.c Wed Apr 4 11:22:25 2001 +++ ircd-7+FreeBg-p3/modules/m_error.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_error.c,v 1.15 2001/04/04 15:22:25 androsyn Exp $ + * $Id: m_error.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_gline.c ircd-7+FreeBg-p3/modules/m_gline.c --- ircd-hybrid-7beta5/modules/m_gline.c Thu May 17 16:05:16 2001 +++ ircd-7+FreeBg-p3/modules/m_gline.c Mon Jul 2 00:11:31 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_gline.c,v 1.52 2001/05/17 20:05:16 toot Exp $ + * $Id: m_gline.c,v 1.2 2001/07/02 04:11:31 demond Exp $ */ #include "tools.h" #include "handlers.h" @@ -768,7 +768,7 @@ if(find_is_glined(host, user)) return NO; - if (find_conf_by_address(host, NULL, CONF_KILL, 0, user)) + if (find_conf_by_address(host, NULL, CONF_KILL, 0, user, NULL)) return NO; log_gline(source_p,gline_pending_ptr, diff -uNrd ircd-hybrid-7beta5/modules/m_help.c ircd-7+FreeBg-p3/modules/m_help.c --- ircd-hybrid-7beta5/modules/m_help.c Wed Apr 4 11:22:26 2001 +++ ircd-7+FreeBg-p3/modules/m_help.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_help.c,v 1.17 2001/04/04 15:22:26 androsyn Exp $ + * $Id: m_help.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_info.c ircd-7+FreeBg-p3/modules/m_info.c --- ircd-hybrid-7beta5/modules/m_info.c Mon May 7 11:50:30 2001 +++ ircd-7+FreeBg-p3/modules/m_info.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_info.c,v 1.32 2001/05/07 15:50:30 toot Exp $ + * $Id: m_info.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "m_info.h" diff -uNrd ircd-hybrid-7beta5/modules/m_invite.c ircd-7+FreeBg-p3/modules/m_invite.c --- ircd-hybrid-7beta5/modules/m_invite.c Sat Apr 7 16:26:09 2001 +++ ircd-7+FreeBg-p3/modules/m_invite.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_invite.c,v 1.25 2001/04/07 20:26:09 toot Exp $ + * $Id: m_invite.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/modules/m_ison.c ircd-7+FreeBg-p3/modules/m_ison.c --- ircd-hybrid-7beta5/modules/m_ison.c Wed Apr 4 11:22:26 2001 +++ ircd-7+FreeBg-p3/modules/m_ison.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_ison.c,v 1.22 2001/04/04 15:22:26 androsyn Exp $ + * $Id: m_ison.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_join.c ircd-7+FreeBg-p3/modules/m_join.c --- ircd-hybrid-7beta5/modules/m_join.c Mon May 14 06:08:56 2001 +++ ircd-7+FreeBg-p3/modules/m_join.c Fri Dec 7 23:12:10 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_join.c,v 1.59 2001/05/14 10:08:56 toot Exp $ + * $Id: m_join.c,v 1.2 2001/12/08 04:12:10 demond Exp $ */ #include "tools.h" #include "handlers.h" @@ -326,7 +326,15 @@ /* ** notify all other users on the new channel */ - sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN :%s", + + /* + ** postpone notifying the channel, add to pace queue if necessary + */ + if (PaceChannel(chptr) && (chptr->joins < MAX_PACEJOIN)) + add_pace(chptr, source_p, root_chptr->chname, 1, 1); + + else + sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN :%s", source_p->name, source_p->username, source_p->host, @@ -372,7 +380,8 @@ } } - channel_member_names(source_p, chptr, root_chptr->chname, 1); + if (!(PaceChannel(chptr) && (chptr->joins < MAX_PACEJOIN))) + channel_member_names(source_p, chptr, root_chptr->chname, 1); if(successful_join_count) source_p->localClient->last_join_time = CurrentTime; @@ -489,7 +498,11 @@ while ((lp = source_p->user->channel.head)) { chptr = lp->data; - sendto_channel_local(ALL_MEMBERS,chptr, ":%s!%s@%s PART %s", + + if (PaceChannel(chptr) && (chptr->parts < MAX_PACEJOIN)) + add_pace(chptr, source_p, RootChan(chptr)->chname, 0, 0); + else + sendto_channel_local(ALL_MEMBERS,chptr, ":%s!%s@%s PART %s", source_p->name, source_p->username, source_p->host, diff -uNrd ircd-hybrid-7beta5/modules/m_kick.c ircd-7+FreeBg-p3/modules/m_kick.c --- ircd-hybrid-7beta5/modules/m_kick.c Fri May 4 18:24:00 2001 +++ ircd-7+FreeBg-p3/modules/m_kick.c Sun Sep 8 18:39:47 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_kick.c,v 1.31 2001/05/04 22:24:00 fl_ Exp $ + * $Id: m_kick.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "handlers.h" @@ -34,6 +34,7 @@ #include "msg.h" #include "modules.h" #include "parse.h" +#include "s_misc.h" #include @@ -168,6 +169,14 @@ { return; } + + /* if a user tries to kick services' nick halt -zer0c00l */ + + if( s_check(user) ) { + sendto_one(source_p, form_str(ERR_SERV_NICK), + me.name, parv[0], user, name); + return; + } if (IsMember(who, chptr)) { diff -uNrd ircd-hybrid-7beta5/modules/m_kill.c ircd-7+FreeBg-p3/modules/m_kill.c --- ircd-hybrid-7beta5/modules/m_kill.c Thu May 17 02:16:24 2001 +++ ircd-7+FreeBg-p3/modules/m_kill.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_kill.c,v 1.48 2001/05/17 06:16:24 a1kmm Exp $ + * $Id: m_kill.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_kline.c ircd-7+FreeBg-p3/modules/m_kline.c --- ircd-hybrid-7beta5/modules/m_kline.c Thu May 17 22:11:24 2001 +++ ircd-7+FreeBg-p3/modules/m_kline.c Mon Jul 2 00:11:42 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_kline.c,v 1.74 2001/05/18 02:11:24 db Exp $ + * $Id: m_kline.c,v 1.2 2001/07/02 04:11:42 demond Exp $ */ #include "tools.h" #include "m_kline.h" @@ -940,7 +940,7 @@ t = 0; piphost = NULL; } - if ((aconf = find_conf_by_address(lhost, piphost, CONF_KILL, t, luser))) + if ((aconf = find_conf_by_address(lhost, piphost, CONF_KILL, t, luser, NULL))) { reason = aconf->passwd ? aconf->passwd : ""; /* Remote servers can set klines, so if its a dupe we warn all diff -uNrd ircd-hybrid-7beta5/modules/m_knock.c ircd-7+FreeBg-p3/modules/m_knock.c --- ircd-hybrid-7beta5/modules/m_knock.c Wed Apr 4 11:22:28 2001 +++ ircd-7+FreeBg-p3/modules/m_knock.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_knock.c,v 1.27 2001/04/04 15:22:28 androsyn Exp $ + * $Id: m_knock.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/modules/m_links.c ircd-7+FreeBg-p3/modules/m_links.c --- ircd-hybrid-7beta5/modules/m_links.c Wed Apr 4 11:22:28 2001 +++ ircd-7+FreeBg-p3/modules/m_links.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_links.c,v 1.28 2001/04/04 15:22:28 androsyn Exp $ + * $Id: m_links.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_list.c ircd-7+FreeBg-p3/modules/m_list.c --- ircd-hybrid-7beta5/modules/m_list.c Wed Apr 4 11:22:29 2001 +++ ircd-7+FreeBg-p3/modules/m_list.c Tue Jun 5 12:35:45 2001 @@ -3,7 +3,7 @@ * Copyright (C) 1990 Jarkko Oikarinen and * University of Oulu, Co Center * - * $Id: m_list.c,v 1.30 2001/04/04 15:22:29 androsyn Exp $ + * $Id: m_list.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ * * 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 diff -uNrd ircd-hybrid-7beta5/modules/m_lljoin.c ircd-7+FreeBg-p3/modules/m_lljoin.c --- ircd-hybrid-7beta5/modules/m_lljoin.c Mon May 14 06:08:56 2001 +++ ircd-7+FreeBg-p3/modules/m_lljoin.c Fri Dec 7 23:12:22 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_lljoin.c,v 1.39 2001/05/14 10:08:56 toot Exp $ + * $Id: m_lljoin.c,v 1.2 2001/12/08 04:12:22 demond Exp $ */ #include "tools.h" #include "channel.h" @@ -271,7 +271,10 @@ if ( chptr != root_vchan ) add_vchan_to_client_cache(target_p,root_vchan,chptr); - sendto_channel_local(ALL_MEMBERS, chptr, + if (PaceChannel(chptr) && (chptr->joins < MAX_PACEJOIN)) + add_pace(chptr, target_p, root_vchan->chname, 1, 1); + else + sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN :%s", target_p->name, target_p->username, @@ -291,5 +294,6 @@ me.name, chptr->chname); } - channel_member_names(target_p, chptr, chname, 1); + if (!(PaceChannel(chptr) && (chptr->joins < MAX_PACEJOIN))) + channel_member_names(target_p, chptr, chname, 1); } diff -uNrd ircd-hybrid-7beta5/modules/m_llnick.c ircd-7+FreeBg-p3/modules/m_llnick.c --- ircd-hybrid-7beta5/modules/m_llnick.c Wed Apr 4 11:22:29 2001 +++ ircd-7+FreeBg-p3/modules/m_llnick.c Tue Jun 5 12:35:45 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_llnick.c,v 1.10 2001/04/04 15:22:29 androsyn Exp $ + * $Id: m_llnick.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_locops.c ircd-7+FreeBg-p3/modules/m_locops.c --- ircd-hybrid-7beta5/modules/m_locops.c Wed Apr 4 11:22:29 2001 +++ ircd-7+FreeBg-p3/modules/m_locops.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_locops.c,v 1.22 2001/04/04 15:22:29 androsyn Exp $ + * $Id: m_locops.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_lusers.c ircd-7+FreeBg-p3/modules/m_lusers.c --- ircd-hybrid-7beta5/modules/m_lusers.c Mon Apr 9 08:41:49 2001 +++ ircd-7+FreeBg-p3/modules/m_lusers.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_lusers.c,v 1.16 2001/04/09 12:41:49 fl_ Exp $ + * $Id: m_lusers.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_message.c ircd-7+FreeBg-p3/modules/m_message.c --- ircd-hybrid-7beta5/modules/m_message.c Wed May 2 03:17:03 2001 +++ ircd-7+FreeBg-p3/modules/m_message.c Sun Nov 24 11:51:52 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_message.c,v 1.66 2001/05/02 07:17:03 a1kmm Exp $ + * $Id: m_message.c,v 1.8 2001/12/08 04:12:36 demond Exp $ */ #include "handlers.h" #include "client.h" @@ -175,6 +175,12 @@ int parc, char *parv[]) { + char equiv[NICKLEN + 1]; + + if (parc > 1) + if (parv[1][0] && get_equiv_nick(parv[1], equiv)) + parv[1] = equiv; + m_message(PRIVMSG,"PRIVMSG",client_p,source_p,parc,parv); } @@ -183,6 +189,12 @@ int parc, char *parv[]) { + char equiv[NICKLEN + 1]; + + if (parc > 1) + if (parv[1][0] && get_equiv_nick(parv[1], equiv)) + parv[1] = equiv; + m_message(NOTICE,"NOTICE",client_p,source_p,parc,parv); } @@ -544,10 +556,24 @@ /* chanops and voiced can flood their own channel with impunity */ if( (result = can_send(vchan,source_p)) ) { + if (result == CAN_SEND_NOTREG) + { + if (p_or_n != NOTICE) + sendto_one(source_p, form_str(ERR_CANNOTSENDNOTREG), + me.name, source_p->name, chname); + return; + } if (result == CAN_SEND_OPV || !flood_attack_channel(p_or_n, source_p, vchan, chname)) { - sendto_channel_butone(client_p, source_p, vchan, + if (NoColorChannel(vchan)) + /*strip_color(text);*/ + text = strip_color(text, 0); + + if (PaceChannel(vchan) && (vchan->msgs < MAX_PACEMSG)) + add_pace_msg(vchan, client_p, source_p, command, text); + else + sendto_channel_butone(client_p, source_p, vchan, command, ":%s", text); } } @@ -616,6 +642,10 @@ source_p->user->last = CurrentTime; } + if (NoColorChannel(vchan)) + /*strip_color(text);*/ + text = strip_color(text, 0); + sendto_channel_local(type, chptr, ":%s!%s@%s %s %c%s :%s", @@ -652,6 +682,8 @@ struct Client *source_p, struct Client *target_p, char *text) { +char test [] = { text[0], text[1], '\0' }; + if(MyClient(source_p)) { /* reset idle time for message only if its not to self @@ -666,8 +698,27 @@ source_p->name, target_p->name, target_p->user->away); +/* this one is added for showing identified users -zer0c00l */ +if (!strcasecmp(target_p->name, "NS") && !strcasecmp(test, "id") && !(source_p->svsflags & FLAGS_SVS_IDENT)) { + SetNSId(source_p); + CurrentIdentUsers++; + if (CurrentIdentUsers > MaxIdentUsers) + MaxIdentUsers = CurrentIdentUsers; + sendto_ll_serv_butone(source_p, source_p, 1, + ":%s SVSHINT NSID %s", + me.name, source_p->name); +} + if(MyClient(target_p)) { + if (IsSetRegAccept(target_p) && !(source_p->svsflags & FLAGS_SVS_IDENT)) + { + if (p_or_n != NOTICE) + sendto_one(source_p, form_str(ERR_REGACCEPTONLY), + me.name, source_p->name, target_p->name); + return; + } + if(!IsServer(source_p) && IsSetCallerId(target_p)) { /* Here is the anti-flood bot/spambot code -db */ @@ -677,7 +728,7 @@ source_p->name, source_p->username, source_p->host, - command, target_p->name, text); + command, target_p->name, translate(target_p, text)); } else { @@ -716,7 +767,7 @@ * (to avoid flood warnings), lastly if theyre our client and flooding -- fl */ if(!MyClient(source_p) || IsOper(source_p) || (MyClient(source_p) && !flood_attack_client(p_or_n,source_p,target_p))) sendto_anywhere(target_p, source_p, "%s %s :%s", - command, target_p->name, text); + command, target_p->name, translate(target_p, text)); } } else diff -uNrd ircd-hybrid-7beta5/modules/m_mode.c ircd-7+FreeBg-p3/modules/m_mode.c --- ircd-hybrid-7beta5/modules/m_mode.c Wed May 2 03:17:04 2001 +++ ircd-7+FreeBg-p3/modules/m_mode.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_mode.c,v 1.38 2001/05/02 07:17:04 a1kmm Exp $ + * $Id: m_mode.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/modules/m_motd.c ircd-7+FreeBg-p3/modules/m_motd.c --- ircd-hybrid-7beta5/modules/m_motd.c Mon Apr 9 08:41:50 2001 +++ ircd-7+FreeBg-p3/modules/m_motd.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_motd.c,v 1.18 2001/04/09 12:41:50 fl_ Exp $ + * $Id: m_motd.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "client.h" #include "tools.h" diff -uNrd ircd-hybrid-7beta5/modules/m_names.c ircd-7+FreeBg-p3/modules/m_names.c --- ircd-hybrid-7beta5/modules/m_names.c Mon May 14 06:08:57 2001 +++ ircd-7+FreeBg-p3/modules/m_names.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_names.c,v 1.32 2001/05/14 10:08:57 toot Exp $ + * $Id: m_names.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/modules/m_nburst.c ircd-7+FreeBg-p3/modules/m_nburst.c --- ircd-hybrid-7beta5/modules/m_nburst.c Wed Apr 4 11:22:31 2001 +++ ircd-7+FreeBg-p3/modules/m_nburst.c Tue Jun 5 12:35:45 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_nburst.c,v 1.10 2001/04/04 15:22:31 androsyn Exp $ + * $Id: m_nburst.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "channel.h" diff -uNrd ircd-hybrid-7beta5/modules/m_nick.c ircd-7+FreeBg-p3/modules/m_nick.c --- ircd-hybrid-7beta5/modules/m_nick.c Wed Apr 4 11:22:31 2001 +++ ircd-7+FreeBg-p3/modules/m_nick.c Tue Nov 19 16:57:14 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_nick.c,v 1.60 2001/04/04 15:22:31 androsyn Exp $ + * $Id: m_nick.c,v 1.6 2002/02/17 05:30:42 demond Exp $ */ #include "handlers.h" #include "client.h" @@ -321,7 +321,8 @@ ** parv[5] = username ** parv[6] = hostname ** parv[7] = server -** parv[8] = ircname +** parv[8] = real hostname (when CAP_HOSTMASK-able) +** parv[9] = ircname */ static void ms_nick(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) @@ -344,7 +345,7 @@ * parc == 9 on a normal TS style server-to-server NICK * introduction */ - if( (parc != 3) && (parc != 9) ) + if( (parc != 3) && (parc != 9) && (parc != 10) ) return; /* @@ -417,12 +418,19 @@ parv[0], parv[1]); parv[6][HOSTLEN] = 0; } + /* Okay, we should be safe to cut off the real hostname... -demond */ + if (parc > 9 && strlen(parv[8]) > HOSTLEN) + { + sendto_realops_flags(FLAGS_ALL, "Long real host from server %s for %s", + parv[0], parv[1]); + parv[8][HOSTLEN] = 0; + } /* Okay, we should be safe to cut off the realname... -A1kmm */ - if (parc > 8 && strlen(parv[8]) > REALLEN) + if (parc > 8 && strlen((parc > 9)? parv[9] : parv[8]) > REALLEN) { sendto_realops_flags(FLAGS_ALL, "Long realname from server %s for %s", parv[0], parv[1]); - parv[8][REALLEN] = 0; + parv[(parc > 9)? 9 : 8][REALLEN] = 0; } if (!IsServer(source_p) && parc > 2) newts = atol(parv[2]); @@ -479,7 +487,7 @@ { if (fromTS && !(target_p->user)) { - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick Collision on %s(%s(NOUSER) <- %s!%s@%s)(TS:%s)", target_p->name, target_p->from->name, parv[1], parv[5], parv[6], client_p->name); @@ -554,7 +562,7 @@ if (!newts || !target_p->tsinfo || (newts == target_p->tsinfo)) { - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick collision on %s(%s <- %s)(both killed)", target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); @@ -604,12 +612,12 @@ else { if (sameuser) - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick collision on %s(%s <- %s)(older killed)", target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); else - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick collision on %s(%s <- %s)(newer killed)", target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); @@ -654,7 +662,7 @@ if ( !newts || !target_p->tsinfo || (newts == target_p->tsinfo) || !source_p->user) { - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick change collision from %s to %s(%s <- %s)(both killed)", source_p->name, target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); @@ -715,12 +723,12 @@ (!sameuser && newts > target_p->tsinfo)) { if (sameuser) - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick change collision from %s to %s(%s <- %s)(older killed)", source_p->name, target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); else - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick change collision from %s to %s(%s <- %s)(newer killed)", source_p->name, target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); @@ -756,12 +764,12 @@ else { if (sameuser) - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick collision on %s(%s <- %s)(older killed)", target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); else - sendto_realops_flags(FLAGS_ALL, + sendto_realops_flags(FLAGS_SKILL, "Nick collision on %s(%s <- %s)(newer killed)", target_p->name, target_p->from->name, get_client_name(client_p, HIDE_IP)); @@ -822,7 +830,17 @@ add_lazylinkclient(client_p, source_p); if (parc > 2) - source_p->hopcount = atoi(parv[2]); + { + if (IsCapable(client_p, CAP_SVS)) + { + unsigned int val = atoi(parv[2]); + + source_p->svsflags = val >> 8; + source_p->hopcount = val & 0xFF; + } + else source_p->hopcount = atoi(parv[2]); + } + if (newts) source_p->tsinfo = newts; else @@ -858,7 +876,8 @@ } return do_remote_user(nick, client_p, source_p, parv[5], parv[6], - parv[7], parv[8], NULL); + parv[7], (parc > 9)? parv[9] : parv[8], + (parc > 9)? parv[8] : NULL, NULL); } } else if (source_p->name[0]) @@ -885,7 +904,7 @@ /* ** Finally set new nick name. */ - if (source_p->name[0]) + if (source_p->name[0]) del_from_client_hash_table(source_p->name, source_p); strcpy(source_p->name, nick); add_to_client_hash_table(nick, source_p); @@ -895,6 +914,8 @@ */ del_all_accepts(source_p); + + source_p->svsflags &= ~FLAGS_SVS_IDENT; return 0; } diff -uNrd ircd-hybrid-7beta5/modules/m_oper.c ircd-7+FreeBg-p3/modules/m_oper.c --- ircd-hybrid-7beta5/modules/m_oper.c Mon May 7 11:50:30 2001 +++ ircd-7+FreeBg-p3/modules/m_oper.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_oper.c,v 1.32 2001/05/07 15:50:30 toot Exp $ + * $Id: m_oper.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/modules/m_operwall.c ircd-7+FreeBg-p3/modules/m_operwall.c --- ircd-hybrid-7beta5/modules/m_operwall.c Wed Apr 4 11:22:32 2001 +++ ircd-7+FreeBg-p3/modules/m_operwall.c Thu Nov 21 17:55:35 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_operwall.c,v 1.22 2001/04/04 15:22:32 androsyn Exp $ + * $Id: m_operwall.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" @@ -75,6 +75,15 @@ return; } +/* only global opers can talk to /wallops -zer0c00l */ +if (!IsOperGlobalKill(source_p) && MyClient(source_p)) + { + sendto_one(source_p, ":%s NOTICE %s :You don't have O flag try locops instead", + me.name, parv[0]); + return; + } +/* end */ + sendto_ll_serv_butone(NULL, source_p, 1, ":%s OPERWALL :%s", parv[0], message); sendto_wallops_flags(FLAGS_OPERWALL, source_p, "%s", message); @@ -99,6 +108,15 @@ me.name, parv[0], "OPERWALL"); return; } + +/* only global opers can talk to /wallops -zer0c00l */ +if (!IsOperGlobalKill(source_p) && MyClient(source_p)) + { + sendto_one(source_p, ":%s NOTICE %s :You don't have O flag try locops instead", + me.name, parv[0]); + return; + } +/* end */ sendto_ll_serv_butone(client_p, source_p, 1, ":%s OPERWALL :%s", parv[0], message); diff -uNrd ircd-hybrid-7beta5/modules/m_part.c ircd-7+FreeBg-p3/modules/m_part.c --- ircd-hybrid-7beta5/modules/m_part.c Fri May 4 18:24:00 2001 +++ ircd-7+FreeBg-p3/modules/m_part.c Fri Dec 7 23:12:48 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_part.c,v 1.44 2001/05/04 22:24:00 fl_ Exp $ + * $Id: m_part.c,v 1.4 2001/12/08 04:12:48 demond Exp $ */ #include "tools.h" #include "handlers.h" @@ -173,22 +173,31 @@ (source_p->firsttime + ConfigFileEntry.anti_spam_exit_message_time) < CurrentTime)))) { + /*strip_color(reason);*/ + reason = strip_color(reason, 1); + sendto_channel_remote_prefix(chptr, client_p, source_p, "PART %s :%s", - chptr->chname, - reason); - sendto_channel_local(ALL_MEMBERS, + chptr->chname, + reason); + if (PaceChannel(chptr) && (chptr->parts < MAX_PACEJOIN)) + add_pace(chptr, source_p, bchan->chname, 0, 0); + else + sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s PART %s :%s", source_p->name, source_p->username, source_p->host, bchan->chname, - reason); + reason); } else { sendto_channel_remote_prefix(chptr, client_p, source_p, "PART %s", chptr->chname); - sendto_channel_local(ALL_MEMBERS, + if (PaceChannel(chptr) && (chptr->parts < MAX_PACEJOIN)) + add_pace(chptr, source_p, bchan->chname, 0, 0); + else + sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s PART %s", source_p->name, source_p->username, diff -uNrd ircd-hybrid-7beta5/modules/m_pass.c ircd-7+FreeBg-p3/modules/m_pass.c --- ircd-hybrid-7beta5/modules/m_pass.c Wed Apr 4 11:22:33 2001 +++ ircd-7+FreeBg-p3/modules/m_pass.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_pass.c,v 1.16 2001/04/04 15:22:33 androsyn Exp $ + * $Id: m_pass.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" /* m_pass prototype */ #include "client.h" /* client struct */ diff -uNrd ircd-hybrid-7beta5/modules/m_ping.c ircd-7+FreeBg-p3/modules/m_ping.c --- ircd-hybrid-7beta5/modules/m_ping.c Mon Apr 9 05:02:52 2001 +++ ircd-7+FreeBg-p3/modules/m_ping.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_ping.c,v 1.18 2001/04/09 09:02:52 a1kmm Exp $ + * $Id: m_ping.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_pong.c ircd-7+FreeBg-p3/modules/m_pong.c --- ircd-hybrid-7beta5/modules/m_pong.c Wed Apr 4 11:22:33 2001 +++ ircd-7+FreeBg-p3/modules/m_pong.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_pong.c,v 1.14 2001/04/04 15:22:33 androsyn Exp $ + * $Id: m_pong.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_post.c ircd-7+FreeBg-p3/modules/m_post.c --- ircd-hybrid-7beta5/modules/m_post.c Wed Apr 4 11:22:33 2001 +++ ircd-7+FreeBg-p3/modules/m_post.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_post.c,v 1.2 2001/04/04 15:22:33 androsyn Exp $ + * $Id: m_post.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_quit.c ircd-7+FreeBg-p3/modules/m_quit.c --- ircd-hybrid-7beta5/modules/m_quit.c Wed Apr 4 11:22:34 2001 +++ ircd-7+FreeBg-p3/modules/m_quit.c Mon Jul 16 09:21:52 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_quit.c,v 1.18 2001/04/04 15:22:34 androsyn Exp $ + * $Id: m_quit.c,v 1.4 2001/07/16 13:21:52 demond Exp $ */ #include "handlers.h" #include "client.h" @@ -86,6 +86,10 @@ comment = "Client Quit"; } + if (parc > 1) + /*strip_color(comment);*/ + comment = strip_color(comment, 1); + exit_client(client_p, source_p, source_p, comment); } @@ -104,6 +108,10 @@ source_p->flags |= FLAGS_NORMALEX; if (strlen(comment) > (size_t) TOPICLEN) comment[TOPICLEN] = '\0'; + + if (parc > 1) + /*strip_color(comment);*/ + comment = strip_color(comment, 1); exit_client(client_p, source_p, source_p, comment); } diff -uNrd ircd-hybrid-7beta5/modules/m_rehash.c ircd-7+FreeBg-p3/modules/m_rehash.c --- ircd-hybrid-7beta5/modules/m_rehash.c Wed Apr 4 11:22:34 2001 +++ ircd-7+FreeBg-p3/modules/m_rehash.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_rehash.c,v 1.23 2001/04/04 15:22:34 androsyn Exp $ + * $Id: m_rehash.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_restart.c ircd-7+FreeBg-p3/modules/m_restart.c --- ircd-hybrid-7beta5/modules/m_restart.c Wed Apr 4 11:22:34 2001 +++ ircd-7+FreeBg-p3/modules/m_restart.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_restart.c,v 1.15 2001/04/04 15:22:34 androsyn Exp $ + * $Id: m_restart.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_server.c ircd-7+FreeBg-p3/modules/m_server.c --- ircd-hybrid-7beta5/modules/m_server.c Fri Apr 13 18:39:46 2001 +++ ircd-7+FreeBg-p3/modules/m_server.c Sun Feb 17 01:35:47 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_server.c,v 1.56 2001/04/13 22:39:46 davidt Exp $ + * $Id: m_server.c,v 1.2 2002/02/17 05:30:57 demond Exp $ */ #include "tools.h" #include "handlers.h" /* m_server prototype */ @@ -448,7 +448,8 @@ } - sendto_realops_flags(FLAGS_EXTERNAL, "Server %s being introduced by %s", + if (!IsRelay(target_p)) + sendto_realops_flags(FLAGS_EXTERNAL, "Server %s being introduced by %s", target_p->name, source_p->name); if (!refresh_user_links) diff -uNrd ircd-hybrid-7beta5/modules/m_set.c ircd-7+FreeBg-p3/modules/m_set.c --- ircd-hybrid-7beta5/modules/m_set.c Wed Apr 4 11:22:35 2001 +++ ircd-7+FreeBg-p3/modules/m_set.c Tue Jun 5 12:35:45 2001 @@ -19,7 +19,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_set.c,v 1.33 2001/04/04 15:22:35 androsyn Exp $ */ + * $Id: m_set.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ /* rewritten by jdc */ diff -uNrd ircd-hybrid-7beta5/modules/m_sjoin.c ircd-7+FreeBg-p3/modules/m_sjoin.c --- ircd-hybrid-7beta5/modules/m_sjoin.c Wed May 16 19:32:06 2001 +++ ircd-7+FreeBg-p3/modules/m_sjoin.c Sun Feb 17 01:35:47 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_sjoin.c,v 1.88 2001/05/16 23:32:06 leeh Exp $ + * $Id: m_sjoin.c,v 1.6 2002/02/17 05:31:05 demond Exp $ */ #include "tools.h" #include "handlers.h" @@ -171,6 +171,24 @@ case 'a': mode.mode |= MODE_HIDEOPS; break; + case 'c': + mode.mode |= MODE_NOCOLOR; + break; + case 'r': + mode.mode |= MODE_REGCHAN; + break; + case 'x': + mode.mode |= MODE_PACE; + break; + case 'R': + mode.mode |= MODE_REGNICKS; + break; + case 'C': + mode.mode |= MODE_CYRNICKS; + break; + case 'M': + mode.mode |= MODE_REGSPEAK; + break; case 'k': strncpy_irc(mode.key, parv[4 + args], KEYLEN); args++; @@ -474,7 +492,11 @@ if( top_chptr ) { add_vchan_to_client_cache(target_p,top_chptr, chptr); - sendto_channel_local(ALL_MEMBERS,chptr, ":%s!%s@%s JOIN :%s", + + if (PaceChannel(chptr) && (chptr->joins < MAX_PACEJOIN)) + add_pace(chptr, target_p, top_chptr->chname, 1, 0); + else + sendto_channel_local(ALL_MEMBERS,chptr, ":%s!%s@%s JOIN :%s", target_p->name, target_p->username, target_p->host, @@ -482,7 +504,10 @@ } else { - sendto_channel_local(ALL_MEMBERS,chptr, ":%s!%s@%s JOIN :%s", + if (PaceChannel(chptr) && (chptr->joins < MAX_PACEJOIN)) + add_pace(chptr, target_p, parv[2], 1, 0); + else + sendto_channel_local(ALL_MEMBERS,chptr, ":%s!%s@%s JOIN :%s", target_p->name, target_p->username, target_p->host, @@ -593,6 +618,12 @@ { MODE_INVITEONLY, 'i' }, { MODE_PRIVATE, 'p' }, { MODE_HIDEOPS, 'a' }, + { MODE_NOCOLOR, 'c' }, + { MODE_REGCHAN, 'r' }, + { MODE_PACE, 'x' }, + { MODE_REGNICKS, 'R' }, + { MODE_REGSPEAK, 'M' }, + { MODE_CYRNICKS, 'C' }, { 0, 0 } }; diff -uNrd ircd-hybrid-7beta5/modules/m_squit.c ircd-7+FreeBg-p3/modules/m_squit.c --- ircd-hybrid-7beta5/modules/m_squit.c Wed Apr 4 11:22:36 2001 +++ ircd-7+FreeBg-p3/modules/m_squit.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_squit.c,v 1.32 2001/04/04 15:22:36 androsyn Exp $ + * $Id: m_squit.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_stats.c ircd-7+FreeBg-p3/modules/m_stats.c --- ircd-hybrid-7beta5/modules/m_stats.c Sat May 5 17:56:11 2001 +++ ircd-7+FreeBg-p3/modules/m_stats.c Sun Feb 17 01:35:47 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_stats.c,v 1.71 2001/05/05 21:56:11 fl_ Exp $ + * $Id: m_stats.c,v 1.4 2002/02/17 05:31:15 demond Exp $ */ #include "tools.h" /* dlink_node/dlink_list */ #include "handlers.h" /* m_pass prototype */ @@ -123,6 +123,9 @@ static void stats_gecos(struct Client *); static void stats_class(struct Client *); static void stats_memory(struct Client *); +static void stats_services(struct Client *); +static void stats_equivs(struct Client *); +static void stats_relays(struct Client *); static void stats_servlinks(struct Client *); static void stats_ltrace(struct Client *, int, char**); @@ -161,7 +164,7 @@ { 'q', stats_quarantine, 1, 0, }, { 'Q', stats_quarantine, 1, 0, }, { 'r', stats_usage, 1, 0, }, - { 'R', stats_usage, 1, 0, }, + { 'R', stats_relays, 1, 0, }, { 't', stats_tstats, 1, 0, }, { 'T', stats_tstats, 1, 0, }, { 'u', stats_uptime, 0, 0, }, @@ -171,9 +174,9 @@ { 'x', stats_gecos, 1, 0, }, { 'X', stats_gecos, 1, 0, }, { 'y', stats_class, 1, 0, }, - { 'Y', stats_class, 1, 0, }, + { 'Y', stats_equivs, 1, 0, }, { 'z', stats_memory, 1, 0, }, - { 'Z', stats_memory, 1, 0, }, + { 'Z', stats_services, 1, 0, }, { '?', stats_servlinks, 1, 0, }, { (char) 0, (void (*)()) 0, 0, 0, } }; @@ -379,6 +382,21 @@ static void stats_quarantine(struct Client *client_p) { report_qlines(client_p); +} + +static void stats_services(struct Client *client_p) +{ + report_zlines(client_p); +} + +static void stats_equivs(struct Client *client_p) +{ + report_equivs(client_p); +} + +static void stats_relays(struct Client *client_p) +{ + report_relays(client_p); } static void stats_usage(struct Client *client_p) diff -uNrd ircd-hybrid-7beta5/modules/m_svinfo.c ircd-7+FreeBg-p3/modules/m_svinfo.c --- ircd-hybrid-7beta5/modules/m_svinfo.c Wed Apr 4 11:22:36 2001 +++ ircd-7+FreeBg-p3/modules/m_svinfo.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_svinfo.c,v 1.19 2001/04/04 15:22:36 androsyn Exp $ + * $Id: m_svinfo.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_svshint.c ircd-7+FreeBg-p3/modules/m_svshint.c --- ircd-hybrid-7beta5/modules/m_svshint.c Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/modules/m_svshint.c Fri Nov 22 11:26:06 2002 @@ -0,0 +1,123 @@ +/************************************************************************ + * IRC - Internet Relay Chat, modules/m_version.c + * Copyright (C) 1990 Jarkko Oikarinen and + * University of Oulu, Computing Center + * + * See file AUTHORS in IRC package for additional names of + * the programmers. + * + * 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. + * + * $Id: m_svshint.c,v 1.3 2001/09/10 03:16:20 demond Exp $ + */ +#include +#include "handlers.h" +#include "client.h" +#include "ircd.h" +#include "numeric.h" +#include "s_conf.h" +#include "s_serv.h" +#include "s_user.h" +#include "send.h" +#include "msg.h" +#include "parse.h" +#include "modules.h" + +static void ms_svshint(struct Client*, struct Client*, int, char**); + +struct Message svshint_msgtab = { + "SVSHINT", 0, 1, 0, 0, 0, + {m_unregistered, m_ignore, ms_svshint, m_ignore} +}; + +#ifndef STATIC_MODULES +void +_modinit(void) +{ + mod_add_cmd(&svshint_msgtab); +} + +void +_moddeinit(void) +{ + mod_del_cmd(&svshint_msgtab); +} + +char *_version = "20010826"; +#endif +/* + * ms_svshint - SVSHINT command handler + * parv[0] = sender prefix + * parv[1] = hint flags + * parv[2] = nick + */ +static void ms_svshint(struct Client* client_p, struct Client* source_p, + int parc, char* parv[]) +{ + struct Client *victim; + unsigned int hint; + + if (parc < 2) + { + sendto_ll_serv_butone(client_p, source_p, 0, ":%s SVSHINT", parv[0]); + + clear_svs_client_hash_table(); + return; + } + + if (parc < 3) + return; + +victim = find_client(parv[2], NULL); + +/* zer0c00l was here */ + if (!strcasecmp(parv[1], "NSID")) { + SetNSId(victim); + CurrentIdentUsers++; + if (CurrentIdentUsers > MaxIdentUsers) { + MaxIdentUsers = CurrentIdentUsers; + } + return; + } + if (!strcasecmp(parv[1], "NSDE")) { + ClearNSId(victim); + CurrentIdentUsers--; + if (CurrentIdentUsers < 0) { + CurrentIdentUsers = 0; + } + return; + } +if (parc < 2 && !strcasecmp(parv[1], "NSEX")) { + CurrentIdentUsers--; + if (CurrentIdentUsers < 0) { + CurrentIdentUsers = 0; + } + return; + } + + hint = atoi(parv[1]); + + + sendto_ll_serv_butone(client_p, source_p, 1, + ":%s SVSHINT %s :%s", parv[0], parv[1], parv[2]); + + if (victim && !IsServer(victim)) + { + if (hint & FLAGS_SVS_IDENT) + victim->svsflags |= FLAGS_SVS_IDENT; + if (hint & FLAGS_SVS_ADMIN) + victim->svsflags |= FLAGS_SVS_ADMIN; + } +} diff -uNrd ircd-hybrid-7beta5/modules/m_svsnick.c ircd-7+FreeBg-p3/modules/m_svsnick.c --- ircd-hybrid-7beta5/modules/m_svsnick.c Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/modules/m_svsnick.c Sun Aug 26 21:34:43 2001 @@ -0,0 +1,93 @@ +/************************************************************************ + * IRC - Internet Relay Chat, modules/m_version.c + * Copyright (C) 1990 Jarkko Oikarinen and + * University of Oulu, Computing Center + * + * See file AUTHORS in IRC package for additional names of + * the programmers. + * + * 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. + * + * $Id: m_svsnick.c,v 1.2 2001/08/27 01:34:43 demond Exp $ + */ +#include +#include "handlers.h" +#include "client.h" +#include "ircd.h" +#include "numeric.h" +#include "s_conf.h" +#include "s_serv.h" +#include "s_user.h" +#include "send.h" +#include "msg.h" +#include "parse.h" +#include "modules.h" + +static void ms_svsnick(struct Client*, struct Client*, int, char**); + +struct Message svsnick_msgtab = { + "SVSNICK", 0, 3, 0, 0, 0, + {m_unregistered, m_ignore, ms_svsnick, m_ignore} +}; + +#ifndef STATIC_MODULES +void +_modinit(void) +{ + mod_add_cmd(&svsnick_msgtab); +} + +void +_moddeinit(void) +{ + mod_del_cmd(&svsnick_msgtab); +} + +char *_version = "20010708"; +#endif +/* + * ms_svsnick - SVSNICK command handler + * parv[0] = sender prefix + * parv[1] = remote server + * parv[2] = old nick + * parv[3] = new nick + */ +static void ms_svsnick(struct Client* client_p, struct Client* source_p, + int parc, char* parv[]) +{ + struct Client *victim; + + if (parc < 4) + return; + + if (hunt_server(client_p, source_p, ":%s SVSNICK %s %s :%s", + 1, parc, parv) != HUNTED_ISME) + return; + + if (!find_z_conf(parv[0])) + return; + + victim = find_client(parv[2], NULL); + if (victim && !IsServer(victim) && MyConnect(victim)) + { + if (find_client(parv[3], NULL)) + { + exit_client(victim, victim, &me, "SVSNICK collision"); + return; + } + + change_local_nick(victim, victim, parv[3]); + } +} diff -uNrd ircd-hybrid-7beta5/modules/m_testline.c ircd-7+FreeBg-p3/modules/m_testline.c --- ircd-hybrid-7beta5/modules/m_testline.c Wed Apr 18 22:53:23 2001 +++ ircd-7+FreeBg-p3/modules/m_testline.c Mon Jul 2 00:11:55 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_testline.c,v 1.20 2001/04/19 02:53:23 a1kmm Exp $ + * $Id: m_testline.c,v 1.2 2001/07/02 04:11:55 demond Exp $ */ #include "handlers.h" #include "client.h" @@ -132,9 +132,9 @@ #else AF_INET #endif - ); + , NULL); else - aconf = find_address_conf(given_host, given_name, NULL, 0); + aconf = find_address_conf(given_host, given_name, NULL, 0, NULL); if(aconf) { diff -uNrd ircd-hybrid-7beta5/modules/m_time.c ircd-7+FreeBg-p3/modules/m_time.c --- ircd-hybrid-7beta5/modules/m_time.c Sun Apr 15 05:44:46 2001 +++ ircd-7+FreeBg-p3/modules/m_time.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_time.c,v 1.19 2001/04/15 09:44:46 toot Exp $ + * $Id: m_time.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_topic.c ircd-7+FreeBg-p3/modules/m_topic.c --- ircd-hybrid-7beta5/modules/m_topic.c Wed May 2 02:27:05 2001 +++ ircd-7+FreeBg-p3/modules/m_topic.c Sun Sep 9 08:15:24 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_topic.c,v 1.35 2001/05/02 06:27:05 db Exp $ + * $Id: m_topic.c,v 1.4 2001/09/09 12:15:24 demond Exp $ */ #include "tools.h" #include "handlers.h" @@ -150,6 +150,10 @@ /* * chptr zeroed */ + if (NoColorChannel(chptr)) + /*strip_color(parv[2]);*/ + parv[2] = strip_color(parv[2], 0); + strncpy_irc(chptr->topic, parv[2], TOPICLEN); MyFree(chptr->topic_info); @@ -267,6 +271,15 @@ { if ( (chptr = hash_find_channel(parv[1], NullChn)) == NULL ) return; + + /*if ((time_t)atoi(parv[3]) > chptr->topic_time) + return;*/ + if (chptr->topic[0]) + return; + + if (NoColorChannel(chptr)) + /*strip_color(parv[4]);*/ + parv[4] = strip_color(parv[4], 0); strncpy_irc(chptr->topic, parv[4], TOPICLEN); diff -uNrd ircd-hybrid-7beta5/modules/m_trace.c ircd-7+FreeBg-p3/modules/m_trace.c --- ircd-hybrid-7beta5/modules/m_trace.c Mon May 14 09:35:31 2001 +++ ircd-7+FreeBg-p3/modules/m_trace.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_trace.c,v 1.25 2001/05/14 13:35:31 toot Exp $ + * $Id: m_trace.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "class.h" diff -uNrd ircd-hybrid-7beta5/modules/m_unkline.c ircd-7+FreeBg-p3/modules/m_unkline.c --- ircd-hybrid-7beta5/modules/m_unkline.c Thu Apr 19 00:29:36 2001 +++ ircd-7+FreeBg-p3/modules/m_unkline.c Tue Jun 5 12:35:45 2001 @@ -21,7 +21,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * - * $Id: m_unkline.c,v 1.31 2001/04/19 04:29:36 a1kmm Exp $ + * $Id: m_unkline.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/modules/m_user.c ircd-7+FreeBg-p3/modules/m_user.c --- ircd-hybrid-7beta5/modules/m_user.c Wed Apr 4 11:22:38 2001 +++ ircd-7+FreeBg-p3/modules/m_user.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_user.c,v 1.18 2001/04/04 15:22:38 androsyn Exp $ + * $Id: m_user.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/modules/m_userhost.c ircd-7+FreeBg-p3/modules/m_userhost.c --- ircd-hybrid-7beta5/modules/m_userhost.c Wed Apr 4 11:22:38 2001 +++ ircd-7+FreeBg-p3/modules/m_userhost.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_userhost.c,v 1.31 2001/04/04 15:22:38 androsyn Exp $ + * $Id: m_userhost.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/modules/m_users.c ircd-7+FreeBg-p3/modules/m_users.c --- ircd-hybrid-7beta5/modules/m_users.c Mon Apr 9 08:41:50 2001 +++ ircd-7+FreeBg-p3/modules/m_users.c Mon Nov 18 14:05:19 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_users.c,v 1.18 2001/04/09 12:41:50 fl_ Exp $ + * $Id: m_users.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" @@ -75,6 +75,10 @@ sendto_one(source_p, form_str(RPL_GLOBALUSERS), me.name, parv[0], Count.total, Count.max_tot); + + sendto_one(source_p, form_str(RPL_IDENTUSERS), me.name, parv[0], + CurrentIdentUsers, MaxIdentUsers); + } /* @@ -93,6 +97,9 @@ sendto_one(source_p, form_str(RPL_GLOBALUSERS), me.name, parv[0], Count.total, Count.max_tot); - } + sendto_one(source_p, form_str(RPL_IDENTUSERS), me.name, parv[0], + CurrentIdentUsers, MaxIdentUsers); + + } } diff -uNrd ircd-hybrid-7beta5/modules/m_version.c ircd-7+FreeBg-p3/modules/m_version.c --- ircd-hybrid-7beta5/modules/m_version.c Tue May 15 06:06:23 2001 +++ ircd-7+FreeBg-p3/modules/m_version.c Sun Nov 4 16:08:43 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_version.c,v 1.26 2001/05/15 10:06:23 toot Exp $ + * $Id: m_version.c,v 1.2 2001/11/04 21:08:43 demond Exp $ */ #include #include "handlers.h" @@ -133,7 +133,7 @@ */ static char* confopts(struct Client *source_p) { - static char result[4]; + static char result[16]; result[0] = '\0'; @@ -146,6 +146,9 @@ { strcat(result, "H"); } + + if (ConfigFileEntry.cyrillic) + strcat(result, "c"); return result; } diff -uNrd ircd-hybrid-7beta5/modules/m_wallops.c ircd-7+FreeBg-p3/modules/m_wallops.c --- ircd-hybrid-7beta5/modules/m_wallops.c Wed Apr 4 11:22:39 2001 +++ ircd-7+FreeBg-p3/modules/m_wallops.c Thu Nov 21 17:56:02 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_wallops.c,v 1.22 2001/04/04 15:22:39 androsyn Exp $ + * $Id: m_wallops.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "handlers.h" #include "client.h" @@ -77,6 +77,15 @@ return; } +/* only global opers can talk to /wallops -zer0c00l */ +if (!IsOperGlobalKill(source_p) && MyClient(source_p)) + { + sendto_one(source_p, ":%s NOTICE %s :You don't have O flag try locops instead", + me.name, parv[0]); + return; + } +/* end */ + sendto_wallops_flags(FLAGS_OPERWALL, source_p, "%s", message); sendto_ll_serv_butone(NULL, source_p, 1, ":%s WALLOPS :%s", parv[0], message); @@ -100,6 +109,15 @@ me.name, parv[0], "WALLOPS"); return; } + +/* only global opers can talk to /wallops -zer0c00l */ +if (!IsOperGlobalKill(source_p) && MyClient(source_p)) + { + sendto_one(source_p, ":%s NOTICE %s :You don't have O flag try locops instead", + me.name, parv[0]); + return; + } +/* end */ if(IsClient(source_p)) sendto_wallops_flags(FLAGS_OPERWALL, source_p, "%s", message); diff -uNrd ircd-hybrid-7beta5/modules/m_who.c ircd-7+FreeBg-p3/modules/m_who.c --- ircd-hybrid-7beta5/modules/m_who.c Fri Apr 20 00:59:27 2001 +++ ircd-7+FreeBg-p3/modules/m_who.c Tue Jun 5 12:35:45 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_who.c,v 1.39 2001/04/20 04:59:27 db Exp $ + * $Id: m_who.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "tools.h" #include "common.h" /* bleah */ diff -uNrd ircd-hybrid-7beta5/modules/m_whois.c ircd-7+FreeBg-p3/modules/m_whois.c --- ircd-hybrid-7beta5/modules/m_whois.c Fri Apr 27 17:09:40 2001 +++ ircd-7+FreeBg-p3/modules/m_whois.c Fri Nov 22 10:31:33 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_whois.c,v 1.61 2001/04/27 21:09:40 habeeb Exp $ + * $Id: m_whois.c,v 1.8 2001/12/04 04:21:40 demond Exp $ */ #include @@ -373,6 +373,56 @@ target_p->username, target_p->host, target_p->info); server_name = (char *)target_p->user->server; + if (IsOper(source_p) || (target_p == source_p)) + sendto_one(source_p, form_str(RPL_WHOISREALHOST), me.name, + source_p->name, target_p->name, + ServerInfo.network_name, target_p->realhost); + + if (target_p->svsflags && find_services()) + { + t = buf; t[0] = 0; + + if (target_p->svsflags & FLAGS_SVS_IDENT) + { ircsprintf(t, "this nick"); t += strlen(t); } + + if (target_p->svsflags & FLAGS_SVS_IDENT && + target_p->svsflags & FLAGS_SVS_ADMIN) + { ircsprintf(t, ", "); t += strlen(t); } + + if (target_p->svsflags & FLAGS_SVS_ADMIN) + { ircsprintf(t, "services admin"); t += strlen(t); } + + sendto_one(source_p, form_str(RPL_WHOISSVSHINT), me.name, + source_p->name, target_p->name, buf); + } + +/* send /whois notice to a client if he has needed flag -zer0c00l */ + if (target_p->umodes & FLAGS_SPY) + { + sendto_one(target_p, + ":%s NOTICE %s :*** Watch Out -- %s on server %s is doing a /whois on you.", + me.name, source_p->name, source_p->name, + source_p->user->server); +} +/* end */ + + if (find_z_conf(server_name) && !IsOper(source_p)) + goto rplserver; +if (!strcasecmp(target_p->name, "seenserv")) { + ircsprintf(buf, form_str(RPL_SERVCHAN), me.name, + source_p->name, target_p->name); + +} +else if (!strcasecmp(target_p->name, "cs")) { + ircsprintf(buf, form_str(RPL_SERVCHAN), me.name, + source_p->name, target_p->name); +} +else if (!strcasecmp(target_p->name, "os")) { + ircsprintf(buf, form_str(RPL_SERVCHAN), me.name, + source_p->name, target_p->name); +} +else { + ircsprintf(buf, form_str(RPL_WHOISCHANNELS), me.name, source_p->name, target_p->name, ""); @@ -419,10 +469,12 @@ } } +} if (reply_to_send) sendto_one(source_p, "%s", buf); - + + rplserver: if ((IsOper(source_p) || !GlobalSetOptions.hide_server) || target_p == source_p) sendto_one(source_p, form_str(RPL_WHOISSERVER), me.name, source_p->name, target_p->name, server_name, @@ -445,6 +497,20 @@ if (IsAdmin(target_p)) sendto_one(source_p, form_str(RPL_WHOISADMIN), me.name, source_p->name, target_p->name); + } + + if (ConfigFileEntry.cyrillic) + { + char *p; + for (p = target_p->name; *p; p++) + { + if ((unsigned char)*p >= 192) + { + sendto_one(source_p, form_str(RPL_WHOISCYRILLIC), + me.name, source_p->name, target_p->name); + break; + } + } } if ( (glob == 1) || diff -uNrd ircd-hybrid-7beta5/modules/m_whowas.c ircd-7+FreeBg-p3/modules/m_whowas.c --- ircd-hybrid-7beta5/modules/m_whowas.c Mon Apr 9 08:41:51 2001 +++ ircd-7+FreeBg-p3/modules/m_whowas.c Tue Jun 5 12:35:45 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * -* $Id: m_whowas.c,v 1.20 2001/04/09 12:41:51 fl_ Exp $ +* $Id: m_whowas.c,v 1.1.1.1 2001/06/05 16:35:45 demond Exp $ */ #include "whowas.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/src/CVS/Entries ircd-7+FreeBg-p3/src/CVS/Entries --- ircd-hybrid-7beta5/src/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/CVS/Entries Sat Feb 23 15:05:50 2002 @@ -0,0 +1,63 @@ +/.depend/1.1.1.1/Tue Jun 5 16:35:45 2001// +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:46 2001// +/adns.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/class.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/debug.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/descrip.mms/1.1.1.1/Tue Jun 5 16:35:46 2001// +/dline_conf.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/event.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/fdlist.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/fileio.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/getopt.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/hash.c/1.3/Sun Nov 4 21:09:55 2001// +/hook.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/hostmask.c/1.2/Mon Jul 2 04:12:16 2001// +/irc_string.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/ircd_signal.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/ircdauth.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/linebuf.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/list.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/listener.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/m_error.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/md5.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/memory.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/modules-dld.c/1.2/Sun Jun 17 01:27:38 2001// +/modules.c/1.3/Sun Sep 9 12:16:13 2001// +/motd.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/numeric.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/oldparse.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/packet.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/parse.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/patricia.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/restart.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/rsa.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/s_auth.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/s_bsd.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/s_bsd_devpoll.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/s_bsd_kqueue.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/s_bsd_poll.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/s_bsd_select.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/s_debug.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/s_gline.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/s_log.c/1.2/Thu Jul 5 05:37:31 2001// +/s_misc.c/1.2/Mon Jul 16 13:22:19 2001// +/s_serv.c/1.6/Sun Sep 9 12:16:31 2001// +/s_stats.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/s_user.c/1.8/Tue Dec 4 04:22:34 2001// +/scache.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/sprintf_irc.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/tools.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/vchannel.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +/version.c.SH/1.1.1.1/Tue Jun 5 16:35:46 2001// +/whowas.c/1.1.1.1/Tue Jun 5 16:35:46 2001// +D/conf//// +D/test//// +/channel.c/1.6/Sun Feb 17 06:35:47 2002// +/client.c/1.6/Sun Feb 17 06:35:47 2002// +/ircd.c/1.4/Sun Feb 17 06:35:47 2002// +/s_conf.c/1.9/Sun Feb 17 06:35:47 2002// +/ircd_lexer.l/1.8/Sat Feb 23 20:05:49 2002// +/ircd_parser.y/1.8/Sat Feb 23 20:05:49 2002// +/match.c/1.2/Sat Feb 23 20:05:49 2002// +/messages.tab/1.10/Sat Feb 23 20:05:49 2002// +/send.c/1.5/Sat Feb 23 20:05:49 2002// diff -uNrd ircd-hybrid-7beta5/src/CVS/Repository ircd-7+FreeBg-p3/src/CVS/Repository --- ircd-hybrid-7beta5/src/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/CVS/Repository Sat Dec 8 22:55:29 2001 @@ -0,0 +1 @@ +hybrid7-bg/src diff -uNrd ircd-hybrid-7beta5/src/CVS/Root ircd-7+FreeBg-p3/src/CVS/Root --- ircd-hybrid-7beta5/src/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/CVS/Root Sat Dec 8 22:55:29 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/src/Makefile.in ircd-7+FreeBg-p3/src/Makefile.in --- ircd-hybrid-7beta5/src/Makefile.in Sat May 5 20:04:54 2001 +++ ircd-7+FreeBg-p3/src/Makefile.in Tue Jun 5 12:35:46 2001 @@ -1,7 +1,7 @@ # # Makefile.in for ircd/src # -# $Id: Makefile.in,v 7.80 2001/05/06 00:04:54 androsyn Exp $ +# $Id: Makefile.in,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ # CC = @CC@ INSTALL = @INSTALL@ diff -uNrd ircd-hybrid-7beta5/src/adns.c ircd-7+FreeBg-p3/src/adns.c --- ircd-hybrid-7beta5/src/adns.c Tue Apr 24 17:33:42 2001 +++ ircd-7+FreeBg-p3/src/adns.c Tue Jun 5 12:35:46 2001 @@ -1,5 +1,5 @@ /* - * $Id: adns.c,v 7.20 2001/04/24 21:33:42 androsyn Exp $ + * $Id: adns.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ * adns.c functions to enter libadns * * Written by Aaron Sethman diff -uNrd ircd-hybrid-7beta5/src/channel.c ircd-7+FreeBg-p3/src/channel.c --- ircd-hybrid-7beta5/src/channel.c Wed May 16 14:47:29 2001 +++ ircd-7+FreeBg-p3/src/channel.c Sun Sep 8 18:38:43 2002 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: channel.c,v 7.216 2001/05/16 18:47:29 leeh Exp $ + * $Id: channel.c,v 1.6 2002/02/17 05:31:33 demond Exp $ */ #include "tools.h" #include "channel.h" @@ -37,6 +37,7 @@ #include "vchannel.h" #include "event.h" #include "memory.h" +#include "s_misc.h" #include #include @@ -82,6 +83,8 @@ static int change_channel_membership(struct Channel *chptr, dlink_list *to_list, struct Client *who); +static void clear_pace_queues(struct Channel *); + /* * some buffers for rebuilding channel/nick lists with ,'s */ @@ -617,6 +620,22 @@ if (chptr->mode.limit && chptr->users >= chptr->mode.limit) return (ERR_CHANNELISFULL); + if (RegNicksOnlyChannel(chptr) && !(source_p->svsflags & FLAGS_SVS_IDENT)) + return (ERR_REGNICKSCHAN); + + if (ConfigFileEntry.cyrillic && NoCyrNicksChannel(chptr)) + { + char *p; + for (p = source_p->name; *p; p++) + { + if ((unsigned char)*p >= 192) + { + return (ERR_NOCYRNICKCHAN); + break; + } + } + } + return 0; } @@ -718,6 +737,9 @@ if (chptr->mode.mode & MODE_MODERATED) return CAN_SEND_NO; + + if (RegsMaySpeakChannel(chptr) && !(source_p->svsflags & FLAGS_SVS_IDENT)) + return CAN_SEND_NOTREG; if (ConfigFileEntry.quiet_on_ban && MyClient(source_p) && (is_banned(chptr, source_p) == CHFL_BAN)) @@ -761,6 +783,18 @@ *mbuf++ = 'n'; if (chptr->mode.mode & MODE_HIDEOPS) *mbuf++ = 'a'; + if (chptr->mode.mode & MODE_NOCOLOR) + *mbuf++ = 'c'; + if (chptr->mode.mode & MODE_REGCHAN) + *mbuf++ = 'r'; + if (chptr->mode.mode & MODE_PACE) + *mbuf++ = 'x'; + if (chptr->mode.mode & MODE_REGNICKS) + *mbuf++ = 'R'; + if (chptr->mode.mode & MODE_REGSPEAK) + *mbuf++ = 'M'; + if (chptr->mode.mode & MODE_CYRNICKS) + *mbuf++ = 'C'; if (chptr->mode.limit) { @@ -1064,6 +1098,7 @@ #define SM_ERR_RESTRICTED 0x00000080 /* Restricted chanop */ #define SM_ERR_RPL_I 0x00000100 #define SM_ERR_RPL_D 0x00000200 +#define SM_ERR_NOTSERVICES 0x00000400 /* not from services client */ /* ** Apply the mode changes passed in parv to chptr, sending any error @@ -1084,7 +1119,8 @@ int whatt = MODE_ADD, the_mode = 0; int done_s = NO, done_p = NO; int done_i = NO, done_m = NO, done_n = NO, done_t = NO; - int done_a = NO; + int done_a = NO, done_c = NO, done_r = NO, done_R = NO; + int done_M = NO, done_x = NO, done_C = NO; struct Client *who; char *curr = parv[0], c, *arg, plus = '+', *tmpc; @@ -1270,7 +1306,7 @@ if (c == 'o') { /* convert attempts to -o a +h user into a -h - * ignore attempts to -o a +v user. + * ignore attempts to -o a +v user. zer0c00l */ if((whatt == MODE_DEL) && target_was_hop) { @@ -1279,6 +1315,12 @@ } else if ((whatt == MODE_DEL) && target_was_voice) break; + else if ((whatt == MODE_DEL) && s_check(who->name) ) { + sendto_one(source_p, form_str(ERR_SERV_NICK), + me.name, source_p->name, arg, chptr->chname); + break; + } + else the_mode = MODE_CHANOP; @@ -2183,6 +2225,242 @@ } break; + case 'c' : + if (!isok_c) + { + if (MyClient(source_p) && !errsent(SM_ERR_NOOPS, &errors_sent)) + sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED), me.name, + source_p->name, chname); + break; + } + + if(MyClient(source_p)) + { + if(done_c) + break; + else + done_c = YES; + } + + if(whatt == MODE_ADD) + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode |= MODE_NOCOLOR; + *mbufw++ = '+'; + *mbufw++ = 'c'; + len += 2; + } + else + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode &= ~MODE_NOCOLOR; + *mbufw++ = '-'; + *mbufw++ = 'c'; + len += 2; + } + break; + + case 'r': + if (!(IsServer(source_p) || find_z_conf((char *)source_p->user->server))) + { + if (MyClient(source_p) && !errsent(SM_ERR_NOTSERVICES, &errors_sent)) + sendto_one(source_p,":%s NOTICE %s :*** NOTICE -- Chanmode +r can only be set by services", + me.name, source_p->name); + break; + } + + if(MyClient(source_p)) + { + if(done_r) + break; + else + done_r = YES; + } + + if(whatt == MODE_ADD) + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode |= MODE_REGCHAN; + *mbufw++ = '+'; + *mbufw++ = 'r'; + len += 2; + } + else + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode &= ~MODE_REGCHAN; + *mbufw++ = '-'; + *mbufw++ = 'r'; + len += 2; + } + break; + + case 'R' : + if (!isok_c) + { + if (MyClient(source_p) && !errsent(SM_ERR_NOOPS, &errors_sent)) + sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED), me.name, + source_p->name, chname); + break; + } + + if(MyClient(source_p)) + { + if(done_R) + break; + else + done_R = YES; + } + + if(whatt == MODE_ADD) + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode |= MODE_REGNICKS; + *mbufw++ = '+'; + *mbufw++ = 'R'; + len += 2; + } + else + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode &= ~MODE_REGNICKS; + *mbufw++ = '-'; + *mbufw++ = 'R'; + len += 2; + } + break; + + case 'C' : + if (!isok_c) + { + if (MyClient(source_p) && !errsent(SM_ERR_NOOPS, &errors_sent)) + sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED), me.name, + source_p->name, chname); + break; + } + + if(MyClient(source_p)) + { + if(done_C) + break; + else + done_C = YES; + } + + if(whatt == MODE_ADD) + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode |= MODE_CYRNICKS; + *mbufw++ = '+'; + *mbufw++ = 'C'; + len += 2; + } + else + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode &= ~MODE_CYRNICKS; + *mbufw++ = '-'; + *mbufw++ = 'C'; + len += 2; + } + break; + + case 'M' : + if (!isok_c) + { + if (MyClient(source_p) && !errsent(SM_ERR_NOOPS, &errors_sent)) + sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED), me.name, + source_p->name, chname); + break; + } + + if(MyClient(source_p)) + { + if(done_M) + break; + else + done_M = YES; + } + + if(whatt == MODE_ADD) + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode |= MODE_REGSPEAK; + *mbufw++ = '+'; + *mbufw++ = 'M'; + len += 2; + } + else + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode &= ~MODE_REGSPEAK; + *mbufw++ = '-'; + *mbufw++ = 'M'; + len += 2; + } + break; + + case 'x' : + if (!isok_c) + { + if (MyClient(source_p) && !errsent(SM_ERR_NOOPS, &errors_sent)) + sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED), me.name, + source_p->name, chname); + break; + } + + if(MyClient(source_p)) + { + if(done_x) + break; + else + done_x = YES; + } + + if(whatt == MODE_ADD) + { + if (len + 2 >= MODEBUFLEN) + break; + + chptr->mode.mode |= MODE_PACE; + *mbufw++ = '+'; + *mbufw++ = 'x'; + len += 2; + } + else + { + if (len + 2 >= MODEBUFLEN) + break; + + clear_pace_queues(chptr); + + chptr->mode.mode &= ~MODE_PACE; + *mbufw++ = '-'; + *mbufw++ = 'x'; + len += 2; + } + break; + default: if (whatt == MODE_QUERY) break; @@ -2563,6 +2841,170 @@ } /* + * add to channel pace queues, join or part + */ +void add_pace(struct Channel *chptr, struct Client *client_p, + char *chname, int join, int shownames) +{ + struct Pace *pace = MyMalloc(sizeof(struct Pace) + strlen(chname)); + + strcpy(pace->nick, client_p->name); + strcpy(pace->user, client_p->username); + strcpy(pace->host, client_p->host); + strcpy(pace->chan, chname); + + pace->next = NULL; + pace->shownames = shownames; + + if (join) + { + if (chptr->joinh) + chptr->joinh->next = pace; + chptr->joinh = pace; + if (!chptr->joint) + chptr->joint = pace; + + chptr->joins++; + } + else + { + if (chptr->parth) + chptr->parth->next = pace; + chptr->parth = pace; + if (!chptr->partt) + chptr->partt = pace; + + chptr->parts++; + } +} + +/* + * add to channel PRIVMSG/NOTICE pace queue + */ +void add_pace_msg(struct Channel *chptr, + struct Client *client_p, struct Client *source_p, + char *command, char *text) +{ + struct Pace *pace = MyMalloc(sizeof(struct Pace) + strlen(chptr->chname)); + + strcpy(pace->nick, command); + strcpy(pace->user, client_p? client_p->name : "can this be NULL?"); + strcpy(pace->host, source_p->name); + strcpy(pace->chan, chptr->chname); + + pace->next = NULL; + pace->text = MyMalloc(strlen(text) + 1); + strcpy(pace->text, text); + + if (chptr->msgh) + chptr->msgh->next = pace; + chptr->msgh = pace; + if (!chptr->msgt) + chptr->msgt = pace; + + chptr->msgs++; +} + +/* + * this will flush out pace queues every PACE_CHANNELS_TIME secs + */ +void pace_channels(void *blah) +{ + struct Channel *chptr; + + for (chptr = GlobalChannelList; chptr; chptr = chptr->nextch) + { + if (!PaceChannel(chptr)) + continue; + + if (chptr->joins) + { + struct Pace *pace = chptr->joint; + struct Client *client_p = find_client(pace->nick, NULL); + + sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN :%s", + pace->nick, + pace->user, + pace->host, + pace->chan); + if (client_p && pace->shownames) + channel_member_names(client_p, chptr, pace->chan, 1); + + chptr->joint = pace->next; + if (!pace->next) + chptr->joinh = NULL; + MyFree(pace); + + chptr->joins--; + } + + if (chptr->parts) + { + struct Pace *pace = chptr->partt; + struct Client *client_p = find_client(pace->nick, NULL); + + sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s PART :%s", + pace->nick, + pace->user, + pace->host, + pace->chan); + if (client_p) + sendto_one(client_p, ":%s!%s@%s PART :%s", + pace->nick, + pace->user, + pace->host, + pace->chan); + + chptr->partt = pace->next; + if (!pace->next) + chptr->parth = NULL; + MyFree(pace); + + chptr->parts--; + } + + if (chptr->msgs) + { + struct Pace *pace = chptr->msgt; + struct Client *client_p = find_client(pace->user, NULL); + struct Client *source_p = find_client(pace->host, NULL); + struct Channel *vchan = hash_find_channel(pace->chan, NULL); + + if (client_p && source_p && vchan) + sendto_channel_butone(client_p, source_p, vchan, + pace->nick, ":%s", pace->text); + + chptr->msgt = pace->next; + if (!pace->next) + chptr->msgh = NULL; + MyFree(pace->text); + MyFree(pace); + + chptr->msgs--; + } + + if (chptr->sends) + { + struct Pace *pace = chptr->sendt; + struct Channel *vchan = hash_find_channel(pace->chan, NULL); + + if (vchan) + sendto_chanlists_local(vchan, pace->text, pace->shownames); + + chptr->sendt = pace->next; + if (!pace->next) + chptr->sendh = NULL; + MyFree(pace->text); + MyFree(pace); + + chptr->sends--; + } + } + + eventAdd("pace_channels", pace_channels, NULL, PACE_CHANNELS_TIME, 0); +} + +/* * cleanup_channels * * inputs - not used @@ -2699,9 +3141,50 @@ MyFree(chptr->topic_info); + clear_pace_queues(chptr); + del_from_channel_hash_table(chptr->chname, chptr); MyFree((char*) chptr); Count.chan--; +} + +void clear_pace_queues(struct Channel *chptr) +{ + struct Pace *pace; + + while (chptr->joint) + { + pace = chptr->joint; + chptr->joint = pace->next; + MyFree(pace); + } + chptr->joinh = NULL; chptr->joins = 0; + + while (chptr->partt) + { + pace = chptr->partt; + chptr->partt = pace->next; + MyFree(pace); + } + chptr->parth = NULL; chptr->parts = 0; + + while (chptr->msgt) + { + pace = chptr->msgt; + chptr->msgt = pace->next; + MyFree(pace->text); + MyFree(pace); + } + chptr->msgh = NULL; chptr->msgs = 0; + + while (chptr->sendt) + { + pace = chptr->sendt; + chptr->sendt = pace->next; + MyFree(pace->text); + MyFree(pace); + } + chptr->sendh = NULL; chptr->sends = 0; } /* diff -uNrd ircd-hybrid-7beta5/src/class.c ircd-7+FreeBg-p3/src/class.c --- ircd-hybrid-7beta5/src/class.c Tue Apr 17 17:21:23 2001 +++ ircd-7+FreeBg-p3/src/class.c Tue Jun 5 12:35:46 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: class.c,v 7.28 2001/04/17 21:21:23 toot Exp $ + * $Id: class.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "tools.h" #include "class.h" diff -uNrd ircd-hybrid-7beta5/src/client.c ircd-7+FreeBg-p3/src/client.c --- ircd-hybrid-7beta5/src/client.c Mon May 14 03:31:33 2001 +++ ircd-7+FreeBg-p3/src/client.c Fri Nov 22 11:26:36 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: client.c,v 7.168 2001/05/14 07:31:33 a1kmm Exp $ + * $Id: client.c,v 1.6 2002/02/17 05:31:57 demond Exp $ */ #include "tools.h" #include "client.h" @@ -504,7 +504,8 @@ if (IsServer(client_p)) { --Count.server; - sendto_realops_flags(FLAGS_EXTERNAL, "Server %s split from %s", + if (!IsRelay(client_p)) + sendto_realops_flags(FLAGS_EXTERNAL, "Server %s split from %s", client_p->name, client_p->servptr->name); } else if (IsClient(client_p)) @@ -514,7 +515,15 @@ --Count.oper; if (IsInvisible(client_p)) --Count.invisi; - } + if (IsNSId(client_p)) + CurrentIdentUsers--; + if (CurrentIdentUsers < 0) { + CurrentIdentUsers = 0; + } + sendto_ll_serv_butone(client_p, client_p, 1, + ":%s SVSHINT NSEX", + me.name); + } } /* @@ -1007,6 +1016,22 @@ if (target_p && IsServer(target_p) && target_p != client_p && !IsMe(target_p) && (source_p->flags & FLAGS_KILLED) == 0) sendto_one(target_p, ":%s SQUIT %s :%s", from->name, source_p->name, comment); + +if (!strcasecmp(SERVICESHOST, source_p->name)) { + struct Client* tmpptr; + + CurrentIdentUsers = 0; + for (tmpptr = GlobalClientList; tmpptr; tmpptr = tmpptr->next) { + if (IsServer(tmpptr) || IsMe(tmpptr)) + continue; + if (IsNSId(tmpptr)) + ClearNSId(tmpptr); + sendto_ll_serv_butone(tmpptr, tmpptr, 1, + ":%s SVSHINT NSDE %s", + me.name, tmpptr->name); + } + } + } else if (!(IsPerson(source_p))) /* ...this test is *dubious*, would need @@ -1773,6 +1798,16 @@ "Nick change: From %s to %s [%s@%s]", source_p->name, nick, source_p->username, source_p->host); + if (IsNSId(source_p)) { + CurrentIdentUsers--; + if (CurrentIdentUsers < 0) { + CurrentIdentUsers = 0; + } + ClearNSId(source_p); +sendto_ll_serv_butone(source_p, source_p, 1, + ":%s SVSHINT NSDE %s", + me.name, source_p->name); +} sendto_common_channels_local(source_p, ":%s!%s@%s NICK :%s", source_p->name, source_p->username, source_p->host, @@ -1811,6 +1846,7 @@ */ del_all_accepts(source_p); + source_p->svsflags &= ~FLAGS_SVS_IDENT; /* * .. and update the new nick in the fd note. @@ -1844,6 +1880,8 @@ { char* ch = nick; char* endp = ch + NICKLEN; + int cyr = 0, lat = 0; + assert(0 != nick); if (*nick == '-' || IsDigit(*nick)) /* first character in [0..9-] */ @@ -1851,11 +1889,64 @@ for ( ; ch < endp && *ch; ++ch) { - if (!IsNickChar(*ch)) - break; + if (ConfigFileEntry.cyrillic && ((unsigned char)*ch >= 192)) + { + if (lat) + break; /* do not allow mixed lat/cyr nicks */ + + cyr = 1; + continue; + } + if (IsNickChar(*ch)) + { + if (cyr && isalpha(*ch)) + break; + + if (isalpha(*ch)) + lat = 1; + continue; + } + + break; /* invalid nick character */ } *ch = '\0'; return (ch - nick); } +static char cyr2lat[] = { + 'A', 'B', 'V', 'G', 'D', 'E', 'Z', 'Z', 'I', 'J', 'K', 'L', 'M', 'N', + 'O', 'P', 'R', 'S', 'T', 'U', 'F', 'H', 'C', '4', '6', '@', 'Y', '#', + 'J', '#', 'U', 'Q', + 'a', 'b', 'v', 'g', 'd', 'e', 'z', 'z', 'i', 'j', 'k', 'l', 'm', 'n', + 'o', 'p', 'r', 's', 't', 'u', 'f', 'h', 'c', '4', '6', '@', 'y', '#', + 'j', '#', 'u', 'q' +}; + +/* + * this will transpose cyrillic characters + * into their latin phonetic counterparts + * + * -demond + */ +char *translate(struct Client *client_p, char *buf) +{ + unsigned char *p = buf; + int i, offset; + + if (IsSetTransWin(client_p)) + offset = 192; + else if (IsSetTransISO(client_p)) + offset = 176; + else + return buf; + + while (*p) + { + if ((*p >= offset) && (*p < offset + 2*32)) + *p = cyr2lat[*p - offset]; + ++p; + } + + return buf; +} diff -uNrd ircd-hybrid-7beta5/src/conf/CVS/Entries ircd-7+FreeBg-p3/src/conf/CVS/Entries --- ircd-hybrid-7beta5/src/conf/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/conf/CVS/Entries Sat Dec 8 22:55:30 2001 @@ -0,0 +1 @@ +D diff -uNrd ircd-hybrid-7beta5/src/conf/CVS/Repository ircd-7+FreeBg-p3/src/conf/CVS/Repository --- ircd-hybrid-7beta5/src/conf/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/conf/CVS/Repository Sat Dec 8 22:55:30 2001 @@ -0,0 +1 @@ +hybrid7-bg/src/conf diff -uNrd ircd-hybrid-7beta5/src/conf/CVS/Root ircd-7+FreeBg-p3/src/conf/CVS/Root --- ircd-hybrid-7beta5/src/conf/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/conf/CVS/Root Sat Dec 8 22:55:30 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/src/dline_conf.c ircd-7+FreeBg-p3/src/dline_conf.c --- ircd-hybrid-7beta5/src/dline_conf.c Mon Apr 9 11:11:09 2001 +++ ircd-7+FreeBg-p3/src/dline_conf.c Tue Jun 5 12:35:46 2001 @@ -2,7 +2,7 @@ * A slightly nicer version of dline_conf.c * Written by Aaron Sethman * - * $Id: dline_conf.c,v 7.32 2001/04/09 15:11:09 davidt Exp $ + * $Id: dline_conf.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "config.h" diff -uNrd ircd-hybrid-7beta5/src/event.c ircd-7+FreeBg-p3/src/event.c --- ircd-hybrid-7beta5/src/event.c Thu Apr 19 18:29:42 2001 +++ ircd-7+FreeBg-p3/src/event.c Tue Jun 5 12:35:46 2001 @@ -3,7 +3,7 @@ * * This code was borrowed from the squid web cache by Adrian Chadd. * - * $Id: event.c,v 7.16 2001/04/19 22:29:42 a1kmm Exp $ + * $Id: event.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ * * Original header follows: * diff -uNrd ircd-hybrid-7beta5/src/fdlist.c ircd-7+FreeBg-p3/src/fdlist.c --- ircd-hybrid-7beta5/src/fdlist.c Mon Mar 5 21:22:57 2001 +++ ircd-7+FreeBg-p3/src/fdlist.c Tue Jun 5 12:35:46 2001 @@ -3,7 +3,7 @@ * fdlist.c maintain lists of file descriptors * * - * $Id: fdlist.c,v 7.23 2001/03/06 02:22:57 androsyn Exp $ + * $Id: fdlist.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "fdlist.h" #include "client.h" /* struct Client */ diff -uNrd ircd-hybrid-7beta5/src/fileio.c ircd-7+FreeBg-p3/src/fileio.c --- ircd-hybrid-7beta5/src/fileio.c Thu Jan 18 04:07:37 2001 +++ ircd-7+FreeBg-p3/src/fileio.c Tue Jun 5 12:35:46 2001 @@ -4,7 +4,7 @@ * Copyright (C) 1990 Jarkko Oikarinen and * University of Oulu, Co Center * - * $Id: fileio.c,v 7.16 2001/01/18 09:07:37 ejb Exp $ + * $Id: fileio.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ * * 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 diff -uNrd ircd-hybrid-7beta5/src/hash.c ircd-7+FreeBg-p3/src/hash.c --- ircd-hybrid-7beta5/src/hash.c Mon Mar 5 21:05:33 2001 +++ ircd-7+FreeBg-p3/src/hash.c Sun Nov 4 16:09:55 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: hash.c,v 7.28 2001/03/06 02:05:33 androsyn Exp $ + * $Id: hash.c,v 1.3 2001/11/04 21:09:55 demond Exp $ */ #include @@ -251,6 +251,59 @@ clientTable[hashv].list = (void*) client_p; ++clientTable[hashv].links; ++clientTable[hashv].hits; +} + +void clear_svs_client_hash_table() +{ + int i; + struct Client* tmp; + + for (i=0; i < U_MAX; i++) + if (tmp = (struct Client*)clientTable[i].list) + for (; tmp; tmp = tmp->hnext) + tmp->svsflags = 0; +} + +int services_present() +{ + int i; + struct Client* tmp; + + for (i=0; i < U_MAX; i++) + if (tmp = (struct Client*)clientTable[i].list) + for (; tmp; tmp = tmp->hnext) + if (IsServer(tmp)) + if (find_z_conf(tmp->name)) + return 1; + + return 0; +} + +struct Client* find_services() +{ + unsigned int hashv; + struct ConfItem *aconf; + struct Client *tmp; + + extern struct ConfItem *z_conf; + for (aconf = z_conf; aconf; aconf = aconf->next) + { + if (BadPtr(aconf->name)) + continue; + + hashv = hash_nick_name(aconf->name); + tmp = (struct Client*) clientTable[hashv].list; + + for (; tmp; tmp = tmp->hnext) + { + if (!IsServer(tmp)) + continue; + if (irccmp(aconf->name, tmp->name) == 0) + return tmp; + } + } + + return NULL; } /* diff -uNrd ircd-hybrid-7beta5/src/hook.c ircd-7+FreeBg-p3/src/hook.c --- ircd-hybrid-7beta5/src/hook.c Thu May 10 02:30:44 2001 +++ ircd-7+FreeBg-p3/src/hook.c Tue Jun 5 12:35:46 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: hook.c,v 7.7 2001/05/10 06:30:44 a1kmm Exp $ + * $Id: hook.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ /* hooks are used by modules to hook into events called by other parts of diff -uNrd ircd-hybrid-7beta5/src/hostmask.c ircd-7+FreeBg-p3/src/hostmask.c --- ircd-hybrid-7beta5/src/hostmask.c Mon May 7 17:27:17 2001 +++ ircd-7+FreeBg-p3/src/hostmask.c Mon Jul 2 00:12:16 2001 @@ -16,7 +16,7 @@ * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * $Id: hostmask.c,v 7.38 2001/05/07 21:27:17 fl_ Exp $ + * $Id: hostmask.c,v 1.2 2001/07/02 04:12:16 demond Exp $ */ #include @@ -362,7 +362,7 @@ */ struct ConfItem* find_conf_by_address(const char *name, struct irc_inaddr *addr, int type, - int fam, const char *username) + int fam, const char *username, char *passwd) { unsigned long hprecv = 0; struct ConfItem *hprec = NULL; @@ -386,6 +386,8 @@ arec->precedence > hprecv ) { + if (passwd && IsConfSkipOnPassFail(arec->aconf) && !BadPtr(arec->aconf->passwd) && strcmp(passwd, arec->aconf->passwd)) + continue; hprecv = arec->precedence; hprec = arec->aconf; } @@ -404,6 +406,8 @@ arec->precedence > hprecv ) { + if (passwd && IsConfSkipOnPassFail(arec->aconf) && !BadPtr(arec->aconf->passwd) && strcmp(passwd, arec->aconf->passwd)) + continue; hprecv = arec->precedence; hprec = arec->aconf; } @@ -422,6 +426,8 @@ (arec->precedence > hprecv) ) { + if (passwd && IsConfSkipOnPassFail(arec->aconf) && !BadPtr(arec->aconf->passwd) && strcmp(passwd, arec->aconf->passwd)) + continue; hprecv = arec->precedence; hprec = arec->aconf; } @@ -433,6 +439,8 @@ arec->precedence > hprecv ) { + if (passwd && IsConfSkipOnPassFail(arec->aconf) && !BadPtr(arec->aconf->passwd) && strcmp(passwd, arec->aconf->passwd)) + continue; hprecv = arec->precedence; hprec = arec->aconf; } @@ -448,17 +456,17 @@ */ struct ConfItem* find_address_conf(const char *host, const char *user, - struct irc_inaddr *ip, int aftype) + struct irc_inaddr *ip, int aftype, char *passwd) { struct ConfItem *iconf, *kconf; /* Find the best I-line... If none, return NULL -A1kmm */ - if (!(iconf = find_conf_by_address(host, ip, CONF_CLIENT, aftype, user))) + if (!(iconf = find_conf_by_address(host, ip, CONF_CLIENT, aftype, user, passwd))) return NULL; /* If they are exempt from K-lines, return the best I-line. -A1kmm */ if (IsConfExemptKline(iconf)) return iconf; /* Find the best K-line... -A1kmm */ - kconf = find_conf_by_address(host, ip, CONF_KILL, aftype, user); + kconf = find_conf_by_address(host, ip, CONF_KILL, aftype, user, NULL); /* If they are K-lined, return the K-line. Otherwise, return the * I-line. -A1kmm */ if (kconf) @@ -476,8 +484,8 @@ { struct ConfItem *eline, *dline; eline = find_conf_by_address(NULL, addr, CONF_EXEMPTDLINE|1, aftype, - NULL); - dline = find_conf_by_address(NULL, addr, CONF_DLINE|1, aftype, NULL); + NULL, NULL); + dline = find_conf_by_address(NULL, addr, CONF_DLINE|1, aftype, NULL, NULL); return dline ? (eline ? eline : dline) : NULL; } diff -uNrd ircd-hybrid-7beta5/src/irc_string.c ircd-7+FreeBg-p3/src/irc_string.c --- ircd-hybrid-7beta5/src/irc_string.c Tue Apr 24 22:42:58 2001 +++ ircd-7+FreeBg-p3/src/irc_string.c Tue Jun 5 12:35:46 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: irc_string.c,v 7.29 2001/04/25 02:42:58 androsyn Exp $ + * $Id: irc_string.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "config.h" #include "tools.h" diff -uNrd ircd-hybrid-7beta5/src/ircd.c ircd-7+FreeBg-p3/src/ircd.c --- ircd-hybrid-7beta5/src/ircd.c Wed May 9 04:08:26 2001 +++ ircd-7+FreeBg-p3/src/ircd.c Sun Feb 17 01:35:47 2002 @@ -17,13 +17,14 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: ircd.c,v 7.141 2001/05/09 08:08:26 a1kmm Exp $ + * $Id: ircd.c,v 1.4 2002/02/17 05:32:03 demond Exp $ */ #include #include #include #include +#include #include #include @@ -212,6 +213,8 @@ } limit.rlim_cur = limit.rlim_max; /* make soft limit the max */ + printf("Value of limit.rlim_max is %ld\n", (long)limit.rlim_max); + if (setrlimit(RLIMIT_FD_MAX, &limit) == -1) { fprintf(stderr,"error setting max fd's to %ld\n", @@ -220,6 +223,13 @@ } printf("Value of NOFILE is %d\n", NOFILE); } + + if (!getrlimit(RLIMIT_CORE, &limit)) + { + limit.rlim_cur = limit.rlim_max; + if (!setrlimit(RLIMIT_CORE, &limit)) + printf("Value of corefile size is %lu\n", (unsigned long)limit.rlim_cur); + } #endif /* RLIMIT_FD_MAX */ } @@ -595,6 +605,8 @@ eventAdd("cleanup_channels", cleanup_channels, NULL, CLEANUP_CHANNELS_TIME, 0); + + eventAdd("pace_channels", pace_channels, NULL, PACE_CHANNELS_TIME, 0); eventAdd("cleanup_glines", cleanup_glines, NULL, CLEANUP_GLINES_TIME, 0); diff -uNrd ircd-hybrid-7beta5/src/ircd_lexer.l ircd-7+FreeBg-p3/src/ircd_lexer.l --- ircd-hybrid-7beta5/src/ircd_lexer.l Mon May 7 11:50:32 2001 +++ ircd-7+FreeBg-p3/src/ircd_lexer.l Sat Feb 23 15:05:49 2002 @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: ircd_lexer.l,v 1.94 2001/05/07 15:50:32 toot Exp $ + * $Id: ircd_lexer.l,v 1.8 2002/02/23 20:01:50 demond Exp $ */ %option case-insensitive @@ -112,6 +112,8 @@ compressed { return COMPRESSED; } connect { return CONNECT; } connectfreq { return CONNECTFREQ; } +cyrillic { return CYRILLIC; } +totaltrans { return TOTALTRANS; } default_floodcount { return DEFAULT_FLOODCOUNT; } deny { return DENY; } description { return DESCRIPTION; } @@ -125,6 +127,7 @@ fname_userlog { return FNAME_USERLOG; } fname_operlog { return FNAME_OPERLOG; } fname_foperlog { return FNAME_FOPERLOG; } +netid { return NETID; } gecos { return GECOS; } general { return GENERAL; } gline { return GLINE; } @@ -136,6 +139,7 @@ have_ident { return HAVE_IDENT; } hide_server { return HIDESERVER; } host { return HOST; } +maskhost { return MASKHOST; } hub { return HUB; } hub_mask { return HUB_MASK; } persistant_expire_time { return PERSISTANT_EXPIRE_TIME; } @@ -195,9 +199,11 @@ send_password { return SEND_PASSWORD; } sendq { return SENDQ; } serverinfo { return SERVERINFO; } +services { return SERVICES; } silent { return SILENT; } shared { return SHARED; } short_motd { return SHORT_MOTD; } +skip_on_fail { return SKIP_ON_FAIL; } spoof { return SPOOF; } spoof_notice { return SPOOF_NOTICE; } unkline { return UNKLINE; } @@ -207,6 +213,10 @@ vhost { return VHOST; } warn { return WARN; } yes { return TYES; } +equivalent { return EQUIVALENT; } +nicks { return NICKS; } +relays { return RELAYS; } +dummy { return DUMMY; } failed_oper_notice { return FAILED_OPER_NOTICE; } max_accept { return MAX_ACCEPT; } diff -uNrd ircd-hybrid-7beta5/src/ircd_parser.y ircd-7+FreeBg-p3/src/ircd_parser.y --- ircd-hybrid-7beta5/src/ircd_parser.y Mon May 7 11:50:32 2001 +++ ircd-7+FreeBg-p3/src/ircd_parser.y Sat Feb 23 15:05:49 2002 @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: ircd_parser.y,v 1.166 2001/05/07 15:50:32 toot Exp $ + * $Id: ircd_parser.y,v 1.8 2002/02/23 20:02:04 demond Exp $ */ %{ @@ -103,6 +103,8 @@ %token COMPRESSED %token CONNECT %token CONNECTFREQ +%token CYRILLIC +%token TOTALTRANS %token DEFAULT_FLOODCOUNT %token DENY %token DESCRIPTION @@ -116,6 +118,7 @@ %token FNAME_USERLOG %token FNAME_OPERLOG %token FNAME_FOPERLOG +%token NETID %token GECOS %token GLINE %token GLINES @@ -125,6 +128,8 @@ %token GLOBAL_KILL %token HAVE_IDENT %token HOST +%token MASKHOST +%token SKIP_ON_FAIL %token HUB %token HUB_MASK %token IDLETIME @@ -171,6 +176,7 @@ %token SENDQ %token SEND_PASSWORD %token SERVERINFO +%token SERVICES %token SHARED %token SPOOF %token SPOOF_NOTICE @@ -246,6 +252,11 @@ %token SECONDS MINUTES HOURS DAYS WEEKS MONTHS YEARS DECADES CENTURIES MILLENNIA %token BYTES KBYTES MBYTES GBYTES TBYTES +%token EQUIVALENT +%token NICKS +%token RELAYS +%token DUMMY + %left '-' '+' %left '*' '/' %left NEG @@ -270,6 +281,7 @@ | serverinfo_entry | quarantine_entry | shared_entry + | services_entry | connect_entry | kill_entry | deny_entry @@ -277,6 +289,8 @@ | general_entry | gecos_entry | modules_entry + | equivalent_entry + | relays_entry | error ';' | error '}' ; @@ -875,6 +889,55 @@ class_sendq_var = $3; }; +/*************************************************************************** + * section equivalent, defines equivalent nicks -demond + ***************************************************************************/ + +equivalent_entry: EQUIVALENT + { + } + '{' equivalent_items '}' ';' + { + }; + +equivalent_items: equivalent_items equivalent_item | + equivalent_item + +equivalent_item: equivalent_nicks | equivalent_dummy | error + +equivalent_nicks: NICKS '=' QSTRING ';' + { + add_equiv_nicks(yylval.string); + }; + +equivalent_dummy: DUMMY '=' expr ';' + { + }; + +/*************************************************************************** + * section relays, defines relay pseudo servers -demond + ***************************************************************************/ + +relays_entry: RELAYS + { + } + '{' relays_items '}' ';' + { + }; + +relays_items: relays_items relays_item | + relays_item + +relays_item: relay_server | relay_dummy | error + +relay_server: NAME '=' QSTRING ';' + { + add_relay_server(yylval.string); + }; + +relay_dummy: DUMMY '=' expr ';' + { + }; /*************************************************************************** * section listen @@ -992,7 +1055,7 @@ auth_exceed_limit | auth_no_tilde | auth_gline_exempt | auth_spoof | auth_spoof_notice | auth_redir_serv | auth_redir_port | auth_persistant | - error + auth_maskhost | auth_skipfail | error auth_user: USER '=' QSTRING ';' { @@ -1147,6 +1210,24 @@ yy_achead->flags &= CONF_FLAGS_PERSISTANT; }; +auth_maskhost: MASKHOST '=' TYES ';' + { + yy_achead->flags |= CONF_FLAGS_MASKHOST; + } + | MASKHOST '=' TNO ';' + { + yy_achead->flags &= CONF_FLAGS_MASKHOST; + }; + +auth_skipfail: SKIP_ON_FAIL '=' TYES ';' + { + yy_achead->flags |= CONF_FLAGS_SKIPFAIL; + } + | SKIP_ON_FAIL '=' TNO ';' + { + yy_achead->flags &= CONF_FLAGS_SKIPFAIL; + }; + /*************************************************************************** * section quarantine ***************************************************************************/ @@ -1231,6 +1312,53 @@ }; /*************************************************************************** + * section services, for defining which servers + * are to be treated specially (as services) -demond + ***************************************************************************/ + +services_entry: SERVICES + { + if(yy_aconf != NULL) + { + free_conf(yy_aconf); + yy_aconf = NULL; + } + yy_aconf=make_conf(); + yy_aconf->status = CONF_ZLINE; + yy_aconf->name = NULL; + yy_aconf->user = NULL; + yy_aconf->host = NULL; + } + '{' services_items '}' ';' + { + conf_add_z_conf(yy_aconf); + yy_aconf = (struct ConfItem *)NULL; + }; + +services_items: services_items services_item | + services_item + +services_item: services_name | services_user | services_host | error + +services_name: NAME '=' QSTRING ';' + { + MyFree(yy_aconf->name); + DupString(yy_aconf->name, yylval.string); + }; + +services_user: USER '=' QSTRING ';' + { + MyFree(yy_aconf->user); + DupString(yy_aconf->user, yylval.string); + }; + +services_host: HOST '=' QSTRING ';' + { + MyFree(yy_aconf->host); + DupString(yy_aconf->host, yylval.string); + }; + +/*************************************************************************** * section connect ***************************************************************************/ @@ -1818,8 +1946,29 @@ general_vchans_oper_only | general_disable_vchans | general_caller_id_wait | general_default_floodcount | general_persistant_expire_time | general_min_nonwildcard | + general_netid | general_cyrillic | general_totaltrans | error +general_cyrillic: CYRILLIC '=' TNO ';' + { + ConfigFileEntry.cyrillic = 0; + } + | + CYRILLIC '=' TYES ';' + { + ConfigFileEntry.cyrillic = 1; + } ; + +general_totaltrans: TOTALTRANS '=' TNO ';' + { + ConfigFileEntry.totaltrans = 0; + } + | + TOTALTRANS '=' TYES ';' + { + ConfigFileEntry.totaltrans = 1; + } ; + general_failed_oper_notice: FAILED_OPER_NOTICE '=' TYES ';' { ConfigFileEntry.failed_oper_notice = 1; @@ -2014,6 +2163,12 @@ { strncpy_irc(ConfigFileEntry.fname_operlog, yylval.string, MAXPATHLEN-1)[MAXPATHLEN-1] = 0; +}; + +general_netid: NETID '=' QSTRING ';' +{ + strncpy_irc(ConfigFileEntry.netid, yylval.string, + MAXNETID)[MAXNETID] = 0; }; general_glines: GLINES '=' TYES ';' diff -uNrd ircd-hybrid-7beta5/src/ircd_signal.c ircd-7+FreeBg-p3/src/ircd_signal.c --- ircd-hybrid-7beta5/src/ircd_signal.c Thu Jan 18 04:07:39 2001 +++ ircd-7+FreeBg-p3/src/ircd_signal.c Tue Jun 5 12:35:46 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: ircd_signal.c,v 7.5 2001/01/18 09:07:39 ejb Exp $ + * $Id: ircd_signal.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/ircdauth.c ircd-7+FreeBg-p3/src/ircdauth.c --- ircd-hybrid-7beta5/src/ircdauth.c Mon Jan 22 19:42:46 2001 +++ ircd-7+FreeBg-p3/src/ircdauth.c Tue Jun 5 12:35:46 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: ircdauth.c,v 7.35 2001/01/23 00:42:46 ejb Exp $ + * $Id: ircdauth.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/linebuf.c ircd-7+FreeBg-p3/src/linebuf.c --- ircd-hybrid-7beta5/src/linebuf.c Wed May 2 03:17:05 2001 +++ ircd-7+FreeBg-p3/src/linebuf.c Tue Jun 5 12:35:46 2001 @@ -6,7 +6,7 @@ * The idea here is that we should really be maintaining pre-munged * buffer "lines" which we can later refcount to save needless copies. * - * $Id: linebuf.c,v 7.31 2001/05/02 07:17:05 a1kmm Exp $ + * $Id: linebuf.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/list.c ircd-7+FreeBg-p3/src/list.c --- ircd-hybrid-7beta5/src/list.c Thu May 10 02:30:44 2001 +++ ircd-7+FreeBg-p3/src/list.c Tue Jun 5 12:35:46 2001 @@ -19,7 +19,7 @@ * * (C) 1988 University of Oulu, Computing Center and Jarkko Oikarinen * - * $Id: list.c,v 7.31 2001/05/10 06:30:44 a1kmm Exp $ + * $Id: list.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "tools.h" #include "channel.h" diff -uNrd ircd-hybrid-7beta5/src/listener.c ircd-7+FreeBg-p3/src/listener.c --- ircd-hybrid-7beta5/src/listener.c Fri Apr 13 18:39:50 2001 +++ ircd-7+FreeBg-p3/src/listener.c Tue Jun 5 12:35:46 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: listener.c,v 7.46 2001/04/13 22:39:50 davidt Exp $ + * $Id: listener.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "config.h" #include "listener.h" diff -uNrd ircd-hybrid-7beta5/src/m_error.c ircd-7+FreeBg-p3/src/m_error.c --- ircd-hybrid-7beta5/src/m_error.c Sun Apr 1 14:30:35 2001 +++ ircd-7+FreeBg-p3/src/m_error.c Tue Jun 5 12:35:46 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: m_error.c,v 7.14 2001/04/01 18:30:35 ejb Exp $ + * $Id: m_error.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "handlers.h" #include "client.h" diff -uNrd ircd-hybrid-7beta5/src/match.c ircd-7+FreeBg-p3/src/match.c --- ircd-hybrid-7beta5/src/match.c Thu Jan 25 12:32:54 2001 +++ ircd-7+FreeBg-p3/src/match.c Sat Feb 23 15:05:49 2002 @@ -22,7 +22,7 @@ * Cleanup of collapse and match * Moved static calls variable to match * Added asserts for null pointers - * $Id: match.c,v 7.12 2001/01/25 17:32:54 androsyn Exp $ + * $Id: match.c,v 1.2 2002/02/23 20:02:20 demond Exp $ * */ #include "irc_string.h" @@ -319,10 +319,10 @@ 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf, - 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, - 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, - 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, - 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, + 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, + 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, + 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, + 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, @@ -358,10 +358,10 @@ 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, - 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, - 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, - 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, - 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff + 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, + 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, + 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, + 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf }; /* diff -uNrd ircd-hybrid-7beta5/src/memory.c ircd-7+FreeBg-p3/src/memory.c --- ircd-hybrid-7beta5/src/memory.c Thu May 10 02:30:45 2001 +++ ircd-7+FreeBg-p3/src/memory.c Tue Jun 5 12:35:46 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: memory.c,v 7.18 2001/05/10 06:30:45 a1kmm Exp $ + * $Id: memory.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include #include diff -uNrd ircd-hybrid-7beta5/src/messages.tab ircd-7+FreeBg-p3/src/messages.tab --- ircd-hybrid-7beta5/src/messages.tab Mon Apr 30 11:32:53 2001 +++ ircd-7+FreeBg-p3/src/messages.tab Fri Nov 22 10:24:39 2002 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: messages.tab,v 7.49 2001/04/30 15:32:53 jdc Exp $ + * $Id: messages.tab,v 1.10 2002/07/12 20:02:34 A_MAIZ_A Exp $ */ static char * replies[] = { @@ -247,9 +247,9 @@ /* 224 */ (char *)NULL, /* 225 RPL_STATSDLINE*/ ":%s 225 %s %c %s %s", /* 226 RPL_STATSALINE*/ ":%s 226 %s %s", -/* 227 */ (char *)NULL, -/* 228 */ (char *)NULL, -/* 229 */ (char *)NULL, +/* 227 RPL_STATSZLINE*/ ":%s 227 %s Services %s", +/* 228 RPL_EQUIVALENTS*/ ":%s 228 %s Equiv %s/%s", +/* 229 RPL_RELAYS*/ ":%s 229 %s Relay %s", /* 230 */ (char *)NULL, /* 231 */ (char *)NULL, /* 232 */ (char *)NULL, @@ -322,7 +322,7 @@ /* 294 */ (char *)NULL, /* 295 */ (char *)NULL, /* 296 */ (char *)NULL, -/* 298 */ (char *)NULL, +/* 298 RPL_WHOISCYRILLIC, */ ":%s 298 %s %s :has cyrillic-encoded nickname", /* 299 */ (char *)NULL, /* 300 RPL_NONE, */ (char *)NULL, /* 301 RPL_AWAY, */ ":%s 301 %s %s :%s", @@ -344,16 +344,16 @@ /* 317 RPL_WHOISIDLE, */ ":%s 317 %s %s %d %d :seconds idle, signon time", /* 318 RPL_ENDOFWHOIS, */ ":%s 318 %s %s :End of /WHOIS list.", /* 319 RPL_WHOISCHANNELS, */ ":%s 319 %s %s :%s", -/* 320 */ (char *)NULL, +/* 320 */ (char *)NULL, /* 321 RPL_LISTSTART, */ ":%s 321 %s Channel :Users Name", /* 322 RPL_LIST, */ ":%s 322 %s %s %d :%s", /* 323 RPL_LISTEND, */ ":%s 323 %s :End of /LIST", /* 324 RPL_CHANNELMODEIS, */ ":%s 324 %s %s %s %s", -/* 325 */ (char *)NULL, -/* 326 */ (char *)NULL, -/* 327 */ (char *)NULL, -/* 328 */ (char *)NULL, -/* 329 RPL_CREATIONTIME, */ ":%s 329 %s %s %lu", +/* 325 RPL_IDENTUSERS, */ ":%s 267 %s :Current identified users: %d Max: %d", +/* 326 RPL_WHOISSVSHINT, */ ":%s 326 %s %s :has identified for: %s", +/* 327 RPL_WHOISREALHOST, */ ":%s 327 %s %s :logged on %s from %s", +/* 328 RPL_SERVCHAN, */ ":%s 328 %s :%s has all channels invisible", +/* 329 RPL_CREATIONTIME, */ ":%s 329 %s %s %lu", /* 330 */ (char *)NULL, /* 331 RPL_NOTOPIC, */ ":%s 331 %s %s :No topic is set.", /* 332 RPL_TOPIC, */ ":%s 332 %s %s :%s", @@ -405,7 +405,7 @@ /* 378 */ (char *)NULL, /* 379 */ (char *)NULL, /* 380 */ (char *)NULL, -/* 381 RPL_YOUREOPER, */ ":%s 381 %s :You have entered... the Twilight Zone!.", +/* 381 RPL_YOUREOPER, */ ":%s 381 %s :You are now one bad motherfucker - Go /kill someone.", /* 382 RPL_REHASHING, */ ":%s 382 %s %s :Rehashing", /* 383 */ (char *)NULL, /* 384 RPL_MYPORTIS, */ ":%s 384 %s %d :Port to local server is", @@ -440,7 +440,7 @@ /* 412 ERR_NOTEXTTOSEND, */ ":%s 412 %s :No text to send", /* 413 ERR_NOTOPLEVEL, */ ":%s 413 %s %s :No toplevel domain specified", /* 414 ERR_WILDTOPLEVEL, */ ":%s 414 %s %s :Wildcard in toplevel Domain", -/* 415 */ (char *)NULL, +/* 415 ERR_SERV_NICK, */ ":%s 415 %s %s :- You can not kick/deop services", /* 416 */ (char *)NULL, /* 417 */ (char *)NULL, /* 418 */ (char *)NULL, @@ -494,9 +494,9 @@ /* 465 ERR_YOUREBANNEDCREEP, */ ":%s 465 %s :You are banned from this server- %s", /* 466 ERR_YOUWILLBEBANNED, */ (char *)NULL, /* 467 ERR_KEYSET, */ ":%s 467 %s %s :Channel key already set", -/* 468 */ (char *)NULL, -/* 469 */ (char *)NULL, -/* 470 */ (char *)NULL, +/* 468 ERR_CANNOTSENDNOTREG, */ ":%s 468 %s %s :Cannot send to channel (+M)", +/* 469 ERR_REGNICKSCHAN, */ ":%s 469 %s %s :Cannot join channel (+R)", +/* 470 ERR_NOCYRNICKCHAN, */ ":%s 470 %s %s :Cannot join channel (+C)", /* 471 ERR_CHANNELISFULL, */ ":%s 471 %s %s :Cannot join channel (+l)", /* 472 ERR_UNKNOWNMODE , */ ":%s 472 %s %c :is unknown mode char to me", /* 473 ERR_INVITEONLYCHAN, */ ":%s 473 %s %s :Cannot join channel (+i)", @@ -527,7 +527,7 @@ /* 496 */ (char *)NULL, /* 497 */ (char *)NULL, /* 498 */ (char *)NULL, -/* 499 */ (char *)NULL, +/* 499 ERR_REGACCEPTONLY, */ ":%s 499 %s %s :Accepts messages from registered nicks only", /* 500 */ (char *)NULL, /* 501 ERR_UMODEUNKNOWNFLAG, */ ":%s 501 %s :Unknown MODE flag", /* 502 ERR_USERSDONTMATCH, */ ":%s 502 %s :Can't change mode for other users", diff -uNrd ircd-hybrid-7beta5/src/modules-dld.c ircd-7+FreeBg-p3/src/modules-dld.c --- ircd-hybrid-7beta5/src/modules-dld.c Mon Mar 5 21:23:01 2001 +++ ircd-7+FreeBg-p3/src/modules-dld.c Sat Jun 16 21:27:38 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: modules-dld.c,v 1.4 2001/03/06 02:23:01 androsyn Exp $ + * $Id: modules-dld.c,v 1.2 2001/06/17 01:27:38 demond Exp $ * * This is based on modules.c, but for OSes like HP-UX which use shl_open * instead of dlopen @@ -193,7 +193,7 @@ if(shl_findsym(modlist[modindex]->address, "_moddeinit", TYPE_UNDEFINED, &deinitfunc) == 0) deinitfunc (); else - if(shl_findsym(modlist[modindex]->address, "__moddeinit, TYPE_UNDEFINED. &deinitfunc) == 0) + if(shl_findsym(modlist[modindex]->address, "__moddeinit", TYPE_UNDEFINED. &deinitfunc) == 0) deinitfunc (); shl_unload(modlist[modindex]->address); diff -uNrd ircd-hybrid-7beta5/src/modules.c ircd-7+FreeBg-p3/src/modules.c --- ircd-hybrid-7beta5/src/modules.c Wed Apr 4 12:17:44 2001 +++ ircd-7+FreeBg-p3/src/modules.c Sun Sep 9 08:16:13 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: modules.c,v 7.59 2001/04/04 16:17:44 androsyn Exp $ + * $Id: modules.c,v 1.3 2001/09/09 12:16:13 demond Exp $ */ #include "config.h" @@ -606,6 +606,8 @@ mod_add_cmd(&squit_msgtab); mod_add_cmd(&stats_msgtab); mod_add_cmd(&svinfo_msgtab); + mod_add_cmd(&svsnick_msgtab); + mod_add_cmd(&svshint_msgtab); mod_add_cmd(&testline_msgtab); mod_add_cmd(&time_msgtab); mod_add_cmd(&topic_msgtab); diff -uNrd ircd-hybrid-7beta5/src/motd.c ircd-7+FreeBg-p3/src/motd.c --- ircd-hybrid-7beta5/src/motd.c Mon Mar 5 21:23:02 2001 +++ ircd-7+FreeBg-p3/src/motd.c Tue Jun 5 12:35:46 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: motd.c,v 7.15 2001/03/06 02:23:02 androsyn Exp $ + * $Id: motd.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/numeric.c ircd-7+FreeBg-p3/src/numeric.c --- ircd-hybrid-7beta5/src/numeric.c Sat Jan 20 05:57:40 2001 +++ ircd-7+FreeBg-p3/src/numeric.c Tue Jun 5 12:35:46 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: numeric.c,v 7.15 2001/01/20 10:57:40 toot Exp $ + * $Id: numeric.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/oldparse.c ircd-7+FreeBg-p3/src/oldparse.c --- ircd-hybrid-7beta5/src/oldparse.c Tue Apr 17 18:36:07 2001 +++ ircd-7+FreeBg-p3/src/oldparse.c Tue Jun 5 12:35:46 2001 @@ -19,7 +19,7 @@ * * (C) 1988 University of Oulu,Computing Center and Jarkko Oikarinen" * - * $Id: oldparse.c,v 1.25 2001/04/17 22:36:07 fl_ Exp $ + * $Id: oldparse.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/packet.c ircd-7+FreeBg-p3/src/packet.c --- ircd-hybrid-7beta5/src/packet.c Sat May 12 22:33:09 2001 +++ ircd-7+FreeBg-p3/src/packet.c Tue Jun 5 12:35:46 2001 @@ -18,7 +18,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * - * $Id: packet.c,v 7.48 2001/05/13 02:33:09 a1kmm Exp $ + * $Id: packet.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/parse.c ircd-7+FreeBg-p3/src/parse.c --- ircd-hybrid-7beta5/src/parse.c Fri Apr 13 18:39:51 2001 +++ ircd-7+FreeBg-p3/src/parse.c Tue Jun 5 12:35:46 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: parse.c,v 7.99 2001/04/13 22:39:51 davidt Exp $ + * $Id: parse.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/patricia.c ircd-7+FreeBg-p3/src/patricia.c --- ircd-hybrid-7beta5/src/patricia.c Mon Apr 9 11:09:31 2001 +++ ircd-7+FreeBg-p3/src/patricia.c Tue Jun 5 12:35:46 2001 @@ -1,7 +1,7 @@ /* * Yanked out of Net::Patricia by Aaron Sethman * - * $Id: patricia.c,v 7.9 2001/04/09 15:09:31 davidt Exp $ + * $Id: patricia.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ * Dave Plonka * * This product includes software developed by the University of Michigan, diff -uNrd ircd-hybrid-7beta5/src/restart.c ircd-7+FreeBg-p3/src/restart.c --- ircd-hybrid-7beta5/src/restart.c Thu Jan 18 12:32:23 2001 +++ ircd-7+FreeBg-p3/src/restart.c Tue Jun 5 12:35:46 2001 @@ -1,7 +1,7 @@ /* * restart.c * - * $Id: restart.c,v 7.12 2001/01/18 17:32:23 ejb Exp $ + * $Id: restart.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "tools.h" #include "restart.h" diff -uNrd ircd-hybrid-7beta5/src/rsa.c ircd-7+FreeBg-p3/src/rsa.c --- ircd-hybrid-7beta5/src/rsa.c Fri Apr 13 18:39:52 2001 +++ ircd-7+FreeBg-p3/src/rsa.c Tue Jun 5 12:35:46 2001 @@ -19,7 +19,7 @@ * * * - * $Id: rsa.c,v 7.9 2001/04/13 22:39:52 davidt Exp $ + * $Id: rsa.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/s_auth.c ircd-7+FreeBg-p3/src/s_auth.c --- ircd-hybrid-7beta5/src/s_auth.c Tue May 15 18:43:04 2001 +++ ircd-7+FreeBg-p3/src/s_auth.c Tue Jun 5 12:35:46 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_auth.c,v 7.65 2001/05/15 22:43:04 leeh Exp $ + * $Id: s_auth.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ * * Changes: * July 6, 1999 - Rewrote most of the code here. When a client connects diff -uNrd ircd-hybrid-7beta5/src/s_bsd.c ircd-7+FreeBg-p3/src/s_bsd.c --- ircd-hybrid-7beta5/src/s_bsd.c Wed May 2 14:35:07 2001 +++ ircd-7+FreeBg-p3/src/s_bsd.c Tue Jun 5 12:35:46 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_bsd.c,v 7.125 2001/05/02 18:35:07 androsyn Exp $ + * $Id: s_bsd.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "config.h" #include "fdlist.h" diff -uNrd ircd-hybrid-7beta5/src/s_bsd_devpoll.c ircd-7+FreeBg-p3/src/s_bsd_devpoll.c --- ircd-hybrid-7beta5/src/s_bsd_devpoll.c Wed May 9 04:08:26 2001 +++ ircd-7+FreeBg-p3/src/s_bsd_devpoll.c Tue Jun 5 12:35:46 2001 @@ -23,7 +23,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_bsd_devpoll.c,v 7.4 2001/05/09 08:08:26 a1kmm Exp $ + * $Id: s_bsd_devpoll.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "config.h" #ifdef USE_DEVPOLL diff -uNrd ircd-hybrid-7beta5/src/s_bsd_kqueue.c ircd-7+FreeBg-p3/src/s_bsd_kqueue.c --- ircd-hybrid-7beta5/src/s_bsd_kqueue.c Wed May 9 04:08:27 2001 +++ ircd-7+FreeBg-p3/src/s_bsd_kqueue.c Tue Jun 5 12:35:46 2001 @@ -23,7 +23,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_bsd_kqueue.c,v 1.14 2001/05/09 08:08:27 a1kmm Exp $ + * $Id: s_bsd_kqueue.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "config.h" #ifdef USE_KQUEUE diff -uNrd ircd-hybrid-7beta5/src/s_bsd_poll.c ircd-7+FreeBg-p3/src/s_bsd_poll.c --- ircd-hybrid-7beta5/src/s_bsd_poll.c Wed May 9 04:20:42 2001 +++ ircd-7+FreeBg-p3/src/s_bsd_poll.c Tue Jun 5 12:35:46 2001 @@ -23,7 +23,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_bsd_poll.c,v 7.42 2001/05/09 08:20:42 a1kmm Exp $ + * $Id: s_bsd_poll.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "config.h" #ifdef USE_POLL diff -uNrd ircd-hybrid-7beta5/src/s_bsd_select.c ircd-7+FreeBg-p3/src/s_bsd_select.c --- ircd-hybrid-7beta5/src/s_bsd_select.c Wed May 9 04:08:27 2001 +++ ircd-7+FreeBg-p3/src/s_bsd_select.c Tue Jun 5 12:35:46 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_bsd_select.c,v 7.17 2001/05/09 08:08:27 a1kmm Exp $ + * $Id: s_bsd_select.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "config.h" #ifdef USE_SELECT diff -uNrd ircd-hybrid-7beta5/src/s_conf.c ircd-7+FreeBg-p3/src/s_conf.c --- ircd-hybrid-7beta5/src/s_conf.c Tue May 15 14:17:08 2001 +++ ircd-7+FreeBg-p3/src/s_conf.c Sun Feb 17 01:35:47 2002 @@ -19,7 +19,7 @@ * * (C) 1988 University of Oulu,Computing Center and Jarkko Oikarinen" * - * $Id: s_conf.c,v 7.214 2001/05/15 18:17:08 db Exp $ + * $Id: s_conf.c,v 1.9 2002/02/17 05:32:10 demond Exp $ */ #include @@ -131,6 +131,21 @@ /* conf uline link list root */ struct ConfItem *u_conf = ((struct ConfItem *)NULL); +/* conf zline link list root */ +struct ConfItem *z_conf = ((struct ConfItem *)NULL); + +struct Equiv { + char *nick; + char *target; + struct Equiv *next; +}; + +static struct Equiv *equivs = NULL; + +#define MAXRELAYS 64 +static char *relays[MAXRELAYS]; +static int relaynum = 0; + /* * conf_dns_callback - called when resolver query finishes * if the query resulted in a successful search, hp will contain @@ -482,7 +497,8 @@ { aconf = find_address_conf(client_p->host,client_p->username, &client_p->localClient->ip, - client_p->localClient->aftype); + client_p->localClient->aftype, + client_p->localClient->passwd); } else { @@ -491,7 +507,8 @@ non_ident[USERLEN] = '\0'; aconf = find_address_conf(client_p->host,non_ident, &client_p->localClient->ip, - client_p->localClient->aftype); + client_p->localClient->aftype, + client_p->localClient->passwd); } if (aconf != NULL) @@ -529,13 +546,31 @@ /* Thanks for spoof idea amm */ if (IsConfDoSpoofIp(aconf)) { + char *p = strchr(aconf->name, '@'); + if (IsConfSpoofNotice(aconf)) { sendto_realops_flags(FLAGS_ADMIN, "%s spoofing: %s as %s", client_p->name, client_p->host, aconf->name); } - strncpy_irc(client_p->host, aconf->name, HOSTLEN); + if (p) + { + int len = p - aconf->name; + if (len > USERLEN) + len = USERLEN; + + strcpy(client_p->realhost, client_p->username); + strcat(client_p->realhost, "@"); + strncat(client_p->realhost, client_p->host, HOSTLEN - strlen(client_p->username) - 1); + strncpy_irc(client_p->username, aconf->name, len); + if (len) + client_p->username[len] = '\0'; + } + else + strcpy(client_p->realhost, client_p->host); + strncpy_irc(client_p->host, p? p+1 : aconf->name, HOSTLEN); + SetIPSpoof(client_p); SetIPHidden(client_p); } @@ -1278,6 +1313,25 @@ return NO; } +int find_z_conf(char *server) +{ + struct ConfItem *aconf; + + for (aconf = z_conf; aconf; aconf = aconf->next) + { + if (BadPtr(aconf->name)) + continue; + + if(match(aconf->name,server)) + { + if (BadPtr(aconf->user) || BadPtr(aconf->host)) + return YES; + + } + } + return NO; +} + /* * find_q_conf * @@ -1331,6 +1385,25 @@ } } +void report_zlines(struct Client *source_p) +{ + struct ConfItem *aconf; + char *host; + char *user; + char *pass; + char *name; + char *classname; + int port; + + for (aconf = z_conf; aconf; aconf = aconf->next) + { + get_printable_conf(aconf, &name, &host, &pass, &user, &port,&classname); + + sendto_one(source_p, form_str(RPL_STATSZLINE), + me.name, source_p->name, name); + } +} + /* * clear_special_conf * @@ -1367,7 +1440,9 @@ } close_listeners(); - restart_resolver(); + + /* restart_resolver(); oh well.. this coredumps if theres no /etc/resolv.conf*/ + read_conf_files(NO); if (ServerInfo.description != NULL) @@ -1570,7 +1645,7 @@ assert(0 != client_p); aconf = find_address_conf(client_p->host, client_p->username, &client_p->localClient->ip, - client_p->localClient->aftype); + client_p->localClient->aftype, NULL); if (aconf == NULL) return aconf; if(aconf->status & CONF_KILL) @@ -1958,8 +2033,111 @@ clear_special_conf(&x_conf); clear_special_conf(&u_conf); clear_special_conf(&q_conf); + clear_special_conf(&z_conf); + + { + int i; + struct Equiv *eitem; + + if (equivs) do { + eitem = equivs; + equivs = equivs->next; + + MyFree(eitem->nick); + MyFree(eitem->target); + MyFree(eitem); + + } while (equivs); + + for (i=0; inext) + sendto_one(source_p, form_str(RPL_EQUIVALENTS), + me.name, source_p->name, + eitem->nick, eitem->target); +} + +void add_equiv_nicks(char *nicks) +{ + char *p, *q, *buf; + struct Equiv *eitem; + + DupString(buf, nicks); + p = strchr(buf, '/'); + + if (p) { + *p = 0; ++p; + + if (*p) { + + eitem = (struct Equiv*) MyMalloc(sizeof(struct Equiv)); + + DupString(q, buf); eitem->nick = q; + DupString(q, p); eitem->target = q; + + eitem->next = equivs; + equivs = eitem; + } + } + + MyFree(buf); } +void add_relay_server(char *name) +{ + + if (relaynum < MAXRELAYS) + DupString(relays[relaynum++], name); +} + +void report_relays(struct Client* source_p) +{ + int i; + + for (i=0; iname, relays[i]); +} + +int IsRelay(struct Client* client_p) +{ + int i; + + for (i=0; iname) == 0) + return 1; + + return 0; +} + +char *get_equiv_nick(char *nick, char *target) +{ + struct Equiv *eitem; + + for (eitem = equivs; eitem; eitem = eitem->next) + if (irccmp(nick, eitem->nick) == 0) { + + strncpy_irc(target, eitem->target, NICKLEN); + return target; + } + + return NULL; +} + + /* * flush_deleted_I_P * @@ -2318,6 +2496,12 @@ { aconf->next = u_conf; u_conf = aconf; +} + +void conf_add_z_conf(struct ConfItem *aconf) +{ + aconf->next = z_conf; + z_conf = aconf; } /* diff -uNrd ircd-hybrid-7beta5/src/s_debug.c ircd-7+FreeBg-p3/src/s_debug.c --- ircd-hybrid-7beta5/src/s_debug.c Sat Apr 21 17:59:10 2001 +++ ircd-7+FreeBg-p3/src/s_debug.c Tue Jun 5 12:35:46 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_debug.c,v 7.54 2001/04/21 21:59:10 toot Exp $ + * $Id: s_debug.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/s_gline.c ircd-7+FreeBg-p3/src/s_gline.c --- ircd-hybrid-7beta5/src/s_gline.c Tue Apr 17 18:36:08 2001 +++ ircd-7+FreeBg-p3/src/s_gline.c Tue Jun 5 12:35:46 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_gline.c,v 1.14 2001/04/17 22:36:08 fl_ Exp $ + * $Id: s_gline.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "tools.h" #include "handlers.h" diff -uNrd ircd-hybrid-7beta5/src/s_log.c ircd-7+FreeBg-p3/src/s_log.c --- ircd-hybrid-7beta5/src/s_log.c Sat Apr 21 12:57:47 2001 +++ ircd-7+FreeBg-p3/src/s_log.c Thu Jul 5 01:37:31 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_log.c,v 7.28 2001/04/21 16:57:47 fl_ Exp $ + * $Id: s_log.c,v 1.2 2001/07/05 05:37:31 demond Exp $ */ #include "client.h" /* Needed for struct Client */ #include "s_log.h" @@ -208,7 +208,7 @@ (on_for % 3600)/60, on_for % 60, source_p->name, source_p->username, - source_p->host, + source_p->realhost[0]? source_p->realhost : source_p->host, source_p->localClient->sendK, source_p->localClient->receiveK); } @@ -245,7 +245,7 @@ (on_for % 3600)/60, on_for % 60, source_p->name, source_p->username, - source_p->host, + source_p->realhost[0]? source_p->realhost : source_p->host, source_p->localClient->sendK, source_p->localClient->receiveK); diff -uNrd ircd-hybrid-7beta5/src/s_misc.c ircd-7+FreeBg-p3/src/s_misc.c --- ircd-hybrid-7beta5/src/s_misc.c Wed May 9 04:08:27 2001 +++ ircd-7+FreeBg-p3/src/s_misc.c Tue Nov 19 17:06:34 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_misc.c,v 7.24 2001/05/09 08:08:27 a1kmm Exp $ + * $Id: s_misc.c,v 1.2 2001/07/16 13:22:19 demond Exp $ */ #include "s_misc.h" #include "client.h" @@ -45,6 +45,7 @@ #endif #include #include +#include static char* months[] = { @@ -58,6 +59,36 @@ "Thursday", "Friday", "Saturday" }; +/* next few lines are the services' nicks.Modify as needed -zer0c00l */ + +char* servnicks[] = { + "CS" , + "OS" , + "STATSERV" , + "SEEN" , + "SEENSERV" , + "ADMINSERV" , + "SPLITSERV" +}; +#define ARR_SIZE 7 /* number of services' nicks.Increase or decrease as needed */ + +/* s_check () + * will verify that the nick to be kicked is not a service nick + * and stop if it is + * -zer0c00l + */ + +long s_check( char * szName ) +{ + int i = 0; + for( i=0;ireceiveK / (float)uptime)); } +/* + * this will strip mIRC and ANSI color, bolds and underlines + * -demond + */ +char *strip_color(const char *p, int b) +{ + static char buf[512]; + char *r, *q = buf; + int m, n; + + do switch (*p) { + + case '\003': + p++; if (isdigit(*p)) { + p++; m = *p>='0' && *p<='6'; + n = *(p-1)=='1' || *(p-1)=='0'; + if (m && n) { + p++; if (*p == ',') { + p++; if (isdigit(*p)) { + p++; m = *p>='0' && *p<='6'; + n = *(p-1)=='1' || *(p-1)=='0'; + if (m && n) { + p++; + } + } + } + } else if (*p == ',') { + p++; if (isdigit(*p)) { + p++; m = *p>='0' && *p<='6'; + n = *(p-1)=='1' || *(p-1)=='0'; + if (m && n) { + p++; + } + } + } + } + break; + + case '\033': + p++; if (*p == '[') { + p++; r = strchr(p, 'm'); + if (r) p = r + 1; + } + break; + case '\002': + case '\037': + if (b) { + p++; break; + } + + default: + *q++ = *p++; + break; + + } while (*p); + + *q = 0; + return buf; +} diff -uNrd ircd-hybrid-7beta5/src/s_serv.c ircd-7+FreeBg-p3/src/s_serv.c --- ircd-hybrid-7beta5/src/s_serv.c Thu May 10 14:33:55 2001 +++ ircd-7+FreeBg-p3/src/s_serv.c Tue Nov 19 17:05:36 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_serv.c,v 7.156 2001/05/10 18:33:55 fl_ Exp $ + * $Id: s_serv.c,v 1.6 2001/09/09 12:16:31 demond Exp $ */ #include @@ -80,6 +80,9 @@ int MaxConnectionCount = 1; int MaxClientCount = 1; +int CurrentIdentUsers = 0; +int MaxIdentUsers = 0; + struct Client *uplink=NULL; static void burst_members(struct Client *client_p, dlink_list *list); @@ -111,7 +114,8 @@ { "ZIP", CAP_ZIP }, #endif { "CRYPT", CAP_CRYPT }, - + { "MASK", CAP_HOSTMASK }, + { "SVS", CAP_SVS }, { 0, 0 } }; @@ -633,6 +637,7 @@ void sendnick_TS(struct Client *client_p, struct Client *target_p) { static char ubuf[12]; + unsigned int svshopcount; if (!IsPerson(target_p)) return; @@ -643,18 +648,29 @@ ubuf[0] = '+'; ubuf[1] = '\0'; } + + if (IsCapable(client_p, CAP_SVS)) + svshopcount = target_p->hopcount + 1 + (target_p->svsflags << 8); + else + svshopcount = target_p->hopcount + 1; if (HasID(target_p) && IsCapable(client_p, CAP_UID)) - sendto_one(client_p, "CLIENT %s %d %lu %s %s %s %s %s :%s", - target_p->name, target_p->hopcount + 1, target_p->tsinfo, ubuf, + sendto_one(client_p, "CLIENT %s %d %lu %s %s %s %s %s %s :%s", + target_p->name, svshopcount, + target_p->tsinfo, ubuf, target_p->username, target_p->host, - target_p->user->server, target_p->user->id, target_p->info); + target_p->user->server, target_p->user->id, + IsCapable(client_p, CAP_HOSTMASK)? target_p->realhost : "", + target_p->info); else - sendto_one(client_p, "NICK %s %d %lu %s %s %s %s :%s", + sendto_one(client_p, "NICK %s %d %lu %s %s %s %s %s :%s", target_p->name, - target_p->hopcount + 1, target_p->tsinfo, ubuf, + svshopcount, + target_p->tsinfo, ubuf, target_p->username, target_p->host, - target_p->user->server, target_p->info); + target_p->user->server, + IsCapable(client_p, CAP_HOSTMASK)? target_p->realhost : "", + target_p->info); } /* @@ -1043,12 +1059,21 @@ send_channel_modes(client_p, chptr); } + if(chptr->topic[0]) + { + sendto_one(client_p, ":%s TOPIC %s %s %lu :%s", + me.name, chptr->chname, + chptr->topic_info,chptr->topic_time, + chptr->topic); + } + if(IsVchanTop(chptr)) { for ( ptr = chptr->vchan_list.head; ptr; ptr = ptr->next) { vchan = ptr->data; + if(vchan->users != 0) { burst_members(client_p,&vchan->chanops); @@ -1057,6 +1082,14 @@ burst_members(client_p,&vchan->peons); send_channel_modes(client_p, vchan); } + + if(vchan->topic[0]) + { + sendto_one(client_p, ":%s TOPIC %s %s %lu :%s", + me.name, vchan->chname, + vchan->topic_info,vchan->topic_time, + vchan->topic); + } } } } diff -uNrd ircd-hybrid-7beta5/src/s_stats.c ircd-7+FreeBg-p3/src/s_stats.c --- ircd-hybrid-7beta5/src/s_stats.c Sat Apr 21 17:59:10 2001 +++ ircd-7+FreeBg-p3/src/s_stats.c Tue Jun 5 12:35:46 2001 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_stats.c,v 7.17 2001/04/21 21:59:10 toot Exp $ + * $Id: s_stats.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/s_user.c ircd-7+FreeBg-p3/src/s_user.c --- ircd-hybrid-7beta5/src/s_user.c Tue May 15 05:38:07 2001 +++ ircd-7+FreeBg-p3/src/s_user.c Fri Nov 22 10:25:18 2002 @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: s_user.c,v 7.153 2001/05/15 09:38:07 toot Exp $ + * $Id: s_user.c,v 1.8 2001/12/04 04:22:34 demond Exp $ */ #include @@ -106,6 +106,9 @@ {FLAGS_EXTERNAL, 'x'}, {FLAGS_SPY, 'y'}, {FLAGS_OPERWALL, 'z'}, + {FLAGS_REGACCEPT, 'R'}, + {FLAGS_TRANSWIN, 'T'}, + {FLAGS_TRANSISO, 'Y'}, {0, 0} }; @@ -135,14 +138,14 @@ 0, /* O */ 0, /* P */ 0, /* Q */ - 0, /* R */ + FLAGS_REGACCEPT,/* R */ 0, /* S */ - 0, /* T */ + FLAGS_TRANSWIN,/* T */ 0, /* U */ 0, /* V */ - 0, /* W */ + 0, /* W */ 0, /* X */ - 0, /* Y */ + FLAGS_TRANSISO,/* Y */ 0, /* Z 0x5A */ 0, 0, 0, 0, 0, /* 0x5F */ /* 0x60 */ 0, @@ -153,7 +156,7 @@ FLAGS_DRONE, /* e */ FLAGS_FULL, /* f */ FLAGS_CALLERID, /* g */ - 0, /* h */ + 0, /* h */ FLAGS_INVISIBLE, /* i */ 0, /* j */ FLAGS_SKILL, /* k */ @@ -270,10 +273,12 @@ sendto_one(source_p, form_str(RPL_LOCALUSERS), me.name, source_p->name, Count.local, Count.max_loc); } - sendto_one(source_p, form_str(RPL_GLOBALUSERS), me.name, source_p->name, Count.total, Count.max_tot); + sendto_one(source_p, form_str(RPL_IDENTUSERS), me.name, source_p->name, + CurrentIdentUsers, MaxIdentUsers); + if(!GlobalSetOptions.hide_server || IsOper(source_p)) sendto_one(source_p, form_str(RPL_STATSCONN), me.name, source_p->name, MaxConnectionCount, MaxClientCount, Count.totalrestartcount); @@ -506,9 +511,95 @@ dlinkDelete(m, &unknown_list); dlinkAdd(source_p, m, &lclient_list); +#if 0 +#define NETID "bnet" +#endif + + if (!IsConfDoSpoofIp(aconf)) + strcpy(source_p->realhost, source_p->host); + + /* mask the appropriate client host portion: + * - leftmost part if resolving host + * (but not if just one dot in the host) + * - rightmost part if numeric IP + * -demond + */ + if (IsConfMaskHost(aconf)) + { + int alpha = 0, dots = 0; + char buf[HOSTLEN + 1]; + char *p = source_p->host; + static char *get_mask(char *, int); + + while (*p) + { + if (isalpha(*p)) alpha = 1; + if (*p++ == '.') ++dots; + } + + strcpy(buf, source_p->host); + + if (alpha && (dots > 1)) + { + p = strchr(buf, '.'); *p++ = 0; + + if (strlen(p) + MAXNETID + 6 <= HOSTLEN) + { + strcpy(source_p->host, get_mask(buf, 0)); + strcat(source_p->host, p); + } + } + else if (!alpha) + { + p = strrchr(buf, '.'); *p++ = 0; + + if (strlen(buf) + 7 <= HOSTLEN) + { + strcpy(source_p->host, buf); + strcat(source_p->host, get_mask(NULL, atoi(p))); + } + } + } + return (introduce_client(client_p, source_p, user, nick)); } +static char *get_mask(char *s, int n) +{ + static char buf[MAXNETID + 6]; + char *p = buf; + char *netid = ConfigFileEntry.netid[0]? ConfigFileEntry.netid : "bnet"; + + if (s) + { + unsigned int h = 0; + + while (*s) + { + h = (h << 4) - (h + (unsigned char)ToLower(*s++)); + } + + n = h & (U_MAX - 1); + + strcpy(buf, netid); + p = buf + strlen(netid); + } + else + *p++ = '.'; + + srandom(n); + + for (n = 0; n < 6; n++) + *p++ = '0' + random() % 10; + + if (s) + *p++ = '.'; + + *p = 0; + + return buf; +} + /* * register_remote_user * @@ -627,6 +718,7 @@ dlink_node *server_node; struct Client *server; static char ubuf[12]; + unsigned int svshopcount; send_umode(NULL, source_p, 0, SEND_UMODES, ubuf); @@ -653,22 +745,29 @@ * -davidt * rewritten to cope with UIDs .. eww eww eww --is */ - + if (!ServerInfo.hub && uplink && IsCapable(uplink,CAP_LL) && client_p != uplink) { + if (IsCapable(uplink, CAP_SVS)) + svshopcount = source_p->hopcount + 1 + (source_p->svsflags << 8); + else + svshopcount = source_p->hopcount + 1; + if (IsCapable(uplink, CAP_UID) && HasID(source_p)) { - sendto_one(uplink, "CLIENT %s %d %lu %s %s %s %s %s :%s", - nick, source_p->hopcount+1, source_p->tsinfo, - ubuf, source_p->username, source_p->host, user->server, - user->id, source_p->info); + sendto_one(uplink, "CLIENT %s %d %lu %s %s %s %s %s %s :%s", + nick, svshopcount, source_p->tsinfo, + ubuf, source_p->username, source_p->host, user->server, + user->id, IsCapable(uplink, CAP_HOSTMASK)? + source_p->realhost : "", source_p->info); } else { - sendto_one(uplink, "NICK %s %d %lu %s %s %s %s :%s", - nick, source_p->hopcount+1, source_p->tsinfo, + sendto_one(uplink, "NICK %s %d %lu %s %s %s %s %s :%s", + nick, svshopcount, source_p->tsinfo, ubuf, source_p->username, source_p->host, user->server, + IsCapable(uplink, CAP_HOSTMASK)? source_p->realhost : "", source_p->info); } } @@ -680,16 +779,23 @@ if (IsCapable(server, CAP_LL) || server == client_p) continue; + + if (IsCapable(server, CAP_SVS)) + svshopcount = source_p->hopcount + 1 + (source_p->svsflags << 8); + else + svshopcount = source_p->hopcount + 1; if (IsCapable(server, CAP_UID) && HasID(source_p)) - sendto_one(server, "CLIENT %s %d %lu %s %s %s %s %s :%s", - nick, source_p->hopcount+1, source_p->tsinfo, + sendto_one(server, "CLIENT %s %d %lu %s %s %s %s %s %s :%s", + nick, svshopcount, source_p->tsinfo, ubuf, source_p->username, source_p->host, user->server, - user->id, source_p->info); + user->id, IsCapable(server, CAP_HOSTMASK)? + source_p->realhost : "", source_p->info); else - sendto_one(server, "NICK %s %d %lu %s %s %s %s :%s", - nick, source_p->hopcount+1, source_p->tsinfo, + sendto_one(server, "NICK %s %d %lu %s %s %s %s %s :%s", + nick, svshopcount, source_p->tsinfo, ubuf, source_p->username, source_p->host, user->server, + IsCapable(server, CAP_HOSTMASK)? source_p->realhost : "", source_p->info); } } @@ -778,6 +884,8 @@ if(!IsUserChar(p[1])) return NO; } + else if (ConfigFileEntry.cyrillic && ((unsigned char)*p >= 192)) + continue; else if (!IsUserChar(*p)) return NO; } @@ -895,7 +1003,7 @@ */ int do_remote_user(char* nick, struct Client* client_p, struct Client* source_p, char* username, char *host, char *server, char *realname, - char *id) + char *realhost, char *id) { unsigned int oflags; struct User* user; @@ -911,10 +1019,14 @@ * coming from another server, take the servers word for it */ user->server = find_or_add(server); - strncpy_irc(source_p->host, host, HOSTLEN); + strncpy_irc(source_p->host, host, HOSTLEN); strncpy_irc(source_p->info, realname, REALLEN); if (id) - strcpy(source_p->user->id, id); + strcpy(source_p->user->id, id); + if (realhost) + strcpy(source_p->realhost, realhost); + else + strcpy(source_p->realhost, ""); #if 0 /* XXX dont do this (talk to is-) */ diff -uNrd ircd-hybrid-7beta5/src/scache.c ircd-7+FreeBg-p3/src/scache.c --- ircd-hybrid-7beta5/src/scache.c Mon Mar 5 21:23:10 2001 +++ ircd-7+FreeBg-p3/src/scache.c Tue Jun 5 12:35:46 2001 @@ -1,7 +1,7 @@ /* * scache.c * - * $Id: scache.c,v 7.10 2001/03/06 02:23:10 androsyn Exp $ + * $Id: scache.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "client.h" diff -uNrd ircd-hybrid-7beta5/src/send.c ircd-7+FreeBg-p3/src/send.c --- ircd-hybrid-7beta5/src/send.c Wed May 9 04:08:28 2001 +++ ircd-7+FreeBg-p3/src/send.c Sat Feb 23 15:05:49 2002 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: send.c,v 7.140 2001/05/09 08:08:28 a1kmm Exp $ + * $Id: send.c,v 1.5 2002/02/23 20:02:42 demond Exp $ */ #include @@ -82,6 +82,8 @@ static int send_trim(char *lsendbuf, int len ); +static char *marknick(struct Client *client_p, char *buf, int *plen); + /* ** dead_link ** An error has been detected. The link *must* be closed, @@ -543,7 +545,12 @@ { if(target_p->serial != current_serial) { - send_message(target_p, (char *)llocal_sendbuf, llocal_len); + int mylen = llocal_len; + char *mybuf = marknick(target_p, (char *)llocal_sendbuf, &mylen); + + send_message(target_p, + translate(target_p, mybuf), + mylen); target_p->serial = current_serial; } } @@ -717,6 +724,37 @@ } /* sendto_cap_serv_butone() */ /* + * add to channel NICK/QUIT pace queue + */ +void add_pace_send(struct Channel *chptr, char *sendbuf, int len) +{ + struct Pace *pace = MyMalloc(sizeof(struct Pace) + strlen(chptr->chname)); + + strcpy(pace->chan, chptr->chname); + + pace->next = NULL; + pace->shownames = len; + pace->text = MyMalloc(strlen(sendbuf) + 1); + strcpy(pace->text, sendbuf); + + if (chptr->sendh) + chptr->sendh->next = pace; + chptr->sendh = pace; + if (!chptr->sendt) + chptr->sendt = pace; + + chptr->sends++; +} + +void sendto_chanlists_local(struct Channel *chptr, char *sendbuf, int len) +{ + sendto_list_local(&chptr->chanops, sendbuf, len); + sendto_list_local(&chptr->halfops, sendbuf, len); + sendto_list_local(&chptr->voiced, sendbuf, len); + sendto_list_local(&chptr->peons, sendbuf, len); +} + +/* * sendto_common_channels_local() * * inputs - pointer to client @@ -748,10 +786,16 @@ { chptr = ptr->data; - sendto_list_local(&chptr->chanops, sendbuf, len); - sendto_list_local(&chptr->halfops, sendbuf, len); - sendto_list_local(&chptr->voiced, sendbuf, len); - sendto_list_local(&chptr->peons, sendbuf, len); + if (PaceChannel(chptr) && (chptr->sends < MAX_PACESEND)) + add_pace_send(chptr, sendbuf, len); + + else + { + sendto_list_local(&chptr->chanops, sendbuf, len); + sendto_list_local(&chptr->halfops, sendbuf, len); + sendto_list_local(&chptr->voiced, sendbuf, len); + sendto_list_local(&chptr->peons, sendbuf, len); + } } if (MyConnect(user) && (user->serial != current_serial)) @@ -849,7 +893,15 @@ target_p->serial = current_serial; if (target_p && MyConnect(target_p)) - send_message(target_p, (char *)lsendbuf, len); + if (ConfigFileEntry.totaltrans) + { + int mylen = len; + char *mybuf = marknick(target_p, (char *)lsendbuf, &mylen); + + send_message(target_p, translate(target_p, mybuf), mylen); + } + else + send_message(target_p, (char *)lsendbuf, len); } } /* sendto_list() */ @@ -1733,4 +1785,35 @@ send_message(client_p, (char *)sendbuf_nick, len_nick); } } +} + +static char *marknick(struct Client *client_p, char *buf, int *plen) +{ + unsigned char *p = buf; + static char mybuf[IRCD_BUFSIZE*2]; + + if (!ConfigFileEntry.cyrillic) + return buf; + + if (!IsSetTransWin(client_p) && !IsSetTransISO(client_p)) + return buf; + + while (*p && *p!=' ') + { + if (*p++ >= 192) + { + strcpy(mybuf, buf); + + p = mybuf + strlen(mybuf); + while (p-- >= (unsigned char *)mybuf) + *(p+2) = *(p+1); + + ++(*plen); + + mybuf[0]=':'; mybuf[1]='?'; + return mybuf; + } + } + + return buf; } diff -uNrd ircd-hybrid-7beta5/src/sprintf_irc.c ircd-7+FreeBg-p3/src/sprintf_irc.c --- ircd-hybrid-7beta5/src/sprintf_irc.c Tue Jan 16 10:41:53 2001 +++ ircd-7+FreeBg-p3/src/sprintf_irc.c Tue Jun 5 12:35:46 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: sprintf_irc.c,v 7.6 2001/01/16 15:41:53 db Exp $ + * $Id: sprintf_irc.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "sprintf_irc.h" #include "irc_string.h" diff -uNrd ircd-hybrid-7beta5/src/test/CVS/Entries ircd-7+FreeBg-p3/src/test/CVS/Entries --- ircd-hybrid-7beta5/src/test/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/CVS/Entries Sat Dec 8 22:55:31 2001 @@ -0,0 +1,3 @@ +D/data//// +D/newconf//// +D/reference//// diff -uNrd ircd-hybrid-7beta5/src/test/CVS/Repository ircd-7+FreeBg-p3/src/test/CVS/Repository --- ircd-hybrid-7beta5/src/test/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/CVS/Repository Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +hybrid7-bg/src/test diff -uNrd ircd-hybrid-7beta5/src/test/CVS/Root ircd-7+FreeBg-p3/src/test/CVS/Root --- ircd-hybrid-7beta5/src/test/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/CVS/Root Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/src/test/data/CVS/Entries ircd-7+FreeBg-p3/src/test/data/CVS/Entries --- ircd-hybrid-7beta5/src/test/data/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/data/CVS/Entries Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +D diff -uNrd ircd-hybrid-7beta5/src/test/data/CVS/Repository ircd-7+FreeBg-p3/src/test/data/CVS/Repository --- ircd-hybrid-7beta5/src/test/data/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/data/CVS/Repository Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +hybrid7-bg/src/test/data diff -uNrd ircd-hybrid-7beta5/src/test/data/CVS/Root ircd-7+FreeBg-p3/src/test/data/CVS/Root --- ircd-hybrid-7beta5/src/test/data/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/data/CVS/Root Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/src/test/newconf/CVS/Entries ircd-7+FreeBg-p3/src/test/newconf/CVS/Entries --- ircd-hybrid-7beta5/src/test/newconf/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/newconf/CVS/Entries Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +D diff -uNrd ircd-hybrid-7beta5/src/test/newconf/CVS/Repository ircd-7+FreeBg-p3/src/test/newconf/CVS/Repository --- ircd-hybrid-7beta5/src/test/newconf/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/newconf/CVS/Repository Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +hybrid7-bg/src/test/newconf diff -uNrd ircd-hybrid-7beta5/src/test/newconf/CVS/Root ircd-7+FreeBg-p3/src/test/newconf/CVS/Root --- ircd-hybrid-7beta5/src/test/newconf/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/newconf/CVS/Root Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/src/test/reference/CVS/Entries ircd-7+FreeBg-p3/src/test/reference/CVS/Entries --- ircd-hybrid-7beta5/src/test/reference/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/reference/CVS/Entries Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +D diff -uNrd ircd-hybrid-7beta5/src/test/reference/CVS/Repository ircd-7+FreeBg-p3/src/test/reference/CVS/Repository --- ircd-hybrid-7beta5/src/test/reference/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/reference/CVS/Repository Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +hybrid7-bg/src/test/reference diff -uNrd ircd-hybrid-7beta5/src/test/reference/CVS/Root ircd-7+FreeBg-p3/src/test/reference/CVS/Root --- ircd-hybrid-7beta5/src/test/reference/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/test/reference/CVS/Root Sat Dec 8 22:55:31 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/src/tools.c ircd-7+FreeBg-p3/src/tools.c --- ircd-hybrid-7beta5/src/tools.c Mon Feb 26 08:21:11 2001 +++ ircd-7+FreeBg-p3/src/tools.c Tue Jun 5 12:35:46 2001 @@ -5,7 +5,7 @@ * * adrian chadd * - * $Id: tools.c,v 7.17 2001/02/26 13:21:11 db Exp $ + * $Id: tools.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/src/vchannel.c ircd-7+FreeBg-p3/src/vchannel.c --- ircd-hybrid-7beta5/src/vchannel.c Sat May 12 22:55:14 2001 +++ ircd-7+FreeBg-p3/src/vchannel.c Tue Jun 5 12:35:46 2001 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: vchannel.c,v 7.49 2001/05/13 02:55:14 db Exp $ + * $Id: vchannel.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include "tools.h" diff -uNrd ircd-hybrid-7beta5/src/version.c ircd-7+FreeBg-p3/src/version.c --- ircd-hybrid-7beta5/src/version.c Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/src/version.c Sun Nov 24 11:53:42 2002 @@ -0,0 +1,101 @@ +/* + * IRC - Internet Relay Chat, src/version.c + * Copyright (C) 1990 Chelsea Ashley Dyerman + * + * 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. + */ + +/* + * This file is generated by version.c.SH. Any changes made will go away. + */ + +#include "patchlevel.h" +#include "serno.h" + +char *generation = "4"; +char *creation = "Sun Nov 24 2002 at 18:53:42 EET"; +char *platform = "Linux cs 2.4.18 #2 Mon Oct 28 14:17:03 EET 2002 i686 unknown"; +char *version = PATCHLEVEL; +char *serno = SERIALNUM; + +char *infotext[] = +{ + "IRC --", + "Based on the original code written by Jarkko Oikarinen", + "Copyright 1988, 1989, 1990, 1991 University of Oulu, Computing Center", + "", + "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.", + "", + " ", + "The hybrid team is a group of ircd coders who were frustrated", + "with the instability and all-out dirtiness of the EFnet ircd's", + "available. hybrid is the name for the collective efforts of a group", + "of people, all of us.", + " ", + "Anyone is welcome to contribute to this effort. You are encouraged", + "to participate in the Hybrid mailing list. To subscribe to the", + "Hybrid List, send email to listmanager@the-project.org with the", + "subject subscribe hybrid.", + " ", + "The core team as, of this major release:", + "A1kmm, Andrew Miller ", + "adrian, Adrian Chadd ", + "AndroSyn, Aaron Sethman ", + "bysin, Ben Kittridge ", + "cosine, Patrick Alken ", + "David-T, David Taylor ", + "desrt, Ryan Lortie ", + "Dianora, Diane Bruce ", + "fl_, Lee Hardy ", + "Habeeb, David Supuran ", + "is, Edward Brocklesby ", + "isomer, Perry Lorier ", + "madmax, Paul Lomax ", + "Neph|l|m, Adel Mezibra ", + "pro, Bill Jonus ", + "Rodder, Jon Lusky ", + "toot, Toby Verrall ", + "Wohali, Joan Touzet ", + " ", + "The following people have contributed blood, sweat, and/or code to", + "this release of hybrid, in nick alphabetical order:", + " ", + "_k9_, Jeremy Chadwick ", + "einride, anon ", + "Hwy101, Walter Campbell ", + "kre, Dinko Korunic ", + "LarZ, Matthew Ramsey ", + "orabidoo, Roger Espel Llima ", + "Riedel, Dennis Vink, ", + "Seaner, Sean McVeigh ", + "spookey, David Colburn ", + "vx0, Mark Miller ", + "WintrHawk, Jake Khuon ", + "vulture, Sean Stanek ", + "zb^3, Alfred Perlstein ", + " ", + "Others are welcome. Always. And if we left anyone off the above list,", + "be sure to let us know that too. Many others have contributed to", + "previous versions of this ircd and it's ancestors, too many to list", + "here.", + " ", + "Send bug fixes/complaints/rotten tomatoes to ircd-hybrid@the-project.org.", + "http://bugs.efnow.net may be worth a visit first.", + "", + 0, +}; diff -uNrd ircd-hybrid-7beta5/src/version.c.SH ircd-7+FreeBg-p3/src/version.c.SH --- ircd-hybrid-7beta5/src/version.c.SH Thu Dec 28 00:42:17 2000 +++ ircd-7+FreeBg-p3/src/version.c.SH Tue Jun 5 12:35:46 2001 @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: version.c.SH,v 7.17 2000/12/28 05:42:17 lusky Exp $ +# $Id: version.c.SH,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ spitshell=cat package=IRC diff -uNrd ircd-hybrid-7beta5/src/whowas.c ircd-7+FreeBg-p3/src/whowas.c --- ircd-hybrid-7beta5/src/whowas.c Mon Mar 5 21:05:44 2001 +++ ircd-7+FreeBg-p3/src/whowas.c Tue Jun 5 12:35:46 2001 @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * -* $Id: whowas.c,v 7.12 2001/03/06 02:05:44 androsyn Exp $ +* $Id: whowas.c,v 1.1.1.1 2001/06/05 16:35:46 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/tools/CVS/Entries ircd-7+FreeBg-p3/tools/CVS/Entries --- ircd-hybrid-7beta5/tools/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/tools/CVS/Entries Sat Dec 8 22:55:32 2001 @@ -0,0 +1,15 @@ +/Makefile.in/1.1.1.1/Tue Jun 5 16:35:47 2001// +/README/1.1.1.1/Tue Jun 5 16:35:47 2001// +/README.mkpasswd/1.1.1.1/Tue Jun 5 16:35:47 2001// +/convertconf.c/1.1.1.1/Tue Jun 5 16:35:47 2001// +/fixklines.c/1.1.1.1/Tue Jun 5 16:35:47 2001// +/ircd.conf/1.1.1.1/Tue Jun 5 16:35:47 2001// +/ircd.conf.new/1.1.1.1/Tue Jun 5 16:35:47 2001// +/ircd_start.c/1.1.1.1/Tue Jun 5 16:35:47 2001// +/klineParse.c/1.1.1.1/Tue Jun 5 16:35:47 2001// +/mkconf/1.1.1.1/Tue Jun 5 16:35:47 2001// +/mkpasswd.c/1.1.1.1/Tue Jun 5 16:35:47 2001// +/start_ircd.c/1.1.1.1/Tue Jun 5 16:35:47 2001// +/untabify/1.1.1.1/Tue Jun 5 16:35:47 2001// +/viconf.c/1.1.1.1/Tue Jun 5 16:35:47 2001// +D/rsa_respond//// diff -uNrd ircd-hybrid-7beta5/tools/CVS/Repository ircd-7+FreeBg-p3/tools/CVS/Repository --- ircd-hybrid-7beta5/tools/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/tools/CVS/Repository Sat Dec 8 22:55:32 2001 @@ -0,0 +1 @@ +hybrid7-bg/tools diff -uNrd ircd-hybrid-7beta5/tools/CVS/Root ircd-7+FreeBg-p3/tools/CVS/Root --- ircd-hybrid-7beta5/tools/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/tools/CVS/Root Sat Dec 8 22:55:32 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/tools/Makefile.in ircd-7+FreeBg-p3/tools/Makefile.in --- ircd-hybrid-7beta5/tools/Makefile.in Mon Jan 8 16:26:20 2001 +++ ircd-7+FreeBg-p3/tools/Makefile.in Tue Jun 5 12:35:47 2001 @@ -1,4 +1,4 @@ -# $Id: Makefile.in,v 7.16 2001/01/08 21:26:20 wcampbel Exp $ +# $Id: Makefile.in,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ CC = @CC@ INSTALL = @INSTALL@ diff -uNrd ircd-hybrid-7beta5/tools/README ircd-7+FreeBg-p3/tools/README --- ircd-hybrid-7beta5/tools/README Thu Jan 18 19:26:37 2001 +++ ircd-7+FreeBg-p3/tools/README Tue Jun 5 12:35:47 2001 @@ -1,4 +1,4 @@ -$Id: README,v 7.6 2001/01/19 00:26:37 wcampbel Exp $ +$Id: README,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ A directory of support programs for ircd. diff -uNrd ircd-hybrid-7beta5/tools/README.mkpasswd ircd-7+FreeBg-p3/tools/README.mkpasswd --- ircd-hybrid-7beta5/tools/README.mkpasswd Mon Jan 15 09:20:02 2001 +++ ircd-7+FreeBg-p3/tools/README.mkpasswd Tue Jun 5 12:35:47 2001 @@ -1,5 +1,5 @@ mkpasswd.c documentation -$Id: README.mkpasswd,v 1.2 2001/01/15 14:20:02 wcampbel Exp $ +$Id: README.mkpasswd,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ This is documentation for the mkpasswd.c included in ircd-hybrid-7. diff -uNrd ircd-hybrid-7beta5/tools/convertconf.c ircd-7+FreeBg-p3/tools/convertconf.c --- ircd-hybrid-7beta5/tools/convertconf.c Wed Apr 25 18:15:20 2001 +++ ircd-7+FreeBg-p3/tools/convertconf.c Tue Jun 5 12:35:47 2001 @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: convertconf.c,v 1.27 2001/04/25 22:15:20 kreator Exp $ + * $Id: convertconf.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/tools/fixklines.c ircd-7+FreeBg-p3/tools/fixklines.c --- ircd-hybrid-7beta5/tools/fixklines.c Wed Oct 13 20:35:26 1999 +++ ircd-7+FreeBg-p3/tools/fixklines.c Tue Jun 5 12:35:47 2001 @@ -1,6 +1,6 @@ /* fixklines - scan an ircd.conf or kline.conf file -$Id: fixklines.c,v 7.2 1999/10/14 00:35:26 db Exp $ +$Id: fixklines.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ D lines of form D:192.168.0.* are converted to D:192.168.0.0/24 K-lines of form diff -uNrd ircd-hybrid-7beta5/tools/ircd_start.c ircd-7+FreeBg-p3/tools/ircd_start.c --- ircd-hybrid-7beta5/tools/ircd_start.c Fri Oct 6 00:27:08 2000 +++ ircd-7+FreeBg-p3/tools/ircd_start.c Tue Jun 5 12:35:47 2001 @@ -1,7 +1,7 @@ /* * contributed by mjr - * $Id: ircd_start.c,v 7.2 2000/10/06 04:27:08 lusky Exp $ - * $Id: ircd_start.c,v 7.2 2000/10/06 04:27:08 lusky Exp $ + * $Id: ircd_start.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ + * $Id: ircd_start.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/tools/klineParse.c ircd-7+FreeBg-p3/tools/klineParse.c --- ircd-hybrid-7beta5/tools/klineParse.c Fri Oct 6 00:27:08 2000 +++ ircd-7+FreeBg-p3/tools/klineParse.c Tue Jun 5 12:35:47 2001 @@ -1,11 +1,11 @@ -/* $Id: klineParse.c,v 7.2 2000/10/06 04:27:08 lusky Exp $ +/* $Id: klineParse.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ * 1.0 17Dec98 Darkshde -- Initial bug ridden release * 2.0 07Jan99 Darkshde -- added redundant kline checking * 2.1 11Jan99 Darkshde -- added -f made verbose display optional with -v * * This program will take a kline.conf and remove duplicate and redundant * entries from it, creating a kline.conf.parsed file - * $Id: klineParse.c,v 7.2 2000/10/06 04:27:08 lusky Exp $ + * $Id: klineParse.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ */ #define kParseVer "2.12" diff -uNrd ircd-hybrid-7beta5/tools/mkconf ircd-7+FreeBg-p3/tools/mkconf --- ircd-hybrid-7beta5/tools/mkconf Sun Aug 1 17:19:57 1999 +++ ircd-7+FreeBg-p3/tools/mkconf Tue Jun 5 12:35:47 2001 @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: mkconf,v 7.0.0.1 1999/08/01 21:19:57 lusky Exp $ +# $Id: mkconf,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ # Copyright (C) 1999 Patrick Alken # # Usage: ./mkconf [options] diff -uNrd ircd-hybrid-7beta5/tools/mkpasswd.c ircd-7+FreeBg-p3/tools/mkpasswd.c --- ircd-hybrid-7beta5/tools/mkpasswd.c Tue Jan 16 11:56:03 2001 +++ ircd-7+FreeBg-p3/tools/mkpasswd.c Tue Jun 5 12:35:47 2001 @@ -5,7 +5,7 @@ * md5 patch by Walter Campbell * Modernization, getopt, etc for the Hybrid IRCD team * - * $Id: mkpasswd.c,v 7.4 2001/01/16 16:56:03 wcampbel Exp $ + * $Id: mkpasswd.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ */ #include #include diff -uNrd ircd-hybrid-7beta5/tools/rsa_respond/CVS/Entries ircd-7+FreeBg-p3/tools/rsa_respond/CVS/Entries --- ircd-hybrid-7beta5/tools/rsa_respond/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/tools/rsa_respond/CVS/Entries Sat Dec 8 22:55:32 2001 @@ -0,0 +1,5 @@ +/Makefile/1.1.1.1/Tue Jun 5 16:35:47 2001// +/README/1.1.1.1/Tue Jun 5 16:35:47 2001// +/genkey.c/1.1.1.1/Tue Jun 5 16:35:47 2001// +/respond.c/1.1.1.1/Tue Jun 5 16:35:47 2001// +D diff -uNrd ircd-hybrid-7beta5/tools/rsa_respond/CVS/Repository ircd-7+FreeBg-p3/tools/rsa_respond/CVS/Repository --- ircd-hybrid-7beta5/tools/rsa_respond/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/tools/rsa_respond/CVS/Repository Sat Dec 8 22:55:32 2001 @@ -0,0 +1 @@ +hybrid7-bg/tools/rsa_respond diff -uNrd ircd-hybrid-7beta5/tools/rsa_respond/CVS/Root ircd-7+FreeBg-p3/tools/rsa_respond/CVS/Root --- ircd-hybrid-7beta5/tools/rsa_respond/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/tools/rsa_respond/CVS/Root Sat Dec 8 22:55:32 2001 @@ -0,0 +1 @@ +/home/demond/src diff -uNrd ircd-hybrid-7beta5/tools/rsa_respond/Makefile ircd-7+FreeBg-p3/tools/rsa_respond/Makefile --- ircd-hybrid-7beta5/tools/rsa_respond/Makefile Sun Feb 18 00:44:49 2001 +++ ircd-7+FreeBg-p3/tools/rsa_respond/Makefile Tue Jun 5 12:35:47 2001 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.5 2001/02/18 05:44:49 wcampbel Exp $ +# $Id: Makefile,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ all: genkey respond genkey: genkey.c diff -uNrd ircd-hybrid-7beta5/tools/rsa_respond/README ircd-7+FreeBg-p3/tools/rsa_respond/README --- ircd-hybrid-7beta5/tools/rsa_respond/README Sun Feb 18 00:44:49 2001 +++ ircd-7+FreeBg-p3/tools/rsa_respond/README Tue Jun 5 12:35:47 2001 @@ -39,4 +39,4 @@ genkey and respond compile properly, and have been tested on FreeBSD 4.x, Linux glibc, and Cygwin 1.2 or higher. -# $Id: README,v 1.5 2001/02/18 05:44:49 wcampbel Exp $ +# $Id: README,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ diff -uNrd ircd-hybrid-7beta5/tools/rsa_respond/genkey.c ircd-7+FreeBg-p3/tools/rsa_respond/genkey.c --- ircd-hybrid-7beta5/tools/rsa_respond/genkey.c Fri Feb 2 23:05:37 2001 +++ ircd-7+FreeBg-p3/tools/rsa_respond/genkey.c Tue Jun 5 12:35:47 2001 @@ -17,7 +17,7 @@ * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * $Id: genkey.c,v 1.6 2001/02/03 04:05:37 a1kmm Exp $ + * $Id: genkey.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ */ #include diff -uNrd ircd-hybrid-7beta5/tools/rsa_respond/respond.c ircd-7+FreeBg-p3/tools/rsa_respond/respond.c --- ircd-hybrid-7beta5/tools/rsa_respond/respond.c Fri Feb 2 23:05:37 2001 +++ ircd-7+FreeBg-p3/tools/rsa_respond/respond.c Tue Jun 5 12:35:47 2001 @@ -17,7 +17,7 @@ * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * $Id: respond.c,v 1.5 2001/02/03 04:05:37 a1kmm Exp $ + * $Id: respond.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ */ #include #include diff -uNrd ircd-hybrid-7beta5/tools/start_ircd.c ircd-7+FreeBg-p3/tools/start_ircd.c --- ircd-hybrid-7beta5/tools/start_ircd.c Sun Aug 1 17:19:57 1999 +++ ircd-7+FreeBg-p3/tools/start_ircd.c Tue Jun 5 12:35:47 2001 @@ -17,7 +17,7 @@ Diane Bruce, db May 11 1998 */ -static char *version="$Id: start_ircd.c,v 7.0.0.1 1999/08/01 21:19:57 lusky Exp $"; +static char *version="$Id: start_ircd.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $"; #define IRCDDIR "/usr/local/lib/ircd" diff -uNrd ircd-hybrid-7beta5/tools/untabify ircd-7+FreeBg-p3/tools/untabify --- ircd-hybrid-7beta5/tools/untabify Sun Aug 1 17:19:57 1999 +++ ircd-7+FreeBg-p3/tools/untabify Tue Jun 5 12:35:47 2001 @@ -2,7 +2,7 @@ # # untabify - convert tabs to spaces # -# $Id: untabify,v 7.0.0.1 1999/08/01 21:19:57 lusky Exp $ +# $Id: untabify,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ use Text::Tabs; $tabstop = 8; while (<>) { print expand($_) } diff -uNrd ircd-hybrid-7beta5/tools/viconf.c ircd-7+FreeBg-p3/tools/viconf.c --- ircd-hybrid-7beta5/tools/viconf.c Sat Dec 30 18:26:04 2000 +++ ircd-7+FreeBg-p3/tools/viconf.c Tue Jun 5 12:35:47 2001 @@ -1,7 +1,7 @@ /* * viconf.c * - * $Id: viconf.c,v 7.2 2000/12/30 23:26:04 lusky Exp $ + * $Id: viconf.c,v 1.1.1.1 2001/06/05 16:35:47 demond Exp $ */ #include #include diff -uNrd ircd-hybrid-7beta5/zlib/CVS/Entries ircd-7+FreeBg-p3/zlib/CVS/Entries --- ircd-hybrid-7beta5/zlib/CVS/Entries Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/zlib/CVS/Entries Sat Dec 8 22:55:33 2001 @@ -0,0 +1 @@ +D diff -uNrd ircd-hybrid-7beta5/zlib/CVS/Repository ircd-7+FreeBg-p3/zlib/CVS/Repository --- ircd-hybrid-7beta5/zlib/CVS/Repository Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/zlib/CVS/Repository Sat Dec 8 22:55:32 2001 @@ -0,0 +1 @@ +hybrid7-bg/zlib diff -uNrd ircd-hybrid-7beta5/zlib/CVS/Root ircd-7+FreeBg-p3/zlib/CVS/Root --- ircd-hybrid-7beta5/zlib/CVS/Root Wed Dec 31 19:00:00 1969 +++ ircd-7+FreeBg-p3/zlib/CVS/Root Sat Dec 8 22:55:32 2001 @@ -0,0 +1 @@ +/home/demond/src