]> jfr.im git - irc/charybdis-ircd/charybdis.git/log
irc/charybdis-ircd/charybdis.git
4 years agoextensions/extb_ssl.c: make certfp parameter case-insensitive origin/release/4
Aaron Jones [Tue, 28 Jan 2020 20:46:09 +0000 (20:46 +0000)] 
extensions/extb_ssl.c: make certfp parameter case-insensitive

I had the idea that maybe these should be case-sensitive because some
encodings (like Base-64) are. But it turns out it's better to
prioritise not breaking existing configurations / channel mode lists,
and just revisit this in future maybe.

[ci skip]

4 years agoextensions/extb_ssl.c: port e0f1c3b5bc6c55b88938 & 5572f43834b93b898ea0
Aaron Jones [Tue, 28 Jan 2020 20:36:37 +0000 (20:36 +0000)] 
extensions/extb_ssl.c: port e0f1c3b5bc6c55b88938 & 5572f43834b93b898ea0

Reported-by: Opal Hart <redacted>
4 years agoSupport ECDH X25519 for TLSv1.3 (OpenSSL 1.1.1)
Aaron Jones [Sun, 8 Sep 2019 13:59:52 +0000 (13:59 +0000)] 
Support ECDH X25519 for TLSv1.3 (OpenSSL 1.1.1)

4 years agoVersion 4.0.4-dev
Simon Arlott [Sat, 31 Aug 2019 20:13:38 +0000 (21:13 +0100)] 
Version 4.0.4-dev

4 years agoVersion 4.0.3 charybdis-4.0.3
Simon Arlott [Sat, 31 Aug 2019 20:13:21 +0000 (21:13 +0100)] 
Version 4.0.3

4 years agotravis: don't run the tests on macosx
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

4 years agoircd: remove debug
Simon Arlott [Sat, 31 Aug 2019 15:36:41 +0000 (16:36 +0100)] 
ircd: remove debug

4 years agotests: Fix use-after-free bug
Simon Arlott [Sat, 31 Aug 2019 15:32:55 +0000 (16:32 +0100)] 
tests: Fix use-after-free bug

4 years agolibrb: Fix type of dst for rb_inet_pton_sock()
Simon Arlott [Sat, 31 Aug 2019 15:10:50 +0000 (16:10 +0100)] 
librb: Fix type of dst for rb_inet_pton_sock()

4 years agoRevert "ircd: Fix umode orphan scheme."
Simon Arlott [Sat, 31 Aug 2019 14:06:09 +0000 (15:06 +0100)] 
Revert "ircd: Fix umode orphan scheme."

This reverts commit c1fc044c3594798cc5389486c361a7d9a43bc4f8.

4 years agotravis: run the tests
Simon Arlott [Sun, 7 Jul 2019 18:35:13 +0000 (19:35 +0100)] 
travis: run the tests

4 years agoCorrect OPM port configuration variables
Aaron Jones [Sun, 16 Jun 2019 08:02:51 +0000 (08:02 +0000)] 
Correct OPM port configuration variables

[ci skip]

5 years agonewconf: remove plaintext listeners warning
Aaron Jones [Wed, 27 Mar 2019 19:25:13 +0000 (19:25 +0000)] 
newconf: remove plaintext listeners warning

Closes #270

[ci skip]

5 years agom_sasl: Don't process authentication messages if SASL has been aborted, but track...
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

5 years agotests: Verify behaviour if services authenticates a user after SASL is aborted
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

5 years agotests: Fix broken send1 test
Simon Arlott [Sat, 23 Feb 2019 13:13:01 +0000 (13:13 +0000)] 
tests: Fix broken send1 test

5 years agogcc7 fixes: NICKLEN -> NAMELEN
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.

5 years agogcc7 fixes: make fallthrough explicit
Simon Arlott [Fri, 19 Jan 2018 23:17:57 +0000 (23:17 +0000)] 
gcc7 fixes: make fallthrough explicit

5 years agoAdd fakechannels to /LIST
Aaron Jones [Sat, 1 Dec 2018 18:51:34 +0000 (18:51 +0000)] 
Add fakechannels to /LIST

This forward-ports commits a034b14fbf307af95eeb..358a73c8d5e01e42ddb1
from the 3.5 branch.

5 years agoBuild system: add m4/ macro dir to files
Aaron Jones [Sat, 1 Dec 2018 18:49:32 +0000 (18:49 +0000)] 
Build system: add m4/ macro dir to files

This satisfies warnings from autoreconf(1) and makes libtoolize(1) work.

5 years agoset version back to -dev
Simon Arlott [Wed, 15 Aug 2018 22:13:04 +0000 (23:13 +0100)] 
set version back to -dev

5 years agocharybdis 4.0.2 charybdis-4.0.2
Simon Arlott [Wed, 15 Aug 2018 22:00:26 +0000 (23:00 +0100)] 
charybdis 4.0.2

