ircu2.10.12-pk.git
16 years agoThrough the dubious magic of autoconf, install man files in the proper directory.
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

16 years agoAuthor: Kev <klmitch@mit.edu>
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

16 years agoAuthor: Kev <klmitch@mit.edu>
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

16 years agoBump PATCHLEVEL for u2.10.12.pre12 development.
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

16 years agoBump PATCHLEVEL for u2.10.12.11 release.
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

16 years agoUpdate test scripts to run properly with newer POE; add test for SF#1840011.
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

16 years agoOnce again allow MODE #channel -b+b *!*@*.example.com *!*@*.foo.example.com
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

16 years agoShow users on second (and later) lines of RPL_NAMREPLY correctly.
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

16 years agoMake "/stats flag server param" work as intended again.
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

16 years agoHandle iauth stderr EOF events like iauth stdout EOF events.
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

16 years agoAvoid a warning about signedness mismatch in umkpasswd.
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

16 years agoSupport /LIST M to show modes in channels (using the list_chan privilege).
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

16 years agoFix a few bugs that made LIST work confusingly with T and C qualifiers.
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

16 years agoConvert lexer to read using fileio.[ch] functions (thanks, Solaris!).
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

16 years agoRequire force for many-victim realname G-lines; clean up gline.c.
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

16 years agoClean up / regularize parts of m*_gline().
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

16 years agoFix dependencies for generating version.h.
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

16 years agoClean up sendwallto_group_butone() macro usage.
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

16 years agoMatch 127.*.*.* masks against IPs in the usually expected manner.
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

16 years agoDo not include unregistered +i clients in /lusers's invisible count.
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

16 years agoProperly handle removing and adding a key in the same command.
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

16 years agoConsistently rebuild version.c; optimize how it is generated.
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

16 years agoMove whisper()'s away message checking to the cprivmsg path.
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

16 years agoAt paulr's suggestion, make WHO and WHOIS more similar w.r.t. ERR_QUERYTOOLONG.
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

16 years agoQuash an initializer warning in the initial user-mode array.
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

16 years agoGet rid of ms_names(); clean up m_names() to be more uniform.
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

16 years agoRemove duplicate end-of-stats replies for /stats iauth and /stats iauthconf.
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

16 years agoFix confusion over whether 0.0.0.0-like addresses are IPv4.
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

16 years agolet's try this again...*without* CVS substituting part of my sed lines!
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

16 years agorefine the list of source files a bit; include CVS version information
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

16 years agoAuthor: Perry Lorier <isomer@undernet.org>
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

16 years agoAuthor: Kev <klmitch@mit.edu>
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

16 years agoAuthor: Perry Lorier <isomer@undernet.org>
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

16 years agoAuthor: Isomer <isomer@undernet.org>
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

16 years agoAuthor: Isomer <isomer@undernet.org>
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

16 years agoComplain to the client when it sends a line that is too long.
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

16 years agoAuthor: Isomer <isomer@undernet.org>
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

16 years agoFix SF#1706014 by not giving in-burst servers special lenience.
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

16 years agoFix SF#1706004 by reporting the new value after /set and /reset.
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

16 years agoFix SF#1704458 by sending a protocol violation on the input in question.
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

16 years agoFix SF#1704424 by sending ERR_NOSUCHNICK as wiebe suggests.
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

16 years agoFix SF#1704419 by properly hiding hidden ports.
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

16 years agoFix SF#1701361 by taking one of weibe's suggestion actions (adding %s to ERR_DONTCHEAT).
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

16 years agoFix SF#1701350 by taking weibe's suggestion action (reporting insufficient privileges).
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

16 years agoFix SF#1701346 by taking weibe's suggestion action (making SETTIME consistent with...
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

16 years agoFix SF#1696437 by prohibiting not-all-alphabetic pseudo commands.
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

16 years agoFix SF#1696425 by failing configure if MAXCONNECTIONS is too small.
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

16 years agoFix bugs reported in SF#1691357.
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

17 years agoAuthor: Kev <klmitch@mit.edu>
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

17 years agoAuthor: Kev <klmitch@mit.edu>
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

17 years agoCorrectly free members of the iauth string list.
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

17 years agoAuthor: Kev <klmitch@mit.edu>
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

17 years agoFix resolver after /rehash with no "dns server" directives.
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

17 years agoFix on-connect host hiding for users with IAuth account stamps.
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

17 years agoAllow clients and iauth to request usermodes during registration.
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

17 years agoMove some permission checks from set_user_mode() to its callers.
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

17 years agoAvoid triggering warnings about strict-aliasing violations.
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

17 years agoAdd new line to ASLL output to resolve SF bug #1687382.
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

17 years agoOnly check /stats subcommands with STAT_FLAG_LOCONLY on the hunted server.
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

