]>
jfr.im git - solanum.git/log
Aaron Jones [Sun, 8 Sep 2019 13:59:52 +0000 (13:59 +0000)]
Support ECDH X25519 for TLSv1.3 (OpenSSL 1.1.1)
Aaron Jones [Sat, 7 Sep 2019 14:57:30 +0000 (14:57 +0000)]
Merge pull request #277 from edk0/helpops
Fix various bugs in extensions/helpops
Aaron Jones [Sat, 7 Sep 2019 14:26:01 +0000 (14:26 +0000)]
Merge pull request #278 from edk0/override
Fix various bugs in extensions/override
Aaron Jones [Sat, 7 Sep 2019 14:10:22 +0000 (14:10 +0000)]
Merge pull request #275 from edk0/override-immunity
override: move kick immunity to its own module
Aaron Jones [Sat, 7 Sep 2019 14:08:19 +0000 (14:08 +0000)]
Merge pull request #276 from edk0/deferred-cap-notify
Deferred capability notifications from modules
Ed Kellett [Sat, 27 Jul 2019 12:50:53 +0000 (13:50 +0100)]
override: always check oper:override
It's possible to have the oper:override privilege removed by /grant.
/grant triggers an empty umode change event to allow privileged umodes
to be set or removed, so checking for oper:override on all umode changes
(and not just ones where +o or +p is changed) allows us to remove +p
when necessary.
Ed Kellett [Sat, 27 Jul 2019 00:59:28 +0000 (01:59 +0100)]
override: don't leak the old expiry timer list
Ed Kellett [Sat, 27 Jul 2019 00:48:36 +0000 (01:48 +0100)]
override: start timers for +p clients on modinit
Reloading override previously would have the effect of cancelling +p
expiry. With this change, reloading the module just refreshes the
timers, so expiry is delayed a bit rather than forgotten entirely.
Ed Kellett [Sat, 3 Aug 2019 05:41:09 +0000 (06:41 +0100)]
helpops: remove +H if usermode:helpops is lost
Ed Kellett [Sat, 3 Aug 2019 04:17:35 +0000 (05:17 +0100)]
helpops: handle the helper list properly on reload
Free the whole list on unload rather than leaking it, and initialise it
to the list of people with +H on load.
Ed Kellett [Sat, 3 Aug 2019 04:13:49 +0000 (05:13 +0100)]
helpops: fix umode handling
construct_umodebuf() can change the char->flag mapping (to restore an
orphaned mode). I don't love the use of a fake constant, so I think the
cleanest solution here is just to index user_modes with a macro for the
umode letter.
Ed Kellett [Mon, 8 Jul 2019 02:53:29 +0000 (03:53 +0100)]
Deferred capability notifications from modules
Reloading modules sends CAP DEL followed by an immediate CAP NEW:
:staberinde.local CAP * DEL :account-tag
:staberinde.local CAP * NEW :account-tag
This isn't very nice. /modrestart is particularly bad. In order to avoid
doing this, we remember the capability set at the beginning of module
operations, compare that with the set afterwards, and report only the
differences with CAP {DEL,NEW}.
Aaron Jones [Sat, 7 Sep 2019 13:56:17 +0000 (13:56 +0000)]
Merge pull request #274 from edk0/event-deletion
librb/event: delete indirectly via a dead flag
Ed Kellett [Fri, 2 Aug 2019 18:45:25 +0000 (19:45 +0100)]
override: move kick immunity to its own module
Ed Kellett [Sat, 3 Aug 2019 05:41:58 +0000 (06:41 +0100)]
librb/event: delete indirectly via a dead flag
This avoids an issue where deleting an event inside the handler of a
different event puts the event iteration in an invalid state.
Simon Arlott [Sat, 31 Aug 2019 20:14:27 +0000 (21:14 +0100)]
Version 4.1.3-dev
Simon Arlott [Sat, 31 Aug 2019 20:12:44 +0000 (21:12 +0100)]
Version 4.1.2
Simon Arlott [Sat, 31 Aug 2019 15:41:18 +0000 (16:41 +0100)]
travis: don't run the tests on macosx
overriding rb_gettimeofday and "me" doesn't work
Simon Arlott [Sat, 31 Aug 2019 15:36:41 +0000 (16:36 +0100)]
ircd: remove debug
Simon Arlott [Sat, 31 Aug 2019 15:35:19 +0000 (16:35 +0100)]
cap_server_time: Fix strftime return value check
Simon Arlott [Sat, 31 Aug 2019 15:32:55 +0000 (16:32 +0100)]
tests: Fix use-after-free bug
Simon Arlott [Sat, 31 Aug 2019 15:10:50 +0000 (16:10 +0100)]
librb: Fix type of dst for rb_inet_pton_sock()
Simon Arlott [Sat, 31 Aug 2019 14:38:48 +0000 (15:38 +0100)]
tests: Remove modules that don't exist
Simon Arlott [Sat, 31 Aug 2019 14:31:45 +0000 (15:31 +0100)]
check_one_kline: Fix compiler warning
Simon Arlott [Sat, 31 Aug 2019 14:05:29 +0000 (15:05 +0100)]
Merge branch 'edk0-check-one-kline'
Simon Arlott [Sat, 31 Aug 2019 14:04:33 +0000 (15:04 +0100)]
Document the process shared by check_one_kline() and find_kline()
Simon Arlott [Sat, 31 Aug 2019 14:05:11 +0000 (15:05 +0100)]
Merge branch 'check-one-kline' of https://github.com/edk0/charybdis into edk0-check-one-kline
Simon Arlott [Sat, 31 Aug 2019 13:43:34 +0000 (14:43 +0100)]
Revert "ircd: Fix umode orphan scheme."
This reverts commit
c1fc044c3594798cc5389486c361a7d9a43bc4f8 .
Aaron Jones [Sun, 16 Jun 2019 08:02:51 +0000 (08:02 +0000)]
Correct OPM port configuration variables
[ci skip]
Simon Arlott [Sun, 7 Jul 2019 18:35:13 +0000 (19:35 +0100)]
travis: run the tests
Ed Kellett [Sat, 27 Apr 2019 13:53:04 +0000 (14:53 +0100)]
Remove unused kline_delay config option
Ed Kellett [Sat, 27 Apr 2019 13:51:27 +0000 (14:51 +0100)]
Remove unused kline delay machinery
Ed Kellett [Sat, 27 Apr 2019 13:51:04 +0000 (14:51 +0100)]
m_ban: check only the added K-line
Ed Kellett [Sat, 25 Nov 2017 01:31:34 +0000 (01:31 +0000)]
m_kline: check only the added K-line
Ed Kellett [Sat, 25 Nov 2017 22:17:50 +0000 (22:17 +0000)]
Add check_one_kline, expose notify_banned_client
Aaron Jones [Wed, 27 Mar 2019 19:29:55 +0000 (19:29 +0000)]
newconf: remove plaintext listeners warning
Closes #270
[ci skip]
Simon Arlott [Sat, 23 Feb 2019 12:40:27 +0000 (12:40 +0000)]
m_sasl: Don't process authentication messages if SASL has been aborted, but track failures
Simon Arlott [Sat, 23 Feb 2019 12:31:56 +0000 (12:31 +0000)]
tests: Verify behaviour if services authenticates a user after SASL is aborted
Simon Arlott [Wed, 15 Aug 2018 22:12:38 +0000 (23:12 +0100)]
set version back to -dev
Simon Arlott [Wed, 15 Aug 2018 22:00:26 +0000 (23:00 +0100)]
charybdis 4.1.1
Simon Arlott [Wed, 15 Aug 2018 21:44:02 +0000 (22:44 +0100)]
m_nick/m_sasl/m_user: restore check for mixing of client and server protocol
Simon Arlott [Mon, 13 Aug 2018 19:53:04 +0000 (20:53 +0100)]
m_pass: store unverified SID in preClient for use in m_server
Aaron Jones [Mon, 13 Aug 2018 22:34:16 +0000 (22:34 +0000)]
MbedTLS: Support ChaCha20-Poly1305 in TLSv1.2+
Simon Arlott [Sun, 12 Aug 2018 17:45:05 +0000 (18:45 +0100)]
authd: always use an empty buffer to read ident reply
Otherwise we could read uninitialised data beyond the actual reply
Simon Arlott [Sun, 12 Aug 2018 11:16:51 +0000 (12:16 +0100)]
m_sasl: check if the agent is present after every client_exit
When a server disconnects the client_exit hook will only be called once
but there could be multiple servers and clients behind that server.
After any client exits, check if the agent is still present.
Simon Arlott [Sun, 12 Aug 2018 10:05:59 +0000 (11:05 +0100)]
authd: fix "is provider done" logic in blacklist/opm providers
This fixes #262.
Simon Arlott [Sun, 12 Aug 2018 09:17:12 +0000 (10:17 +0100)]
Merge pull request #260 from FauxFaux/yesno-1
YESNO options are of type bool, not int
Simon Arlott [Sun, 12 Aug 2018 09:01:56 +0000 (10:01 +0100)]
travis: don't build docs on osx
Simon Arlott [Sun, 12 Aug 2018 08:40:40 +0000 (09:40 +0100)]
doc: build with travis
Simon Arlott [Sun, 12 Aug 2018 08:37:50 +0000 (09:37 +0100)]
doc: there is no _static directory
Simon Arlott [Sun, 12 Aug 2018 08:25:56 +0000 (09:25 +0100)]
Merge pull request #263 from anarcat/extban-doc
point users towards HELP EXTBAN for inline help
Antoine Beaupré [Tue, 29 Aug 2017 13:10:37 +0000 (09:10 -0400)]
point to the CMODE help page for more modes
Antoine Beaupré [Sat, 25 Mar 2017 16:35:29 +0000 (12:35 -0400)]
fix more headings
Antoine Beaupré [Sat, 25 Mar 2017 16:33:06 +0000 (12:33 -0400)]
fix two headings to be toplevel
Antoine Beaupré [Sat, 25 Mar 2017 16:29:27 +0000 (12:29 -0400)]
do not hardcode theme
Antoine Beaupré [Sat, 25 Mar 2017 16:22:36 +0000 (12:22 -0400)]
config.rst review
Antoine Beaupré [Sat, 25 Mar 2017 16:07:37 +0000 (12:07 -0400)]
review commands.rst style
Antoine Beaupré [Sat, 25 Mar 2017 15:49:30 +0000 (11:49 -0400)]
fix style in ucommands.rst
Antoine Beaupré [Sat, 25 Mar 2017 15:47:58 +0000 (11:47 -0400)]
fix syntax warning
Antoine Beaupré [Sat, 25 Mar 2017 15:47:23 +0000 (11:47 -0400)]
fix ucommands.rst style
Antoine Beaupré [Sat, 25 Mar 2017 15:45:22 +0000 (11:45 -0400)]
review umodes.rst
Antoine Beaupré [Sat, 25 Mar 2017 15:44:51 +0000 (11:44 -0400)]
review oprivs.rst style
Antoine Beaupré [Sat, 25 Mar 2017 15:42:51 +0000 (11:42 -0400)]
review cmodes.rst style
Antoine Beaupré [Sat, 25 Mar 2017 15:33:06 +0000 (11:33 -0400)]
some styling
turn all +flags into preformatted flags, fix admonitions
Antoine Beaupré [Sat, 25 Mar 2017 15:15:08 +0000 (11:15 -0400)]
ignore build results
Antoine Beaupré [Sat, 25 Mar 2017 15:15:03 +0000 (11:15 -0400)]
fix duplicate headings, remove duplicate ToC
Antoine Beaupré [Sat, 25 Mar 2017 15:09:44 +0000 (11:09 -0400)]
merge two index pages
Antoine Beaupré [Sat, 25 Mar 2017 14:42:32 +0000 (10:42 -0400)]
convert SGML guide to RST
the rationale behind switching away from SGML/Docbook is the following:
* SGML is hard to edit for humans
* the output is not much prettier
* the toolchain is not well supported and missing from the build
* the build is not hooked into anywhere, no automation
the reason why RST was chosen:
* it allows for a strong structure like Docbook
* the theme from Read The Docs is pretty
* it also supports mobile devices
* sphinx can easily output to PDF and ePUB formats
* RST is plaintext that can be easily edited and diff'd
* RST can be automatically built by ReadTheDocs and the toolchain is
readily available
* the output is also parsed by Github so documentation can be read
straight from GH
the reason why Markdown was not chosen:
* the current strong structure would be hard to replicate
* markdown is not standardized and output varies according to the
implementation
the docs were converted with Pandoc, using the following commands:
mkdir oper-guide
for source in sgml/oper-guide/*.sgml; do
pandoc --toc -s -f docbook -t rst $source -o oper-guide/$(basename $source .sgml).rst
done
cd oper-guide
sphinx-quickstart
git add *.rst make.bat conf.py
git add -f Makefile
git rm -r ../sgml
[merged from
d4214e9445d9f9d0f0ede3e09a9f81deee9 : doc/sgml/oper-guide/config.sgml]
Aaron Jones [Fri, 6 Apr 2018 20:06:43 +0000 (20:06 +0000)]
modules/m_sasl.c: prevent abort_sasl() sending 906 twice
Aaron Jones [Fri, 6 Apr 2018 19:58:23 +0000 (19:58 +0000)]
modules/m_sasl.c: command functions are void on this branch
Aaron Jones [Fri, 6 Apr 2018 19:45:50 +0000 (19:45 +0000)]
modules/m_sasl.c: abort session if we receive '*' as data
Otherwise we'd send the * on to services as actual data, which is likely
to fail to decode it (it's not valid Base-64) and reply with an SASL ...
D F which will result in us sending a 904 numeric instead of a 906.
cf. https://github.com/ircv3/ircv3-specifications/pull/298#issuecomment-
271336287
Reported-By: James Wheare
Chris West (Faux) [Fri, 23 Mar 2018 16:46:38 +0000 (16:46 +0000)]
YESNO options are of type bool, not int
Simon Arlott [Fri, 19 Jan 2018 23:24:55 +0000 (23:24 +0000)]
gcc7 fixes: NICKLEN -> NAMELEN
Use NAMELEN instead of NICKLEN when accessing Client->name because it
could in theory be a HOSTLEN length string.
Simon Arlott [Fri, 19 Jan 2018 23:17:57 +0000 (23:17 +0000)]
gcc7 fixes: make fallthrough explicit
Simon Arlott [Thu, 18 Jan 2018 21:45:32 +0000 (21:45 +0000)]
set version back to -dev
Simon Arlott [Thu, 18 Jan 2018 21:38:16 +0000 (21:38 +0000)]
charybdis 4.1
Simon Arlott [Thu, 18 Jan 2018 21:33:26 +0000 (21:33 +0000)]
ircd: use correct buffer sizes
This fixes an issue with truncated SJOINs.
Aaron Jones [Sat, 6 Jan 2018 15:59:04 +0000 (15:59 +0000)]
libratbox/src/mbedtls.c: check public/private keys match
Aaron Jones [Sat, 4 Nov 2017 07:40:44 +0000 (07:40 +0000)]
doc/reference.conf: clarify that server link fingerprints aren't optional
[ci skip]
Aaron Jones [Mon, 30 Oct 2017 15:45:23 +0000 (15:45 +0000)]
help/Makefile.am: silence construction of indexes, make build depend on index
Simon Arlott [Sun, 20 Aug 2017 11:53:44 +0000 (12:53 +0100)]
charybdis 4.1-rc1
Simon Arlott [Wed, 23 Aug 2017 23:21:02 +0000 (00:21 +0100)]
Add workaround for Linux SCTP_I_WANT_MAPPED_V4_ADDR bug on older kernels
Simon Arlott [Tue, 22 Aug 2017 19:59:53 +0000 (20:59 +0100)]
Add outgoing SCTP connect support
Simon Arlott [Sat, 19 Aug 2017 14:11:49 +0000 (15:11 +0100)]
Add basic SCTP listener support that binds to multiple addresses
This only supports two addresses as the intended use is 1 IPv4 and 1 IPv6
address on a single-homed host, and the only supported configuration of
outgoing connections to other servers is to bind a single IPv4 or IPv6
address.
Simon Arlott [Wed, 23 Aug 2017 21:15:05 +0000 (22:15 +0100)]
rb_connect: use SO_ERROR
Simon Arlott [Wed, 23 Aug 2017 20:14:29 +0000 (21:14 +0100)]
rb_inet_pton_sock: initialise sockaddr to zero
Simon Arlott [Thu, 24 Aug 2017 19:07:31 +0000 (20:07 +0100)]
exit_unknown_client: don't delete servers from the client hash
Outgoing servers are not added to the client hash until they reach
IsServer() status, so if they're unknown when they exit then don't
attempt to delete them.
Simon Arlott [Thu, 24 Aug 2017 19:03:51 +0000 (20:03 +0100)]
tests: add serv_connect1 (exit_unknown_client)
Test serv_connect followed by exit_unknown_client.
An outgoing connection should not delete an incoming connection that
occurs during the connection attempt.
Simon Arlott [Tue, 22 Aug 2017 20:55:03 +0000 (21:55 +0100)]
s_serv: connect using both IPv4 and IPv6 if unspecified
Simon Arlott [Fri, 18 Aug 2017 12:03:59 +0000 (13:03 +0100)]
remove RB_IPV6
Simon Arlott [Sun, 20 Aug 2017 11:53:44 +0000 (12:53 +0100)]
authd: assume all providers are running
Otherwise ident returns without setting itself running causing problems.
Move opm/blacklist before ident/rdns so that they can receive completion
notifications.
Aaron Jones [Thu, 17 Aug 2017 23:02:52 +0000 (23:02 +0000)]
Merge pull request #246 from grawity/patch-1
CREDITS: update to match reality
Mantas Mikulėnas [Thu, 17 Aug 2017 05:37:10 +0000 (08:37 +0300)]
CREDITS: update to match reality
Simon Arlott [Sun, 13 Aug 2017 20:57:23 +0000 (21:57 +0100)]
charybdis 4.1-dev
Simon Arlott [Wed, 9 Aug 2017 21:04:11 +0000 (22:04 +0100)]
m_sasl: indicate client connection type for SASL
Simon Arlott [Sun, 6 Aug 2017 17:40:24 +0000 (18:40 +0100)]
librb: remove zstring
rb_zstring_serialized leaks memory while doing nothing with its
arguments... nothing is using zstring so remove it
Simon Arlott [Sun, 6 Aug 2017 17:38:25 +0000 (18:38 +0100)]
tests: add rb_dictionary1
This doesn't do much because replacing existing elements isn't allowed.
Simon Arlott [Sun, 6 Aug 2017 17:37:20 +0000 (18:37 +0100)]
librb: dictionary_add mishandles replacing elements
This can only happen with soft asserts otherwise it will crash instead.
Nothing currently uses the return value of rb_dictionary_add.
Simon Arlott [Sun, 6 Aug 2017 15:43:49 +0000 (16:43 +0100)]
charybdis 4-rc6
Simon Arlott [Sun, 6 Aug 2017 15:20:03 +0000 (16:20 +0100)]
tests: send1: add tag tests to all functions