5 years agom_nick/m_sasl/m_user: restore check for mixing of client and server protocol
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

5 years agom_pass: store unverified SID in preClient for use in m_server
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

5 years agoMbedTLS: Support ChaCha20-Poly1305 in TLSv1.2+
Aaron Jones [Mon, 13 Aug 2018 22:34:16 +0000 (22:34 +0000)] 
MbedTLS: Support ChaCha20-Poly1305 in TLSv1.2+

5 years agoauthd: always use an empty buffer to read ident reply
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

5 years agom_sasl: check if the agent is present after every client_exit
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.

5 years agoauthd: fix "is provider done" logic in blacklist/opm providers
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.

5 years agoMerge pull request #260 from FauxFaux/yesno-1
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

5 years agotravis: don't build docs on osx
Simon Arlott [Sun, 12 Aug 2018 09:01:56 +0000 (10:01 +0100)] 
travis: don't build docs on osx

5 years agodoc: build with travis
Simon Arlott [Sun, 12 Aug 2018 08:40:40 +0000 (09:40 +0100)] 
doc: build with travis

5 years agodoc: there is no _static directory
Simon Arlott [Sun, 12 Aug 2018 08:37:50 +0000 (09:37 +0100)] 
doc: there is no _static directory

5 years agoMerge pull request #263 from anarcat/extban-doc
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

5 years agopoint to the CMODE help page for more modes
Antoine Beaupré [Tue, 29 Aug 2017 13:10:37 +0000 (09:10 -0400)] 
point to the CMODE help page for more modes

5 years agofix more headings
Antoine Beaupré [Sat, 25 Mar 2017 16:35:29 +0000 (12:35 -0400)] 
fix more headings

5 years agofix two headings to be toplevel
Antoine Beaupré [Sat, 25 Mar 2017 16:33:06 +0000 (12:33 -0400)] 
fix two headings to be toplevel

5 years agodo not hardcode theme
Antoine Beaupré [Sat, 25 Mar 2017 16:29:27 +0000 (12:29 -0400)] 
do not hardcode theme

5 years agoconfig.rst review
Antoine Beaupré [Sat, 25 Mar 2017 16:22:36 +0000 (12:22 -0400)] 
config.rst review

5 years agoreview commands.rst style
Antoine Beaupré [Sat, 25 Mar 2017 16:07:37 +0000 (12:07 -0400)] 
review commands.rst style

5 years agofix style in ucommands.rst
Antoine Beaupré [Sat, 25 Mar 2017 15:49:30 +0000 (11:49 -0400)] 
fix style in ucommands.rst

5 years agofix syntax warning
Antoine Beaupré [Sat, 25 Mar 2017 15:47:58 +0000 (11:47 -0400)] 
fix syntax warning

5 years agofix ucommands.rst style
Antoine Beaupré [Sat, 25 Mar 2017 15:47:23 +0000 (11:47 -0400)] 
fix ucommands.rst style

5 years agoreview umodes.rst
Antoine Beaupré [Sat, 25 Mar 2017 15:45:22 +0000 (11:45 -0400)] 
review umodes.rst

5 years agoreview oprivs.rst style
Antoine Beaupré [Sat, 25 Mar 2017 15:44:51 +0000 (11:44 -0400)] 
review oprivs.rst style

5 years agoreview cmodes.rst style
Antoine Beaupré [Sat, 25 Mar 2017 15:42:51 +0000 (11:42 -0400)] 
review cmodes.rst style

5 years agosome styling
Antoine Beaupré [Sat, 25 Mar 2017 15:33:06 +0000 (11:33 -0400)] 
some styling

turn all +flags into preformatted flags, fix admonitions

5 years agoignore build results
Antoine Beaupré [Sat, 25 Mar 2017 15:15:08 +0000 (11:15 -0400)] 
ignore build results

5 years agofix duplicate headings, remove duplicate ToC
Antoine Beaupré [Sat, 25 Mar 2017 15:15:03 +0000 (11:15 -0400)] 
fix duplicate headings, remove duplicate ToC

5 years agomerge two index pages
Antoine Beaupré [Sat, 25 Mar 2017 15:09:44 +0000 (11:09 -0400)] 
merge two index pages

5 years agoconvert SGML guide to RST
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]

5 years agoCapabilities tweaks
jackal [Mon, 7 May 2018 18:47:35 +0000 (21:47 +0300)] 
Capabilities tweaks

- Rename cap_account_tag to m_account_tag
- Rename cap_server_time to m_server_time

  This is consistent with the other capability modules

- Rename some CAP_ constants to CLICAP_

  Again more consistent naming

- Reindent some text in doc/technical/

