ircu2.10.12-pk.git
22 years agoAuthor: Alex Badea <vampire@p16.pub.ro>
Alex Badea [Fri, 12 Apr 2002 13:19:53 +0000 (13:19 +0000)]
Author: Alex Badea <vampire@p16.pub.ro>
Log message:

Added login-on-connect patch to patches/
Documentation & changelog inside.
To apply, "./ircd-patch add login-on-connect"

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

22 years agoAuthor: Alex Badea <vampire@p16.pub.ro>
Alex Badea [Fri, 12 Apr 2002 13:00:35 +0000 (13:00 +0000)]
Author: Alex Badea <vampire@p16.pub.ro>
Log message:

ircd-patch: report files which failed the dry run

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

22 years agoAuthor: Alex Badea <vampire@p16.pub.ro>
Alex Badea [Fri, 12 Apr 2002 00:19:52 +0000 (00:19 +0000)]
Author: Alex Badea <vampire@p16.pub.ro>
Log message:

Don't propagate invites for local channels.

(pullup from u2_10_11 branch)

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

22 years agoAuthor: Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Wed, 10 Apr 2002 05:12:03 +0000 (05:12 +0000)]
Author: Ghostwolf <foxxe@wtfs.net>
Log message:
Last update broke autoconnects. Fixed it another way.

pull-up from u2_10_11 branch

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

22 years agoAuthor: Brian Cline <clineb@cs.winthrop.edu> By way of Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Wed, 10 Apr 2002 04:31:25 +0000 (04:31 +0000)]
Author: Brian Cline <clineb@cs.winthrop.edu> By way of Ghostwolf <foxxe@wtfs.net>
Log message:
To avoid problems with infinite event loops, don't try connecting
to servers whose connect frequency is 0.

pullup from u2_10_11 branch

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

22 years agoAuthor: Alex Badea <vampire@p16.pub.ro>
Alex Badea [Tue, 9 Apr 2002 22:40:56 +0000 (22:40 +0000)]
Author: Alex Badea <vampire@p16.pub.ro>
Log message:

Added a configuration file converter (2.10.11 -> 2.10.12), fixing a
conf parser bug in the process.

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

22 years agoAuthor: Alex Badea <vampire@p16.pub.ro>
Alex Badea [Tue, 9 Apr 2002 12:54:22 +0000 (12:54 +0000)]
Author: Alex Badea <vampire@p16.pub.ro>
Log message:

Added a report of configured options to configure.in

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

