]> jfr.im git - solanum.git/log
solanum.git
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.

8 years agoircd: operhash: rewrite to use irc_radixtree
William Pitcock [Sat, 9 Jan 2016 07:08:15 +0000 (01:08 -0600)] 
ircd: operhash: rewrite to use irc_radixtree

8 years agoircd: irc_radixtree: add irc_radixtree_irccasecanon and irc_radixtree_strcasecanon...
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

8 years agoircd: irc_radixtree: add some convenience functions for tracking radix tree stats
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

8 years agoircd: add irc_radixtree, which is like irc_dictionary but uses a radix tree as the...
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

8 years agoircd: operhash: convert to a proper stringpool implementation
William Pitcock [Fri, 8 Jan 2016 17:03:24 +0000 (11:03 -0600)] 
ircd: operhash: convert to a proper stringpool implementation

8 years agolibratbox: disable the block allocator, but keep it as a stub for now
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

8 years agoconfigure: no more small-net
William Pitcock [Fri, 8 Jan 2016 13:09:47 +0000 (07:09 -0600)] 
configure: no more small-net

8 years agobuildsystem: further cleanup
William Pitcock [Fri, 8 Jan 2016 13:01:00 +0000 (07:01 -0600)] 
buildsystem: further cleanup

8 years agobuildsystem: more LTDLINCL fixes
William Pitcock [Fri, 8 Jan 2016 12:57:45 +0000 (06:57 -0600)] 
buildsystem: more LTDLINCL fixes

8 years agoconfigure: use correct path for libltdl
William Pitcock [Fri, 8 Jan 2016 12:50:01 +0000 (06:50 -0600)] 
configure: use correct path for libltdl

8 years agoircd: remove internal resolver, no longer used
William Pitcock [Fri, 8 Jan 2016 12:39:51 +0000 (06:39 -0600)] 
ircd: remove internal resolver, no longer used

8 years agoircd: move DNS resolution over to authd
William Pitcock [Fri, 8 Jan 2016 12:31:08 +0000 (06:31 -0600)] 
ircd: move DNS resolution over to authd

8 years agoauthd: do not use \n with rb_helper_write(), unnecessary
William Pitcock [Fri, 8 Jan 2016 11:44:41 +0000 (05:44 -0600)] 
authd: do not use \n with rb_helper_write(), unnecessary

8 years agoircd/dns: implement final version of authd-dns line protocol
William Pitcock [Fri, 8 Jan 2016 11:44:05 +0000 (05:44 -0600)] 
ircd/dns: implement final version of authd-dns line protocol

8 years agoauthd: fix some DNS module logic
William Pitcock [Fri, 8 Jan 2016 11:32:27 +0000 (05:32 -0600)] 
authd: fix some DNS module logic

8 years agobuildsystem: update Makefile.in's
William Pitcock [Fri, 8 Jan 2016 11:20:32 +0000 (05:20 -0600)] 
buildsystem: update Makefile.in's

8 years agoircd: start up authd
William Pitcock [Fri, 8 Jan 2016 11:20:09 +0000 (05:20 -0600)] 
ircd: start up authd

8 years agoFix LTDL conditional, remove some unnecessary and/or ugly configure tests
Aaron Jones [Thu, 7 Jan 2016 17:15:55 +0000 (17:15 +0000)] 
Fix LTDL conditional, remove some unnecessary and/or ugly configure tests

8 years agoFix some autotools discrepancies, disable SQLite threading code
Aaron Jones [Thu, 7 Jan 2016 16:58:28 +0000 (16:58 +0000)] 
Fix some autotools discrepancies, disable SQLite threading code

8 years agoircd: add main.c stub executable
William Pitcock [Thu, 7 Jan 2016 05:57:35 +0000 (23:57 -0600)] 
ircd: add main.c stub executable

8 years agoircd: add new lex/yacc files
William Pitcock [Thu, 7 Jan 2016 04:50:54 +0000 (22:50 -0600)] 
ircd: add new lex/yacc files

8 years agoircd/dns: same
William Pitcock [Thu, 7 Jan 2016 03:35:34 +0000 (21:35 -0600)] 
ircd/dns: same

8 years agoauthd: fix ratbox3.1-ism
William Pitcock [Thu, 7 Jan 2016 03:25:07 +0000 (21:25 -0600)] 
authd: fix ratbox3.1-ism

8 years agolets try this
William Pitcock [Thu, 7 Jan 2016 03:07:14 +0000 (21:07 -0600)] 
lets try this

8 years agoadd missing libltdl support files
William Pitcock [Thu, 7 Jan 2016 02:49:31 +0000 (20:49 -0600)] 
add missing libltdl support files