6 years agomodules/m_sasl.c: prevent abort_sasl() sending 906 twice
Aaron Jones [Fri, 6 Apr 2018 20:06:43 +0000 (20:06 +0000)] 
modules/m_sasl.c: prevent abort_sasl() sending 906 twice

6 years agomodules/m_sasl.c: command functions are void on this branch
Aaron Jones [Fri, 6 Apr 2018 19:58:23 +0000 (19:58 +0000)] 
modules/m_sasl.c: command functions are void on this branch

6 years agomodules/m_sasl.c: abort session if we receive '*' as data
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
6 years agodoc/: document m_mkpasswd extension
Aaron Jones [Fri, 16 Feb 2018 14:39:19 +0000 (14:39 +0000)] 
doc/: document m_mkpasswd extension

[ci skip]

6 years agodoc/: add sno_channelcreate to example configs
Mikaela Suomalainen [Fri, 16 Feb 2018 11:00:45 +0000 (13:00 +0200)] 
doc/: add sno_channelcreate to example configs

closes #257

[ci skip]

6 years agoRevert "README.md: Remove trailing whitespace introduced in previous commit"
Aaron Jones [Tue, 6 Feb 2018 22:46:28 +0000 (22:46 +0000)] 
Revert "README.md: Remove trailing whitespace introduced in previous commit"

Apparently these were intentional.

This reverts commit ba6a3d5fc09f6e474b33fa68c0271fdca217d835.

[ci skip]

6 years agoREADME.md: Remove trailing whitespace introduced in previous commit
Aaron Jones [Tue, 6 Feb 2018 22:41:43 +0000 (22:41 +0000)] 
README.md: Remove trailing whitespace introduced in previous commit

[ci skip]

6 years agomake README.md look nicer
jackal [Tue, 6 Feb 2018 22:27:34 +0000 (00:27 +0200)] 
make README.md look nicer

[ci skip]

6 years agoversion.c.SH styling
jackal [Mon, 15 Jan 2018 21:30:44 +0000 (23:30 +0200)] 
version.c.SH styling

6 years agoRemove some trailing blank leftovers;
jackal [Mon, 15 Jan 2018 20:33:22 +0000 (22:33 +0200)] 
Remove some trailing blank leftovers;

Sort .mailmap and .gitignore;
Don't send another blank line in /info.

[ci skip]

6 years agoautomake styling
jackal [Mon, 15 Jan 2018 21:13:16 +0000 (23:13 +0200)] 
automake styling

6 years agoautogen.sh styling
jackal [Mon, 15 Jan 2018 21:17:53 +0000 (23:17 +0200)] 
autogen.sh styling

6 years agoautoconf styling
jackal [Mon, 15 Jan 2018 21:33:28 +0000 (23:33 +0200)] 
autoconf styling

6 years agoaclocal styling
jackal [Mon, 15 Jan 2018 21:34:51 +0000 (23:34 +0200)] 
aclocal styling

6 years agocharybdis 4.0.1 charybdis-4.0.1
Simon Arlott [Thu, 18 Jan 2018 21:38:16 +0000 (21:38 +0000)] 
charybdis 4.0.1

6 years agoircd: use correct buffer sizes
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.

6 years ago.travis.yml: don't use specific clang version
Aaron Jones [Sat, 6 Jan 2018 16:18:44 +0000 (16:18 +0000)] 
.travis.yml: don't use specific clang version

6 years agolibratbox/src/mbedtls.c: check public/private keys match
Aaron Jones [Sat, 6 Jan 2018 15:59:04 +0000 (15:59 +0000)] 
libratbox/src/mbedtls.c: check public/private keys match

6 years agomodules/cap_server_time.c: fix logic error
Aaron Jones [Thu, 23 Nov 2017 18:09:48 +0000 (18:09 +0000)] 
modules/cap_server_time.c: fix logic error

cap_server_time.c:60:76: warning: comparison of unsigned expression < 0
                                  is always false
                                  [-Wtautological-unsigned-zero-compare]

    if (strftime(buf, sizeof(buf), "%Y-%m-%dT%H:%M:%S.", gmtime(&tv.tv_sec)) < 0)

6 years ago.gitignore: don't include shtool and install-sh anymore
Aaron Jones [Thu, 23 Nov 2017 17:53:05 +0000 (17:53 +0000)] 
.gitignore: don't include shtool and install-sh anymore

Subsequent to commit b5e8833c78f50028 these files are automatically
generated now.

6 years agoautogen.sh: report correct exit status from failed commands
Aaron Jones [Thu, 23 Nov 2017 17:51:21 +0000 (17:51 +0000)] 
autogen.sh: report correct exit status from failed commands

test(1) may overwrite the $? special variable, so cache its value
first.

6 years agoRename extensions/README to index.txt
jackal [Mon, 20 Nov 2017 19:25:17 +0000 (21:25 +0200)] 
Rename extensions/README to index.txt

