ircu2.10.12-pk.git
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

24 years agoAuthor: Run <carlo@alinoe.com>
Bleep [Tue, 7 Mar 2000 00:56:36 +0000 (00:56 +0000)]
Author: Run <carlo@alinoe.com>
Log message:
Overview of changes
-------------------

- The ircd will now always use bind() to bind sockets to interfaces,
  the compile option VIRTUAL_HOST has been removed therefore as it
  is turned on by default now.

- It has become possible to specify in the ircd.conf the interfaces
  to which each listen port should bind to, per port. A default is
  available too though.

- The ircd will now correctly use the same interface as the client
  used to connect to the server when doing an identd lookup.

- It is not needed anymore for the hostname in the M: line to resolve.
  Moreover, if you want to hide your server, make sure it doesn't :).
  If it DOES resolve, then it should be the correct IP-number of
  the actually host (one of your interfaces), in that case it will
  be just like the current ircu with VIRTUAL_HOST defined.

Each interface has an IP-number, you can list those by typing the
following command on the UNIX prompt:

ifconfig -a

You can specify the interfaces to which a listen port needed to bind
to by giving this IP-number in the corresponding "passwd" field of the
P: line (the third field).  For example, to bind a listen port `6667'
to 127.0.0.1, use:

P::127.0.0.1::6667

At this moment, each P: line represents a client port. With hide8.patch
however, you can also bind the server listen port to an interface
by simply adding a P: line, forinstance:

P::192.168.1.2::4400

would bind the server port to 192.168.1.2.  Here `4400' is the server
port that is specified in the M: line! (You can only have one server
port).  You can of course bind it to more than one interface now
(that was not possible before, it was all (#undef VIRTUAL_HOST) or
only one (#define VIRTUAL_HOST)) by adding more P: lines for port 4400.
For instance:

P::192.168.1.2::4400
P::127.0.0.1::4400

Using a '*' in the password field will bind that port to ALL interfaces,
while using nothing at all will use the DEFAULT inteface.
For example:

P::::6667

will bind a client port 6667 to the DEFAULT interface.

The default interface is determined as follows:

1) If an interface is specified on the commandline (using the -w commandline
   option), then that is the default interface;  otherwise
2) If the hostname in the M: line resolves to a local IP number, then that
   is the default interface;  otherwise
3) All interfaces will be bound by default (as if a '*' was specified).

For outgoing connect (/connect and /uping), the ircd will use a slightly
different "default" interface:

1) If the IP of the peer server to connect is 127.0.0.1 it will use
   127.0.0.1 as interface; otherwise
2) see 1) above
3) see 2) above
4) The last interface specified in a P: line in the ircd.conf for the
   server port that is not 127.0.0.1 is the default interface;  otherwise
5) see 3) above

However, I wouldn't worry about this too much: it should do what is
intuitively right.

Finally, the syntax of /CONNECT and /UPING have been extended.
It now is possible to specify an IP-number explicitely to distinguish
between different C/N: lines.

You can still do:

/CONNECT target.server 4400 remote.server

but you can also use:

/CONNECT target.server <IP number>:4400 remote.server

For instance, if "remote.server" had the following C/N lines for
target.server:

C:111.111.111.111:passwd:target.server
N:111.111.111.111:passwd:target.server
C:127.0.0.1:passwd:target.server
N:127.0.0.1:passwd:target.server

Then you can specify to which interface you want to connect
by using:

/CONNECT target.server 111.111.111.111:4400 remote.server

or

/CONNECT target.server 127.0.0.1:4400 remote.server

by default it will use the C: line at the top.

If you want to hide your HUB, then you can apply this patch --
add C/N lines for all your peers using 127.0.0.1 as IP number
and set up portwarders (ask Nemesi for help with the latter).

Of course your peers need to fix their and ircd.conf and rehash,
as well as use a portforwarder too (like ssh) but they won't need
to patch their servers.

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

24 years agoAuthor: Run <carlo@alinoe.com>
Bleep [Sat, 22 Jan 2000 17:47:08 +0000 (17:47 +0000)]
Author:      Run <carlo@alinoe.com>
Log message:
After running into a restart problem with Amsterdam1 today, I found
the following bug
[Fixup for $BINDIR/$SYMLINK in config-sh.in]

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

24 years agoAuthor: WildThang
Danny Mitchell [Fri, 21 Jan 2000 17:32:30 +0000 (17:32 +0000)]
Author: WildThang
Log message: Fixed configuration option for BADCHAN. should keep previous config settings.

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

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Thu, 20 Jan 2000 04:52:48 +0000 (04:52 +0000)]
Author:     Bleep <tomh@inxpress.net>
Log message:
Bump version in .patches

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

24 years agoAuthor: David M <captj@superlink.net>
Bleep [Thu, 20 Jan 2000 04:51:31 +0000 (04:51 +0000)]
Author:     David M <captj@superlink.net>
            Run     <carlo@alinoe.com>
Log message:
- Fixes a bug making all of the patch's functionality restricted to global
opers, whereas it was intended to be for both local and global opers, since
it only affects the local server.

