]> jfr.im git - solanum.git/log
solanum.git
8 years agomodules: chase MsgBuf API change
William Pitcock [Thu, 11 Feb 2016 02:54:17 +0000 (20:54 -0600)] 
modules: chase MsgBuf API change

8 years agoextensions: update for API change
William Pitcock [Thu, 11 Feb 2016 02:14:22 +0000 (20:14 -0600)] 
extensions: update for API change

8 years agoircd: change MessageHandler to include a MsgBuf pointer at the front for tag access
William Pitcock [Thu, 11 Feb 2016 02:13:44 +0000 (20:13 -0600)] 
ircd: change MessageHandler to include a MsgBuf pointer at the front for tag access

8 years agolibratbox: event: continually adjust ish event times
Simon Arlott [Sun, 7 Feb 2016 13:50:26 +0000 (13:50 +0000)] 
libratbox: event: continually adjust ish event times

When events are scheduled to run at a random +/- 1/3rd of the specified
frequency it can vary considerably for the longer timers (particularly
try_connections), so adjust the frequency to a different random interval
of the original frequency every time the event runs.

8 years agoircd: support restarting ssld processes
Simon Arlott [Wed, 10 Feb 2016 22:57:16 +0000 (22:57 +0000)] 
ircd: support restarting ssld processes

Add REHASH SSLD (admins only) that starts new sslds and marks the
existing ones as inactive until all their clients disconnect.

Very useful whenever the SSL library has a vulnerability because
new connections can use a new version of the library without
disconnecting existing clients/servers.

Add STATS S (admins only) to list ssld processes, status, and client
count.

8 years agoMerge pull request #144 from lp0/handle-which_ssld_failure-start_ssld_connect-accept...
William Pitcock [Thu, 11 Feb 2016 00:54:05 +0000 (18:54 -0600)] 
Merge pull request #144 from lp0/handle-which_ssld_failure-start_ssld_connect-accept-20160210

ircd: Handle which_ssld failure

8 years agoircd: Handle which_ssld failure
Simon Arlott [Wed, 10 Feb 2016 22:25:23 +0000 (22:25 +0000)] 
ircd: Handle which_ssld failure

It's possible for which_ssld to fail and return NULL, handle this in
start_ssld_connect and start_ssld_accept by returning NULL. The NULL
return value is already handled in all calls to start_ssld_accept,
so handle this for start_ssld_connect by reporting an error connecting.

Handle it in start_zlib_session by exiting the client.

8 years agoircd: add missing rb_free in start_zlib_session
Simon Arlott [Wed, 10 Feb 2016 22:45:14 +0000 (22:45 +0000)] 
ircd: add missing rb_free in start_zlib_session

8 years agoMerge pull request #137 from lp0/fix-ssld-change_connid-20160207
William Pitcock [Wed, 10 Feb 2016 21:54:43 +0000 (15:54 -0600)] 
Merge pull request #137 from lp0/fix-ssld-change_connid-20160207

ssld: change_connid may be called with an unknown ID

8 years agoMerge pull request #142 from lp0/fix-random_socket-20160210
William Pitcock [Wed, 10 Feb 2016 21:53:27 +0000 (15:53 -0600)] 
Merge pull request #142 from lp0/fix-random_socket-20160210

authd: fix link failure in random_socket

8 years agoauthd: fix link failure in random_socket
Simon Arlott [Wed, 10 Feb 2016 21:29:41 +0000 (21:29 +0000)] 
authd: fix link failure in random_socket

The random_socket function isn't used, and the code can only be
compiled if the function is optimised away (because it's static
and unused) otherwise it will fail to link when "ipv4_addr" and
"ipv6_addr" are not found.

Fix this by modifying ipv4_addr and ipv6_addr so that they're not
external variables.

8 years agossld: change_connid may be called with an unknown ID
Simon Arlott [Wed, 10 Feb 2016 21:22:50 +0000 (21:22 +0000)] 
ssld: change_connid may be called with an unknown ID