17 years agoCheck for missing parameters to iauth messages (SF bug#1685648).
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

17 years agoDo not try twice to process silences that were both added and deleted.
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

17 years agoFix listener address for Port blocks with no host listed.
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

17 years agoFix documentation for iauth I command.
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

17 years agoProperly quote m4 function/macro names when defining them.
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

17 years agoAuthor: Kev <klmitch@mit.edu>
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

17 years agoAllow multiple server entries in a CRule and multiple vhosts in a Port.
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

17 years agoDo not try to listen on (corrupt) IPv4 versions of IPv6 native addresses.
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

17 years agoAllow multiple host entries in Operator and Motd blocks.
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

17 years agoAvoid extra decrements of links.inuse.
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

17 years agoAuthor: Kev <klmitch@mit.edu>
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

17 years agoDo not leave core files on "umkpasswd --help".
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

17 years agoClarify example.conf maxlinks, example Class blocks and Operator password.
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

17 years agoWarn when using -x with a non-DEBUGMODE ircd.
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

17 years agoFix maxlinks=0 in find_conf_exact(), so /oper to such a class works.
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

17 years agoAuthor: Kev <klmitch@mit.edu>
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

17 years agoBump PATCHLEVEL for pre11 development.
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

17 years agoBump PATCHLEVEL for u2.10.12.10 release.
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

17 years agoFix SourceForge bug #1674539, and add a test for it.
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

17 years agoUpdate tests/ircd*.conf so that irc.example.net is a hub for two other servers.
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

17 years agoFix ipbuf size in count_users().
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

17 years agoMake IPv4-only sockaddr_from_irc() work properly.
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

17 years agoAllow specification of DNS vhost and server in ircd.conf.
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

17 years agoAuthor: Jeannot Langlois
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

17 years agoAvoid improper reuse of a va_list.
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

17 years agoFix SF bug #1640796; add a test for it.
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

17 years agoAdd test framework, with no scripts yet.
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

17 years agoLife would be interesting if we accepted host@ip syntax.. but we don't.
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

17 years agoUpdate INSTALL file for 2.10.12.
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

17 years agoLimit ISUPPORT to 16 total items per line.
Michael Poole [Tue, 23 Jan 2007 01:57:56 +0000 (01:57 +0000)]
Limit ISUPPORT to 16 total items per line.

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

17 years agoA rather belated happy new year!
Michael Poole [Tue, 23 Jan 2007 01:54:30 +0000 (01:54 +0000)]
A rather belated happy new year!

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

17 years agoBump patchlevel to pre10.
Michael Poole [Sun, 21 Jan 2007 22:57:27 +0000 (22:57 +0000)]
Bump patchlevel to pre10.

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

17 years agoBump patchlevel for 2.10.12.09 release.
Michael Poole [Sun, 21 Jan 2007 02:13:51 +0000 (02:13 +0000)]
Bump patchlevel for 2.10.12.09 release.

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

17 years agoPass the other two USER parameters to iauth.
Michael Poole [Tue, 16 Jan 2007 01:21:37 +0000 (01:21 +0000)]
Pass the other two USER parameters to iauth.

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

17 years agoAdd ChangeLog message for a file accidentally included in the last commit.
Michael Poole [Tue, 16 Jan 2007 00:52:46 +0000 (00:52 +0000)]
Add ChangeLog message for a file accidentally included in the last commit.

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

17 years agoMerge end-of-December changes from HEAD to u2_10_12_branch.
Michael Poole [Mon, 15 Jan 2007 03:08:23 +0000 (03:08 +0000)]
Merge end-of-December changes from HEAD to u2_10_12_branch.

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

17 years agoProperly handle member modes like XXYYY:ov in bursts.
Michael Poole [Sat, 13 Jan 2007 18:47:19 +0000 (18:47 +0000)]
Properly handle member modes like XXYYY:ov in bursts.

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

17 years agoAdd channel name to PV message for redundant CREATE.
Michael Poole [Sat, 13 Jan 2007 18:45:08 +0000 (18:45 +0000)]
Add channel name to PV message for redundant CREATE.

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

17 years agoGenerate hidden hostname appropriately for bursted users with timestamped accounts.
Michael Poole [Sat, 13 Jan 2007 18:43:41 +0000 (18:43 +0000)]
Generate hidden hostname appropriately for bursted users with timestamped accounts.

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

17 years agoDocument "/WHO #channel d" to include join-delayed users.
Michael Poole [Sat, 13 Jan 2007 18:40:51 +0000 (18:40 +0000)]
Document "/WHO #channel d" to include join-delayed users.

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

17 years agoFix privilege check for juping servers.
Michael Poole [Tue, 19 Dec 2006 05:20:48 +0000 (05:20 +0000)]
Fix privilege check for juping servers.
Bug spotted by paulr.

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