6 years agoUpdate license to more recent GPLv2
jackal [Mon, 20 Nov 2017 19:22:27 +0000 (21:22 +0200)] 
Update license to more recent GPLv2

6 years agoRemove appveyor and have osx install shtool before build
jackal [Mon, 20 Nov 2017 19:13:22 +0000 (21:13 +0200)] 
Remove appveyor and have osx install shtool before build

6 years agoTrim autogen.sh a bit and add shtool to it
jackal [Mon, 20 Nov 2017 18:57:17 +0000 (20:57 +0200)] 
Trim autogen.sh a bit and add shtool to it

6 years agoFix regression introduced in previous commit
Aaron Jones [Wed, 15 Nov 2017 21:16:10 +0000 (21:16 +0000)] 
Fix regression introduced in previous commit

6 years agoupdate export-syms.txt
jackal [Wed, 15 Nov 2017 21:02:37 +0000 (23:02 +0200)] 
update export-syms.txt

6 years agoVarious Makefile improvements
jackal [Wed, 15 Nov 2017 17:25:49 +0000 (19:25 +0200)] 
Various Makefile improvements

6 years agodoc/reference.conf: clarify that server link fingerprints aren't optional
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]

6 years agohelp/Makefile.am: silence construction of indexes, make build depend on index
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

6 years agoMerge pull request #253 from Mkaysi/sno_whois
Aaron Jones [Sat, 28 Oct 2017 17:10:47 +0000 (17:10 +0000)] 
Merge pull request #253 from Mkaysi/sno_whois

extensions/sno_whois.c: fix comment

6 years agoMerge pull request #252 from Mkaysi/doc-snomask
Aaron Jones [Sat, 28 Oct 2017 17:08:18 +0000 (17:08 +0000)] 
Merge pull request #252 from Mkaysi/doc-snomask

help/opers/snomask: add extension snomasks

6 years agoextensions/sno_whois.c: fix comment
Mikaela Suomalainen [Sat, 28 Oct 2017 17:07:56 +0000 (20:07 +0300)] 
extensions/sno_whois.c: fix comment

When discussing #252 it was noticed that the comment is wrong.

6 years agohelp/opers/snomask: add extension snomasks
Mikaela Suomalainen [Sat, 28 Oct 2017 15:57:02 +0000 (18:57 +0300)] 
help/opers/snomask: add extension snomasks

6 years agocharybdis 4.0 charybdis-4.0
Simon Arlott [Fri, 20 Oct 2017 22:29:47 +0000 (23:29 +0100)] 
charybdis 4.0

6 years agocharybdis 4-rc7 charybdis-4-rc7
Simon Arlott [Thu, 24 Aug 2017 19:12:17 +0000 (20:12 +0100)] 
charybdis 4-rc7

6 years agoexit_unknown_client: don't delete servers from the client hash
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.

6 years agotests: add serv_connect1 (exit_unknown_client)
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.

6 years agos_serv: connect using both IPv4 and IPv6 if unspecified
Simon Arlott [Tue, 22 Aug 2017 20:55:03 +0000 (21:55 +0100)] 
s_serv: connect using both IPv4 and IPv6 if unspecified

6 years agoauthd: assume all providers are running
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.

6 years agom_sasl: indicate client connection type for SASL
Simon Arlott [Wed, 9 Aug 2017 21:04:11 +0000 (22:04 +0100)] 
m_sasl: indicate client connection type for SASL

6 years agolibrb: remove zstring
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

6 years agotests: add rb_dictionary1
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.

6 years agolibrb: dictionary_add mishandles replacing elements
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.

6 years agocharybdis 4-rc6 charybdis-4-rc6
Simon Arlott [Sun, 6 Aug 2017 15:43:49 +0000 (16:43 +0100)] 
charybdis 4-rc6

6 years agotests: send1: add tag tests to all functions
Simon Arlott [Sun, 6 Aug 2017 15:20:03 +0000 (16:20 +0100)] 
tests: send1: add tag tests to all functions

6 years agoircd: send tags on every message
Simon Arlott [Sun, 6 Aug 2017 11:05:24 +0000 (12:05 +0100)] 
ircd: send tags on every message

Simplify linebuf by introducing fsnprint to manage a list of printfs.
Add a msgbuf unparse cache for send functions that loop.

6 years agotests: send1: fix sendto_channel_opmod (remote) to cover all scenarios
Simon Arlott [Sun, 6 Aug 2017 12:30:47 +0000 (13:30 +0100)] 
tests: send1: fix sendto_channel_opmod (remote) to cover all scenarios

6 years agotests: send1: fix sendto_channel_opmod (remote) to call the right function
Simon Arlott [Sun, 6 Aug 2017 12:14:12 +0000 (13:14 +0100)] 
tests: send1: fix sendto_channel_opmod (remote) to call the right function