]>
jfr.im git - solanum.git/log
William Pitcock [Wed, 10 Feb 2016 06:08:58 +0000 (00:08 -0600)]
msgbuf: implement msgbuf_parse()
William Pitcock [Wed, 10 Feb 2016 05:19:13 +0000 (23:19 -0600)]
msgbuf: add lowlevel interface for building MsgBuf objects
William Pitcock [Wed, 10 Feb 2016 05:08:06 +0000 (23:08 -0600)]
include: add msgbuf.h for future msgbuf api
William Pitcock [Wed, 10 Feb 2016 05:07:26 +0000 (23:07 -0600)]
Remove unused .depend files.
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
Valerii Iatsko [Wed, 10 Feb 2016 01:25:32 +0000 (02:25 +0100)]
Remove libratbox's snprintf.c, update related ircd code
Valerii Iatsko [Tue, 9 Feb 2016 23:00:30 +0000 (00:00 +0100)]
Add .travis.yml
William Pitcock [Tue, 9 Feb 2016 16:48:28 +0000 (10:48 -0600)]
ircd: various memory leak fixes from pull requests
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.
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
Valerii Iatsko [Sat, 6 Feb 2016 22:28:15 +0000 (23:28 +0100)]
Update .gitignore
Valerii Iatsko [Sat, 6 Feb 2016 22:25:58 +0000 (23:25 +0100)]
ircd: configure: require C99 compiler
Valerii Iatsko [Sat, 6 Feb 2016 22:17:48 +0000 (23:17 +0100)]
ircd: configure.ac: remove trailing whitespaces
Valerii Iatsko [Sat, 6 Feb 2016 22:10:50 +0000 (23:10 +0100)]
Run autoconf
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.
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
...
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
Valerii Iatsko [Thu, 4 Feb 2016 06:51:18 +0000 (07:51 +0100)]
Update .gitignore
Valerii Iatsko [Thu, 4 Feb 2016 05:36:13 +0000 (06:36 +0100)]
CREDITS: updated my nickname and email
Valerii Iatsko [Wed, 3 Feb 2016 23:25:00 +0000 (00:25 +0100)]
Fixed compilation w/ gnutls v3
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.
William Pitcock [Fri, 29 Jan 2016 16:35:05 +0000 (11:35 -0500)]
ircd: newconf: impose a deprecation warning for plaintext listeners
William Pitcock [Sun, 24 Jan 2016 19:51:57 +0000 (14:51 -0500)]
libratbox: gnutls: add gnutls 3.4 support (closes #123)
William Pitcock [Sat, 23 Jan 2016 19:55:06 +0000 (14:55 -0500)]
remove TODO, outdated like whoa
William Pitcock [Sat, 23 Jan 2016 19:52:57 +0000 (14:52 -0500)]
README: being the reference ircv3.1 implementation seems boring in 2016.
William Pitcock [Sat, 23 Jan 2016 16:44:08 +0000 (11:44 -0500)]
ircd: hash: remove some detritus
William Pitcock [Sat, 23 Jan 2016 16:40:17 +0000 (11:40 -0500)]
ircd: hostname lists are now stored in a radix tree
William Pitcock [Sat, 23 Jan 2016 16:16:34 +0000 (11:16 -0500)]
ircd: import modified version of ratbox 3.1 whowas code
William Pitcock [Sat, 23 Jan 2016 15:35:40 +0000 (10:35 -0500)]
ircd: monitor: use irc_radixtree instead of home-grown hashtable
William Pitcock [Fri, 22 Jan 2016 21:07:55 +0000 (16:07 -0500)]
LIST: plug memory leak
William Pitcock [Thu, 21 Jan 2016 03:27:33 +0000 (22:27 -0500)]
Revert "ircd: rework sendq limits a bit."
This reverts commit
9a5958119ce4f57b00cbabe0629084c6823a2c6a .
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 .
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
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
William Pitcock [Thu, 21 Jan 2016 01:52:17 +0000 (20:52 -0500)]
ircd: radixtree: move some things into the right namespace
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.
Jilles Tjoelker [Sat, 16 Jan 2016 14:22:22 +0000 (15:22 +0100)]
WHOIS: Make hide_opers_in_whois not affect opers doing whois.
William Pitcock [Sat, 16 Jan 2016 08:28:49 +0000 (02:28 -0600)]
extensions/override: disable false positive modehack notice
William Pitcock [Sat, 16 Jan 2016 08:04:01 +0000 (02:04 -0600)]
extensions/override: improve KICK override messages
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.
William Pitcock [Sat, 16 Jan 2016 06:04:07 +0000 (00:04 -0600)]
ircd: call rehash_authd(), not restart_authd() when rehashing
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
William Pitcock [Thu, 14 Jan 2016 21:16:29 +0000 (15:16 -0600)]
extensions/helpops: implement DEHELPER command
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.
William Pitcock [Thu, 14 Jan 2016 12:57:04 +0000 (06:57 -0600)]
STATS: allow modules to override normal stats requests
William Pitcock [Thu, 14 Jan 2016 12:45:18 +0000 (06:45 -0600)]
NEWS: first pass of many at 3.6 news
William Pitcock [Thu, 14 Jan 2016 04:16:44 +0000 (22:16 -0600)]
ircd: get_channel_access(): do not derive channel pointer from membership
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()
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 .
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
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
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
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
William Pitcock [Wed, 13 Jan 2016 22:37:25 +0000 (16:37 -0600)]
ircd: chmode: clean up chm_hidden() a little bit
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.
William Pitcock [Tue, 12 Jan 2016 13:10:39 +0000 (07:10 -0600)]
extensions/sno_globalnickchange: import from ircd-seven
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)
William Pitcock [Tue, 12 Jan 2016 06:37:54 +0000 (00:37 -0600)]
ircd: implement support for remote module load/unload/etc commands
William Pitcock [Tue, 12 Jan 2016 06:04:54 +0000 (00:04 -0600)]
Allow remote DIE and RESTART (from ircd-seven)
William Pitcock [Tue, 12 Jan 2016 05:52:04 +0000 (23:52 -0600)]
modules: add missing m_grant.c
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)
William Pitcock [Tue, 12 Jan 2016 05:02:03 +0000 (23:02 -0600)]
ircd: implement GRANT subsystem based on ircd-seven
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)
William Pitcock [Tue, 12 Jan 2016 04:40:32 +0000 (22:40 -0600)]
extensions/override: display mode-change string in override messages
William Pitcock [Tue, 12 Jan 2016 04:31:19 +0000 (22:31 -0600)]
parse: add missing semicolon
William Pitcock [Tue, 12 Jan 2016 04:28:55 +0000 (22:28 -0600)]
parse: implement reconstruct_parv()
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
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
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.
William Pitcock [Sun, 10 Jan 2016 05:47:50 +0000 (23:47 -0600)]
ircd: hash: channels are no longer a hashtable
William Pitcock [Sun, 10 Jan 2016 05:34:52 +0000 (23:34 -0600)]
LIST: more cleanups
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.
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.
William Pitcock [Sat, 9 Jan 2016 12:23:13 +0000 (06:23 -0600)]
ircd: make STATS B easier to understand
William Pitcock [Sat, 9 Jan 2016 11:55:46 +0000 (05:55 -0600)]
ircd: scache: use irc_radixtree
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
William Pitcock [Sat, 9 Jan 2016 11:30:13 +0000 (05:30 -0600)]
ircd: hash: use an irc_radixtree for client names
William Pitcock [Sat, 9 Jan 2016 11:13:10 +0000 (05:13 -0600)]
ircd: hash: use an irc_radixtree for IDs
William Pitcock [Sat, 9 Jan 2016 10:59:02 +0000 (04:59 -0600)]
ircd: hash: use an irc_radixtree for storing resv's
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
William Pitcock [Sat, 9 Jan 2016 10:09:40 +0000 (04:09 -0600)]
ircd: irc_dictionary: allow storage of non-string types as keys
William Pitcock [Sat, 9 Jan 2016 07:41:20 +0000 (01:41 -0600)]
ircd: irc_dictionary: fix up stats routines
William Pitcock [Sat, 9 Jan 2016 07:34:37 +0000 (01:34 -0600)]
ircd: irc_dictionary: also show dictionary stats
William Pitcock [Sat, 9 Jan 2016 07:22:11 +0000 (01:22 -0600)]
ircd: ensure irc_dictionary users have names, for stats tracking.
William Pitcock [Sat, 9 Jan 2016 07:08:15 +0000 (01:08 -0600)]
ircd: operhash: rewrite to use irc_radixtree
William Pitcock [Sat, 9 Jan 2016 07:00:55 +0000 (01:00 -0600)]
ircd: irc_radixtree: add irc_radixtree_irccasecanon and irc_radixtree_strcasecanon helpers
William Pitcock [Sat, 9 Jan 2016 06:54:57 +0000 (00:54 -0600)]
ircd: irc_radixtree: add some convenience functions for tracking radix tree stats
William Pitcock [Sat, 9 Jan 2016 06:44:39 +0000 (00:44 -0600)]
ircd: add irc_radixtree, which is like irc_dictionary but uses a radix tree as the backing store
William Pitcock [Fri, 8 Jan 2016 17:03:24 +0000 (11:03 -0600)]
ircd: operhash: convert to a proper stringpool implementation
William Pitcock [Fri, 8 Jan 2016 13:16:23 +0000 (07:16 -0600)]
libratbox: disable the block allocator, but keep it as a stub for now
William Pitcock [Fri, 8 Jan 2016 13:09:47 +0000 (07:09 -0600)]
configure: no more small-net
William Pitcock [Fri, 8 Jan 2016 13:01:00 +0000 (07:01 -0600)]
buildsystem: further cleanup
William Pitcock [Fri, 8 Jan 2016 12:57:45 +0000 (06:57 -0600)]
buildsystem: more LTDLINCL fixes
William Pitcock [Fri, 8 Jan 2016 12:50:01 +0000 (06:50 -0600)]
configure: use correct path for libltdl
William Pitcock [Fri, 8 Jan 2016 12:39:51 +0000 (06:39 -0600)]
ircd: remove internal resolver, no longer used
William Pitcock [Fri, 8 Jan 2016 12:31:08 +0000 (06:31 -0600)]
ircd: move DNS resolution over to authd
William Pitcock [Fri, 8 Jan 2016 11:44:41 +0000 (05:44 -0600)]
authd: do not use \n with rb_helper_write(), unnecessary
William Pitcock [Fri, 8 Jan 2016 11:44:05 +0000 (05:44 -0600)]
ircd/dns: implement final version of authd-dns line protocol
William Pitcock [Fri, 8 Jan 2016 11:32:27 +0000 (05:32 -0600)]
authd: fix some DNS module logic
William Pitcock [Fri, 8 Jan 2016 11:20:32 +0000 (05:20 -0600)]
buildsystem: update Makefile.in's