If change_connid is called with an unknown ID, conn will be
NULL, check this with an assert and then respond by reporting
the new ID as closed instead of dereferencing a NULL pointer.

8 years agoparse: further cleanups
William Pitcock [Wed, 10 Feb 2016 16:25:16 +0000 (10:25 -0600)] 
parse: further cleanups

8 years agoparse: fix aliases
William Pitcock [Wed, 10 Feb 2016 16:09:42 +0000 (10:09 -0600)] 
parse: fix aliases

8 years agomsgbuf: improve parse logic
William Pitcock [Wed, 10 Feb 2016 06:46:32 +0000 (00:46 -0600)] 
msgbuf: improve parse logic

8 years agoparse: utilise MsgBuf to simplify message parsing
William Pitcock [Wed, 10 Feb 2016 06:22:37 +0000 (00:22 -0600)] 
parse: utilise MsgBuf to simplify message parsing

8 years agomsgbuf: implement msgbuf_parse()
William Pitcock [Wed, 10 Feb 2016 06:08:58 +0000 (00:08 -0600)] 
msgbuf: implement msgbuf_parse()

8 years agomsgbuf: add lowlevel interface for building MsgBuf objects
William Pitcock [Wed, 10 Feb 2016 05:19:13 +0000 (23:19 -0600)] 
msgbuf: add lowlevel interface for building MsgBuf objects

8 years agoinclude: add msgbuf.h for future msgbuf api
William Pitcock [Wed, 10 Feb 2016 05:08:06 +0000 (23:08 -0600)] 
include: add msgbuf.h for future msgbuf api

8 years agoRemove unused .depend files.
William Pitcock [Wed, 10 Feb 2016 05:07:26 +0000 (23:07 -0600)] 
Remove unused .depend files.

8 years agoMerge pull request #140 from viatsko/remove-snprintf
William Pitcock [Wed, 10 Feb 2016 03:58:07 +0000 (21:58 -0600)] 
Merge pull request #140 from viatsko/remove-snprintf

Remove libratbox's snprintf.c, update related ircd code

8 years agoRemove libratbox's snprintf.c, update related ircd code
Valerii Iatsko [Wed, 10 Feb 2016 01:25:32 +0000 (02:25 +0100)] 
Remove libratbox's snprintf.c, update related ircd code

8 years agoAdd .travis.yml
Valerii Iatsko [Tue, 9 Feb 2016 23:00:30 +0000 (00:00 +0100)] 
Add .travis.yml

8 years agoircd: various memory leak fixes from pull requests
William Pitcock [Tue, 9 Feb 2016 16:48:28 +0000 (10:48 -0600)] 
ircd: various memory leak fixes from pull requests

8 years agoircd: chmode: Avoid referencing beyond the end of the flags_list array in set_channel...
Simon Arlott [Sat, 6 Feb 2016 15:50:17 +0000 (15:50 +0000)] 
ircd: chmode: Avoid referencing beyond the end of the flags_list array in set_channel_mode

We're setting flags to flags_list[3] at the end of the loop, but the
array only has 3 elements. Unless the compiler optimises this away
(because flags will not be used again) we're accessing memory beyond
the end of the array.

With gcc-4.9:
chmode.c: In function 'set_channel_mode':
chmode.c:1548:54: warning: iteration 2u invokes undefined behavior [-Waggressive-loop-optimizations]
  for(j = 0, flags = flags_list[0]; j < 3; j++, flags = flags_list[j])
                                                      ^
chmode.c:1548:2: note: containing loop
  for(j = 0, flags = flags_list[0]; j < 3; j++, flags = flags_list[j])

Explicitly set "flags = flags_list[j]" at the start of each loop
iteration, which will avoid referencing off the end of the array.