8 years agoircd/authd: minor cleanups
William Pitcock [Wed, 6 Jan 2016 10:44:29 +0000 (04:44 -0600)] 
ircd/authd: minor cleanups

8 years agoircd/authd: split out authd lifecycle functions from actual DNS functions
William Pitcock [Wed, 6 Jan 2016 10:41:57 +0000 (04:41 -0600)] 
ircd/authd: split out authd lifecycle functions from actual DNS functions

8 years agodns: new WIP client which queries authd for DNS records, not yet in use
William Pitcock [Wed, 6 Jan 2016 10:28:34 +0000 (04:28 -0600)] 
dns: new WIP client which queries authd for DNS records, not yet in use

8 years agobuildsystem: build serno.h before anything else
William Pitcock [Wed, 6 Jan 2016 10:27:32 +0000 (04:27 -0600)] 
buildsystem: build serno.h before anything else

8 years agobuildsystem: add authd to SUBDIRS
William Pitcock [Wed, 6 Jan 2016 10:11:21 +0000 (04:11 -0600)] 
buildsystem: add authd to SUBDIRS

8 years agoauthd: implement DNS module
William Pitcock [Wed, 6 Jan 2016 09:52:37 +0000 (03:52 -0600)] 
authd: implement DNS module

8 years agoauthd: clean up command handlers code a little
William Pitcock [Wed, 6 Jan 2016 09:11:20 +0000 (03:11 -0600)] 
authd: clean up command handlers code a little

8 years agoauthd: import stripped down charybdis resolver
William Pitcock [Wed, 6 Jan 2016 08:47:22 +0000 (02:47 -0600)] 
authd: import stripped down charybdis resolver

8 years agoauthd: add skeleton
William Pitcock [Wed, 6 Jan 2016 08:31:11 +0000 (02:31 -0600)] 
authd: add skeleton

8 years agosslproc: process title of ssld seemed gramatically weird (nitpicking)
William Pitcock [Wed, 6 Jan 2016 08:15:23 +0000 (02:15 -0600)] 
sslproc: process title of ssld seemed gramatically weird (nitpicking)

8 years agoextensions: import sno_channelcreate from ircd-seven
William Pitcock [Wed, 6 Jan 2016 08:03:06 +0000 (02:03 -0600)] 
extensions: import sno_channelcreate from ircd-seven

8 years agoconfig.h: fix SPATH
William Pitcock [Wed, 6 Jan 2016 08:00:12 +0000 (02:00 -0600)] 
config.h: fix SPATH

8 years agomodules: revert lt_dlopenext() change
William Pitcock [Wed, 6 Jan 2016 07:57:24 +0000 (01:57 -0600)] 
modules: revert lt_dlopenext() change

8 years agoircd: fix linking on OS X
William Pitcock [Wed, 6 Jan 2016 07:40:48 +0000 (01:40 -0600)] 
ircd: fix linking on OS X

8 years agodoc: fix make install
William Pitcock [Wed, 6 Jan 2016 07:34:41 +0000 (01:34 -0600)] 
doc: fix make install

8 years agomodules: use lt_dlopenext() to make the config look nicer
William Pitcock [Wed, 6 Jan 2016 07:33:33 +0000 (01:33 -0600)] 
modules: use lt_dlopenext() to make the config look nicer

