5 years agoadded gnutls backend and moved backend code into new files upstream
pk910 [Wed, 25 Nov 2015 18:05:26 +0000 (19:05 +0100)]
added gnutls backend and moved backend code into new files
gnutls backend is not working yet...

5 years agoadded ssl cipher notice on connect
pk910 [Sun, 8 Nov 2015 18:55:34 +0000 (19:55 +0100)]
added ssl cipher notice on connect

5 years agovarious small fixes & example dev config
pk910 [Sun, 8 Nov 2015 18:25:02 +0000 (19:25 +0100)]
various small fixes & example dev config

5 years agoadded basic ssl support to ircu
pk910 [Sun, 8 Nov 2015 18:11:56 +0000 (19:11 +0100)]
added basic ssl support to ircu

5 years agoremove empty.txt again
pk910 [Sun, 8 Nov 2015 01:00:21 +0000 (02:00 +0100)]
remove empty.txt again

5 years agoadd unlimited flood priv
pk910 [Sun, 8 Nov 2015 00:59:46 +0000 (01:59 +0100)]
add unlimited flood priv

5 years agoadded support for user privileges through connection class
pk910 [Sun, 8 Nov 2015 00:41:54 +0000 (01:41 +0100)]
added support for user privileges through connection class

5 years agoMerge branch 'u2_10_12_branch' of git://
pk910 [Sat, 7 Nov 2015 23:04:09 +0000 (00:04 +0100)]
Merge branch 'u2_10_12_branch' of git://

5 years agoinitial commit
pk910 [Sat, 7 Nov 2015 23:03:14 +0000 (00:03 +0100)]
initial commit

5 years agoipmask_parse: Reject a full IPv6 address followed by ::.
Michael Poole [Thu, 24 Sep 2015 23:54:41 +0000 (19:54 -0400)]
ipmask_parse: Reject a full IPv6 address followed by ::.

5 years agoircd_in_addr_t.c: Add test for the previous commit.
Michael Poole [Thu, 17 Sep 2015 00:36:17 +0000 (20:36 -0400)]
ircd_in_addr_t.c: Add test for the previous commit.

5 years agoircd_string.c: Support abcd* in ipmask_parse().
Michael Poole [Thu, 17 Sep 2015 00:35:41 +0000 (20:35 -0400)]
ircd_string.c: Support abcd* in ipmask_parse().

6 years agom_cap.c: Do not allow CAP ACK to set prohibited caps, or clear sticky ones.
Michael Poole [Tue, 3 Mar 2015 02:48:14 +0000 (21:48 -0500)]
m_cap.c: Do not allow CAP ACK to set prohibited caps, or clear sticky ones.

Thanks to Michael Wobst from the ircd-hybrid team for reporting this.

6 years agos_auth.c: Fix off-by-one errors in last commit.
Michael Poole [Tue, 3 Mar 2015 02:41:12 +0000 (21:41 -0500)]
s_auth.c: Fix off-by-one errors in last commit.

6 years agos_auth.c: Move username-cleaning logic to a separate function.
Michael Poole [Fri, 25 Apr 2014 00:55:51 +0000 (20:55 -0400)]
s_auth.c: Move username-cleaning logic to a separate function.

We want to bypass this when IAuth sends a forced username ('o' command),
but also to clean the username before we send the username to IAuth.

Also get rid of one local variable in auth_set_username().

6 years agoQuash various warnings from higher levels of compiler warnings.
Michael Poole [Fri, 25 Apr 2014 00:34:06 +0000 (20:34 -0400)]
Quash various warnings from higher levels of compiler warnings.

Two changes are to avoid never-true checks that a local array is not a
null pointer; two changes are to the length arguments of memset/memcpy.
(The MD5 change is just for cleaning up; the parser change should only
affect systems where sizeof(long) != sizeof(struct ListenerFlags*), but
that is not true of any system that is likely to run ircu2.)

