]> jfr.im git - solanum.git/log
solanum.git
20 months agoextensions/umode_hide_idle_time: mask times for hidden sources (#373)
Aaron Jones [Fri, 21 Oct 2022 08:01:41 +0000 (08:01 +0000)] 
extensions/umode_hide_idle_time: mask times for hidden sources (#373)

If the user performing a WHOIS has hidden their idle time (is umode +I),
also prevent them from seeing other user's idle times, even if said users
are not themselves umode +I.

Suggested-by: @Unit193
20 months agolibrb/helper: pass our fd limit to the child
Doug Freed [Fri, 21 Oct 2022 00:42:57 +0000 (20:42 -0400)] 
librb/helper: pass our fd limit to the child

Instead of arbitrarily limiting it to 256.  This avoids an issue with
busy authds "running out" of fds because librb says no more.

20 months agoUnify helper snotes and make netwide.
Unit 193 [Fri, 21 Oct 2022 06:47:15 +0000 (02:47 -0400)] 
Unify helper snotes and make netwide.

20 months agom_sasl: Remove implicit abort on registration
Ed Kellett [Sat, 16 Oct 2021 23:00:55 +0000 (00:00 +0100)] 
m_sasl: Remove implicit abort on registration

This doesn't make sense in a world where post-registration SASL is
allowed, and should fix one case of an annoying login desync that's seen
in the real world.

Specifically, when a client sends its final AUTHENTICATE and Atheme
receives it, it sends an SVSLOGIN for that client. If the client sends
us its CAP END *before* we see the SVSLOGIN, the implicit abort will try
to abort the SASL session that's already succeeded.

Atheme interprets this as an instruction to forget about the successful
SASL session; you'll connect unidentified. But it's already sent
SVSLOGIN, which will log the client in ircd-side, causing ircd and
services views to differ until the user authenticates again manually.

I think allowing a SASL session to be aborted when it has already
succeeded is an Atheme bug, and it can still be triggered without this
change. But our behaviour here seems silly anyway.

20 months agomake some authd warnings L_NETWIDE
Jess Porter [Mon, 3 Oct 2022 19:00:21 +0000 (20:00 +0100)] 
make some authd warnings L_NETWIDE

21 months agohelp/cmode: correct chm_regmsg help
Doug Freed [Sun, 2 Oct 2022 23:34:42 +0000 (19:34 -0400)] 
help/cmode: correct chm_regmsg help

21 months agochm_regmsg: fix typo in description
David Schultz [Sun, 2 Oct 2022 19:37:34 +0000 (14:37 -0500)] 
chm_regmsg: fix typo in description

21 months agoadd help for `chm_regmsg`
David Schultz [Sun, 2 Oct 2022 19:37:03 +0000 (14:37 -0500)] 
add help for `chm_regmsg`

21 months agoMake +R play nicely with +z
Stephen Bennett [Fri, 30 Sep 2022 07:29:02 +0000 (08:29 +0100)] 
Make +R play nicely with +z

21 months agoAdd semicolon to fix a compile error in librb/src/arc4random.c
hello-smile6 [Fri, 30 Sep 2022 17:27:26 +0000 (10:27 -0700)] 
Add semicolon to fix a compile error in librb/src/arc4random.c

21 months agoAdd oper:free_target (#374)
Jess Porter [Mon, 26 Sep 2022 18:50:11 +0000 (19:50 +0100)] 
Add oper:free_target (#374)

Co-authored-by: Ed Kellett <redacted>
21 months agoremove old reference to the unsupported directory
vulpine [Wed, 31 Aug 2022 01:29:12 +0000 (21:29 -0400)] 
remove old reference to the unsupported directory

the unsupported directory was removed by charybdis a while ago

22 months agoAdd umode +I to allow users to hide their idle time (#220)
David Schultz [Tue, 30 Aug 2022 20:49:43 +0000 (15:49 -0500)] 
Add umode +I to allow users to hide their idle time (#220)

22 months agoRemove missed Winsock2 check
jailbird777 [Fri, 26 Aug 2022 22:12:21 +0000 (17:12 -0500)] 
Remove missed Winsock2 check

22 months agoRemove ancient portability code (#361)
jailbird777 [Thu, 25 Aug 2022 00:53:52 +0000 (19:53 -0500)] 
Remove ancient portability code (#361)

Remove portability code for systems that don't follow at least SUSv3.
This fairly closely aligns with ISO C99, which solanum already requires.

22 months agoOpenSSL 3.0 compatibility
jailbird777 [Sat, 13 Aug 2022 03:40:48 +0000 (22:40 -0500)] 
OpenSSL 3.0 compatibility

Edited by @aaronmdjones:

- Correct some data types and casts

- Minor style fixups (e.g. we put * on the variable name not the type)

- librb/src/openssl.c:

  - Defer call of BIO_free(3ssl) to the end of the conditional block
    to avoid having calls to it in multiple paths

  - Check the return value of SSL_CTX_set0_tmp_dh_pkey(3ssl) because if
    it fails then we must use EVP_PKEY_free(3ssl) to avoid a memory leak

    This could fail if, for example, the user supplied DSA parameters
    in the DH parameters file instead.

- ircd/newconf.c:

  - Check whether OSSL_DECODER_CTX_new_for_pkey(3ssl) was able to parse
    the given CHALLANGE public key as a valid RSA public key, and then
    check whether OSSL_DECODER_from_bio(3ssl) actually loads it
    successfully

- ircd/s_newconf.c:

  - Use EVP_PKEY_free(3ssl) instead of OPENSSL_free(3ssl) on EVP_PKEY
    pointers; this will avoid inadvertent memory leaks if the EVP_PKEY
    structure contains any dynamically-allocated child members

- modules/m_challenge.c:

  - Unconditionally use EVP(3ssl) to generate the SHA-1 digest of the
    random challenge; this API has been around for a very long time and
    is available in all supported versions of OpenSSL

  - Add lots of error checking to all steps of the process

Tested against 1.1.1 and 3.0; both with missing and provided DH parameters
(which works as you'd expect; the server will not negotiate a DHE cipher
without them), and CHALLENGE, including missing keys or keys of the wrong
type (e.g. when you supply an EdDSA key instead of an RSA key).

This does break compatibility with OpenSSL 1.1.0 and below, which are now
all end-of-life and unsupported anyway.

Closes #357

22 months agom_stats: z: remove unnecessary casting and fix format strings
Doug Freed [Thu, 25 Aug 2022 00:23:49 +0000 (00:23 +0000)] 
m_stats: z: remove unnecessary casting and fix format strings

22 months agom_stats: z: restore total memory display
Doug Freed [Thu, 25 Aug 2022 00:23:32 +0000 (00:23 +0000)] 
m_stats: z: restore total memory display

22 months agolibrb/src/crypt.c: rb_sha*_crypt_r: avoid UB pointer math
Aaron Jones [Wed, 24 Aug 2022 23:51:14 +0000 (23:51 +0000)] 
librb/src/crypt.c: rb_sha*_crypt_r: avoid UB pointer math

This code is doing (foo - (char*)0) to convert foo from a pointer
value into a numeric value. Unfortunately, this is undefined
behaviour, which clang-14 is now warning about [1].

Cast to uintptr_t instead. Same result, but well-defined.

[1] cf. commit 0302f1532b66e9d09b70

22 months agoCI: Modernize
Doug Freed [Wed, 24 Aug 2022 23:14:24 +0000 (23:14 +0000)] 
CI: Modernize

22 months agoFix assert = hard assignments
jailbird777 [Tue, 16 Aug 2022 19:04:37 +0000 (14:04 -0500)] 
Fix assert = hard assignments

The spaces surrounding the = is bad syntax, which causes the shell to try to
execute 'assert'.

Granted, all of this is just cosmetic, as the only use of $assert seems to be
in the echo at the end of the configure run.

22 months agoFix SCTP support on FreeBSD & NetBSD
jailbird777 [Tue, 16 Aug 2022 00:03:49 +0000 (19:03 -0500)] 
Fix SCTP support on FreeBSD & NetBSD

Unlike Linux, Solaris, and Illumos (and probably others), the 2 BSDs that still
support SCTP didn't put SCTP into its own library, they put it into libc.

They, unlike Linux, don't set SOL_SCTP for us. The official method appears to
be calling getprotobyname("sctp") & endprotoent(), with getprotobyname()
returning a struct that has a p_proto entry. This all reads from
/etc/protocols. However, SCTP is assigned 132 by IANA, so it's 132 everywhere,
so I just set SOL_SCTP to 132 if it's not already set.

22 months agoum_regonlymsg: prevent unregistered users from NOTICEing +R users too
Doug Freed [Tue, 23 Aug 2022 12:04:03 +0000 (12:04 +0000)] 
um_regonlymsg: prevent unregistered users from NOTICEing +R users too

22 months agoEBMASK capab, to burst BMASK metadata (#354)
Jess Porter [Sat, 20 Aug 2022 00:35:54 +0000 (01:35 +0100)] 
EBMASK capab, to burst BMASK metadata (#354)

22 months agosend "End of burst" snote to L_NETWIDE (#356)
Jess Porter [Fri, 19 Aug 2022 02:17:05 +0000 (03:17 +0100)] 
send "End of burst" snote to L_NETWIDE (#356)

23 months agochm_regmsg: don't duplicate nick in 415
Doug Freed [Tue, 12 Jul 2022 02:46:00 +0000 (22:46 -0400)] 
chm_regmsg: don't duplicate nick in 415

sendto_one_numeric already includes the nick, so there's no need to
duplicate it. OFTC does not.

23 months agoserv_connect(): ensure both sa_bind[]/sa_connect[] are always populated (#352)
Aaron Jones [Tue, 5 Jul 2022 06:01:26 +0000 (06:01 +0000)] 
serv_connect(): ensure both sa_bind[]/sa_connect[] are always populated (#352)

Due to [1], linking with SCTP sometimes does not multi-home correctly.
This is triggered by the rand() on the lines immediately above these.

The connect{} blocks already support an `aftype` parameter to instruct
IRCd to prefer IPv4 or IPv6. This commit additionally ensures that the
other structure is always populated with the other address (if any) if
this parameter is specified.

This will allow SCTP server-linking users to work around the bug and
ensure that it always multi-homes by setting `connect::aftype` to IPv4.
Without this commit, that would cause Solanum to not include the IPv6
addresses (if any) in the connect block in its SCTP setup.

If there isn't a valid IP address in the other sockaddr, this should be
of no consequence, because it will not be used by rb_connect_tcp(), and
both rb_connect_sctp() and rb_sctp_bindx_only() already verify that
there is a valid IP address in the sockaddr before making use of it.

[1] https://marc.info/?l=linux-sctp&m=165684809726472&w=2

2 years agoCast time_t to long long when printing
Matthew Martin [Mon, 27 Jun 2022 17:04:33 +0000 (12:04 -0500)] 
Cast time_t to long long when printing

2 years agoglobal masktrace doesn't need to be an operspy action
Jess Porter [Thu, 30 Jun 2022 23:07:02 +0000 (00:07 +0100)] 
global masktrace doesn't need to be an operspy action

2 years agoERROR instead of NOTICE for failed WEBIRC
Jess Porter [Thu, 30 Jun 2022 23:02:53 +0000 (00:02 +0100)] 
ERROR instead of NOTICE for failed WEBIRC

2 years agorefuse opers setting an invalidly long k-line reason
Jess Porter [Thu, 30 Jun 2022 22:59:17 +0000 (23:59 +0100)] 
refuse opers setting an invalidly long k-line reason

2 years agoircd/listener: return a TLS record layer alert to D-Lined TLS clients
Aaron Jones [Sat, 22 Jan 2022 23:50:58 +0000 (23:50 +0000)] 
ircd/listener: return a TLS record layer alert to D-Lined TLS clients

2 years agochmode: Use original string when removing a mask
Matthew Martin [Tue, 28 Jun 2022 02:09:35 +0000 (21:09 -0500)] 
chmode: Use original string when removing a mask

2 years agoIllumos fixes
JailBird [Wed, 8 Jun 2022 22:35:58 +0000 (17:35 -0500)] 
Illumos fixes

- getexecname(3) returns const char *
- pid_t is long

2 years agoNormalize snprintf size to use sizeof where possible
Matthew Martin [Fri, 24 Jun 2022 04:40:02 +0000 (23:40 -0500)] 
Normalize snprintf size to use sizeof where possible

2 years agochmode: Fix snprintf size
Matthew Martin [Fri, 24 Jun 2022 04:38:52 +0000 (23:38 -0500)] 
chmode: Fix snprintf size

2 years agovalid_temp_time: more simplification and test fixes
Doug Freed [Mon, 20 Jun 2022 11:33:03 +0000 (11:33 +0000)] 
valid_temp_time: more simplification and test fixes

2 years agovalid_temp_time: simplify/correct overflow check
Ed Kellett [Sun, 19 Jun 2022 21:07:20 +0000 (22:07 +0100)] 
valid_temp_time: simplify/correct overflow check

the logic for trying to detect the maximum value of time_t was broken;
since we target a lower maximum time anyway, just use that for the
overflow check

2 years agodon't truncate operspy WHO
Jess Porter [Fri, 10 Jun 2022 17:15:56 +0000 (18:15 +0100)] 
don't truncate operspy WHO

2 years agoRemove stray semicolons (#339)
jailbird777 [Fri, 10 Jun 2022 17:07:25 +0000 (12:07 -0500)] 
Remove stray semicolons (#339)

2 years agoNormalize generation for reproducible builds
Bernhard M. Wiedemann [Fri, 27 May 2022 03:27:44 +0000 (05:27 +0200)] 
Normalize generation for reproducible builds

While working on reproducible builds for openSUSE, I found that
our package varied even when building in clean VMs
with as little non-determinism as possible.
This was because of

+++ solanum-0~ch560/ircd/version.c.last
@@ -25,7 +25,7 @@
 #include "serno.h"
 #include "stdinc.h"

-const char *generation = "6";
+const char *generation = "5";
 const char *creation = "1653004800";
 const char *ircd_version = PATCHLEVEL;
 const char *serno = SERNO;

2 years agoAdd description parameter to auth blocks (#327)
Eric Mertens [Thu, 14 Apr 2022 21:39:45 +0000 (14:39 -0700)] 
Add description parameter to auth blocks (#327)

2 years agoApply cmode C to replies (#328)
Eric Mertens [Thu, 14 Apr 2022 20:14:12 +0000 (13:14 -0700)] 
Apply cmode C to replies (#328)

2 years agoMake valid_temp_time overflow-resistant
Ed Kellett [Fri, 18 Mar 2022 18:13:31 +0000 (18:13 +0000)] 
Make valid_temp_time overflow-resistant

2 years agoTest some edge cases of valid_temp_time
Ed Kellett [Fri, 18 Mar 2022 18:13:24 +0000 (18:13 +0000)] 
Test some edge cases of valid_temp_time

2 years agoMake opers talking through +g controllable by user mode +M (#275)
Stephen Bennett [Tue, 12 Apr 2022 21:54:58 +0000 (22:54 +0100)] 
Make opers talking through +g controllable by user mode +M (#275)

Times out after 30 minutes, and adds oper:always_message privilege for
bots and services to always talk through +g

2 years agoshow IPs in remote /stats i (#312)
Jess Porter [Fri, 8 Apr 2022 17:06:43 +0000 (18:06 +0100)] 
show IPs in remote /stats i (#312)

Co-authored-by: Eric Mertens <redacted>
2 years agoauthd/providers/opm.c: include <netinet/tcp.h> (#318)
Aaron Jones [Fri, 8 Apr 2022 16:47:18 +0000 (16:47 +0000)] 
authd/providers/opm.c: include <netinet/tcp.h> (#318)

This header defines the TCP_NODELAY flag, which this compilation
unit uses.

Other C libraries implicitly include this header from some other
header we are using (I have not investigated which), but musl's
system headers do not, which breaks building on musl.

Reported-by: 0x5c <redacted>
2 years agowhowas.c: store account name in whowas (#323)
David Schultz [Fri, 1 Apr 2022 21:58:43 +0000 (16:58 -0500)] 
whowas.c: store account name in whowas (#323)

Co-authored-by: Eric Mertens <redacted>
2 years agoRemove the subset ban restriction
Ed Kellett [Fri, 1 Apr 2022 13:26:47 +0000 (14:26 +0100)] 
Remove the subset ban restriction

I think this was always pretty questionable. You can set redundant bans
in various ways anyway, and preventing all of them would only make the
situation worse, as wide temporary bans would destroy narrow permanent
ones, for example.

2 years agovalid_temp_time: style fixes
Ed Kellett [Sun, 6 Mar 2022 16:44:45 +0000 (16:44 +0000)] 
valid_temp_time: style fixes

2 years agoAdd tests for valid_temp_time
Ed Kellett [Sun, 6 Mar 2022 16:44:32 +0000 (16:44 +0000)] 
Add tests for valid_temp_time

2 years agoremove some header dependencies on client.h
Ed Kellett [Sun, 6 Mar 2022 21:35:03 +0000 (21:35 +0000)] 
remove some header dependencies on client.h

2 years agoSupport more human friendly k/d/x-line duration format
David Schultz [Wed, 7 Apr 2021 21:41:52 +0000 (22:41 +0100)] 
Support more human friendly k/d/x-line duration format

2 years agoFix comment in example configuration
Eric Mertens [Thu, 3 Feb 2022 17:23:42 +0000 (09:23 -0800)] 
Fix comment in example configuration

2 years agoRemove ambiguity in descriptions +u
Valentin Lorentz [Sat, 29 Jan 2022 07:16:20 +0000 (08:16 +0100)] 
Remove ambiguity in descriptions +u

The old descriptions might be interpreted as meaning that +u enables
server-side filtering.

2 years agodon't subject remote users to chm_nonotice
Jess Porter [Sun, 16 Jan 2022 18:06:53 +0000 (18:06 +0000)] 
don't subject remote users to chm_nonotice

2 years agochannel: always send chm_hidden modes to servers
Ed Kellett [Sat, 4 Dec 2021 19:31:53 +0000 (19:31 +0000)] 
channel: always send chm_hidden modes to servers

2 years agoircd/packet.c: make function definition consistent with declaration (#301)
Aaron Jones [Tue, 30 Nov 2021 19:50:30 +0000 (19:50 +0000)] 
ircd/packet.c: make function definition consistent with declaration (#301)

This function has a static forward-declaration, and is not used outside
this compilation unit. However, the definition was non-static. Fix this.

2 years agobetter standardised SNO_FULL. always show host AND ip
jess [Sun, 14 Nov 2021 17:59:58 +0000 (17:59 +0000)] 
better standardised SNO_FULL. always show host AND ip

2 years agocheck_one_kline: fix kline_spoof_ip handling
Ed Kellett [Sun, 7 Nov 2021 23:30:22 +0000 (23:30 +0000)] 
check_one_kline: fix kline_spoof_ip handling

2 years agoFix link to doc/readme.txt
Eric Mertens [Tue, 2 Nov 2021 15:52:41 +0000 (08:52 -0700)] 
Fix link to doc/readme.txt

2 years agojust a stray colon where it wasn't meant to have :)
Valerie Pond [Tue, 26 Oct 2021 18:48:49 +0000 (19:48 +0100)] 
just a stray colon where it wasn't meant to have :)

2 years agom_list: fail on invalid parameters
Ed Kellett [Tue, 19 Oct 2021 22:56:22 +0000 (23:56 +0100)] 
m_list: fail on invalid parameters

Loose port of 6ea60b2297948211925e22bd1f284179d680b4ae. I've chosen to
reduce indentation where it's convenient, and I'm allowing >-[0-9] as a
way of specifying a minimum of 0 because... I don't know, it just seems
neater to me.

2 years agom_list: Treat valid names with wildcards as masks
Ed Kellett [Tue, 19 Oct 2021 12:30:03 +0000 (13:30 +0100)] 
m_list: Treat valid names with wildcards as masks

* and ? are valid characters for channel names on IRC, and ELIST M gives
no way to distinguish between `LIST #foo-*` that's meant to search for
channels beginning `#foo-` and `LIST #foo-*` that's meant to list one
channel named literally `#foo-*`.

In order to deal with this, we will always assume a name with wildcards
is a mask. If it's also a channel name, that will be listed first.

2 years agoAdd mask modifiers to LIST help
Ed Kellett [Mon, 18 Oct 2021 17:26:11 +0000 (18:26 +0100)] 
Add mask modifiers to LIST help

2 years agoSupport *mask* and !*mask* in LIST
Ed Kellett [Mon, 18 Oct 2021 17:26:05 +0000 (18:26 +0100)] 
Support *mask* and !*mask* in LIST

2 years agoCREDITS: add mcintosh
Doug Freed [Mon, 18 Oct 2021 23:33:18 +0000 (19:33 -0400)] 
CREDITS: add mcintosh

2 years agom_names: use ITER_COMM_CHANNELS
Ed Kellett [Sun, 17 Oct 2021 16:36:53 +0000 (17:36 +0100)] 
m_names: use ITER_COMM_CHANNELS

2 years agohelpops: show opernames to opers
Ed Kellett [Sun, 17 Oct 2021 00:56:49 +0000 (01:56 +0100)] 
helpops: show opernames to opers

2 years ago"KLINE active for ..." -> "Disconnecting K-Lined user ..."
jess [Sat, 9 Oct 2021 22:44:36 +0000 (23:44 +0100)] 
"KLINE active for ..." -> "Disconnecting K-Lined user ..."

2 years agoexplicitly show IP in SNO_BANNED snotes
jess [Sat, 9 Oct 2021 21:45:22 +0000 (22:45 +0100)] 
explicitly show IP in SNO_BANNED snotes

2 years agoadd sqlite3 to build instructions
Seth Arnold [Thu, 30 Sep 2021 19:46:44 +0000 (19:46 +0000)] 
add sqlite3 to build instructions

Quite often people new to Solanum run into trouble in the configure step: the error message if they are lacking either the pkg-config or libsqlite3 packages are identical and discovering the pkg-config dependency is not trivial:

checking for SQLITE... no
configure: error: sqlite3 is required

I can't promise this apt install line is complete, but I know that I've suggested the pkg-config and libsqlite3-dev packages many times in the #solanum channel and they've been very helpful.

2 years agodoc/features/extban.txt: document $j, $x, and $z
David Schultz [Thu, 2 Sep 2021 02:18:54 +0000 (21:18 -0500)] 
doc/features/extban.txt: document $j, $x, and $z

2 years agoAdd 3 more of the delegates to CREDITS
Eric Mertens [Sat, 25 Sep 2021 02:20:31 +0000 (19:20 -0700)] 
Add 3 more of the delegates to CREDITS

2 years agoSend RPL_ENDOFTRACE on local /etrace
Ryan Schmidt [Thu, 23 Sep 2021 19:49:30 +0000 (12:49 -0700)] 
Send RPL_ENDOFTRACE on local /etrace

2 years agoextb_canjoin: Ignore exemptions
Ed Kellett [Wed, 22 Sep 2021 14:14:33 +0000 (15:14 +0100)] 
extb_canjoin: Ignore exemptions

2 years agofix typo in `sasl_only_client_message` (#279)
David Schultz [Wed, 15 Sep 2021 18:57:48 +0000 (13:57 -0500)] 
fix typo in `sasl_only_client_message` (#279)

2 years agochm_regmsg: actually check channel mode (#271)
Eric Mertens [Tue, 24 Aug 2021 02:52:18 +0000 (19:52 -0700)] 
chm_regmsg: actually check channel mode (#271)

2 years agoAvoid show_iline_prefix showing leftovers (#266)
Eric Mertens [Sat, 21 Aug 2021 15:54:16 +0000 (08:54 -0700)] 
Avoid show_iline_prefix showing leftovers (#266)

2 years agoRemove sno_whois from reference.conf (#270)
Aaron Jones [Sat, 21 Aug 2021 11:33:48 +0000 (11:33 +0000)] 
Remove sno_whois from reference.conf (#270)

This was missed in commit 26c3681f7ccece87d9fe

2 years agoswitch sasl_usercloak.c to use SNO_BANNED
jesopo [Fri, 20 Aug 2021 17:38:05 +0000 (18:38 +0100)] 
switch sasl_usercloak.c to use SNO_BANNED

2 years agohook_fn casts were hiding UB (#265)
Eric Mertens [Fri, 20 Aug 2021 03:09:40 +0000 (20:09 -0700)] 
hook_fn casts were hiding UB (#265)

2 years agoMake new_local_user hooks handle dead clients
Ed Kellett [Thu, 19 Aug 2021 19:33:55 +0000 (20:33 +0100)] 
Make new_local_user hooks handle dead clients

2 years agoStop announcing SASL cap changes on services split/join (#263)
Eric Mertens [Sun, 15 Aug 2021 23:25:46 +0000 (16:25 -0700)] 
Stop announcing SASL cap changes on services split/join (#263)

2 years agoERR_USERONCHANNEL when following a forward is missing a param
jesopo [Sun, 15 Aug 2021 04:15:27 +0000 (05:15 +0100)] 
ERR_USERONCHANNEL when following a forward is missing a param

2 years agoircd/newconf: ignore invalid connect block passwords (#261)
Aaron Jones [Sat, 14 Aug 2021 23:14:39 +0000 (23:14 +0000)] 
ircd/newconf: ignore invalid connect block passwords (#261)

Also, ignore a connect block that requests certfp authentication
without setting the ssl flag, as it will then go on to fail anyway.

Finally, correct an erroneous error message about class blocks.

2 years agoadd SNO_FARCONNECT to the help text (#260)
owen [Sat, 14 Aug 2021 11:15:39 +0000 (07:15 -0400)] 
add SNO_FARCONNECT to the help text (#260)

* add SNO_FARCONNECT to the helptext

2 years agoadd SNO_BANNED, snote for it on client k/x-line rejection (#242)
jesopo [Wed, 11 Aug 2021 16:08:31 +0000 (17:08 +0100)] 
add SNO_BANNED, snote for it on client k/x-line rejection (#242)

* add SNO_BANNED, snote for it on client k/x-line rejection

* add snomask help file line for SNO_BANNED

2 years agoadd show_iline_prefix for IsNeedSasl
jesopo [Wed, 4 Aug 2021 15:22:37 +0000 (15:22 +0000)] 
add show_iline_prefix for IsNeedSasl

2 years agoRename doc/index.txt to doc/readme.txt and mention reference.conf
Valentin Lorentz [Sun, 27 Jun 2021 16:17:40 +0000 (18:17 +0200)] 
Rename doc/index.txt to doc/readme.txt and mention reference.conf

The new name will make it appear in GitHub's web view.

2 years agoreference.conf: Document the common syntax for flags
Valentin Lorentz [Sun, 27 Jun 2021 16:12:33 +0000 (18:12 +0200)] 
reference.conf: Document the common syntax for flags

It was only documented as an example in the auth {} block,
not for other blocks.

2 years agoreference.conf: Make it clearer connect {} blocks are reciprocal
Val Lorentz [Sat, 31 Jul 2021 04:41:46 +0000 (06:41 +0200)] 
reference.conf: Make it clearer connect {} blocks are reciprocal

2 years agoThe rb_heap_block struct doesn't appear to be used anywhere
jailbird777 [Wed, 2 Jun 2021 03:46:42 +0000 (22:46 -0500)] 
The rb_heap_block struct doesn't appear to be used anywhere

2 years agotests: chase listener refactor changes
Ariadne Conill [Sat, 19 Jun 2021 11:06:17 +0000 (05:06 -0600)] 
tests: chase listener refactor changes

2 years agolibrb: appease libtool by adding rb_close_pending_fds() to the export list
Ariadne Conill [Sat, 19 Jun 2021 11:00:55 +0000 (05:00 -0600)] 
librb: appease libtool by adding rb_close_pending_fds() to the export list

2 years agolistener: refactor to use rb_dlink like the other lists in ircd
Ariadne Conill [Sat, 19 Jun 2021 10:51:50 +0000 (04:51 -0600)] 
listener: refactor to use rb_dlink like the other lists in ircd

2 years agolistener: use rb_close_pending_fds() in close_listeners()
Ariadne Conill [Sat, 19 Jun 2021 10:41:37 +0000 (04:41 -0600)] 
listener: use rb_close_pending_fds() in close_listeners()

2 years agolibrb: make free_fds() public as rb_close_pending_fds()
Ariadne Conill [Sat, 19 Jun 2021 10:41:17 +0000 (04:41 -0600)] 
librb: make free_fds() public as rb_close_pending_fds()

2 years agoRemove Windows support
jailbird777 [Fri, 9 Jul 2021 00:11:22 +0000 (19:11 -0500)] 
Remove Windows support