ircu2.10.12-pk.git
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

17 years agoShow socket families in /stats p.
Michael Poole [Fri, 8 Dec 2006 00:44:38 +0000 (00:44 +0000)]
Show socket families in /stats p.

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

17 years agoAllow per-port specification of address family, and use separate
Michael Poole [Thu, 7 Dec 2006 05:14:51 +0000 (05:14 +0000)]
Allow per-port specification of address family, and use separate
sockets for IPv4 and IPv6 listeners (SF#1571346).

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

17 years agoConvert listeners to use a flagset in preparation for IPv4/IPv6 selection.
Michael Poole [Thu, 7 Dec 2006 03:35:31 +0000 (03:35 +0000)]
Convert listeners to use a flagset in preparation for IPv4/IPv6 selection.

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

17 years agoDo not accept NICK on server ports.
Michael Poole [Sat, 4 Nov 2006 21:42:00 +0000 (21:42 +0000)]
Do not accept NICK on server ports.

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

17 years agoDo not list version.c in itself.
Michael Poole [Sat, 4 Nov 2006 21:40:21 +0000 (21:40 +0000)]
Do not list version.c in itself.

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

17 years agoAllow -A channels to have oplevels as well. Allow showing oplevels in /who.
Michael Poole [Sat, 4 Nov 2006 21:35:28 +0000 (21:35 +0000)]
Allow -A channels to have oplevels as well.  Allow showing oplevels in /who.

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

17 years agoFix convert-conf for H: lines without C: lines.
Michael Poole [Sat, 21 Oct 2006 15:29:10 +0000 (15:29 +0000)]
Fix convert-conf for H: lines without C: lines.

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

17 years agoReport two kinds of configuration file bugs.
Michael Poole [Thu, 3 Aug 2006 03:05:02 +0000 (03:05 +0000)]
Report two kinds of configuration file bugs.

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

17 years agoFix doxygen comment typo.
Michael Poole [Thu, 3 Aug 2006 03:01:50 +0000 (03:01 +0000)]
Fix doxygen comment typo.

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

17 years agoBump patchlevel for pre09 development.
Michael Poole [Sun, 9 Jul 2006 12:45:23 +0000 (12:45 +0000)]
Bump patchlevel for pre09 development.

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

17 years agoBump patchlevel for 2.10.12.08 release.
Michael Poole [Sun, 9 Jul 2006 12:12:15 +0000 (12:12 +0000)]
Bump patchlevel for 2.10.12.08 release.

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

17 years agoDo not leak AuthRequest structs for clients who fail registration.
Michael Poole [Thu, 6 Jul 2006 03:45:04 +0000 (03:45 +0000)]
Do not leak AuthRequest structs for clients who fail registration.

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

17 years agoFix a minor memory leak when iauth is configured.
Michael Poole [Fri, 30 Jun 2006 19:54:35 +0000 (19:54 +0000)]
Fix a minor memory leak when iauth is configured.

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

17 years agoFix inverted test in previous commit.
Michael Poole [Fri, 30 Jun 2006 19:02:35 +0000 (19:02 +0000)]
Fix inverted test in previous commit.

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

17 years agoFix two authorization stage memory leaks.
Michael Poole [Fri, 30 Jun 2006 15:52:18 +0000 (15:52 +0000)]
Fix two authorization stage memory leaks.

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

17 years agoBump patchlevel for u2.10.12.08 development.
Michael Poole [Mon, 26 Jun 2006 23:44:22 +0000 (23:44 +0000)]
Bump patchlevel for u2.10.12.08 development.

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

17 years agoBump patchlevel for u2.10.12.07 release.
Michael Poole [Mon, 26 Jun 2006 23:39:33 +0000 (23:39 +0000)]
Bump patchlevel for u2.10.12.07 release.

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

17 years agoFix bug in PASS handling.
Michael Poole [Sat, 17 Jun 2006 13:09:14 +0000 (13:09 +0000)]
Fix bug in PASS handling.

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

17 years agoFix /whois handling of secret local channels for locops.
Michael Poole [Fri, 9 Jun 2006 02:16:17 +0000 (02:16 +0000)]
Fix /whois handling of secret local channels for locops.

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

17 years agoAllow (but ignore) additional arguments in server GLINE messages.
Michael Poole [Fri, 9 Jun 2006 02:13:51 +0000 (02:13 +0000)]
Allow (but ignore) additional arguments in server GLINE messages.

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

17 years agoMake /stats g slightly more informative.
Michael Poole [Fri, 9 Jun 2006 02:12:25 +0000 (02:12 +0000)]
Make /stats g slightly more informative.

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

17 years agoAllow ircd.conf to control the list_chan privilege.
Michael Poole [Thu, 8 Jun 2006 02:11:21 +0000 (02:11 +0000)]
Allow ircd.conf to control the list_chan privilege.

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

17 years agoFix ping timeout handling for outbound server connections.
Michael Poole [Thu, 8 Jun 2006 01:58:36 +0000 (01:58 +0000)]
Fix ping timeout handling for outbound server connections.

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

17 years agoClear "DNS request pending" flag when aborting a DNS lookup.
Michael Poole [Tue, 6 Jun 2006 00:36:17 +0000 (00:36 +0000)]
Clear "DNS request pending" flag when aborting a DNS lookup.

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

17 years agoComment updates and /stats response fixups.
Michael Poole [Wed, 31 May 2006 02:43:00 +0000 (02:43 +0000)]
Comment updates and /stats response fixups.

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

17 years agoFix assertion failures and other misbehaviors in new auth code.
Michael Poole [Thu, 25 May 2006 03:14:13 +0000 (03:14 +0000)]
Fix assertion failures and other misbehaviors in new auth code.

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

17 years agoFix error causing misbehavior when client never sends anything.
Michael Poole [Thu, 18 May 2006 03:50:07 +0000 (03:50 +0000)]
Fix error causing misbehavior when client never sends anything.

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

17 years agoInstall convert-conf utility under ${prefix}.
Michael Poole [Thu, 18 May 2006 03:48:41 +0000 (03:48 +0000)]
Install convert-conf utility under ${prefix}.

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

17 years agoOnly check passwords on user ports.
Michael Poole [Tue, 16 May 2006 02:34:00 +0000 (02:34 +0000)]
Only check passwords on user ports.

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

17 years agoFix months in three ChangeLog entries.
Michael Poole [Tue, 16 May 2006 01:39:05 +0000 (01:39 +0000)]
Fix months in three ChangeLog entries.

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

17 years agoMention per-Connect block "vhost" option.
Michael Poole [Sun, 14 May 2006 19:12:27 +0000 (19:12 +0000)]
Mention per-Connect block "vhost" option.

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

17 years agoAvoid repeating PONG handling that may already have been done.
Michael Poole [Sun, 14 May 2006 02:46:58 +0000 (02:46 +0000)]
Avoid repeating PONG handling that may already have been done.

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

18 years agoGive iauth its full share of time to respond.
Michael Poole [Mon, 8 May 2006 01:55:08 +0000 (01:55 +0000)]
Give iauth its full share of time to respond.
Specifically, do not time it out at the same time as DNS and ident.

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

18 years agoDo not let ident or DNS timeouts kill a client.
Michael Poole [Mon, 8 May 2006 01:30:24 +0000 (01:30 +0000)]
Do not let ident or DNS timeouts kill a client.

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

18 years agoRevert last change -- read_packet() makes it fail.
Michael Poole [Sat, 6 May 2006 23:59:33 +0000 (23:59 +0000)]
Revert last change -- read_packet() makes it fail.

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

18 years agoAvoid doing needless work for unregistered client PONGs.
Michael Poole [Sat, 6 May 2006 23:48:26 +0000 (23:48 +0000)]
Avoid doing needless work for unregistered client PONGs.

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

18 years agoFix client password checks when iauth is disabled.
Michael Poole [Sat, 6 May 2006 23:40:26 +0000 (23:40 +0000)]
Fix client password checks when iauth is disabled.

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

18 years agoFix new auth system timeout bugs (SF bug#1469462).
Michael Poole [Sat, 29 Apr 2006 02:34:03 +0000 (02:34 +0000)]
Fix new auth system timeout bugs (SF bug#1469462).

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

18 years agoFix Admin block documentation and behavior (SF bug#1477672).
Michael Poole [Sat, 29 Apr 2006 02:21:56 +0000 (02:21 +0000)]
Fix Admin block documentation and behavior (SF bug#1477672).

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

18 years agoFix an assertion failure when client endpoint name lookup fails.
Michael Poole [Fri, 7 Apr 2006 04:02:26 +0000 (04:02 +0000)]
Fix an assertion failure when client endpoint name lookup fails.

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

18 years agoUse SIZEOF_LONG_LONG instead of HAVE_LONG_LONG.
Michael Poole [Fri, 7 Apr 2006 03:56:22 +0000 (03:56 +0000)]
Use SIZEOF_LONG_LONG instead of HAVE_LONG_LONG.

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

18 years agoFix documentation cruft and typo.
Michael Poole [Fri, 7 Apr 2006 03:43:06 +0000 (03:43 +0000)]
Fix documentation cruft and typo.

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

18 years agoUpdate patchlevel for pre07.
Michael Poole [Tue, 4 Apr 2006 23:29:30 +0000 (23:29 +0000)]
Update patchlevel for pre07.

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

18 years agoUpdate patchlevel.h for 2.10.12.06 release.
Michael Poole [Tue, 4 Apr 2006 23:16:11 +0000 (23:16 +0000)]
Update patchlevel.h for 2.10.12.06 release.

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

18 years agoAllow both *!*@1.2.3.* and *!*@1.2.3.0/22 to be banned at the same time.
Michael Poole [Tue, 4 Apr 2006 23:09:48 +0000 (23:09 +0000)]
Allow both *!*@1.2.3.* and *!*@1.2.3.0/22 to be banned at the same time.

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