ircu2.10.12-pk.git
22 years agoAuthor: LordLuke <lordluke@undernet.org>
Perry Lorier [Wed, 20 Mar 2002 06:33:25 +0000 (06:33 +0000)]
Author: LordLuke <lordluke@undernet.org>
Log message:

Added locop feature

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Tue, 19 Mar 2002 22:03:36 +0000 (22:03 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Made links behave like map, so it is also more useful with HEAD_IN_SAND_LINKS
defined.

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Tue, 19 Mar 2002 19:25:55 +0000 (19:25 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Fixed a bug in /stats i, and in the process saw someone tried to show connection
limits in /stats i. Took the idea and finished implementing it. Update ChangeLog
for today's earlier commits as well.

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Tue, 19 Mar 2002 15:12:43 +0000 (15:12 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message: Cut and paste error...

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Tue, 19 Mar 2002 14:59:54 +0000 (14:59 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Make disabling HEAD_IN_SAND easier, by using -DNO_HEAD_IN_SAND. Also added
--disable-headinsand to ./confugre

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

22 years agoAuthor: LordLuke <lordluke@undernet.org>
Perry Lorier [Tue, 19 Mar 2002 10:54:28 +0000 (10:54 +0000)]
Author: LordLuke <lordluke@undernet.org>
Log message:

>> This patch will allow an oper to list secret channels via /list if           >> allowed in the F line                                                        >>                                                                              >> F:LIST_CHAN:TRUE|FALSE (default is true)                                     >>                                                                              >> Tested on ircu 2.10.11pl24                                                   >                                                                               >I like this patch, could we have it against the alpha branch tho?              >                                                                               >cvs update -A                                                                  >                                                                               >should get it to you :)                                                        >                                                                                                                                                               This file is for:                                                                                                                                                u2.10.12.alpha.00. Test.undernet.org B27AeEFfIKMpSU

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Wed, 13 Mar 2002 19:00:16 +0000 (19:00 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
LAst of the last of the bug fixes in do_kill. Must be more careful when forward porting by hand.

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

22 years agoAuthor: Carlo Wood (run@alinoe.com> (Via Isomer>
Perry Lorier [Wed, 13 Mar 2002 09:19:21 +0000 (09:19 +0000)]
Author: Carlo Wood (run@alinoe.com> (Via Isomer>
Log message:

This patch finishes everything described on
http://www.xs4all.nl/~carlo17/irc/cpass.html
Todo:
- deal with brute force (dictionary) attacks on apass.
- backwards compatibility (two phase upgrade).
- education issues (add URLs in messages).

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Mon, 11 Mar 2002 06:36:52 +0000 (06:36 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Last of the bug fixes for do_kill()

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Sun, 10 Mar 2002 10:17:14 +0000 (10:17 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Don't remove clients from the list that aren't actually in the list.

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

22 years agoAuthor: Carlo Wood <run@alinoe.com>
Perry Lorier [Fri, 8 Mar 2002 23:19:33 +0000 (23:19 +0000)]
Author: Carlo Wood <run@alinoe.com>
Log message:

Implementation of network synchronization code.                                 Includes the implementation of the previously                                   unused DESTRUCT message.  Correction on ms_join                                 to copy older timestamps and now allowing                                       BURST message to occur outside the net-burst.                                   See my last two posts to coder-com for detailed                                 information on how I got to this implementation                                 and for a C++ simulation program that wrote to                                  test it.                                                                                                                                                        Note that I changed the copyright notice in                                     m_destruct - Jarko didn't add that function, I did.                             Not that it is a big deal to me.

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

22 years agoAuthor: Reed Loden <reed@redmagnet.com> By way of Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Thu, 7 Mar 2002 22:52:57 +0000 (22:52 +0000)]
Author: Reed Loden <reed@redmagnet.com> By way of Ghostwolf <foxxe@wtfs.net>
Log message:
Various trival changes to tools/*

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

22 years agoAuthor: Run <run@alinoe.com> By way of Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Thu, 7 Mar 2002 21:26:11 +0000 (21:26 +0000)]
Author: Run <run@alinoe.com> By way of Ghostwolf <foxxe@wtfs.net>
Log message:
* /ircd/ircd.c: check_pings: First check if a PING was sent at all.

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

22 years agoAuthor: Carlo Wood (via Isomer <isomer@coders.net>)
Perry Lorier [Thu, 7 Mar 2002 02:28:39 +0000 (02:28 +0000)]
Author: Carlo Wood (via Isomer <isomer@coders.net>)
Log message:

Missing file

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

22 years agoAuthor: Carlo Wood (Via Isomer <isomer@coders.net>)
Perry Lorier [Thu, 7 Mar 2002 02:07:59 +0000 (02:07 +0000)]
Author: Carlo Wood (Via Isomer <isomer@coders.net>)
Log message:

Added missing file.

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

22 years agoAuthor: Carlo Wood <run@alinoe.com> (Via Isomer <isomer@undernet.org>)
Perry Lorier [Wed, 6 Mar 2002 09:31:28 +0000 (09:31 +0000)]
Author: Carlo Wood <run@alinoe.com> (Via Isomer <isomer@undernet.org>)
Log message:

Run's Patches:
 apass1.diff
 apass1-2.diff
 map_update.patch
 apass2-3.diff

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Tue, 26 Feb 2002 23:10:39 +0000 (23:10 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Cosmetic change to head in sand map output, fixed the asserts in map_* and fixed a bug in ms_server that was makeing P10's into J10's

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

22 years agoAuthor: Carlo Wood <carlo@alinoe.com> (by way of Kev <klmitch@mit.edu>)
Kevin L. Mitchell [Mon, 25 Feb 2002 17:20:15 +0000 (17:20 +0000)]
Author: Carlo Wood <carlo@alinoe.com> (by way of Kev <klmitch@mit.edu>)
Log message:

Removes the warnings:

m_server.c: In function `mr_server':
m_server.c:132: warning: unused variable `bcptr'
m_server.c: In function `ms_server':
m_server.c:681: warning: unused variable `ret'
m_server.c:678: warning: unused variable `aconf'

These are independend of configure options: a reg.exp. search
shows they are certainly not used in these functions, anywhere.
Probably there as a result of duplicating code in the past.

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Mon, 25 Feb 2002 07:39:33 +0000 (07:39 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Last round of fixes for map changes.

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Mon, 25 Feb 2002 07:36:27 +0000 (07:36 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
More bug fixes...

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Mon, 25 Feb 2002 07:27:41 +0000 (07:27 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Make map changes actually compile, and don't use c++ keywords for variable names.
More testing and whatnot tommorow.

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Mon, 25 Feb 2002 06:32:02 +0000 (06:32 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:

  * ircd/m_map.c: Modified to show a useful output to non-opered
    clients when HEAD_IN_SAND_MAP is defined. Servers are added to
    the list when first seen (after receiving SERVER) and that list
    is sent to clients. Servers are excluded from the list if they are
    hubs, services, or have been missing for more than 1 week.

  * ircd/map.c: Created file for map_* functions

  * include/map.h: Created file for map_* functions

  * ircd/m_server.c: Added calls to map_update()

  * ircd/s_misc.c: Added call to map_update()

  * ircd/parse.c: Changed to use m_map() and mo_map()

Status: Completely untested. It may compile and work.
More commits are on the way.

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

22 years agoAuthor: R33D33R <reed@redmagnet.com> (by way of Kev <klmitch@mit.edu>)
Kevin L. Mitchell [Sun, 24 Feb 2002 19:59:41 +0000 (19:59 +0000)]
Author: R33D33R <reed@redmagnet.com> (by way of Kev <klmitch@mit.edu>)
Log message:

This patch removes the extra : in the remote connect msg.

!H12.PartyNet.Org! * :Remote CONNECT Oslo* 4400 from R33D33R
becomes
!H12.PartyNet.Org! * Remote CONNECT Oslo* 4400 from R33D33R

(pull-up from u2_10_11 branch)

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Tue, 19 Feb 2002 23:29:53 +0000 (23:29 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Bug fix for HIS_KILLWHO

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Tue, 19 Feb 2002 22:53:04 +0000 (22:53 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Fix core bug in gline_find()

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Tue, 19 Feb 2002 22:03:00 +0000 (22:03 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Let local opers see server names in /who

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

22 years agoAuthor: John Buttery <john@io.com>
Joseph Bongaarts [Tue, 19 Feb 2002 21:31:44 +0000 (21:31 +0000)]
Author: John Buttery <john@io.com>
Log message:
Fixed "No such file" error message.

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Mon, 18 Feb 2002 10:22:05 +0000 (10:22 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Bug fixes.

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Mon, 18 Feb 2002 09:23:57 +0000 (09:23 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Some cleanup and bug fixes. Added HEAD_IN_SAND_KILLWHO.

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

22 years agoAuthor: notnet <net@astrolink.org>
Joseph Bongaarts [Mon, 18 Feb 2002 08:00:52 +0000 (08:00 +0000)]
Author: notnet <net@astrolink.org>
Log message:
Added static do_kill() function for generic kill processing.

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Thu, 14 Feb 2002 22:59:27 +0000 (22:59 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Added support for LIST STOP

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Thu, 14 Feb 2002 00:24:27 +0000 (00:24 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Missed a conflict in ChangeLog

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Thu, 14 Feb 2002 00:20:45 +0000 (00:20 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Merged changes in 2.10.11 into .12

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

22 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Tue, 8 Jan 2002 10:39:32 +0000 (10:39 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

* Fixed the build system, "MAKEFILES" is not a general purpose variable in a
makefile -- it implicitly includes the other makefiles.  And it appears to
have shown up some bug in Make too.  Funky!

* Added "Quit: " prefixes to quit messages.

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

22 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Mon, 24 Dec 2001 10:12:01 +0000 (10:12 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

A) Minor cleanups to m_server.c to try and make the error more obvious.  Mostly
deadcode removal.

B) made limits show in I:'s

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

22 years agoAuthor: John Buttery <john@io.com> (By way of Kev <klmitch@mit.edu>)
Kevin L. Mitchell [Wed, 19 Dec 2001 19:54:28 +0000 (19:54 +0000)]
Author: John Buttery <john@io.com> (By way of Kev <klmitch@mit.edu>)
Log message:

Correct typo

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 1 Nov 2001 22:56:51 +0000 (22:56 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Keeping .12 branch in sync with fixes committed to u2.10.11.

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

22 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Thu, 1 Nov 2001 19:31:32 +0000 (19:31 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed bug where we send cptr instead of sptr when complaining about servers
with clock drift.

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

22 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Tue, 30 Oct 2001 20:46:26 +0000 (20:46 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed ping bug, moved ChangeLog

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

22 years agoAuthor: Isomer <Isomer@coders.net>
Perry Lorier [Tue, 30 Oct 2001 19:58:36 +0000 (19:58 +0000)]
Author: Isomer <Isomer@coders.net>
Log message:

fixed hunt server

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

22 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Thu, 11 Oct 2001 10:21:49 +0000 (10:21 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Changed sendcmdto_flags_butone() to sendwallto_group_butone().

Comments on this patch please?

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

22 years agoAuthor: Vampire- <unknown>
Perry Lorier [Mon, 24 Sep 2001 00:04:16 +0000 (00:04 +0000)]
Author: Vampire- <unknown>
Log message:

Second attempt at fixing unique_name_vector

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

22 years agoAuthor: mbuna <mbuna@undernet.org>
Perry Lorier [Sat, 22 Sep 2001 00:33:46 +0000 (00:33 +0000)]
Author: mbuna <mbuna@undernet.org>
Log message:

Darwin is the core of Mac OS X. It's a real BSD, and its very similar
to freeBSD on many points. Actually, ircu's config systems doesnt
recognize it. Users can force with the --host option, but the build
will fail due to minor compatibility problems on os_generic. It's
working well when linking with os_bsd.c.

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

22 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Fri, 21 Sep 2001 11:42:34 +0000 (11:42 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed acptr that was supposed to be "from" in s_user.c

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

22 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Thu, 20 Sep 2001 10:55:14 +0000 (10:55 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Various pull ups from 2.10.10.pl16
Rate limited snotices

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

22 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Mon, 17 Sep 2001 09:01:00 +0000 (09:01 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Most of the updates from 2.10.10.pl16 and a few odds and ends I'd forgotten
about.  Thanks to my flatmate who learnt to code while I was cooking :)

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 31 Aug 2001 14:37:30 +0000 (14:37 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Channel limits are unsigned; display and process them that way.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 17 Aug 2001 19:10:00 +0000 (19:10 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

#include <stdlib.h> to define exit()

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 17 Aug 2001 16:59:18 +0000 (16:59 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Update README, RELEASE.NOTES, and Authors; fix mr_error() to ignore ERROR
from servers we're not connecting to, thus preventing users from using it
to annoy operators; fix mo_wallops() to insert "* " before wallops so that
they can be distinguished from wallusers; remove documentation line for
/stats v.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 31 Jul 2001 20:23:57 +0000 (20:23 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Finally tracked down why ERROR messages from servers we're connecting to
aren't being saved: there was no handler for ERRORs from unregistered
clients!  Curiously enough, handlers.h had a declaration for one.  Anyway,
I added one, with a test for IsUserPort() so that ordinary users can't
abuse us (I hope...), and it now works fine.  Also removed an unused
variable found while trying to track down a bug that causes some servers
and users to not be sent in the BURST--I haven't yet tracked that bug down,
unfortunately.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sat, 28 Jul 2001 17:10:09 +0000 (17:10 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Another minor typo.  This time, everything's fixed and tested.  Sorry for
the patches@ flood...

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sat, 28 Jul 2001 17:00:31 +0000 (17:00 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Fix minor typo; I should test-compile *before* I commit, *sigh*.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sat, 28 Jul 2001 16:57:34 +0000 (16:57 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Forward-port of last minute changes in u2.10.10.pl15; merge ChangeLog.10
from that branch.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 27 Jul 2001 22:15:33 +0000 (22:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Code to disable IP options was removed early on in the u2.10.11 release
cycle, apparently due to a misunderstanding of what the code was trying to
accomplish.  There are only a handful of IP options available today, and
none of them affect performance...whereas some (namely, source routing) can
affect security.  The code that was removed (and which is added back in
this patch) disables those options.  When a source route is removed, the
spoofed origin can't receive packets from the server.  If the source route
were *not* removed, a spoofer would receive the anti-spoof ping, and thus
be able to return it, re-opening the IP spoof attack.  Note: This does not
affect TCP options; those are critical to performance, but they are only
interpreted by the TCP layer, and thus are enclosed in the TCP-controlled
portion of the IP packet.  IP options are contained in the IP header.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 26 Jul 2001 01:36:45 +0000 (01:36 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Turn on HEAD_IN_SAND_REMOTE by default for the release.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 25 Jul 2001 23:59:45 +0000 (23:59 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Pretty up version reports in /trace when we've got debugging set up.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sat, 21 Jul 2001 23:05:51 +0000 (23:05 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

If servers are disconnected through a call to exit_client()--say by a squit
or something else, perhaps an access check--the server would send a raw
message like "ERROR :Closing Link [...]".  The server interprets "ERROR" as
a numeric nick, and since in most cases, that numeric nick doesn't exist,
it ignores the message.  This means that servers that closed the connection
frequently did so without the proper (and useful) error message.  This fix
simply uses sendrawto_one() only for clients, and uses sendcmdto_one() for
servers, fixing the error.

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

22 years agoAuthor: delete <delete@cyberabuse.org>
Kevin L. Mitchell [Thu, 19 Jul 2001 00:15:36 +0000 (00:15 +0000)]
Author: delete <delete@cyberabuse.org>
Log message:

Added missing 'e'

(Reviewed by Kev <klmitch@mit.edu>)

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

22 years agoAuthor: delete <delete@cyberabuse.org>
Kevin L. Mitchell [Thu, 19 Jul 2001 00:10:42 +0000 (00:10 +0000)]
Author: delete <delete@cyberabuse.org>
Log message:

Beginning to update/translate some of the important out-of-date
documentation.

(Reviewed by Kev <klmitch@mit.edu>)

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 17 Jul 2001 14:15:23 +0000 (14:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Remove spurious protocol violation notices by backing off on the required
parameter count for BURST.  These can be sent if all users on a channel
with no modes set get collided off during the burst.  If the channel
remains empty after the BURST is complete, it will be garbage-collected
as before during the processing of END_OF_BURST.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 12 Jul 2001 15:29:34 +0000 (15:29 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

IPcheck sucks large, hairy rocks.  In this case, local clients were not
getting FLAGS_IPCHECK set, so the connected count in the IP registry was
not getting decremented when they exited.  Moreover, IPcheck_remote_connect
set this bit itself, but IPcheck_local_connect cannot because the client
doesn't even exist yet.  This means that the bit has to be set in s_bsd.c.
This is pretty darned annoying, but what else can one do?  This should at
least fix one problem we've been having with the IPcheck code.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 11 Jul 2001 15:40:15 +0000 (15:40 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Hopefully correct a condition that can cause the server to chew CPU by not
clearing a particular fd--POLLHUP was not being caught.  Please test to see
if this fixes the problem!

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 9 Jul 2001 16:33:37 +0000 (16:33 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Stomp some warnings discovered on NetBSD, on an alpha running NetBSD, and
under -O1 instead of -O3.  Remaining: "statement with no affect" in an
assert on line 489 of fda.c; pointer type mismatch warning for calls to
getsockopt() in the engines--due to NetBSD's use of socklen_t, which may
not always be available.  The former could be solved by removing the
assert and testing the condition during the configure stage; the latter
could be solved by defining socklen_t ourselves at configure time.

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

22 years agoAuthor: jv <unknown>
Perry Lorier [Tue, 3 Jul 2001 09:29:48 +0000 (09:29 +0000)]
Author: jv <unknown>
Log message:

Updated numeric.h merged numerics in from other networks.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 29 Jun 2001 20:41:35 +0000 (20:41 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

A user that did mode <nick> -owsg would not stop getting server notices;
fixed so that the snomask is cleared if FLAGS_SERVNOTICE isn't set.  This
is a bit redundant, due to the design of set_user_mode()...

Thanks to Braden <dbtem@yahoo.com> for spotting this one.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 29 Jun 2001 18:00:04 +0000 (18:00 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Some pre-release touch-ups: default to enabling kqueue and /dev/poll
engines, add messages for installation prefix checks, and turn
CONFIG_OPERCMDS off

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 29 Jun 2001 16:15:56 +0000 (16:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Bring ChangeLog.10 up-to-date

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 29 Jun 2001 15:51:03 +0000 (15:51 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Write doc/readme.chroot; remove a bunch of code commented out with #if 0;
remove the last vestiges of sprintf_irc() and use ircd_snprintf() instead.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 29 Jun 2001 02:47:26 +0000 (02:47 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Makefile (build system) tuning: create directories before installing into
them; detect changes to sub-Makefiles and rebuild them properly; tuning to
permit VPATH operation.

VPATH operation is a very useful tool for developers and individuals who
need to compile from the same source tree on multiple platforms; it allows
you to build the server from a directory other than your source directory.
Simplest way to do it is create your build directory, cd into it, then use
something like ../relative/path/to/ircu2.10/configure.  The configure
script will build the Makefiles and necessary directories in the current
directory.  Caveat: "make depend" will not work properly with VPATH for two
basic reasons: chattr.tab.c will be missing; and the dependancies generated
will be relative paths into your source directory.  The latter can be
corrected by changing the -I flags fed to the gcc -MM invocation; the
former might be corrected by substituting <> for "" in ircd_string.c.
Realistically, the whole "make depend" infrastructure should probably be
rototilled, but I think I'll just move us to automake in u2.10.12.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 28 Jun 2001 21:40:57 +0000 (21:40 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

This should be the last of the code required for u2.10.11 before release.
Not the last of the documentation, unfortunately, but you can't have
everything...Anyway, this implements restrictions on the G-line mask for
ordinary operators to keep accidental *@* G-lines from being set.  In
particular, if the host mask contains any wildcards or if the G-line
would impact 20 or more users (this number is configurable), then the
G-line would have to be forced by doing !+*@host.mask.goes.here or
whatever.  This check is also smart enough to not allow *@*foo.com or
*@127.0.0.1/15 bans, either.

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

22 years agoAuthor: Braden <dbtem@yahoo.com>
Kevin L. Mitchell [Wed, 27 Jun 2001 14:57:02 +0000 (14:57 +0000)]
Author: Braden <dbtem@yahoo.com>
Log message:

Updated example.conf describing various changes to the configuration file.
(Reviewed by Kev <klmitch@mit.edu>.)

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 27 Jun 2001 14:24:47 +0000 (14:24 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

More forward-ports from pl15

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 25 Jun 2001 16:12:09 +0000 (16:12 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Forward-port of several pl15 changes to u2.10.11; waiting on clarification
on the supported.h changes before I forward-port those.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 22 Jun 2001 20:18:23 +0000 (20:18 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Adding my wrapper script, suitably re-commented and with the addition of
the ability to chroot, to the release.  This script allows one to set the
hard file descriptor limit (using -l), the root directory (using -c), and
the user ID (using -u), and runs a given command.  This program should NOT
be installed setuid, but must be run as root.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 22 Jun 2001 19:46:18 +0000 (19:46 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Document each feature, along with a document about how to configure logging.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 21 Jun 2001 23:28:53 +0000 (23:28 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Changing the way configuration is done has its problems--no one pays
attention to anything you say about it.  I've added a notice warning users
that "make config" is deprecated.  I've also added a script to help
migrate an existing tree to the new way of doing things.  I've done a lot
of testing of this script, but it could still get some things wrong; it's
pretty complicated.  Enjoy!

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 21 Jun 2001 15:48:16 +0000 (15:48 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Add a shell script that can be used to prepare a new root by copying all
necessary libraries to the appropriate places.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 20 Jun 2001 20:56:32 +0000 (20:56 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Beginning to update some of the important out-of-date documentation.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 15 Jun 2001 23:45:06 +0000 (23:45 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

This is the last of the API documentation that I set out to write.  Enjoy!

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 15 Jun 2001 20:53:40 +0000 (20:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Finished up the events API documentation; wrote documentation for gline,
ircd_snprintf, motd, msgq, privileges, and the send functions.  Still to
document: modebuf, mode_parse(), joinbuf, and jupe.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 14 Jun 2001 18:23:24 +0000 (18:23 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Finally fix the long-standing compile warning in table_gen.c.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 13 Jun 2001 19:24:48 +0000 (19:24 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Fix a couple of mistakes in existing API documentation; begin writing
documentation for the new events subsystem.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 11 Jun 2001 15:12:38 +0000 (15:12 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

*mumble* *mumble* *frotz*

I wondered why the server was trying to find the user structure describing
another server...

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 10 Jun 2001 12:38:56 +0000 (12:38 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Changes necessary to make SETTIME always be in the priority queue.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 10 Jun 2001 11:58:40 +0000 (11:58 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Noticed that WALLOPS wasn't being put into the server's priority queues;
fixed.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 10 Jun 2001 10:44:00 +0000 (10:44 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Remove check on LPATH; it's not critical to the server's operation even in
DEBUGMODE.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sat, 9 Jun 2001 01:34:17 +0000 (01:34 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Implement a mechanism for servers to indicate to the network that they are
hubs, servers, or both.  We take parv[7], an unspecified unsigned int in
previous versions, and turn it into a mode-like string--it's not actually a
mode in the /mode #channel sense, but it looks similar.  This works in
conjunction with two new flags, FLAGS_HUB and FLAGS_SERVICE.  There is
currently no user-visible impact of this change.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 8 Jun 2001 23:12:17 +0000 (23:12 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

When HEAD_IN_SAND_SNOTICES is #define'd, there is no longer any reason to
hide the nickname of an operator using, say, /OPMODE (except in the actual
MODE command sent to the channel).  Therefore, whenever
HEAD_IN_SAND_SNOTICES is #define'd, /OPMODE, /CLEARMODE, /GLINE, and /JUPE
generate server notices containing the generating operator's nickname.

The old chroot() and setuid() support code has been removed.  There are
plenty of code paths that get traversed before we even hit the setuid
stuff, which is a security risk.  There're much better ways of handling
setuid operation in the first place, which is what we're going to move to.
I will write documentation and preparation scripts for this.

Previously, whenever a user that is GLINEd or a server that is JUPEd showed
up on line from a remote server, the GLINE or JUPE was retransmitted.  To
prevent the network from being clogged up, I added a parameter to allow a
server to acknowledge that that JUPE/GLINE is known, and being
intentionally ignored.  After some discussion, however, it was decided to
remove all of that code.  Now the only retransmits left in the code are
ones where the remote server sends a JUPE/GLINE with a bad mod time...and
all that hair is now gone.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 7 Jun 2001 21:09:51 +0000 (21:09 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

This is mostly just a forward-port of some of the stuff that's just gone
into pl15.  It seems to work, mostly...

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 7 Jun 2001 15:36:40 +0000 (15:36 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Bogus assert rendered poll()-based engine unusable; fixed

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 7 Jun 2001 00:29:48 +0000 (00:29 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

This is the long awaited merge of the events branch with the main-line.
The events branch is now defunct.  Enjoy...

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

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 21 May 2001 21:44:23 +0000 (21:44 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Discovered while trying to compile-check the events branch on Solaris: on
some systems, s_addr is a *macro*.  It combines poorly with structures that
use that as an element name.

(pull-up from u2_10_11_alpha_events)

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

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 7 May 2001 21:21:18 +0000 (21:21 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

This is an entirely new build system for ircd.  The basics have been tested
but tuning will probably be necessary.  Unfortunately, documentation has
not yet been updated.  Please note the change to the way chroot will be
handled--the environment, including uid/gid, must be set up by an external
program, and you must give ./configure the --with-chroot=<dir> option.

Read ./configure --help for more information.

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

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 2 May 2001 02:37:33 +0000 (02:37 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Shave one more yak: remove the last vestiges of TIME_T_FMT and friends.
This has not yet been compile-tested...

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

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Tue, 1 May 2001 11:38:34 +0000 (11:38 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

doc/iauth.txt - Hybrid's iauth protocol.  I intend to try and be compatible
with this at least with only minor extentions that we require (and then try
and get those extensions merged back into the Hybrid tree).  IRCnet has an
iauth protocol but theres is A) wasteful of FD's  B) they haven't been
cooperative in the past in sync'ing up between daemons.

doc/linux-poll.patch - Patch required to stop linux 2.2 deadlocking when under
lots of strain (thousands of clients)

{ircd,include}/iauth.{c,h} - Starts of an iauth implementation.  I have to
sleep now, so I'll try and finish it later.

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

23 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Tue, 1 May 2001 09:49:42 +0000 (09:49 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

A few cleanups, let anyone /msg +k users without target limiting (are users
really going to spam X and euworld?  and if so, do they CARE?) this is so
if users are being flooded they can still /msg X to ban users, and if they
run out of targets on login they can still use X etc.  Oh, and made chkconf
compile so we can make install again.  Who knows if it actually *works*.

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

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

I noticed that the netsplit server notice used comment1 instead of refering
to the servers directly, with the anticipated--and confusing--results.  Now
fixed.

(pull-up from u2.10.10.pl14)

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

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 23 Apr 2001 20:28:50 +0000 (20:28 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

forward-ports could become a full-time job if we're not careful...

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

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 23 Apr 2001 19:19:36 +0000 (19:19 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

duh ^ 2

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

23 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 23 Apr 2001 19:09:05 +0000 (19:09 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

duh

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