8 years agolibratbox: define UINT16_MAX
Simon Arlott [Sat, 6 Feb 2016 23:51:07 +0000 (23:51 +0000)] 
libratbox: define UINT16_MAX

UINT16_MAX may not be defined on some ancient hosts (FreeBSD 4.8)

It's used by libratbox/src/tools.c

8 years agoUpdate .gitignore
Valerii Iatsko [Sat, 6 Feb 2016 22:28:15 +0000 (23:28 +0100)] 
Update .gitignore

8 years agoircd: configure: require C99 compiler
Valerii Iatsko [Sat, 6 Feb 2016 22:25:58 +0000 (23:25 +0100)] 
ircd: configure: require C99 compiler

8 years agoircd: configure.ac: remove trailing whitespaces
Valerii Iatsko [Sat, 6 Feb 2016 22:17:48 +0000 (23:17 +0100)] 
ircd: configure.ac: remove trailing whitespaces

8 years agoRun autoconf
Valerii Iatsko [Sat, 6 Feb 2016 22:10:50 +0000 (23:10 +0100)] 
Run autoconf

8 years agoconfigure: make TOPICLEN warn on >390, not >=390
Simon Arlott [Sat, 6 Feb 2016 20:59:42 +0000 (20:59 +0000)] 
configure: make TOPICLEN warn on >390, not >=390

Configuring --with-topiclen=390 outputs a warning that TOPICLEN
has been limited to 390, but that's what was requested.

8 years agoautoconf: Quote AC_LANG_PROGRAM when used within AC_*_IFELSE
Simon Arlott [Sat, 6 Feb 2016 14:23:58 +0000 (14:23 +0000)] 
autoconf: Quote AC_LANG_PROGRAM when used within AC_*_IFELSE

AC_LANG_PROGRAM needs to be quoted when used within AC_*_IFELSE:
https://lists.gnu.org/archive/html/bug-autoconf/2011-04/msg00017.html

This fixes the following warnings:

$ autoreconf
configure.ac:298: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
configure.ac:298: the top level
configure.ac:593: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:593: the top level
...
configure.ac:309: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
configure.ac:309: the top level
...

8 years agossld: fix memleak
Valerii Iatsko [Fri, 5 Feb 2016 14:02:47 +0000 (15:02 +0100)] 
ssld: fix memleak
same as r29199 ircd-ratbox:
free zlib_stream_t with the rest of the conn_t

8 years agoUpdate .gitignore
Valerii Iatsko [Thu, 4 Feb 2016 06:51:18 +0000 (07:51 +0100)] 
Update .gitignore

8 years agoCREDITS: updated my nickname and email
Valerii Iatsko [Thu, 4 Feb 2016 05:36:13 +0000 (06:36 +0100)] 
CREDITS: updated my nickname and email

8 years agoFixed compilation w/ gnutls v3
Valerii Iatsko [Wed, 3 Feb 2016 23:25:00 +0000 (00:25 +0100)] 
Fixed compilation w/ gnutls v3

8 years agoextensions: add chm_insecure, which has the opposite effect of chm_sslonly.
William Pitcock [Sat, 30 Jan 2016 03:26:41 +0000 (22:26 -0500)] 
extensions: add chm_insecure, which has the opposite effect of chm_sslonly.

This module makes SSL required to join any channels except for ones specifically marked insecure.
It is meant to be used in a migration path away from plaintext IRC.

8 years agoircd: newconf: impose a deprecation warning for plaintext listeners
William Pitcock [Fri, 29 Jan 2016 16:35:05 +0000 (11:35 -0500)] 
ircd: newconf: impose a deprecation warning for plaintext listeners