22 years agoAuthor: Gavin Grieve <ggrieve@ihug.co.nz> (by way of Alex Badea <vampire@p16.pub...
Alex Badea [Mon, 8 Apr 2002 10:41:19 +0000 (10:41 +0000)]
Author: Gavin Grieve <ggrieve@ihug.co.nz> (by way of Alex Badea <vampire@p16.pub.ro>)
Log message:

Changed CHARSET to CASEMAPPING in the 005 reply after discussions
as to what would be the preferred name.

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

22 years agoAuthor: Andrew Miller
Andrew Miller [Fri, 5 Apr 2002 11:36:59 +0000 (11:36 +0000)]
Author: Andrew Miller
Log message:
- Allowed specification of the priviledge flags in the config file.
- Fixed a bug in the parser so rehash now works properly.

To do:
- Add documentation to example.conf for the new options.
- Sort out features they still don't seem to work properly.

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

22 years agoAuthor: Alex Badea <vampire@p16.pub.ro>
Alex Badea [Wed, 3 Apr 2002 21:16:01 +0000 (21:16 +0000)]
Author: Alex Badea <vampire@p16.pub.ro>
Log message:

Cleaned up a couple of compiler warnings, fixed Makefile.in so it works
for compiling outside the source tree

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

22 years agoAuthor: Alex Badea <vampire@p16.pub.ro> (by way of Kev <klmitch@mit.edu>)
Kevin L. Mitchell [Wed, 3 Apr 2002 15:23:48 +0000 (15:23 +0000)]
Author: Alex Badea <vampire@p16.pub.ro> (by way of Kev <klmitch@mit.edu>)
Log message:

Fix bug 43, where /who %i would reveal IP addresses for hidden hosts.  Also
fixed searching on those IP addresses...

(pull-up from u2_10_11 branch)

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

22 years agoAuthor: A1kmm <a1kmm@mware.virtualave.net> by way of Ghostwolf <foxxe@wtfs.net>
Joseph Bongaarts [Wed, 3 Apr 2002 06:45:49 +0000 (06:45 +0000)]
Author: A1kmm <a1kmm@mware.virtualave.net> by way of Ghostwolf <foxxe@wtfs.net>
Log message:

example.conf updates, and bug fixes in m_nick

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 3 Apr 2002 04:29:52 +0000 (04:29 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Kills didn't get sent to remote servers correctly.  They do now.  This
fixes bug 39.

(pull-up from u2_10_11 branch)

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 3 Apr 2002 03:41:48 +0000 (03:41 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Display which engines are compiled into the ircd when the -v flag is given.
Also display MAXCONNECTIONS.

(pull-up from u2_10_11 branch)

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

22 years agoAuthor: Alex Badea <vampire@p16.pub.ro>
Perry Lorier [Tue, 2 Apr 2002 11:24:29 +0000 (11:24 +0000)]
Author: Alex Badea <vampire@p16.pub.ro>
Log message:

* Maintain an (autogenerated) list of applied patches in                        include/patchlist.h, which is also showed on /version                                                                                                           --                                                                              Alex Badea * Undernet Coder-Com contributer

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

22 years agoAuthor: Alex Badea <vampire@p16.pub.ro>
Perry Lorier [Tue, 2 Apr 2002 09:42:32 +0000 (09:42 +0000)]
Author: Alex Badea <vampire@p16.pub.ro>
Log message:

* Added meaningful return codes                                                 * Testing whether add/del will work before doing any actual devastation         (with option to force)

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

22 years agoAdded vampires Lazy Link patches, and uh, where'd the template go?
Perry Lorier [Tue, 2 Apr 2002 07:17:11 +0000 (07:17 +0000)]
Added vampires Lazy Link patches, and uh, where'd the template go?

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

22 years agoAuthor: Alex Badea <vampire@p16.pub.ro>
Perry Lorier [Tue, 2 Apr 2002 05:04:04 +0000 (05:04 +0000)]
Author: Alex Badea <vampire@p16.pub.ro>
Log message:

""Example"" Patches

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

22 years agoAuthor: Alex Badea <vampire@p16.pub.ro>
Perry Lorier [Tue, 2 Apr 2002 05:00:10 +0000 (05:00 +0000)]
Author: Alex Badea <vampire@p16.pub.ro>
Log message:

Allows adding/removing patches that aren't part of ircu proper.

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 2 Apr 2002 04:27:36 +0000 (04:27 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

What a screw case.  In the case of many, many joins, we were overflowing an
array in the joinbuf because we were adding a channel to the array, then
forgetting to empty the array when we flushed--because they weren't
supposed to have been added in the first place!  This should stop them from
being added anymore, and hopefully fix our Amsterdam* crashes.

(pull-up from u2_10_11 branch)

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

22 years agoAuthor: A1kmm
Perry Lorier [Tue, 2 Apr 2002 01:02:59 +0000 (01:02 +0000)]
Author: A1kmm
Log message:

I missed adding some files, oops.

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

22 years agoAuthor: Andres Miller <a1kmm@mware.virtualave.net>
Perry Lorier [Tue, 2 Apr 2002 00:26:47 +0000 (00:26 +0000)]
Author: Andres Miller <a1kmm@mware.virtualave.net>
Log message:

New Config file

Author: Bert Faes <bert.faes@pandora.be>

made /trace reply always show the username

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 28 Mar 2002 15:10:21 +0000 (15:10 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Build system was missing some important tests; corrected.  YOU MAY NEED TO
DO A "make clean" WHEN UPGRADING TO MAKE THE CHANGES TAKE EFFECT!

(pull-up from u2_10_11 branch)

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

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

Suppress key leaks during net junctions by making keys appear as "*".  Does
NOT affect normal user (or even server) /MODE commands.

This change to the trunk has NOT been tested.  The code implementing +A and
+u has been touched.  I *believe* the resulting code will work, but someone
should please sanity-check this--I don't have the facilities to verify this
change up front.

(pull-up from the u2_10_11 branch)

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 27 Mar 2002 19:46:13 +0000 (19:46 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Invalidate the user's old sendq when he /oper's up, so that the new sendq
is retrieved from the Y-line associated with the O-line.

(pull-up from u2_10_11 branch)

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

22 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 25 Mar 2002 23:24:44 +0000 (23:24 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

If a user changes nickname to a nick that's banned on the channel, the ban
wouldn't take effect.  Although minor, this is a bug, and may best be fixed
by invalidating all the ban caching for the user.  This is effected by
looping over all the user's channel memberships and doing a ClearBanValid()
on them.

(pull-up from u2.10.11 branch)

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

22 years agoAuthor: Reed L. <reed@redmagnet.com>
Perry Lorier [Thu, 21 Mar 2002 08:35:31 +0000 (08:35 +0000)]
Author: Reed L.  <reed@redmagnet.com>
Log message:

This patch adds OPER_LIST_CHAN and LOCOP_LIST_CHAN to doc/example.conf and      doc/readme.features as requested by Isomer.

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

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