- Now requires opers who want to join a local channel where they normally
couldnt to use a /join &channel OVERRIDE to force the join. This generates
a HACK(4) server notice. Previous patch was silent on forced joins.

Update URL in readme.www

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

24 years agoAuthor: WildThang
Danny Mitchell [Tue, 11 Jan 2000 02:34:42 +0000 (02:34 +0000)]
Author: WildThang
Log message: After discussion wit Bleep, due to the amount of controversy
we'll put this back.  I guess if the admins/opers feel strong enough that
wallops are being abused, they can put forth a CFV or something to either
fix the operators, or change wallops however is decided. I still encourage
the patch bleep wrote for use with other networks as an option. We'll leave
it such that by default, it doesnt change the behavior of wallops.
 Signed.... "The Threat to Undernet" *grin*. Damn I'm in a good mood today.

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

24 years agoAuthor: WildThang & Bleep
Danny Mitchell [Wed, 5 Jan 2000 04:27:25 +0000 (04:27 +0000)]
Author: WildThang & Bleep
Log message:
 Minor cleanup to eliminate some of the problems we have been experiencing
on the network.

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

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Mon, 3 Jan 2000 19:49:40 +0000 (19:49 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Re: [Coder-Com] Y2K patch (actually, a Yany patch)
"ChangeLog" is updated but ".patches" isn't.
Bumped patch number in .patches

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

24 years agoAuthor: Run <carlo@alinoe.com>
Bleep [Sat, 1 Jan 2000 00:00:33 +0000 (00:00 +0000)]
Author: Run <carlo@alinoe.com>
Log message:
Y2K patch (actually, a Yany patch) Extensively tested it.

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

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 11 Dec 1999 08:54:13 +0000 (08:54 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Bug Fix. This fixes a bug which was causing stale entries to be left in
the client hash table when names were changed.
From Isomer:
I believe that it doesn't actually /do/ anything if your at the head of
the bucket.  It should remove you from the bucket and place you in the new
one.  Patch should be trivial for someone with cvs access to apply.

int hChangeClient(aClient *cptr, char *newname)
{
  register HASHREGS oldhash = strhash(cptr->name);
  register HASHREGS newhash = strhash(newname);
  register aClient *tmp;

  tmp = clientTable[oldhash];

  if (tmp == cptr)
    return 0;
  /* ^^^^^^^^ shouldn't we do something here? */

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

24 years agoAuthor: David M <captjay@superlink.net>
Bleep [Mon, 29 Nov 1999 00:26:42 +0000 (00:26 +0000)]
Author: David M <captjay@superlink.net>
Log message:
- added configuration option to allow opers to set modes on local channels
even if they are not oped.

- added configuration option to allow opers to walk through modes on local
channels, since they are required to be on a channel to be able to set
modes on it.

- added configuration option to prevent opers from being deoped from local
channels.

- added configuration option to allow opers to bypass the maximum number of
channels per user.

Detailed behavior changes:

If the admin so choses, opers can now use /mode on local channels even if
they are not oped. In that case, a server notice is generated (SNO_HACK4),
and to clients, it appears that the local server set the mode. The server
notice is not propagated to other servers.

If activated in the configuration, opers can join local channels under any
circumstances. Doing so does not generate a server notice. Note that the
oper can still not talk in the channel if he is banned.

Preventing opers from being deoped on local channels results in the user
attempting the deop to receive a new numeric reply (498) stating he cannot
kick or deop an oper on a local channel. An oper can deop himself, though.
Provided again to fill the service gaps on local channels, allowing admins
who want it to implement "services" for their local channels.

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

24 years agoAuthor: WT
Danny Mitchell [Sun, 28 Nov 1999 05:44:17 +0000 (05:44 +0000)]
Author: WT
Log message:

 Cleaning things up a bit.
 Yeah, before you gripe about it, I ran the idea of using the numeric
 past thomas, he agreed, although its used on efnet, no reason to waste it
 when it means something simular here.

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

24 years agoAuthor: WT
Danny Mitchell [Sun, 28 Nov 1999 05:43:25 +0000 (05:43 +0000)]
Author: WT
Log message:

 Cleaning things up a bit.

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

24 years agoLets hope that I did this right :)
Danny Mitchell [Sun, 28 Nov 1999 01:36:32 +0000 (01:36 +0000)]
Lets hope that I did this right :)
BADCHAN patch, Remote usage defaults YES, local usage defaults NO.
Warning is given, LOCAL USAGE is NOT approved for undernet.

Author: WT
Log message:

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

24 years agoAuthor: Isomer <perry@coders.net>
Bleep [Thu, 25 Nov 1999 02:07:53 +0000 (02:07 +0000)]
Author: Isomer <perry@coders.net>
Log message:
Remove STAT_MASTER and BOOT_OPER functionality.

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

24 years agoThis commit was generated by cvs2svn to compensate for changes in r2,
Bleep [Tue, 16 Nov 1999 05:13:14 +0000 (05:13 +0000)]
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

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

24 years agoStandard project directories initialized by cvs2svn.
(no author) [Tue, 16 Nov 1999 05:13:14 +0000 (05:13 +0000)]
Standard project directories initialized by cvs2svn.

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