8 years agolibratbox: gnutls: add gnutls 3.4 support (closes #123)
William Pitcock [Sun, 24 Jan 2016 19:51:57 +0000 (14:51 -0500)] 
libratbox: gnutls: add gnutls 3.4 support (closes #123)

8 years agoremove TODO, outdated like whoa
William Pitcock [Sat, 23 Jan 2016 19:55:06 +0000 (14:55 -0500)] 
remove TODO, outdated like whoa

8 years agoREADME: being the reference ircv3.1 implementation seems boring in 2016.
William Pitcock [Sat, 23 Jan 2016 19:52:57 +0000 (14:52 -0500)] 
README: being the reference ircv3.1 implementation seems boring in 2016.

8 years agoircd: hash: remove some detritus
William Pitcock [Sat, 23 Jan 2016 16:44:08 +0000 (11:44 -0500)] 
ircd: hash: remove some detritus

8 years agoircd: hostname lists are now stored in a radix tree
William Pitcock [Sat, 23 Jan 2016 16:40:17 +0000 (11:40 -0500)] 
ircd: hostname lists are now stored in a radix tree

8 years agoircd: import modified version of ratbox 3.1 whowas code
William Pitcock [Sat, 23 Jan 2016 16:16:34 +0000 (11:16 -0500)] 
ircd: import modified version of ratbox 3.1 whowas code

8 years agoircd: monitor: use irc_radixtree instead of home-grown hashtable
William Pitcock [Sat, 23 Jan 2016 15:35:40 +0000 (10:35 -0500)] 
ircd: monitor: use irc_radixtree instead of home-grown hashtable

8 years agoLIST: plug memory leak
William Pitcock [Fri, 22 Jan 2016 21:07:55 +0000 (16:07 -0500)] 
LIST: plug memory leak

8 years agoRevert "ircd: rework sendq limits a bit."
William Pitcock [Thu, 21 Jan 2016 03:27:33 +0000 (22:27 -0500)] 
Revert "ircd: rework sendq limits a bit."

This reverts commit 9a5958119ce4f57b00cbabe0629084c6823a2c6a.

8 years agoRevert "LIST: use new sendq system to reimplement SAFELIST differently."
William Pitcock [Thu, 21 Jan 2016 03:26:55 +0000 (22:26 -0500)] 
Revert "LIST: use new sendq system to reimplement SAFELIST differently."

This reverts commit e835592cfc53c325608ea30cf58c6d5fba9d47b3.

8 years agoircd: radixtree: allow irc_radixtree_elem_find() to find a fuzzy match instead of...
William Pitcock [Thu, 21 Jan 2016 03:10:35 +0000 (22:10 -0500)] 
ircd: radixtree: allow irc_radixtree_elem_find() to find a fuzzy match instead of an exact match

8 years agoircd: radixtree: add irc_radixtree_foreach_start_from() which uses irc_radixtree_elem...
William Pitcock [Thu, 21 Jan 2016 02:02:03 +0000 (21:02 -0500)] 
ircd: radixtree: add irc_radixtree_foreach_start_from() which uses irc_radixtree_elem_find() to find the starting point

8 years agoircd: radixtree: move some things into the right namespace
William Pitcock [Thu, 21 Jan 2016 01:52:17 +0000 (20:52 -0500)] 
ircd: radixtree: move some things into the right namespace

8 years agoextensions/helpops: Do not use oper:hidden.
Jilles Tjoelker [Sat, 16 Jan 2016 14:23:32 +0000 (15:23 +0100)] 
extensions/helpops: Do not use oper:hidden.

If +H is a separate umode and privilege, there is no reason to have
oper:hidden, which did not work properly anyway since it is not propagated
to other servers.

8 years agoWHOIS: Make hide_opers_in_whois not affect opers doing whois.
Jilles Tjoelker [Sat, 16 Jan 2016 14:22:22 +0000 (15:22 +0100)] 
WHOIS: Make hide_opers_in_whois not affect opers doing whois.

8 years agoextensions/override: disable false positive modehack notice
William Pitcock [Sat, 16 Jan 2016 08:28:49 +0000 (02:28 -0600)] 
extensions/override: disable false positive modehack notice

8 years agoextensions/override: improve KICK override messages
William Pitcock [Sat, 16 Jan 2016 08:04:01 +0000 (02:04 -0600)] 
extensions/override: improve KICK override messages

8 years agoircd: chmode: change CHFL_CHANOP checks where appropriate to allow levels above CHFL_...
William Pitcock [Sat, 16 Jan 2016 07:55:30 +0000 (01:55 -0600)] 
ircd: chmode: change CHFL_CHANOP checks where appropriate to allow levels above CHFL_CHANOP

this is the same behaviour as other checks in other places in the code.

8 years agoircd: call rehash_authd(), not restart_authd() when rehashing
William Pitcock [Sat, 16 Jan 2016 06:04:07 +0000 (00:04 -0600)] 
ircd: call rehash_authd(), not restart_authd() when rehashing

8 years agoircd: add general::hide_opers_in_whois to simulate ircd-seven operhide
William Pitcock [Fri, 15 Jan 2016 19:38:40 +0000 (13:38 -0600)] 
ircd: add general::hide_opers_in_whois to simulate ircd-seven operhide

8 years agoextensions/helpops: implement DEHELPER command
William Pitcock [Thu, 14 Jan 2016 21:16:29 +0000 (15:16 -0600)] 
extensions/helpops: implement DEHELPER command

8 years agoextensions/helpops: new module, implementing a helpops system.
William Pitcock [Thu, 14 Jan 2016 14:05:36 +0000 (08:05 -0600)] 
extensions/helpops: new module, implementing a helpops system.

if loaded, this module takes over /stats p, and displays people who are umode +H.
to get umode +H, one must have the "usermode:helpops" permission.

8 years agoSTATS: allow modules to override normal stats requests
William Pitcock [Thu, 14 Jan 2016 12:57:04 +0000 (06:57 -0600)] 
STATS: allow modules to override normal stats requests

8 years agoNEWS: first pass of many at 3.6 news
William Pitcock [Thu, 14 Jan 2016 12:45:18 +0000 (06:45 -0600)] 
NEWS: first pass of many at 3.6 news

8 years agoircd: get_channel_access(): do not derive channel pointer from membership
William Pitcock [Thu, 14 Jan 2016 04:16:44 +0000 (22:16 -0600)] 
ircd: get_channel_access(): do not derive channel pointer from membership

8 years agoTOPIC: strip channel topic colors here if configured, instead of in set_channel_topic()
William Pitcock [Wed, 13 Jan 2016 23:17:14 +0000 (17:17 -0600)] 
TOPIC: strip channel topic colors here if configured, instead of in set_channel_topic()

8 years agoRevert "LIST: since we now have channel::strip_topic_colors, don't unconditionally...
William Pitcock [Wed, 13 Jan 2016 23:11:16 +0000 (17:11 -0600)] 
Revert "LIST: since we now have channel::strip_topic_colors, don't unconditionally strip colors here anymore"

This reverts commit b28b21f6d502ea154a005fd380ba2f812609f4da.

8 years agoLIST: since we now have channel::strip_topic_colors, don't unconditionally strip...
William Pitcock [Wed, 13 Jan 2016 23:05:49 +0000 (17:05 -0600)] 
LIST: since we now have channel::strip_topic_colors, don't unconditionally strip colors here anymore

8 years agoircd: channel: implement an option to strip color codes from channel topics
William Pitcock [Wed, 13 Jan 2016 23:03:40 +0000 (17:03 -0600)] 
ircd: channel: implement an option to strip color codes from channel topics

8 years agoircd: get_channel_access(): allow override hooks to work without a membership pointer
William Pitcock [Wed, 13 Jan 2016 22:56:05 +0000 (16:56 -0600)] 
ircd: get_channel_access(): allow override hooks to work without a membership pointer

8 years agoextensions/chm_operpeace: new module which disallows kicking of operators on select...
William Pitcock [Wed, 13 Jan 2016 22:52:56 +0000 (16:52 -0600)] 
extensions/chm_operpeace: new module which disallows kicking of operators on select channels

8 years agoircd: chmode: clean up chm_hidden() a little bit
William Pitcock [Wed, 13 Jan 2016 22:37:25 +0000 (16:37 -0600)] 
ircd: chmode: clean up chm_hidden() a little bit

8 years agoircd: import hidden channel modes framework, from ircd-seven
William Pitcock [Wed, 13 Jan 2016 22:34:27 +0000 (16:34 -0600)] 
ircd: import hidden channel modes framework, from ircd-seven

This allows for modules to define channel modes which are only visible to opers.

8 years agoextensions/sno_globalnickchange: import from ircd-seven
William Pitcock [Tue, 12 Jan 2016 13:10:39 +0000 (07:10 -0600)] 
extensions/sno_globalnickchange: import from ircd-seven

8 years agoCONNECT: allow using 3-argument CONNECT with port == 0 locally (closes #119)
William Pitcock [Tue, 12 Jan 2016 11:54:04 +0000 (05:54 -0600)] 
CONNECT: allow using 3-argument CONNECT with port == 0 locally (closes #119)

8 years agoircd: implement support for remote module load/unload/etc commands
William Pitcock [Tue, 12 Jan 2016 06:37:54 +0000 (00:37 -0600)] 
ircd: implement support for remote module load/unload/etc commands

8 years agoAllow remote DIE and RESTART (from ircd-seven)
William Pitcock [Tue, 12 Jan 2016 06:04:54 +0000 (00:04 -0600)] 
Allow remote DIE and RESTART (from ircd-seven)

8 years agomodules: add missing m_grant.c
William Pitcock [Tue, 12 Jan 2016 05:52:04 +0000 (23:52 -0600)] 
modules: add missing m_grant.c

8 years agoircd: implement EXTENDCHANS, based on ircd-seven (with some improvements from chatircd)
William Pitcock [Tue, 12 Jan 2016 05:32:23 +0000 (23:32 -0600)] 
ircd: implement EXTENDCHANS, based on ircd-seven (with some improvements from chatircd)

8 years agoircd: implement GRANT subsystem based on ircd-seven
William Pitcock [Tue, 12 Jan 2016 05:02:03 +0000 (23:02 -0600)] 
ircd: implement GRANT subsystem based on ircd-seven

8 years agoircd: change_nick_user_host(): only update target_p->username if the buffer has actua...
William Pitcock [Tue, 12 Jan 2016 04:46:49 +0000 (22:46 -0600)] 
ircd: change_nick_user_host(): only update target_p->username if the buffer has actually changed (pointed out by Valgrind)

8 years agoextensions/override: display mode-change string in override messages
William Pitcock [Tue, 12 Jan 2016 04:40:32 +0000 (22:40 -0600)] 
extensions/override: display mode-change string in override messages

8 years agoparse: add missing semicolon
William Pitcock [Tue, 12 Jan 2016 04:31:19 +0000 (22:31 -0600)] 
parse: add missing semicolon

8 years agoparse: implement reconstruct_parv()
William Pitcock [Tue, 12 Jan 2016 04:28:55 +0000 (22:28 -0600)] 
parse: implement reconstruct_parv()

8 years agoextensions/m_remove: simplify the reason building code, pointed out by mniip
William Pitcock [Mon, 11 Jan 2016 04:27:28 +0000 (22:27 -0600)] 
extensions/m_remove: simplify the reason building code, pointed out by mniip

8 years agoMerge pull request #118 from dwfreed/remove-quote-part
William Pitcock [Mon, 11 Jan 2016 01:42:05 +0000 (19:42 -0600)] 
Merge pull request #118 from dwfreed/remove-quote-part

extensions/m_remove: quote user part messages

8 years agoextensions/m_remove: quote user part messages
Doug Freed [Sun, 10 Jan 2016 14:46:52 +0000 (06:46 -0800)] 
extensions/m_remove: quote user part messages

Quote user part messages like freenode/ircd-seven so that users can't
fake a channel op using /remove.  This only applies when this module is
loaded.

8 years agoircd: hash: channels are no longer a hashtable
William Pitcock [Sun, 10 Jan 2016 05:47:50 +0000 (23:47 -0600)] 
ircd: hash: channels are no longer a hashtable

8 years agoLIST: more cleanups
William Pitcock [Sun, 10 Jan 2016 05:34:52 +0000 (23:34 -0600)] 
LIST: more cleanups

8 years agoLIST: use new sendq system to reimplement SAFELIST differently.
William Pitcock [Sun, 10 Jan 2016 05:28:53 +0000 (23:28 -0600)] 
LIST: use new sendq system to reimplement SAFELIST differently.

This is more like ratbox, but with the same filtering etc. features, and also using the hard sendq limit.

8 years agoircd: rework sendq limits a bit.
William Pitcock [Sun, 10 Jan 2016 05:14:04 +0000 (23:14 -0600)] 
ircd: rework sendq limits a bit.

The sendq limit is now soft, now we halt processing if a sendq is exceeded, until it is sufficiently drained.
This allows us to implement SAFELIST and other floody commands without hacks.

8 years agoircd: make STATS B easier to understand
William Pitcock [Sat, 9 Jan 2016 12:23:13 +0000 (06:23 -0600)] 
ircd: make STATS B easier to understand

8 years agoircd: scache: use irc_radixtree
William Pitcock [Sat, 9 Jan 2016 11:55:46 +0000 (05:55 -0600)] 
ircd: scache: use irc_radixtree

8 years agoircd: hash: we do not use 2.8-style chained hashtables for client lookups anymore...
William Pitcock [Sat, 9 Jan 2016 11:43:51 +0000 (05:43 -0600)] 
ircd: hash: we do not use 2.8-style chained hashtables for client lookups anymore, so remove no longer relevant comments

8 years agoircd: hash: use an irc_radixtree for client names
William Pitcock [Sat, 9 Jan 2016 11:30:13 +0000 (05:30 -0600)] 
ircd: hash: use an irc_radixtree for client names

8 years agoircd: hash: use an irc_radixtree for IDs
William Pitcock [Sat, 9 Jan 2016 11:13:10 +0000 (05:13 -0600)] 
ircd: hash: use an irc_radixtree for IDs

8 years agoircd: hash: use an irc_radixtree for storing resv's
William Pitcock [Sat, 9 Jan 2016 10:59:02 +0000 (04:59 -0600)] 
ircd: hash: use an irc_radixtree for storing resv's

8 years agoircd: hash: client connection id hashtables are now dictionaries keyed by uint32
William Pitcock [Sat, 9 Jan 2016 10:25:41 +0000 (04:25 -0600)] 
ircd: hash: client connection id hashtables are now dictionaries keyed by uint32

8 years agoircd: irc_dictionary: allow storage of non-string types as keys
William Pitcock [Sat, 9 Jan 2016 10:09:40 +0000 (04:09 -0600)] 
ircd: irc_dictionary: allow storage of non-string types as keys

8 years agoircd: irc_dictionary: fix up stats routines
William Pitcock [Sat, 9 Jan 2016 07:41:20 +0000 (01:41 -0600)] 
ircd: irc_dictionary: fix up stats routines

8 years agoircd: irc_dictionary: also show dictionary stats
William Pitcock [Sat, 9 Jan 2016 07:34:37 +0000 (01:34 -0600)] 
ircd: irc_dictionary: also show dictionary stats

8 years agoircd: ensure irc_dictionary users have names, for stats tracking.
William Pitcock [Sat, 9 Jan 2016 07:22:11 +0000 (01:22 -0600)] 
ircd: ensure irc_dictionary users have names, for stats tracking.