8 years agogeneral: remove last vestiges of static modules support (this hasn't ever actually...
William Pitcock [Wed, 6 Jan 2016 07:28:20 +0000 (01:28 -0600)] 
general: remove last vestiges of static modules support (this hasn't ever actually worked...)

8 years agoupdate buildsystem artifacts
William Pitcock [Wed, 6 Jan 2016 07:16:49 +0000 (01:16 -0600)] 
update buildsystem artifacts

8 years agorename src to ircd, libcore to libircd
William Pitcock [Wed, 6 Jan 2016 07:16:08 +0000 (01:16 -0600)] 
rename src to ircd, libcore to libircd

8 years agoupdate NEWS
William Pitcock [Wed, 6 Jan 2016 03:43:14 +0000 (21:43 -0600)] 
update NEWS

8 years agodocumentation updates for libltdl
William Pitcock [Wed, 6 Jan 2016 03:41:03 +0000 (21:41 -0600)] 
documentation updates for libltdl

8 years agomodules: use libltdl to load the modules
William Pitcock [Wed, 6 Jan 2016 03:39:09 +0000 (21:39 -0600)] 
modules: use libltdl to load the modules

8 years agobuildsystem: build ircd itself as a library to allow removal of -undefined suppress...
William Pitcock [Wed, 6 Jan 2016 03:31:21 +0000 (21:31 -0600)] 
buildsystem: build ircd itself as a library to allow removal of -undefined suppress on OS X

8 years agobuildsystem: convert to automake + libtool
William Pitcock [Wed, 6 Jan 2016 03:20:25 +0000 (21:20 -0600)] 
buildsystem: convert to automake + libtool

8 years agoimport latest libltdl
William Pitcock [Wed, 6 Jan 2016 02:23:56 +0000 (20:23 -0600)] 
import latest libltdl

8 years agobegin 3.6 development
William Pitcock [Wed, 6 Jan 2016 02:15:10 +0000 (20:15 -0600)] 
begin 3.6 development

8 years agocharybdis 3.5.0.
William Pitcock [Wed, 6 Jan 2016 01:49:18 +0000 (19:49 -0600)] 
charybdis 3.5.0.

8 years agolast pass at NEWS
William Pitcock [Wed, 6 Jan 2016 01:49:13 +0000 (19:49 -0600)] 
last pass at NEWS

8 years agoextb_oper: allow matching $o:<privset> as well as $o:<permission> as in 3.4
William Pitcock [Wed, 6 Jan 2016 01:12:38 +0000 (19:12 -0600)] 
extb_oper: allow matching $o:<privset> as well as $o:<permission> as in 3.4

8 years agochmode: sscanf(3) returns the number of items matched, so might as well use it
William Pitcock [Wed, 6 Jan 2016 01:06:05 +0000 (19:06 -0600)] 
chmode: sscanf(3) returns the number of items matched, so might as well use it

8 years agochmode: properly validate chm_throttle mode parameters
William Pitcock [Wed, 6 Jan 2016 01:02:44 +0000 (19:02 -0600)] 
chmode: properly validate chm_throttle mode parameters

8 years agowhois: privset disclosure: we do not need to check if source user is the same as...
William Pitcock [Wed, 6 Jan 2016 00:55:23 +0000 (18:55 -0600)] 
whois: privset disclosure: we do not need to check if source user is the same as target, because they will always be opered

8 years agoextensions: add the ability to hide uncommon channels in WHOIS, like in ircd-seven...
William Pitcock [Wed, 6 Jan 2016 00:44:17 +0000 (18:44 -0600)] 
extensions: add the ability to hide uncommon channels in WHOIS, like in ircd-seven (closes #6)

8 years agowhois: add a hook allowing for ShowChannel() behaviour to be overridden for channel...
William Pitcock [Wed, 6 Jan 2016 00:37:42 +0000 (18:37 -0600)] 
whois: add a hook allowing for ShowChannel() behaviour to be overridden for channel visibility

8 years agoFix erroneous comment
Aaron Jones [Fri, 1 Jan 2016 09:31:55 +0000 (09:31 +0000)] 
Fix erroneous comment

8 years agomessages.h: Remove 900-902 IRCv3.1 SASL trailing period
Juuso Lapinlampi [Wed, 30 Dec 2015 10:17:58 +0000 (10:17 +0000)] 
messages.h: Remove 900-902 IRCv3.1 SASL trailing period

The IRCv3.1 SASL specification [1] has been updated today, and brings a
level of consistency with the trailing periods (or the lack of).

This implements the change made in
ircv3/ircv3-specifications@6d2ca77ffd0a001aa5a45bc13a4fc44d04699cf1.

[1]: http://ircv3.net/specs/extensions/sasl-3.1.html

8 years agoFix erroneous use of wrong string concatenation function
Aaron Jones [Wed, 30 Dec 2015 08:34:27 +0000 (08:34 +0000)] 
Fix erroneous use of wrong string concatenation function

Avoids warning:

  m_map.c:203:3: warning: implicit declaration of function ‘strlcat’
  [-Wimplicit-function-declaration]

8 years agoMerge pull request #114 from grawity/tlstls
Aaron Jones [Wed, 30 Dec 2015 08:28:48 +0000 (08:28 +0000)] 
Merge pull request #114 from grawity/tlstls

m_starttls: reject "STARTTLS" use over an existing TLS connection

8 years agom_starttls: reject "STARTTLS" use over an existing TLS connection
Mantas Mikulėnas [Wed, 30 Dec 2015 07:28:53 +0000 (09:28 +0200)] 
m_starttls: reject "STARTTLS" use over an existing TLS connection

8 years agolist: Remove a now obsolete comment.
Jilles Tjoelker [Tue, 29 Dec 2015 12:55:16 +0000 (13:55 +0100)] 
list: Remove a now obsolete comment.

8 years agomarkdownify NEWS.md
William Pitcock [Tue, 29 Dec 2015 03:34:57 +0000 (21:34 -0600)] 
markdownify NEWS.md

8 years agomessages.h: Standardize 256 (RPL_ADMINME) with RFC 1459
Juuso Lapinlampi [Tue, 29 Dec 2015 03:03:03 +0000 (03:03 +0000)] 
messages.h: Standardize 256 (RPL_ADMINME) with RFC 1459

RPL_ADMINME is a response the client receives using the ADMIN command.
Charybdis used to implement a non-standard version of this.

The RFC 1459 standard [1] says in section "6.2 Command responses.":

            256     RPL_ADMINME
                            "<server> :Administrative info"

This commit corrects the behavior to follow the standard.

[1]: https://tools.ietf.org/html/rfc1459

8 years agoUpdate Git repo references to new organization
JD Horelick [Tue, 29 Dec 2015 00:01:07 +0000 (16:01 -0800)] 
Update Git repo references to new organization

8 years agowhois: bring permissions check in line with the same one in m_privs
William Pitcock [Mon, 28 Dec 2015 20:55:27 +0000 (14:55 -0600)] 
whois: bring permissions check in line with the same one in m_privs

8 years agoMerge pull request #112 from ProgVal/trailing-space
William Pitcock [Mon, 28 Dec 2015 17:14:37 +0000 (11:14 -0600)] 
Merge pull request #112 from ProgVal/trailing-space

Remove trailing space in CAP ACK.

8 years agoRemove trailing space in CAP ACK.
Valentin Lorentz [Mon, 28 Dec 2015 09:57:17 +0000 (10:57 +0100)] 
Remove trailing space in CAP ACK.

Fixes https://github.com/atheme/charybdis/issues/110

8 years agowhois: cosmetic improvement to opered-as numeric
William Pitcock [Mon, 28 Dec 2015 07:38:13 +0000 (01:38 -0600)] 
whois: cosmetic improvement to opered-as numeric

8 years agomessages.h: fix numeric 320
William Pitcock [Mon, 28 Dec 2015 07:36:40 +0000 (01:36 -0600)] 
messages.h: fix numeric 320

8 years agowhois: list active operator block and privset when appropriate
William Pitcock [Mon, 28 Dec 2015 07:33:09 +0000 (01:33 -0600)] 
whois: list active operator block and privset when appropriate

8 years agoMODE: allow 'q' banlist queries to bypass flood limits too
William Pitcock [Mon, 28 Dec 2015 06:48:46 +0000 (00:48 -0600)] 
MODE: allow 'q' banlist queries to bypass flood limits too

8 years agoversion: update general copyright to 2016 since we will probably release later this...
William Pitcock [Mon, 28 Dec 2015 06:39:38 +0000 (00:39 -0600)] 
version: update general copyright to 2016 since we will probably release later this week

8 years agoCREDITS: cosmetic updates
William Pitcock [Mon, 28 Dec 2015 06:31:03 +0000 (00:31 -0600)] 
CREDITS: cosmetic updates

8 years agoNEWS: last pass at updates for 3.5.0
William Pitcock [Mon, 28 Dec 2015 06:17:15 +0000 (00:17 -0600)] 
NEWS: last pass at updates for 3.5.0

8 years agolibratbox: don't build arc4random support if mbedtls is present. libratbox r29245
William Pitcock [Mon, 28 Dec 2015 03:21:33 +0000 (21:21 -0600)] 
libratbox: don't build arc4random support if mbedtls is present.  libratbox r29245

8 years agolibratbox: fix scoping issue with alloca()'d buffer which could result in undefined...
William Pitcock [Mon, 28 Dec 2015 03:19:17 +0000 (21:19 -0600)] 
libratbox: fix scoping issue with alloca()'d buffer which could result in undefined behaviour.

this is ported from upstream libratbox r29267

8 years agosno_whois: fix resource leak, pointed out by mniip
William Pitcock [Sun, 27 Dec 2015 23:08:57 +0000 (17:08 -0600)] 
sno_whois: fix resource leak, pointed out by mniip

8 years agosupported: move ISUPPORT tokens provided by modules to their specific modules:
William Pitcock [Sun, 27 Dec 2015 04:41:09 +0000 (22:41 -0600)] 
supported: move ISUPPORT tokens provided by modules to their specific modules:

- m_cmessage: CPRIVMSG/CNOTICE
- m_etrace: ETRACE
- m_knock: KNOCK
- m_services: FNC
- m_who: WHOX

8 years agoLIST: allow channel display threshold to be configured (closes #109)
William Pitcock [Sun, 27 Dec 2015 04:23:28 +0000 (22:23 -0600)] 
LIST: allow channel display threshold to be configured (closes #109)

8 years agostarttls: Update for client fd hash removal.
Jilles Tjoelker [Thu, 24 Dec 2015 22:00:09 +0000 (23:00 +0100)] 
starttls: Update for client fd hash removal.