+2002-02-27 Reed Loden <reed@redmagnet.com>
+
+ * tools/crypter: Updated some variables, added another notice,
+ added CVS Id tag, and updated Perl location.
+
+ * tools/ringlog.c: Added IRC - Internet Relay Chat,
+ tools/ringlog.c
+
+ * tools/ringlog.pl: Added IRC - Internet Relay Chat,
+ tools/ringlog.pl
+
+ * tools/wrapper.c: Added IRC - Internet Relay Chat,
+ tools/wrapper.c
+
+ * tools/mkpasswd.c: Added CVS Id tag
+
+ * tools/sums: Updated to comply with sums being moved to tools/
+ and added CVS Id tag
+
+ * tools/README: Updated location of file and partly rewrote to fit
+ u2.10.11's Features
+
+ * tools/Makefile.crypt: Updated location of file and added CVS Id
+ tag
+
+ * acconfig.h: Updated location of file
+
+ * config.h.in: Updated location of file
+
+ * tools/Bounce/bounce.conf: Added CVS Id tag
+
+ * tools/Bounce/Bounce.cpp: Updated location of file
+
+ * tools/Bounce/Bounce.h: Updated location of file
+
+ * tools/hashtoy: Added CVS Id Tag
+
2002-02-27 Carlo Wood <run@alinoe.com>
* /ircd/ircd.c: check_pings: First check if a PING was sent at all.
#ifndef INCLUDED_config_h
#define INCLUDED_config_h
/*
- * IRC - Internet Relay Chat, include/config.h
+ * IRC - Internet Relay Chat, acconfig.h
* Copyright (C) 2000 Kevin L. Mitchell <klmitch@mit.edu>
*
* This program is free software; you can redistribute it and/or modify
#ifndef INCLUDED_config_h
#define INCLUDED_config_h
/*
- * IRC - Internet Relay Chat, include/config.h
+ * IRC - Internet Relay Chat, config.h.in
* Copyright (C) 2000 Kevin L. Mitchell <klmitch@mit.edu>
*
* This program is free software; you can redistribute it and/or modify
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: config.h.in,v 1.2 2001-06-07 00:29:46 kev Exp $
+ * $Id: config.h.in,v 1.3 2002-03-07 22:52:56 ghostwolf Exp $
*/
/* Define to `int' if <sys/types.h> doesn't define. */
/*
- * IRC - Internet Relay Chat, tools/Bouncer/Bouncer.cpp
+ * IRC - Internet Relay Chat, tools/Bounce/Bounce.cpp
* Copyright (C) 1990 Jarkko Oikarinen and
* University of Oulu, Computing Center
*
* Each listening port can bounce to a different host/port defined in the
* config file. --Gte
*
- * $Id: Bounce.cpp,v 1.2 2000-04-13 05:53:48 gte Exp $
+ * $Id: Bounce.cpp,v 1.3 2002-03-07 22:52:57 ghostwolf Exp $
*
*/
/*
- * IRC - Internet Relay Chat, tools/Bouncer/Bouncer.h
+ * IRC - Internet Relay Chat, tools/Bounce/Bounce.h
* Copyright (C) 1990 Jarkko Oikarinen and
* University of Oulu, Computing Center
*
# Format: P:<Local vhost>:<Local Port>:<Remote Address>:<Remote Port>
# IP's only for now :)
+# $Id: bounce.conf,v 1.2 2002-03-07 22:52:57 ghostwolf Exp $
P:192.168.10.5:2000:192.168.10.1:80
P:192.168.10.5:3000:4.33.94.3:80
/************************************************************************
- * IRC - Internet Relay Chat, ircd/crypt/README
+ * IRC - Internet Relay Chat, tools/README
* Copyright (C) 1991 Nelson Minar
*
* This program is free software; you can redistribute it and/or modify
O:*:sCnvYRmbFJ7oI:Nelson
You still type "/oper Nelson goodboy" to become operator. However, if
-someone gets ahold of your irc.conf file, they can no longer figure
+someone gets ahold of your ircd.conf file, they can no longer figure
out what the password is from reading it. There are still other
security holes, namely server-server passwords, but this closes one
obvious problem.
-So how do you generate these icky looking strings for passwords?
-There's a simple program called mkpasswd to do that for you. Just run
-mkpasswd, and at the prompt type in your plaintext password. It will
-spit out the encrypted password, which you should then just copy into
-the irc.conf file. This should be done only when adding new passwords
-to your irc.conf file. To change over your irc.conf file to use
-encrypted passwords, define CRYPT_OPER_PASSWORD in config.h. You will
-need to recompile your server if you already compiled it with this
-feature disabled. Once compiled, edit the Makefile in this directory
-and chang "IRCDCONF" to your irc.conf file. Then "make install" in this
-directory to replace all the operator passwords in your irc.conf file
+So, how do you generate these icky looking strings for passwords?
+There's a simple program called mkpasswd to do that for you. To
+compile mkpasswd, just "make -f Makefile.crypt" in this directory. After it
+compiles, just run mkpasswd, and at the prompt type in your plaintext passwor\
+d.
+It will spit out the encrypted password, which you should then just copy
+into your ircd.conf file. This should be done only when adding new passwords
+to your ircd.conf file. Crypting of oper passwords is automatically done
+with the new F:lines so there is nothing to enable to be able to use
+crypted oper passwords. All you have to do is edit the Makefile.crypt in this
+directory and change "IRCDCONF = /usr/local/lib/irc/ircd.conf" to the full
+path to your ircd.conf file. Then "make -f Makefile.crypt install" in this
+directory to replace all the operator passwords in your ircd.conf file
with the encrypted format.
Choose your passwords carefully. Do not choose something in a
-#!/usr/local/bin/perl
+#!/usr/bin/perl
+
#************************************************************************
-#* IRC - Internet Relay Chat, ircd/crypt/crypter
+#* IRC - Internet Relay Chat, tools/crypter
#* Copyright (C) 1991 Sean Batt
#*
#* This program is free software; you can redistribute it and/or modify
#* 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: crypter,v 1.2 2002-03-07 22:52:57 ghostwolf Exp $
#*/
#From Sean Batt sean@coombs.anu.edu.au
@saltset = ('a' .. 'z', 'A' .. 'Z', '0' .. '9', '.', '/');
umask(0077);
-open ($ircdout, ">/tmp/ircd.conf.tmp") || die "open $!";
+open ($ircdout, ">$tmpfile") || die "open $!";
while ($text = <>) {
#if its not an "O" line we can ignore it
close ($ircdin);
print "/bin/cp ",$tmpfile," ",$ircdconf,"\n";
(fork()==0) ? exec("/bin/cp", $tmpfile, $ircdconf) : wait;
+print "",$ircdconf," has been crypted successfully!\n";
#unlink($tmpfile);
# details of the encoding.
#
# --Liandrin
+#
+# $Id: hashtoy,v 1.2 2002-03-07 22:52:57 ghostwolf Exp $
@convert2n = (
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* simple password generator by Nelson Minar (minar@reed.edu)
* copyright 1991, all rights reserved.
* You can use this code as long as my name stays with it.
+ * $Id$
*/
#define _XOPEN_SOURCE
#define _XOPEN_VERSION 4
/*
+** IRC - Internet Relay Chat, tools/ringlog.c
** Copyright (C) 2002 by Kevin L. Mitchell <klmitch@mit.edu>
**
** This program is free software; you can redistribute it and/or modify
#! /usr/bin/perl -w
#
+# IRC - Internet Relay Chat, tools/ringlog.pl
# Copyright (C) 2002 by Kevin L. Mitchell <klmitch@mit.edu>
#
# This program is free software; you can redistribute it and/or modify
#
# untabify - convert tabs to spaces
#
-# $Id: untabify,v 1.1 2000-03-18 05:20:30 bleep Exp $
+# $Id: untabify,v 1.2 2002-03-07 22:52:57 ghostwolf Exp $
+
use Text::Tabs;
$tabstop = 8;
while (<>) { print expand($_) }
/*
+** IRC - Internet Relay Chat, tools/wrapper.c
** Copyright (C) 2000 by Kevin L. Mitchell <klmitch@mit.edu>
**
** This program is free software; you can redistribute it and/or modify