6 years agoiauth: Send an empty "u" message on ident lookup failure.
Michael Poole [Fri, 25 Apr 2014 00:27:03 +0000 (20:27 -0400)]
iauth: Send an empty "u" message on ident lookup failure.

Otherwise an iauthd might wait indefinitely (i.e. too long) before trying
to make a decision on the client.

7 years agoAvoid crashes when IAuth registers a client due to iauthd timeout.
Michael Poole [Tue, 17 Sep 2013 20:37:35 +0000 (16:37 -0400)]
Avoid crashes when IAuth registers a client due to iauthd timeout.

auth_ping_timeout() can -- at least with IAuth -- register a client,
in which case it is wrong to set next_check based on FEAT_CONNECTTIMEOUT.
In this case, fall through to the cases that handle registered clients.

7 years agoOnly respawn an IAuth process when both sockets are destroyed.
Michael Poole [Tue, 27 Aug 2013 02:09:27 +0000 (22:09 -0400)]
Only respawn an IAuth process when both sockets are destroyed.

7 years agoAdd some missing .gitignore entries.
Michael Poole [Thu, 15 Aug 2013 00:57:41 +0000 (20:57 -0400)]
Add some missing .gitignore entries.

7 years agoDon't skip events when a devpoll-like engine deletes a socket.
Michael Poole [Tue, 6 Aug 2013 03:04:54 +0000 (23:04 -0400)]
Don't skip events when a devpoll-like engine deletes a socket.

engine_delete() might replace polls[polls_i] with polls[--polls_used],
but neither it nor engine_loop() decremented polls_i so that the moved
event would be processed.  We can eliminate polls_i while fixing it.

7 years agoAvoid crashes when handling ET_EOF for IAuth stderr before stdout.
Michael Poole [Tue, 6 Aug 2013 03:01:51 +0000 (23:01 -0400)]
Avoid crashes when handling ET_EOF for IAuth stderr before stdout.

Because iauth_stderr_callback() ignores ET_DESTROY, we should destroy
IAuth stderr first.  Then, when iauth_sock_callback() handles ET_DESTROY
for the stdout socket, it can respawn the socket without generating a
second ET_DESTROY for stderr.

8 years agoAdd a parameter to IPcheck_connect_fail() to support IAuth IP spoofing.
Michael Poole [Tue, 6 Nov 2012 02:48:21 +0000 (21:48 -0500)]
Add a parameter to IPcheck_connect_fail() to support IAuth IP spoofing.

Before, the "connected" count for the client's true IP address would be
incremented but never decremented.  This matches them up properly.

8 years agoImprove ipmask_parse()'s handling of invalid IPv6 inputs.
Michael Poole [Thu, 21 Jun 2012 00:20:25 +0000 (20:20 -0400)]
Improve ipmask_parse()'s handling of invalid IPv6 inputs.

8 years agoFix the display of local Operator blocks in /stats o.
Michael Poole [Thu, 14 Jun 2012 01:38:53 +0000 (21:38 -0400)]
Fix the display of local Operator blocks in /stats o.

This only makes a difference for Operator blocks with "local = yes;"
that use a Class block with "local = no;", but that is a supported
way to set things up.

8 years agoReject G-line masks like + (with no target). Fixes SF#2965021.
Michael Poole [Fri, 1 Jun 2012 02:39:43 +0000 (22:39 -0400)]
Reject G-line masks like + (with no target).  Fixes SF#2965021.

