Michael Poole [Fri, 1 Jun 2012 01:22:03 +0000 (21:22 -0400)]
Make gline.c's count_users() use real host for masked users.
This fixes SourceForge bug #
2992886.
Michael Poole [Fri, 1 Jun 2012 01:21:28 +0000 (21:21 -0400)]
Correctly skip non-servers when evaluating C-rules.
IsMe(acptr) implies !IsServer(acptr), contrary to the apparent
assumption in crule_connected() and crule_via().
Michael Poole [Fri, 1 Jun 2012 01:20:58 +0000 (21:20 -0400)]
Rename .cvsignore files to .gitignore.
Also add *.o to ircd/.gitignore because git does not ignore that
pattern by default.
Michael Poole [Tue, 24 Jan 2012 02:06:56 +0000 (21:06 -0500)]
Delete local variables that are set but never read.
gcc 4.6 complains about these with -Wall.
Michael Poole [Mon, 23 Jan 2012 12:57:10 +0000 (07:57 -0500)]
Send "modifying global" messages to SNO_AUTO when appropriate.
Michael Poole [Mon, 23 Jan 2012 12:43:29 +0000 (07:43 -0500)]
Add missing ChangeLog entries for last two commits.
Michael Poole [Fri, 20 Jan 2012 02:50:27 +0000 (21:50 -0500)]
Support a "soft done" message from IAuth.
This lets clients onto the network if a login-on-connect response
times out, without requiring the IAuth process to know ircu's
authorization deadline.
Michael Poole [Fri, 20 Jan 2012 02:48:30 +0000 (21:48 -0500)]
Move DNS and auth lookups after starting IAuth.
When start_dns_query() ran before start_iauth_query(), clients from
localhost would not have their IAuth 'N' message sent because ircu had
not started the IAuth query for that client.
Kevin L. Mitchell [Wed, 17 Aug 2011 23:54:46 +0000 (18:54 -0500)]
Fix minor issue in IsLocOp() test
Michael Poole [Sun, 15 May 2011 21:05:19 +0000 (17:05 -0400)]
When IAuth provides creation timestamp, exclude it from the name.
Kevin L. Mitchell [Mon, 5 Jul 2010 21:28:54 +0000 (21:28 +0000)]
Bump MAXBANS and MAXSILES, bump PATCHLEVEL for release
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1948
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 18 Apr 2010 23:15:10 +0000 (23:15 +0000)]
Treat G-line-related times as network times, rather than local times.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1947
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 9 Mar 2010 03:05:38 +0000 (03:05 +0000)]
Clarify the link rejection message for unauthorized hubs.
Make the function that makes that decision a little more maintainable.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1946
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 9 Mar 2010 02:59:32 +0000 (02:59 +0000)]
Fix compilation problems when _SC_PAGE_SIZE is not defined by the OS.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1945
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Thu, 4 Mar 2010 13:52:35 +0000 (13:52 +0000)]
Set TOS to the value of FEAT_TOS_SERVER, not to FEAT_TOS_SERVER...
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1944
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 2 Feb 2010 23:29:03 +0000 (23:29 +0000)]
Bump patch level to u2.10.12.13-rc2.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1942
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 14 Jan 2010 02:35:51 +0000 (02:35 +0000)]
Revert r1340 (it was apparently always buggy).
chapo wanted to know why he saw *.undernet.org -lkko+ko * * chapo * ...
after a burst; this code was the reason that it did -k * twice.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1941
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 7 Jan 2010 04:24:07 +0000 (04:24 +0000)]
Delete the outdated man pages in doc/, and the libs/ directory.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1940
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 7 Jan 2010 03:23:57 +0000 (03:23 +0000)]
Accept topic changes from servers that do not send topic-set timestamps (fixes SF #
2897520).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1938
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 7 Jan 2010 03:06:13 +0000 (03:06 +0000)]
Restrict the visibility of /silence lists (fixing SF #
2701725).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1937
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 7 Jan 2010 02:55:33 +0000 (02:55 +0000)]
If a server sends us a new, expired G-line, create it deactivated (fixes SF #
2840365).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1936
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 7 Jan 2010 02:39:48 +0000 (02:39 +0000)]
Fix oplevel handling in bursts, fixing SF bugs #
2596869 and #
2597518.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1935
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Mon, 4 Jan 2010 17:15:13 +0000 (17:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log Message:
Now fully tested (including the iauth routing): Extension queries and
replies. Changes on top of Entrope's fixes (sorry) include swapping
order of findNUser() and FindNServer() in ms_xreply() so that responses
can reach users and logging extension queries that get sent to us.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1934
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 4 Jan 2010 03:24:36 +0000 (03:24 +0000)]
Fix SourceForge bug #
2789732 by discarding pending events for deleted sockets.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1933
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 4 Jan 2010 00:37:28 +0000 (00:37 +0000)]
Revert the accidental commit to list.c, and commit the correct file (s_bsd.c).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1932
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 4 Jan 2010 00:33:41 +0000 (00:33 +0000)]
Attempt to fix SF bug #
2874316 by invalidating a file descriptor that the system claims is bad.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1931
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 3 Jan 2010 21:50:50 +0000 (21:50 +0000)]
Fix SF bug #
2852954 by removing the spurious assertion.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1930
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 3 Jan 2010 21:20:56 +0000 (21:20 +0000)]
Fix SF bug #
2895252 by changing the trailing space to a nul character.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1929
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 3 Jan 2010 21:04:54 +0000 (21:04 +0000)]
Fix SF bug #
2803888 by checking for conversion between +D and +d on every mode buffer flush.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1928
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 3 Jan 2010 20:43:17 +0000 (20:43 +0000)]
Fix SF bug #
2793176 by making sure check_loop_and_lh() returns non-1 when it kills a server.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1927
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 3 Jan 2010 19:42:24 +0000 (19:42 +0000)]
Fix the build for the new xquery files.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1926
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Sat, 2 Jan 2010 20:33:10 +0000 (20:33 +0000)]
Author: Kev <klmitch@mit.edu>
Log Message:
Support for extension queries. Think of it like PRIVMSG and NOTICE for
servers; this allows pseudoservers to send each other messages.
Additionally, iauth can send messages to and receive messages from
pseudoservers. This mechanism is introduced to make login-on-connect
easier to code, by providing an in-band mechanism for iauth to connect
the login server.
NOTE: THIS PATCH HAS NOT YET BEEN COMPILED OR TESTED. Sorry, but I
just got back from vacation, and will be flying out again tomorrow. I
figured I could commit now and get others to help me test :)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1925
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 2 Jan 2010 05:01:14 +0000 (05:01 +0000)]
Improve the clean-up of outdated IAuth instances on rehash (SF bug #
2789656).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1924
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 2 Jan 2010 04:15:50 +0000 (04:15 +0000)]
Make OPMODE ignore ban count and length checks.
(Patch #
2693309, inspired by Quakenet commit 228:
4b3157d90fc6.)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1923
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 2 Jan 2010 04:00:13 +0000 (04:00 +0000)]
Provide /stats F to report even defaulted feature values.
(Apply patch #
2693259, inspired by a Quakenet patch by paulr.)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1922
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Fri, 31 Jul 2009 02:04:15 +0000 (02:04 +0000)]
Fix usermodes harder when they are set early during registration.
IAuth and /user can both set usermodes before registration is
complete, and we do not want to count unregistered clients as
invisible or as opers, so register_user() _must_ update UserStats when
it registers a client. Default usermodes must not be applied between
where the client is marked as registered and that point, because that
would update UserStats too, so move the setting of default usermodes
before the SetUser() call that marks the client as a registered user.
Fixes SourceForge bugs #
2824908 and #
2829936.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1919
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 6 Jul 2009 02:36:29 +0000 (02:36 +0000)]
Fix SourceForge bug #
2816618 (default user modes in connection class do not work).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1918
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 6 Jul 2009 02:02:31 +0000 (02:02 +0000)]
Remove errant \ from previous commit. (Whoops!)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1917
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 6 Jul 2009 01:41:45 +0000 (01:41 +0000)]
Fix SF bug #
2721107 (Gline lifetime changes from servers change the reason.)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1916
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 6 Jul 2009 01:27:24 +0000 (01:27 +0000)]
Fix SF bug #
2596914 (/mode +v nick:level gives oplevel).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1915
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 5 Jul 2009 03:00:52 +0000 (03:00 +0000)]
Fix SF bug #
2694761 (iauth class assignment did not work correctly).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1914
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 4 Jul 2009 22:46:00 +0000 (22:46 +0000)]
Attempt to fix SF bug #
2568366 (sending JOIN before hitting a target limit).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1913
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 4 Jul 2009 22:44:19 +0000 (22:44 +0000)]
Unconditionally set +6 flag on self.
(Thanks to weibes for pointing this out on SF bug #
2523774.)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1912
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 26 Mar 2009 02:50:39 +0000 (02:50 +0000)]
Fix SourceForge bug #
1722030.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1911
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 26 Mar 2009 02:16:26 +0000 (02:16 +0000)]
Fix SourceForge bug #
1706672.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1910
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 18 Mar 2009 03:31:58 +0000 (03:31 +0000)]
Optimize order of checks in if() to minimize calls to match_it().
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1909
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 18 Mar 2009 02:15:48 +0000 (02:15 +0000)]
Forward port a patch by Dianora to add rudimentary spam bot detection to ircu.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1908
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 9 Feb 2009 04:11:04 +0000 (04:11 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:
Fix items from SF bug #
2523774: Show +H and +6 flags in /stats v and
/stats V for the local server. Fix the default value for maxhops.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1907
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 9 Feb 2009 03:39:42 +0000 (03:39 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:
Fix SF bug #
2328334: Allow users to join channels with names that are
exactly CHANNELLEN bytes long.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1906
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 9 Feb 2009 01:30:13 +0000 (01:30 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:
Clean up key cleaning: Do not reject non-ASCII characters, and allow
':' after the first character in the key. Add a regression test
script to go along with these changes.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1905
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 9 Feb 2009 00:03:34 +0000 (00:03 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:
Revert the part of the G-line parsing cleanup that does not create new
deactivated G-lines. Instead, just explain that it is deactivated.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1904
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 13 Jan 2009 03:54:45 +0000 (03:54 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:
Fix the issues described by weibe in SourceForge.net bug
2045310
(TOPIC, WALLCHOPS and WALLVOICES do not reveal join-delayed users).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1903
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 13 Jan 2009 03:27:27 +0000 (03:27 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:
Fix bouncing of limit changes.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1902
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 13 Jan 2009 02:43:56 +0000 (02:43 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:
Fix SourceForge bug
2039740 (even local /gline additions count users
on remote servers towards the limit needed to force the G-line).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1901
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 13 Jan 2009 02:30:25 +0000 (02:30 +0000)]
Author: Entrope <mdpoole@troilus.org>
Description:
Make G-line parsing considerably more robust for unusual input forms.
Fix affected-user counting for G-lines with CIDR host portions. Add
tests to exercise the new parsing behaviors.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1900
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 18 Nov 2008 03:18:46 +0000 (03:18 +0000)]
Properly handle net rider kicks that are received after a normal kick for the same user.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1893
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 18 Nov 2008 03:16:05 +0000 (03:16 +0000)]
Update the match() unit test to catch buffer over-reads.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1892
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 18 Nov 2008 02:30:15 +0000 (02:30 +0000)]
Fix an error in backtracking (apparently exacerbated by escapes).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1891
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Sun, 7 Sep 2008 02:10:22 +0000 (02:10 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:
Remove the . at the end of the nick in kill messages to make it easier to cut
and paste nicks. (Suggested by pryz)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1876
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 20 Mar 2008 23:58:27 +0000 (23:58 +0000)]
Do not accept strings like 0.0.0.0.0 as IP masks.
(Reported by the Quakenet crew: paulr, splidge, and company.)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1872
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Thu, 20 Mar 2008 17:41:00 +0000 (17:41 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Make ircu do the right thing if it sees a remote client with user mode +O--
namely, don't show "is an IRC Operator", etc. First step in a multi-phase
upgrade to allow local operators to be acknowledged across the net.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1868
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 15 Mar 2008 05:33:22 +0000 (05:33 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Log message:
Commit the code change intended for the last commit, and the ChangeLog
entry for the code change that was actually in the last commit (to fix
and clarify a startup error message).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1864
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 15 Mar 2008 05:24:14 +0000 (05:24 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Log message:
Check for end of argument list when processing 'r' user mode changes.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1863
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Wed, 9 Jan 2008 18:32:43 +0000 (18:32 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Might be handy to bump the patchlevel at some point...
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1862
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Thu, 3 Jan 2008 00:07:21 +0000 (00:07 +0000)]
Author: Jan Krueger <jast@heapsort.de> (by way of Kev <klmitch@mit.edu>)
Log message:
Correct a parsing problem with ms_burst() that could cause an overrun when
processing bursts with oplevels.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1861
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Fri, 28 Dec 2007 15:52:43 +0000 (15:52 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
This very simple change adds a +R channel mode that can only be set or
reset by remote users (or servers) or with /opmode. This can be used by X
to indicate that a channel is registered, a sentinal that C can use to
decide when it is legal to reop a channel.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1860
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Fri, 14 Dec 2007 02:37:48 +0000 (02:37 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Correct the issue where a 0 expiration time on a new G-line causes funny
behavior. Instead, for server-issued G-lines, try hard by propagating a
G-line activation/deactivation for G-lines we know nothing about, instead
of calling gline_add().
Also, the make_gline() function now asserts that expire != 0.
Note: it will not be necessary to release a .13 immediately. The REMGLINE
issue can be easily worked around within euworld, and Isomer is making the
appropriate changes.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1859
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 4 Dec 2007 04:25:15 +0000 (04:25 +0000)]
Bump PATCHLEVEL for .12 release.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1854
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 4 Dec 2007 04:24:22 +0000 (04:24 +0000)]
Through the dubious magic of autoconf, install man files in the proper directory.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1853
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Fri, 30 Nov 2007 23:50:04 +0000 (23:50 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Fix some minor bitrot
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1852
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Fri, 30 Nov 2007 22:10:04 +0000 (22:10 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Fix for 2 problems:
1) gline_add() applied the too-many-users test to all realname G-lines,
instead of just user-initiated G-lines; fixed by wrapping test in an if
on MyUser()
2) Some systems seem to have problems if LEXLIB ('-lfl') gets added to
LIBS. Since the only reason to link agains libfl is to get yywrap(), we
just provide our own version of it.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1851
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 29 Nov 2007 03:43:35 +0000 (03:43 +0000)]
Bump PATCHLEVEL for u2.10.12.pre12 development.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1850
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 29 Nov 2007 03:38:54 +0000 (03:38 +0000)]
Bump PATCHLEVEL for u2.10.12.11 release.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1848
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 28 Nov 2007 05:50:53 +0000 (05:50 +0000)]
Update test scripts to run properly with newer POE; add test for SF#
1840011.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1847
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 28 Nov 2007 05:47:11 +0000 (05:47 +0000)]
Once again allow MODE #channel -b+b *!*@*.example.com *!*@*.foo.example.com
Fixes bug SF#
1840011.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1846
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 25 Nov 2007 02:42:54 +0000 (02:42 +0000)]
Show users on second (and later) lines of RPL_NAMREPLY correctly.
Thanks to paulr for highlighting where the problem was.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1845
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 17 Nov 2007 14:21:02 +0000 (14:21 +0000)]
Make "/stats flag server param" work as intended again.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1844
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 17 Nov 2007 14:12:37 +0000 (14:12 +0000)]
Handle iauth stderr EOF events like iauth stdout EOF events.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1843
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 17 Nov 2007 13:48:15 +0000 (13:48 +0000)]
Avoid a warning about signedness mismatch in umkpasswd.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1842
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 5 Nov 2007 03:01:34 +0000 (03:01 +0000)]
Support /LIST M to show modes in channels (using the list_chan privilege).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1841
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 5 Nov 2007 02:42:11 +0000 (02:42 +0000)]
Fix a few bugs that made LIST work confusingly with T and C qualifiers.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1840
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 30 Oct 2007 02:13:09 +0000 (02:13 +0000)]
Convert lexer to read using fileio.[ch] functions (thanks, Solaris!).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1839
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 30 Oct 2007 01:53:33 +0000 (01:53 +0000)]
Require force for many-victim realname G-lines; clean up gline.c.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1838
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 30 Oct 2007 01:19:52 +0000 (01:19 +0000)]
Clean up / regularize parts of m*_gline().
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1837
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 30 Oct 2007 01:16:58 +0000 (01:16 +0000)]
Fix dependencies for generating version.h.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1836
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 30 Oct 2007 01:14:50 +0000 (01:14 +0000)]
Clean up sendwallto_group_butone() macro usage.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1835
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 21 Aug 2007 02:02:10 +0000 (02:02 +0000)]
Match 127.*.*.* masks against IPs in the usually expected manner.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1834
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 21 Aug 2007 01:13:15 +0000 (01:13 +0000)]
Do not include unregistered +i clients in /lusers's invisible count.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1833
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 15 Aug 2007 02:49:54 +0000 (02:49 +0000)]
Properly handle removing and adding a key in the same command.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1832
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 15 Aug 2007 01:15:53 +0000 (01:15 +0000)]
Consistently rebuild version.c; optimize how it is generated.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1831
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 14 Aug 2007 03:56:46 +0000 (03:56 +0000)]
Move whisper()'s away message checking to the cprivmsg path.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1830
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 14 Aug 2007 03:54:48 +0000 (03:54 +0000)]
At paulr's suggestion, make WHO and WHOIS more similar w.r.t. ERR_QUERYTOOLONG.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1829
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 14 Aug 2007 03:04:05 +0000 (03:04 +0000)]
Quash an initializer warning in the initial user-mode array.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1828
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 14 Aug 2007 03:02:24 +0000 (03:02 +0000)]
Get rid of ms_names(); clean up m_names() to be more uniform.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1827
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 9 Aug 2007 03:46:20 +0000 (03:46 +0000)]
Remove duplicate end-of-stats replies for /stats iauth and /stats iauthconf.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1824
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 9 Aug 2007 03:41:18 +0000 (03:41 +0000)]
Fix confusion over whether 0.0.0.0-like addresses are IPv4.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1823
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Wed, 1 Aug 2007 23:09:57 +0000 (23:09 +0000)]
let's try this again...*without* CVS substituting part of my sed lines!
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1822
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Wed, 1 Aug 2007 22:28:21 +0000 (22:28 +0000)]
refine the list of source files a bit; include CVS version information
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1821
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Sat, 21 Jul 2007 04:52:03 +0000 (04:52 +0000)]
Author: Perry Lorier <isomer@undernet.org>
Log message:
Extend set_user_mode() to parse +r <account> umodes (like are sent
server<->server), then use set_user_mode() to parse usermode on s<->s NICK messages.
This fixes a bug where remote users weren't being counted properly either.
This leaves room for someone to cleanup set_user_mode()'s API a bit to make it a bit less tied to
m_nick().
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1820
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Fri, 20 Jul 2007 23:32:19 +0000 (23:32 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
* ircd/m_gline.c: create abs_expire() macro to convert an expire
timestamp from the network into an absolute time, if needed;
rename expire_off to expire globally, since it now represents an
absolute expiration time; use expire - CurrentTime in gline
forwarding statements; in ms_gline(), use abs_expire() to convert
network expiration timestamp into absolute timestamp; in
mo_gline(), add CurrentTime to oper-provided expiration offset to
convert to absolute timestamp
* ircd/gline.c: assume expire and lifetime arguments to
gline_add() and gline_modify() are already absolute timestamps;
send lifetime parameter as an absolute timestamp, but leave expire
timestamp as relative as first part of a 2-phase update
Tested and seems to have the desired effect. Note that the treatment of
lifetime is incompatible with the prior version of this G-line patch.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1819
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c