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
Perry Lorier [Sat, 14 Jul 2007 02:40:01 +0000 (02:40 +0000)]
Author: Perry Lorier <isomer@undernet.org>
Log message:
Try and fix issues with large numbers of invisible (or non invisible) users.
Do this by always calling set_user_mode() for all mode setting/unsetting.
This requires an extra flag so we can limit which userflags can be set in
some situations.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1818
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Wed, 11 Jul 2007 21:39:52 +0000 (21:39 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:
Commit the fix for the changelog I posted :)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1817
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Wed, 11 Jul 2007 12:27:51 +0000 (12:27 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:
!= vs == means that the clients doing RFC2812 style on connect user modes
weren't being properly applied. Fixed.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1816
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 29 May 2007 03:08:34 +0000 (03:08 +0000)]
Complain to the client when it sends a line that is too long.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1815
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Sat, 26 May 2007 02:38:09 +0000 (02:38 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:
Add "maxlinks=2" to the example config in the hope admins will take the hint
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1814
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 15:01:19 +0000 (15:01 +0000)]
Fix SF#
1706014 by not giving in-burst servers special lenience.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1813
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 14:50:27 +0000 (14:50 +0000)]
Fix SF#
1706004 by reporting the new value after /set and /reset.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1812
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 14:40:33 +0000 (14:40 +0000)]
Fix SF#
1704458 by sending a protocol violation on the input in question.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1811
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 14:15:58 +0000 (14:15 +0000)]
Fix SF#
1704424 by sending ERR_NOSUCHNICK as wiebe suggests.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1810
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 14:10:30 +0000 (14:10 +0000)]
Fix SF#
1704419 by properly hiding hidden ports.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1809
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 14:01:07 +0000 (14:01 +0000)]
Fix SF#
1701361 by taking one of weibe's suggestion actions (adding %s to ERR_DONTCHEAT).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1808
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 13:55:59 +0000 (13:55 +0000)]
Fix SF#
1701350 by taking weibe's suggestion action (reporting insufficient privileges).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1807
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 13:50:38 +0000 (13:50 +0000)]
Fix SF#
1701346 by taking weibe's suggestion action (making SETTIME consistent with all other oper commands).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1806
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 13:42:27 +0000 (13:42 +0000)]
Fix SF#
1696437 by prohibiting not-all-alphabetic pseudo commands.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1805
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 13:25:47 +0000 (13:25 +0000)]
Fix SF#
1696425 by failing configure if MAXCONNECTIONS is too small.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1804
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 May 2007 13:02:51 +0000 (13:02 +0000)]
Fix bugs reported in SF#
1691357.
Remove extra space in FEATURES 2; do not leak linked-server information.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1803
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Sun, 15 Apr 2007 19:14:42 +0000 (19:14 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
%c takes characters, not pointers--fix typo in mo_gline() that forwards
remote local G-lines to their target servers. In this case, ms_gline() got
it right...
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1802
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Sun, 15 Apr 2007 19:09:38 +0000 (19:09 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Fix minor typo in the code that forwards remote local activations and
deactivations to their intended targets. %c does not take pointers as
arguments!
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1801
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 11 Apr 2007 03:25:21 +0000 (03:25 +0000)]
Correctly free members of the iauth string list.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1800
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Tue, 10 Apr 2007 14:53:03 +0000 (14:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Don't allow G-lines to have 0 lastmod--return a "need more params" message
if lastmod evaluates to 0. This solves the bug where not passing a lastmod
resulted in an assertion failure in gline_propagate().
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1799
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 5 Apr 2007 01:52:39 +0000 (01:52 +0000)]
Fix resolver after /rehash with no "dns server" directives.
(Bug reported by Ralf.)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1798
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 5 Apr 2007 01:39:39 +0000 (01:39 +0000)]
Fix on-connect host hiding for users with IAuth account stamps.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1797
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 1 Apr 2007 03:01:17 +0000 (03:01 +0000)]
Allow clients and iauth to request usermodes during registration.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1796
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 1 Apr 2007 02:14:59 +0000 (02:14 +0000)]
Move some permission checks from set_user_mode() to its callers.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1795
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 1 Apr 2007 02:11:41 +0000 (02:11 +0000)]
Avoid triggering warnings about strict-aliasing violations.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1794
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 28 Mar 2007 04:04:32 +0000 (04:04 +0000)]
Add new line to ASLL output to resolve SF bug #
1687382.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1793
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 27 Mar 2007 03:44:41 +0000 (03:44 +0000)]
Only check /stats subcommands with STAT_FLAG_LOCONLY on the hunted server.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1792
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 27 Mar 2007 03:37:39 +0000 (03:37 +0000)]
Check for missing parameters to iauth messages (SF bug#
1685648).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1791
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 27 Mar 2007 02:54:44 +0000 (02:54 +0000)]
Do not try twice to process silences that were both added and deleted.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1790
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 27 Mar 2007 01:08:22 +0000 (01:08 +0000)]
Fix listener address for Port blocks with no host listed.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1789
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 27 Mar 2007 01:07:06 +0000 (01:07 +0000)]
Fix documentation for iauth I command.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1788
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 18 Mar 2007 14:02:47 +0000 (14:02 +0000)]
Properly quote m4 function/macro names when defining them.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1787
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Sun, 18 Mar 2007 12:15:45 +0000 (12:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
I forgot to add permissions checks to mo_gline(). This commit causes any
remote changes (remote local G-lines, remote local status changes to global
G-lines, and global G-lines) to required CONFIG_OPERCMDS to be enabled and
the oper to have the GLINE privilege; local changes (local G-lines, local
status changes to global G-lines) require the oper to have the LOCAL_GLINE
privilege.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1786
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 18 Mar 2007 02:46:56 +0000 (02:46 +0000)]
Allow multiple server entries in a CRule and multiple vhosts in a Port.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1784
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 18 Mar 2007 02:33:02 +0000 (02:33 +0000)]
Do not try to listen on (corrupt) IPv4 versions of IPv6 native addresses.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1783
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 18 Mar 2007 01:46:59 +0000 (01:46 +0000)]
Allow multiple host entries in Operator and Motd blocks.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1782
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 18 Mar 2007 01:33:02 +0000 (01:33 +0000)]
Avoid extra decrements of links.inuse.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1781
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Sat, 17 Mar 2007 22:45:35 +0000 (22:45 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Finish changes to G-line. These changes enable "/stats g" and "/gline" to
show G-line lastmod, lifetime, and local activation status, as well as
allowing G-lines to be modified in virtually any way imaginable. Note that
overlapping G-lines are now to be kept, as a potentially masking G-line may
actually be disabled and so not actually be masking a new G-line...
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1780
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 17 Mar 2007 14:31:39 +0000 (14:31 +0000)]
Do not leave core files on "umkpasswd --help".
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1778
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 17 Mar 2007 14:29:01 +0000 (14:29 +0000)]
Clarify example.conf maxlinks, example Class blocks and Operator password.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1777
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 17 Mar 2007 14:17:28 +0000 (14:17 +0000)]
Warn when using -x with a non-DEBUGMODE ircd.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1776
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 17 Mar 2007 14:15:00 +0000 (14:15 +0000)]
Fix maxlinks=0 in find_conf_exact(), so /oper to such a class works.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1775
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Sat, 17 Mar 2007 03:48:49 +0000 (03:48 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Initial work to update the command syntax and capabilities of G-lines.
*NOTE*NOTE*NOTE*NOTE*NOTE*NOTE*NOTE*NOTE*NOTE*NOTE*NOTE*NOTE*NOTE*NOTE*NOTE*
While ircu will compile and run, GLINES WILL NOT FUNCTION AS EXPECTED!
This commit inserts debugging code that will wallops what actions would be
taken to implement a particular G-line received from a remote server, but
will not actually take those actions as of yet.
DO NOT RUN THIS CODE ON A PRODUCTION NETWORK! Thank you :)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1774
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Fri, 9 Mar 2007 23:53:21 +0000 (23:53 +0000)]
Bump PATCHLEVEL for pre11 development.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1773
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Fri, 9 Mar 2007 23:49:31 +0000 (23:49 +0000)]
Bump PATCHLEVEL for u2.10.12.10 release.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1771
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 6 Mar 2007 02:35:57 +0000 (02:35 +0000)]
Fix SourceForge bug #
1674539, and add a test for it.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1770
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 6 Mar 2007 02:25:56 +0000 (02:25 +0000)]
Update tests/ircd*.conf so that irc.example.net is a hub for two other servers.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1769
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 4 Mar 2007 14:59:24 +0000 (14:59 +0000)]
Fix ipbuf size in count_users().
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1768
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 28 Feb 2007 22:38:50 +0000 (22:38 +0000)]
Make IPv4-only sockaddr_from_irc() work properly.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1767
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 25 Feb 2007 15:41:49 +0000 (15:41 +0000)]
Allow specification of DNS vhost and server in ircd.conf.
Change the default DNS vhost from the global vhost to unspecified.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1764
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 25 Feb 2007 14:32:41 +0000 (14:32 +0000)]
Author: Jeannot Langlois
Make ERR_NEEDREGGEDNICK more informative at the raw protocol level.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1763
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 4 Feb 2007 04:18:31 +0000 (04:18 +0000)]
Avoid improper reuse of a va_list.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1762
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 23 Jan 2007 02:23:35 +0000 (02:23 +0000)]
Fix SF bug #
1640796; add a test for it.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1759
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 23 Jan 2007 02:19:44 +0000 (02:19 +0000)]
Add test framework, with no scripts yet.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1758
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 23 Jan 2007 02:05:45 +0000 (02:05 +0000)]
Life would be interesting if we accepted host@ip syntax.. but we don't.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1757
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 23 Jan 2007 02:04:21 +0000 (02:04 +0000)]
Update INSTALL file for 2.10.12.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1756
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c