8 years agoAdd missing modes from RPL_MYINFO (SF#2967675).
Michael Poole [Fri, 1 Jun 2012 02:34:12 +0000 (22:34 -0400)]
Add missing modes from RPL_MYINFO (SF#2967675).

In particular, add the +d channel mode and +O user mode.

8 years agoAdd more G-line length tests. Resolves SF#2985922.
Michael Poole [Fri, 1 Jun 2012 02:41:28 +0000 (22:41 -0400)]
Add more G-line length tests.  Resolves SF#2985922.

Also remove the extra space noted in the same bug report.

8 years agoClarify the "I'm a leaf, define HUB" message.
Michael Poole [Fri, 1 Jun 2012 01:19:37 +0000 (21:19 -0400)]
Clarify the "I'm a leaf, define HUB" message.

8 years agoClear privileges when deopering.
Michael Poole [Fri, 1 Jun 2012 01:18:55 +0000 (21:18 -0400)]
Clear privileges when deopering.

ircd/s_user.c (set_user_mode): When a user deopers, revoke their oper
  privileges in addition to their oper user mode.

8 years agoOnly allow current opers to WHOX.
Michael Poole [Fri, 1 Jun 2012 01:22:49 +0000 (21:22 -0400)]
Only allow current opers to WHOX.

ircd/m_who.c (m_who): Only set WHOSELECT_EXTRA for current opers.

8 years agoLog account rather than ident upon exit.
Michael Poole [Fri, 1 Jun 2012 01:22:21 +0000 (21:22 -0400)]
Log account rather than ident upon exit.

This fixes SourceForge bug #2992882.

8 years agoMake gline.c's count_users() use real host for masked users.
Michael Poole [Fri, 1 Jun 2012 01:22:03 +0000 (21:22 -0400)]
Make gline.c's count_users() use real host for masked users.

This fixes SourceForge bug #2992886.

8 years agoCorrectly skip non-servers when evaluating C-rules.
Michael Poole [Fri, 1 Jun 2012 01:21:28 +0000 (21:21 -0400)]
Correctly skip non-servers when evaluating C-rules.

IsMe(acptr) implies !IsServer(acptr), contrary to the apparent
assumption in crule_connected() and crule_via().

8 years agoRename .cvsignore files to .gitignore.
Michael Poole [Fri, 1 Jun 2012 01:20:58 +0000 (21:20 -0400)]
Rename .cvsignore files to .gitignore.

Also add *.o to ircd/.gitignore because git does not ignore that
pattern by default.

9 years agoDelete local variables that are set but never read.
Michael Poole [Tue, 24 Jan 2012 02:06:56 +0000 (21:06 -0500)]
Delete local variables that are set but never read.

gcc 4.6 complains about these with -Wall.

9 years agoSend "modifying global" messages to SNO_AUTO when appropriate.
Michael Poole [Mon, 23 Jan 2012 12:57:10 +0000 (07:57 -0500)]
Send "modifying global" messages to SNO_AUTO when appropriate.

9 years agoAdd missing ChangeLog entries for last two commits.
Michael Poole [Mon, 23 Jan 2012 12:43:29 +0000 (07:43 -0500)]
Add missing ChangeLog entries for last two commits.

9 years agoSupport a "soft done" message from IAuth.
Michael Poole [Fri, 20 Jan 2012 02:50:27 +0000 (21:50 -0500)]
Support a "soft done" message from IAuth.

This lets clients onto the network if a login-on-connect response
times out, without requiring the IAuth process to know ircu's
authorization deadline.

9 years agoMove DNS and auth lookups after starting IAuth.
Michael Poole [Fri, 20 Jan 2012 02:48:30 +0000 (21:48 -0500)]
Move DNS and auth lookups after starting IAuth.

When start_dns_query() ran before start_iauth_query(), clients from
localhost would not have their IAuth 'N' message sent because ircu had
not started the IAuth query for that client.

9 years agoFix minor issue in IsLocOp() test
Kevin L. Mitchell [Wed, 17 Aug 2011 23:54:46 +0000 (18:54 -0500)]
Fix minor issue in IsLocOp() test

9 years agoWhen IAuth provides creation timestamp, exclude it from the name.
Michael Poole [Sun, 15 May 2011 21:05:19 +0000 (17:05 -0400)]
When IAuth provides creation timestamp, exclude it from the name.

10 years agoBump MAXBANS and MAXSILES, bump PATCHLEVEL for release
Kevin L. Mitchell [Mon, 5 Jul 2010 21:28:54 +0000 (21:28 +0000)]
Bump MAXBANS and MAXSILES, bump PATCHLEVEL for release

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

10 years agoTreat G-line-related times as network times, rather than local times.
Michael Poole [Sun, 18 Apr 2010 23:15:10 +0000 (23:15 +0000)]
Treat G-line-related times as network times, rather than local times.

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

10 years agoClarify the link rejection message for unauthorized hubs.
Michael Poole [Tue, 9 Mar 2010 03:05:38 +0000 (03:05 +0000)]
Clarify the link rejection message for unauthorized hubs.

Make the function that makes that decision a little more maintainable.

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

10 years agoFix compilation problems when _SC_PAGE_SIZE is not defined by the OS.
Michael Poole [Tue, 9 Mar 2010 02:59:32 +0000 (02:59 +0000)]
Fix compilation problems when _SC_PAGE_SIZE is not defined by the OS.

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

11 years agoSet TOS to the value of FEAT_TOS_SERVER, not to FEAT_TOS_SERVER...
Kevin L. Mitchell [Thu, 4 Mar 2010 13:52:35 +0000 (13:52 +0000)]
Set TOS to the value of FEAT_TOS_SERVER, not to FEAT_TOS_SERVER...

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

11 years agoBump patch level to u2.10.12.13-rc2.
Michael Poole [Tue, 2 Feb 2010 23:29:03 +0000 (23:29 +0000)]
Bump patch level to u2.10.12.13-rc2.

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

11 years agoRevert r1340 (it was apparently always buggy).
Michael Poole [Thu, 14 Jan 2010 02:35:51 +0000 (02:35 +0000)]
Revert r1340 (it was apparently always buggy).

chapo wanted to know why he saw * -lkko+ko * * chapo * ...
after a burst; this code was the reason that it did -k * twice.

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

11 years agoDelete the outdated man pages in doc/, and the libs/ directory.
Michael Poole [Thu, 7 Jan 2010 04:24:07 +0000 (04:24 +0000)]
Delete the outdated man pages in doc/, and the libs/ directory.

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

11 years agoAccept topic changes from servers that do not send topic-set timestamps (fixes SF...
Michael Poole [Thu, 7 Jan 2010 03:23:57 +0000 (03:23 +0000)]
Accept topic changes from servers that do not send topic-set timestamps (fixes SF #2897520).

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

11 years agoRestrict the visibility of /silence lists (fixing SF #2701725).
Michael Poole [Thu, 7 Jan 2010 03:06:13 +0000 (03:06 +0000)]
Restrict the visibility of /silence lists (fixing SF #2701725).

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

11 years agoIf a server sends us a new, expired G-line, create it deactivated (fixes SF #2840365).
Michael Poole [Thu, 7 Jan 2010 02:55:33 +0000 (02:55 +0000)]
If a server sends us a new, expired G-line, create it deactivated (fixes SF #2840365).

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

11 years agoFix oplevel handling in bursts, fixing SF bugs #2596869 and #2597518.
Michael Poole [Thu, 7 Jan 2010 02:39:48 +0000 (02:39 +0000)]
Fix oplevel handling in bursts, fixing SF bugs #2596869 and #2597518.

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

11 years agoAuthor: Kev <>
Kevin L. Mitchell [Mon, 4 Jan 2010 17:15:13 +0000 (17:15 +0000)]
Author: Kev <>
Log Message:

Now fully tested (including the iauth routing): Extension queries and
replies.  Changes on top of Entrope's fixes (sorry) include swapping
order of findNUser() and FindNServer() in ms_xreply() so that responses
can reach users and logging extension queries that get sent to us.

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

11 years agoFix SourceForge bug #2789732 by discarding pending events for deleted sockets.
Michael Poole [Mon, 4 Jan 2010 03:24:36 +0000 (03:24 +0000)]
Fix SourceForge bug #2789732 by discarding pending events for deleted sockets.

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

11 years agoRevert the accidental commit to list.c, and commit the correct file (s_bsd.c).
Michael Poole [Mon, 4 Jan 2010 00:37:28 +0000 (00:37 +0000)]
Revert the accidental commit to list.c, and commit the correct file (s_bsd.c).

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

11 years agoAttempt to fix SF bug #2874316 by invalidating a file descriptor that the system...
Michael Poole [Mon, 4 Jan 2010 00:33:41 +0000 (00:33 +0000)]
Attempt to fix SF bug #2874316 by invalidating a file descriptor that the system claims is bad.

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

11 years agoFix SF bug #2852954 by removing the spurious assertion.
Michael Poole [Sun, 3 Jan 2010 21:50:50 +0000 (21:50 +0000)]
Fix SF bug #2852954 by removing the spurious assertion.

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

11 years agoFix SF bug #2895252 by changing the trailing space to a nul character.
Michael Poole [Sun, 3 Jan 2010 21:20:56 +0000 (21:20 +0000)]
Fix SF bug #2895252 by changing the trailing space to a nul character.

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

11 years agoFix SF bug #2803888 by checking for conversion between +D and +d on every mode buffer...
Michael Poole [Sun, 3 Jan 2010 21:04:54 +0000 (21:04 +0000)]
Fix SF bug #2803888 by checking for conversion between +D and +d on every mode buffer flush.

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

11 years agoFix SF bug #2793176 by making sure check_loop_and_lh() returns non-1 when it kills...
Michael Poole [Sun, 3 Jan 2010 20:43:17 +0000 (20:43 +0000)]
Fix SF bug #2793176 by making sure check_loop_and_lh() returns non-1 when it kills a server.

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

11 years agoFix the build for the new xquery files.
Michael Poole [Sun, 3 Jan 2010 19:42:24 +0000 (19:42 +0000)]
Fix the build for the new xquery files.

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

11 years agoAuthor: Kev <>
Kevin L. Mitchell [Sat, 2 Jan 2010 20:33:10 +0000 (20:33 +0000)]
Author: Kev <>
Log Message:

Support for extension queries.  Think of it like PRIVMSG and NOTICE for
servers; this allows pseudoservers to send each other messages.
Additionally, iauth can send messages to and receive messages from
pseudoservers.  This mechanism is introduced to make login-on-connect
easier to code, by providing an in-band mechanism for iauth to connect
the login server.

just got back from vacation, and will be flying out again tomorrow.  I
figured I could commit now and get others to help me test :)

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

11 years agoImprove the clean-up of outdated IAuth instances on rehash (SF bug #2789656).
Michael Poole [Sat, 2 Jan 2010 05:01:14 +0000 (05:01 +0000)]
Improve the clean-up of outdated IAuth instances on rehash (SF bug #2789656).

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

11 years agoMake OPMODE ignore ban count and length checks.
Michael Poole [Sat, 2 Jan 2010 04:15:50 +0000 (04:15 +0000)]
Make OPMODE ignore ban count and length checks.
(Patch #2693309, inspired by Quakenet commit 228:4b3157d90fc6.)

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

11 years agoProvide /stats F to report even defaulted feature values.
Michael Poole [Sat, 2 Jan 2010 04:00:13 +0000 (04:00 +0000)]
Provide /stats F to report even defaulted feature values.
(Apply patch #2693259, inspired by a Quakenet patch by paulr.)

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

11 years agoFix usermodes harder when they are set early during registration.
Michael Poole [Fri, 31 Jul 2009 02:04:15 +0000 (02:04 +0000)]
Fix usermodes harder when they are set early during registration.

IAuth and /user can both set usermodes before registration is
complete, and we do not want to count unregistered clients as
invisible or as opers, so register_user() _must_ update UserStats when
it registers a client.  Default usermodes must not be applied between
where the client is marked as registered and that point, because that
would update UserStats too, so move the setting of default usermodes
before the SetUser() call that marks the client as a registered user.

Fixes SourceForge bugs #2824908 and #2829936.

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

11 years agoFix SourceForge bug #2816618 (default user modes in connection class do not work).
Michael Poole [Mon, 6 Jul 2009 02:36:29 +0000 (02:36 +0000)]
Fix SourceForge bug #2816618 (default user modes in connection class do not work).

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

11 years agoRemove errant \ from previous commit. (Whoops!)
Michael Poole [Mon, 6 Jul 2009 02:02:31 +0000 (02:02 +0000)]
Remove errant \ from previous commit.  (Whoops!)

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

11 years agoFix SF bug #2721107 (Gline lifetime changes from servers change the reason.)
Michael Poole [Mon, 6 Jul 2009 01:41:45 +0000 (01:41 +0000)]
Fix SF bug #2721107 (Gline lifetime changes from servers change the reason.)

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

11 years agoFix SF bug #2596914 (/mode +v nick:level gives oplevel).
Michael Poole [Mon, 6 Jul 2009 01:27:24 +0000 (01:27 +0000)]
Fix SF bug #2596914 (/mode +v nick:level gives oplevel).

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

11 years agoFix SF bug #2694761 (iauth class assignment did not work correctly).
Michael Poole [Sun, 5 Jul 2009 03:00:52 +0000 (03:00 +0000)]
Fix SF bug #2694761 (iauth class assignment did not work correctly).

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

11 years agoAttempt to fix SF bug #2568366 (sending JOIN before hitting a target limit).
Michael Poole [Sat, 4 Jul 2009 22:46:00 +0000 (22:46 +0000)]
Attempt to fix SF bug #2568366 (sending JOIN before hitting a target limit).

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

11 years agoUnconditionally set +6 flag on self.
Michael Poole [Sat, 4 Jul 2009 22:44:19 +0000 (22:44 +0000)]
Unconditionally set +6 flag on self.

(Thanks to weibes for pointing this out on SF bug #2523774.)

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

11 years agoFix SourceForge bug #1722030.
Michael Poole [Thu, 26 Mar 2009 02:50:39 +0000 (02:50 +0000)]
Fix SourceForge bug #1722030.

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

11 years agoFix SourceForge bug #1706672.
Michael Poole [Thu, 26 Mar 2009 02:16:26 +0000 (02:16 +0000)]
Fix SourceForge bug #1706672.

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

11 years agoOptimize order of checks in if() to minimize calls to match_it().
Michael Poole [Wed, 18 Mar 2009 03:31:58 +0000 (03:31 +0000)]
Optimize order of checks in if() to minimize calls to match_it().

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

11 years agoForward port a patch by Dianora to add rudimentary spam bot detection to ircu.
Michael Poole [Wed, 18 Mar 2009 02:15:48 +0000 (02:15 +0000)]
Forward port a patch by Dianora to add rudimentary spam bot detection to ircu.

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

12 years agoAuthor: Michael Poole <>
Michael Poole [Mon, 9 Feb 2009 04:11:04 +0000 (04:11 +0000)]
Author: Michael Poole <>

Fix items from SF bug #2523774: Show +H and +6 flags in /stats v and
/stats V for the local server.  Fix the default value for maxhops.

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

12 years agoAuthor: Michael Poole <>
Michael Poole [Mon, 9 Feb 2009 03:39:42 +0000 (03:39 +0000)]
Author: Michael Poole <>

Fix SF bug #2328334: Allow users to join channels with names that are
exactly CHANNELLEN bytes long.

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

12 years agoAuthor: Michael Poole <>
Michael Poole [Mon, 9 Feb 2009 01:30:13 +0000 (01:30 +0000)]
Author: Michael Poole <>

Clean up key cleaning: Do not reject non-ASCII characters, and allow
':' after the first character in the key.  Add a regression test
script to go along with these changes.

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

12 years agoAuthor: Michael Poole <>
Michael Poole [Mon, 9 Feb 2009 00:03:34 +0000 (00:03 +0000)]
Author: Michael Poole <>

Revert the part of the G-line parsing cleanup that does not create new
deactivated G-lines.  Instead, just explain that it is deactivated.

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

12 years agoAuthor: Michael Poole <>
Michael Poole [Tue, 13 Jan 2009 03:54:45 +0000 (03:54 +0000)]
Author: Michael Poole <>

Fix the issues described by weibe in bug 2045310
(TOPIC, WALLCHOPS and WALLVOICES do not reveal join-delayed users).

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

12 years agoAuthor: Michael Poole <>
Michael Poole [Tue, 13 Jan 2009 03:27:27 +0000 (03:27 +0000)]
Author: Michael Poole <>

Fix bouncing of limit changes.

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

12 years agoAuthor: Michael Poole <>
Michael Poole [Tue, 13 Jan 2009 02:43:56 +0000 (02:43 +0000)]
Author: Michael Poole <>

Fix SourceForge bug 2039740 (even local /gline additions count users
on remote servers towards the limit needed to force the G-line).

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

12 years agoAuthor: Entrope <>
Michael Poole [Tue, 13 Jan 2009 02:30:25 +0000 (02:30 +0000)]
Author: Entrope <>

Make G-line parsing considerably more robust for unusual input forms.
Fix affected-user counting for G-lines with CIDR host portions.  Add
tests to exercise the new parsing behaviors.

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

12 years agoProperly handle net rider kicks that are received after a normal kick for the same...
Michael Poole [Tue, 18 Nov 2008 03:18:46 +0000 (03:18 +0000)]
Properly handle net rider kicks that are received after a normal kick for the same user.

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

12 years agoUpdate the match() unit test to catch buffer over-reads.
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

12 years agoFix an error in backtracking (apparently exacerbated by escapes).
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

12 years agoAuthor: Isomer <>
Perry Lorier [Sun, 7 Sep 2008 02:10:22 +0000 (02:10 +0000)]
Author: Isomer <>
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

12 years agoDo not accept strings like as IP masks.
Michael Poole [Thu, 20 Mar 2008 23:58:27 +0000 (23:58 +0000)]
Do not accept strings like 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

12 years agoAuthor: Kev <>
Kevin L. Mitchell [Thu, 20 Mar 2008 17:41:00 +0000 (17:41 +0000)]
Author: Kev <>
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

12 years agoAuthor: Michael Poole <>
Michael Poole [Sat, 15 Mar 2008 05:33:22 +0000 (05:33 +0000)]
Author: Michael Poole <>
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

12 years agoAuthor: Michael Poole <>
Michael Poole [Sat, 15 Mar 2008 05:24:14 +0000 (05:24 +0000)]
Author: Michael Poole <>
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

13 years agoAuthor: Kev <>
Kevin L. Mitchell [Wed, 9 Jan 2008 18:32:43 +0000 (18:32 +0000)]
Author: Kev <>
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

13 years agoAuthor: Jan Krueger <> (by way of Kev <>)
Kevin L. Mitchell [Thu, 3 Jan 2008 00:07:21 +0000 (00:07 +0000)]
Author: Jan Krueger <> (by way of Kev <>)
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

13 years agoAuthor: Kev <>
Kevin L. Mitchell [Fri, 28 Dec 2007 15:52:43 +0000 (15:52 +0000)]
Author: Kev <>
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

13 years agoAuthor: Kev <>
Kevin L. Mitchell [Fri, 14 Dec 2007 02:37:48 +0000 (02:37 +0000)]
Author: Kev <>
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

13 years agoBump PATCHLEVEL for .12 release.
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