ircu2.10.12-pk.git
24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 16 Apr 2000 04:30:42 +0000 (04:30 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

fix for ircd_snprintf assigning negative numbers to a size_t; clean up
expire time handling to use offsets to CurrentTime, since that's definitely
monotonically increasing; remove local jupes/glines instead of simply
deactivating them; forgot one case in sendcmdto_one()

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@181 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 15 Apr 2000 04:20:14 +0000 (04:20 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Type safety and const correctness cleanups.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@180 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Sat, 15 Apr 2000 03:47:32 +0000 (03:47 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:

Portability fix in userload.c for struct tm.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@179 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 20:42:28 +0000 (20:42 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_gline.c (mo_gline): d'oh, target isn't a numeric; use %C
and convert acptr...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@175 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@undernet.org>
Kevin L. Mitchell [Fri, 14 Apr 2000 20:19:41 +0000 (20:19 +0000)]
Author: Kev <klmitch@undernet.org>
Log message:

a couple of misc. bug fixes for gline code, start work on sendcmdto_*
series, include ircd_snprintf in linking (for sendcmdto_*), update gline
and jupe code to utilize the new functions.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@174 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 17:37:01 +0000 (17:37 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Added CONFIG_OPERCMDS to switch things on and off; makes the task of a two-
phase upgrade much simpler.  Using ERR_DISABLED to indicate disabled
commands.  Also some minor cleanups and removal of dead code in m_gline.c
and gline.c.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@173 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 17:08:06 +0000 (17:08 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Mark the bug fixed, btw...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@172 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 16:53:10 +0000 (16:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Misc. G-line cleanups and fixes; a cleanup in ircd_snprintf.c; run
autoconf/autoheader and make depend

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@171 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 14:41:04 +0000 (14:41 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/s_conf.c (find_kill): gline_find() takes a char *userhost,
but gline_lookup() actually takes a client--d'oh.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@170 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Run <carlo@alinoe.com>
Joseph Bongaarts [Fri, 14 Apr 2000 14:37:36 +0000 (14:37 +0000)]
Author: Run <carlo@alinoe.com>
Log message:
Bug fix for rpong.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@169 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Fri, 14 Apr 2000 02:56:23 +0000 (02:56 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Back port bug fix from 2.10.10

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@168 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Thu, 13 Apr 2000 22:13:52 +0000 (22:13 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Lots of stuff... Part 1 of the m_stats changes, a slew of bug fixes, cleanups
for kev's G:line changes. m_stats still has more changes coming, but I wanted
to make things compilable again.
Added s_stats.c/h for stats helper functions.
The tree compiles now, but probably won't work. There is at least 1 bug in the
gline code left.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@164 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Thu, 13 Apr 2000 21:56:24 +0000 (21:56 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Lots of stuff... Part 1 of the m_stats changes, a slew of bug fixes, cleanups
for kev's G:line changes. m_stats still has more changes coming, but I wanted
to make things compilable again.
Added s_stats.c/h for stats helper functions.
The tree compiles now, but probably won't work. There is at least 1 bug in the
gline code left.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@163 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Thu, 13 Apr 2000 20:07:13 +0000 (20:07 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:

* ircd/whocmds.c: Don't make idle flag default in /who, to prevent:
  "/who * x"
  "Gte3 H*iwg Gte@212.49.240.217 :1 :0 I am the one that was."
  (Found by Plexus).

* ircd/whocmds.c: Change idle time calc from socket idle to user idle.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@162 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 13 Apr 2000 19:20:53 +0000 (19:20 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* config/aclocal.m4 (unet_CHECK_TYPE_SIZES): check size of void *,
too, for ircd_snprintf.c

* include/ircd_snprintf.h: documentation for ircd_(v)snprintf, in
comments; mostly descended from the Linux manpage for printf, but
also documenting the extensions.

* ircd/ircd_snprintf.c: NULL dest is equivalent to going to a
client; make 'q' be the same as 'L'; remove __inline__; only
define EXTENSION if HAVE_LONG_LONG is defined

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@161 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 13 Apr 2000 15:58:22 +0000 (15:58 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Ok, with the exception of m_stats, being worked on by GW, this should
complete the actual coding of the gline patch; server still won't
compile until GW commits his changes, though, and I haven't compile-
checked the rest (GW promised to do that ;)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@160 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Thu, 13 Apr 2000 05:53:48 +0000 (05:53 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:

 * tools/Bouncer/*: Add port bouncer for http (x/w)
 * tools/Bouncer/*: Add comments/documentation/tags.
 * tools/Bouncer/*: Add debug defines, make task fork().

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@159 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Thu, 13 Apr 2000 03:49:07 +0000 (03:49 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Cleanup s_err.c, suggested by Liandrin and Dianora.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@158 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Bleep [Thu, 13 Apr 2000 02:54:14 +0000 (02:54 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:
Add port bouncer to tools directory

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@157 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 13 Apr 2000 02:29:53 +0000 (02:29 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

First pass in Uworld integration with respect to G-lines--reimplementation
of the base routines for handling gline lists.  NOTE THAT ALPHA WILL NOT
BE COMPILABLE UNTIL M_GLINE.C IN REWRITTEN!  Hopefully I'll get to that
tomorrow...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@156 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 12 Apr 2000 21:42:33 +0000 (21:42 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

minor typo in a comment

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@155 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 12 Apr 2000 20:53:22 +0000 (20:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (mode_process_clients): fix "Deop of +k user on
%s by %s" message...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@154 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 12 Apr 2000 20:50:12 +0000 (20:50 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/ircd_snprintf.c: my new snprintf()-like functions

* include/ircd_snprintf.h: my new snprintf()-like functions

(look only if you're brave; it makes my head hurt, and I wrote it!)

NOTE: NO SUPPORT FOR PRINTING FLOATING-POINT NUMBERS!  Deal.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@153 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Tue, 11 Apr 2000 23:19:17 +0000 (23:19 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Fixed typos, email addresses, and changed Y:line unfo in example.conf
to closer reflect reality.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@150 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Tue, 11 Apr 2000 05:57:24 +0000 (05:57 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Remove dead code after IPcheck cleanup, removed RPL_ERRNOSUCHUSER message
from userhost/userip replies (not in standard)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@149 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte- <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Tue, 11 Apr 2000 05:51:25 +0000 (05:51 +0000)]
Author: Gte- <gte@atomicrevs.demon.co.uk>
Log message:

* ircd/s_err.c: Added missing quotes to ERR_DONTCHEAT numeric.
* doc/p10.html: Work on chapter 4.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@148 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 10 Apr 2000 19:10:00 +0000 (19:10 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

list OPMODE and CLEARMODE tokens...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@147 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 10 Apr 2000 15:29:09 +0000 (15:29 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (mode_parse_client): fix coredump on /mode
#foobar +o nosuchnick

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@146 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Perry Lorier <isomer@coders.net>
Perry Lorier [Mon, 10 Apr 2000 08:31:33 +0000 (08:31 +0000)]
Author: Perry Lorier <isomer@coders.net>
Log message:

Added bug report.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@145 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Mon, 10 Apr 2000 02:52:52 +0000 (02:52 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Cleanup for IPcheck code fixes

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@143 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Mon, 10 Apr 2000 02:28:31 +0000 (02:28 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Rewrote IPcheck code, add ipcheck expire once a minute to main loop,
cleanup target code a bit.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@142 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sun, 9 Apr 2000 11:53:12 +0000 (11:53 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

2000-04-09  Perry Lorier  <Isomer@coders.net>
* include/numeric.h: Cleaned up numerics, added which ones are
in use by other networks and what they are in use for.

* ircd/channel.c: cleaned can_join(), allow anyone through anything
if /invited, simplified the function.  Opers overusing OPEROVERRIDE
will get a message explaining to them not to cheat.

* ircd/m_join.c: cleaned up the various join functions, should be
a lot more efficient.  Still needs work.  Now assumes that s<->s
won't send it a JOIN 0.  Service coders - note this and tread with
care.

* ircd/m_stats.c: added Gte-'s stats doc patch.

* ircd/m_version.c: /version now returns the 005 numeric as well.
as requested by Liandrin.

Can people beat on this? lots of changes.  test version, remote version, and
join 0, and join in general?

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@141 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Liandrin
Bleep [Sun, 9 Apr 2000 05:32:58 +0000 (05:32 +0000)]
Author: Liandrin
Log message:
Added hashtoy. A tool for processing netbursts to test IP address hashing
algorithms. (perl)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@140 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 7 Apr 2000 16:46:28 +0000 (16:46 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Forgot to include support.h in m_clearmode.c for declaration of write_log();
re-ran make depend

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@139 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 7 Apr 2000 14:53:35 +0000 (14:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

files in ircd/crypt moved to tools; ircd/crypt/Makefile renamed to
tools/Makefile.crypt so as to not confuse people who go poking around
in tools; configure changed to reference tools rather than ircd/crypt

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@138 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Thu, 6 Apr 2000 06:50:18 +0000 (06:50 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Sync with changes to 2.10.10.pl6 (shorten auth timeout, localhost to
server alias).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@137 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Thu, 6 Apr 2000 04:00:28 +0000 (04:00 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed core during check_pings()

Thanks Maniac-.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@134 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Thu, 6 Apr 2000 03:48:04 +0000 (03:48 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed sending wrong ident to channel bug.

Updated some numerics.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@133 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sun, 2 Apr 2000 23:46:03 +0000 (23:46 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Added docu for ISO date/time string formats, which is what will be used
for expiry strings in configuration files.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@132 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 23:51:18 +0000 (23:51 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

 * another attempt at fixing ping (sigh...)
 * added all the flags to extended who, so you can figure out if someone is
op'd /and/ voice'd on a channel.
 * added %l specifier to list peoples idle time, as requested by iamabot.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@131 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Bleep [Sat, 1 Apr 2000 22:53:49 +0000 (22:53 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:
Fixes for RPING/RPONG

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@129 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 10:58:16 +0000 (10:58 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Yay! The previous fix worked, so here it is for opers.  I was very tempted
to leave it out and let idle opers ping out, but I got talked into fixing it
for them too.  Oh well, now opers can idle too in peace.  This should
finally fix those damn annoying ping bugs!

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@127 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 08:54:11 +0000 (08:54 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

oops! Someone forgot to put m_pong into the parse array.  Wasn't me!  So
undernet happily ignores all pongs... What fun!

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@126 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 08:02:33 +0000 (08:02 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Oops! Check wrong in check_pings.  Thanks hektik.  I think we shouldn't be
allowed to commit changes after 10pm at night to avoid stupidities like this
<grin!>

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@125 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 07:05:33 +0000 (07:05 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fix ping/pong problem for serves too.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@124 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 07:02:24 +0000 (07:02 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

 * Fix ping bugs!

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@123 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 05:22:33 +0000 (05:22 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

 * Fixes ban timestamps being based on localtime not TS time.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@122 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 1 Apr 2000 05:09:14 +0000 (05:09 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Fix for extended numerics.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@121 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 01:55:31 +0000 (01:55 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

 * Nick kills are sent in both directions now, slightly more bandwidth - but
the network won't desync.  This lets us change to a forced nick change model
later.

 * Fix map buglet.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@113 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 31 Mar 2000 19:42:03 +0000 (19:42 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Added logging of OPMODEs and CLEARMODEs; it's time to ask for testers...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@112 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 31 Mar 2000 18:19:09 +0000 (18:19 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_clearmode.c (do_clearmode): updated uses of
modebuf_mode_string() for the new usage

* ircd/channel.c: added flag MODE_FREE and an int argument to
modebuf_mode_string() to indicate that the string must be free'd;
updated calls to modebuf_mode_string() for the new usage; called
collapse(pretty_mask()) on the ban string and use allocated memory
for it; added ban list length accounting; fixed a number of small
bugs in ban processing

* include/channel.h: added flag MODE_FREE and an int argument to
modebuf_mode_string() to indicate that the string must be free'd

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@111 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 31 Mar 2000 15:35:18 +0000 (15:35 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_clearmode.c (do_clearmode): made sure clearmode removed
keys and limits that are set

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@110 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Thu, 30 Mar 2000 22:09:52 +0000 (22:09 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Well:
 * Fixed wrapped U: in example.conf
 * Added reason to when people are glined.
   *** Quits: BadBoy (G-Lined (You're a bad boy))
 * Rewrote check pings.
 * Fixed several problems with /map
 * Added some reasons to quit msg's.
 * removed redundant nick[socket] from error quitmsg's.
 * Updated the error messages for 'write error'
 * Made server rejection notices explain why the server was rejected
   hopefully we'll get less people asking questions :)
 * Probably some other patches I've been sitting on for a while.

Not very tested for much of this stuff, but it's there. I'm sure the usual
alpha testers will enjoy themselves :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@109 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 30 Mar 2000 22:03:36 +0000 (22:03 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Misc. cleanups and bug fixes, new m_mode() implementation in terms of
mode_parse() -- selectable at configure time, under conditional
CONFIG_NEW_MODE

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@108 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 30 Mar 2000 19:57:22 +0000 (19:57 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_clearmode.c (do_clearmode): do_clearmode() would remove
+k and +l even if they weren't set...

* ircd/m_opmode.c: implement the OPMODE command using mode_parse()

* ircd/channel.c: make mode_process_clients() clear the DEOPPED
flag; fix +s+p exclusivity; add MODE_ADD/MODE_DEL to flag list
for; test the 0-th member, not the i-th member, of the client
change state stuff

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@107 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 30 Mar 2000 18:36:24 +0000 (18:36 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_clearmode.c (do_clearmode): use the new
mode_invite_clear() function

* ircd/channel.c: cleared up all the compile-time warnings and
errors

* include/channel.h: added declarations for mode_ban_invalidate()
and mode_invite_clear()

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@106 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 30 Mar 2000 17:34:32 +0000 (17:34 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c: finished mode_parse(), then broke it up into a
dozen or so helper functions to make the code easier to read

(not guarenteed to compile, yet; that'll be the next commit)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@105 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Thu, 30 Mar 2000 08:07:48 +0000 (08:07 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Clean process initialization code a bit.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@104 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 30 Mar 2000 04:15:16 +0000 (04:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c: initial definition of mode_parse(); flags to
prevent doing the same thing multiple times; helper method
send_notoper() to send a "Not oper"/"Not on channel" notice

* include/channel.h: declare mode_parse() and helper flags

* ircd/channel.c (modebuf_flush_int): fiddled with timestamp
sending to match the current action of set_mode() closely enough
that hopefully there won't be major conflicts

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@103 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 29 Mar 2000 15:58:36 +0000 (15:58 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (modebuf_flush_int): consolidated the mode string
building logic, reversed the order of the arguments to mode
commands to have '-' preceed '+'

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@102 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Wed, 29 Mar 2000 08:13:51 +0000 (08:13 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Allow OS's to tune socket options for performance.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@101 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Wed, 29 Mar 2000 06:52:01 +0000 (06:52 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Fix typo

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@100 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Wed, 29 Mar 2000 03:56:32 +0000 (03:56 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Minor bugfix for uping.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@98 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 28 Mar 2000 16:20:39 +0000 (16:20 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (modebuf_flush_int): use %d, not %-15d; I got
confused by set_mode, which is doing some really weird logic;
guess what I'm going to rewrite next?  ;)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@97 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 28 Mar 2000 07:11:20 +0000 (07:11 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* include/channel.h: added MODE_SAVE for the bounds checking stuff
in modebuf_flush

* ircd/channel.c: make modebuf_flush into modebuf_flush_int and
make it do bounds checking on the buffer; all modes are sent only
if the all parameter is 1; modebuf_flush is the exported wrapper

(all right, so I can't sleep, so what?)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@96 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Tue, 28 Mar 2000 06:40:56 +0000 (06:40 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Merge bugfixes from 2.10.10

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@94 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 28 Mar 2000 05:33:39 +0000 (05:33 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* include/channel.h: add BOUNCE, renumber flags to get a little
more space

* ircd/channel.c (modebuf_flush): don't overload HACK2, add
BOUNCE; send DESYNCH message

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@89 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 28 Mar 2000 02:40:30 +0000 (02:40 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Various misc. bug fixes, feature additions for modebuf_* for anticipated
future use; /clearmode should now be fully functional.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@88 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Tue, 28 Mar 2000 01:20:51 +0000 (01:20 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Update dependencies

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@87 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Tue, 28 Mar 2000 00:52:14 +0000 (00:52 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Merge 2.10.10

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@85 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 27 Mar 2000 21:16:56 +0000 (21:16 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

some misc. cleanups to nuke compile warnings/errors so it'll compile
cleanly--sorry, guys.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@81 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 27 Mar 2000 21:04:57 +0000 (21:04 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

forgot to include msg.h in a couple of places...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@80 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 27 Mar 2000 20:12:50 +0000 (20:12 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_clearmode.c: implemented mo_clearchan()/ms_clearchan()

* ircd/channel.c (modebuf_flush): realized I forgot to
nul-terminate addbuf/rembuf properly...

* ircd/m_clearmode.c (do_clearmode): wrote do_clearmode()...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@79 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 27 Mar 2000 18:13:44 +0000 (18:13 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (modebuf_flush): correct sendto_server_butone to
sendto_serv_butone--blah^2

* ircd/send.c (sendto_serv_butone): stupid comments confused me

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@78 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 27 Mar 2000 17:52:55 +0000 (17:52 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (modebuf_flush): if there are no mode changes to
propagate, we're done...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@77 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 27 Mar 2000 16:33:18 +0000 (16:33 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (modebuf_flush): duh; it's sendto_server_butone,
not sendto_all_butone

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@76 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 27 Mar 2000 16:15:06 +0000 (16:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Some more options in modebuf_flush(); add the skeleton for CLEARMODE and
OPMODE

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@75 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 27 Mar 2000 15:36:42 +0000 (15:36 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* include/channel.h: defined MODEBUF_DEST_SERVER,
MODEBUF_DEST_HACK4

* ircd/channel.c: Add another argument to build_string() to handle
numeric nicks; implemented MODEBUF_DEST_SERVER to send MODEs to
servers; implemented MODEBUF_DEST_HACK4 to cause HACK(4) notices
to be sent out

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@74 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Mon, 27 Mar 2000 06:19:37 +0000 (06:19 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed missing 'u' typo in ircd/s_bsd.c (oops!)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@72 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 27 Mar 2000 04:36:11 +0000 (04:36 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Forgot to commit a ChangeLog entry...hope you don't mind the format ;)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@71 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 27 Mar 2000 04:31:35 +0000 (04:31 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Create a ModeBuf abstraction to build strings of modes and "flush" them
to the channel at the correct point.  Eventually intended to work for
servers too, but not currently implemented that way.  This is intended
to be the first step toward OPMODE and CLEARMODE--for informing clients
what's happening.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@70 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Mon, 27 Mar 2000 03:33:25 +0000 (03:33 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Sync with ircu2.10.10

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@64 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 25 Mar 2000 07:20:07 +0000 (07:20 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Missed a cleanup.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@58 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 25 Mar 2000 07:02:49 +0000 (07:02 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Convert numnicks to use entire range, make extended numerics compatible
with current version.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@57 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 25 Mar 2000 02:02:24 +0000 (02:02 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Add information about configuring Solaris for higher capacity to the
release notes. Thanks tar.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@56 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Fri, 24 Mar 2000 10:14:21 +0000 (10:14 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Merge in changes from production.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@55 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Wed, 22 Mar 2000 04:43:59 +0000 (04:43 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Misc changes, tweak numnick generator, add docu.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@47 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 22 Mar 2000 00:50:13 +0000 (00:50 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Some bugs I had fixed before releasing my jupe.patch somehow didn't make it
into the repository, so I fixed them.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@44 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Maniac <maniac@cetlink.net>
Bleep [Tue, 21 Mar 2000 03:48:11 +0000 (03:48 +0000)]
Author: Maniac <maniac@cetlink.net>
Log message:
Ignore info requests from server, names escape /names 0

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@43 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Bleep [Tue, 21 Mar 2000 01:08:51 +0000 (01:08 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Add missing jupe files doh!!

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@42 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Bleep [Tue, 21 Mar 2000 01:05:16 +0000 (01:05 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
This patch is relative to the trunk of the ircu2.10 repository.  Please see
the discussion on coder-com and the bundled doc/readme.jupe for more details
about how it works, or feel free to ask me questions.  Please consider this
patch for inclusion in the next release of ircu.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@41 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Tue, 21 Mar 2000 00:33:29 +0000 (00:33 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Merge in changes from beta07, apply Maniac's squit token patch.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@40 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sun, 19 Mar 2000 05:49:05 +0000 (05:49 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Merge in changes from beta

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@37 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 18 Mar 2000 07:21:17 +0000 (07:21 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Add readme.cvs file to explain the general structure and usage of the
CVS archive.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@31 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 18 Mar 2000 06:48:21 +0000 (06:48 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Start new version for development.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@30 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 18 Mar 2000 05:20:30 +0000 (05:20 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Update ircu2.10 to ircu2.10.10 level merge beta into main trunk

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@27 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 18 Mar 2000 02:07:55 +0000 (02:07 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Eventually I'll get this bit in there the first time.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@24 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 18 Mar 2000 01:59:57 +0000 (01:59 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Rollback pline8 patch, remove server hosts and addresses from strings
sent over the wire. NOTE: this might leak in a couple places let us
know if you find any hostname/address leaks. See the example.conf for
information on setting up virtual hosting (minor change).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@23 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Bleep [Tue, 14 Mar 2000 01:35:20 +0000 (01:35 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:
Bugfix: uninitialized variable causing getsockname to fail and trigger
other bugs.

In s_auth.c:103, insert:
  len = sizeof(sock);

just before:
  if (getsockname(cptr->fd, (struct sockaddr *)&sock, &len) == -1
      || (sock.sin_port = 0)    /* Reset sin_port and let OS choose
      || bind(cptr->authfd, (struct sockaddr *)&sock, len) == -1)

This initialises len correctly, and everything then works :)

--
On a sidenote, I noticed the result of this failure is that the clients
socket is closed, surely closing the authfd would be better than just
cutting off the client? :P
The authfd then never gets closed, and also the ircd hits 100% cpu,
presumably because this client is still in a list somewhere, but with a
closed Fd, maybe, not looked :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@22 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Tue, 7 Mar 2000 02:44:06 +0000 (02:44 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Fix for gte's large channel patch

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@21 c9e4aea6-c8fd-4c43-8297-357d70d61c8c