]>
jfr.im git - solanum.git/log
Jilles Tjoelker [Wed, 19 Dec 2012 14:06:49 +0000 (15:06 +0100)]
server: Remove code to send recursive QUITs/SQUITs for non-QS servers.
Now that QS is required, this code can no longer be activated.
Jilles Tjoelker [Wed, 19 Dec 2012 13:53:06 +0000 (14:53 +0100)]
server: As per the TS6 spec, require QS and ENCAP capabilities.
Jilles Tjoelker [Tue, 18 Dec 2012 16:03:59 +0000 (17:03 +0100)]
server: Make sure CAP_CAP and CAP_TS6 are non-zero.
A zero CAP_CAP caused duplicate CAPAB to go undetected, allowing a
mismatch between what is sent out via ENCAP GCAP and what applies locally.
A zero CAP_TS6 allowed server connections without SID (with a valid
connect block).
Jilles Tjoelker [Tue, 18 Dec 2012 15:37:21 +0000 (16:37 +0100)]
server: Fix required capabilities check if there is more than one capability.
William Pitcock [Mon, 19 Nov 2012 21:12:30 +0000 (21:12 +0000)]
genssl: use DH params length of 2048 to appease the weechat idiots
William Pitcock [Sun, 4 Nov 2012 03:35:39 +0000 (03:35 +0000)]
extensions/m_roleplay: merge in darkmyst changes
Jilles Tjoelker [Sat, 3 Nov 2012 14:50:43 +0000 (15:50 +0100)]
starttls: Explicitly reject starttls if TLS is not configured or not compiled in.
Jilles Tjoelker [Fri, 2 Nov 2012 23:49:10 +0000 (00:49 +0100)]
starttls: Don't corrupt the FD hash.
Altering localClient->F without updating the FD hash leaves the struct
Client in the FD hash indefinitely which causes a crash later if the
struct is reused for a remote client. It also prevents error messages
from ssld showing up on IRC properly.
William Pitcock [Thu, 1 Nov 2012 06:48:08 +0000 (06:48 +0000)]
Add module which restricts unauthenticated users from doing anything as channel op.
Jilles Tjoelker [Mon, 15 Oct 2012 00:08:22 +0000 (02:08 +0200)]
Fix a crash with testline, introduced with the "underlying ipv4" feature.
William Pitcock [Sat, 13 Oct 2012 17:49:43 +0000 (17:49 +0000)]
numeric: add 744 (ERR_TOPICLOCK) to list so we don't step on inspircd
Keith Buck [Tue, 9 Oct 2012 05:52:07 +0000 (05:52 +0000)]
res.c: Try other servers if errors or corrupt replies are encountered.
Currently, the resolver treats SERVFAIL, NOTIMP, and REFUSED queries the
same as NXDOMAIN, but this really should not be the case. Instead, if
the DNS server errors on our request or provides an invalid request, try
another server.
Also, count DNS server errors in addition to timeouts and avoid these
undesirable servers.
William Pitcock [Sat, 29 Sep 2012 22:28:04 +0000 (17:28 -0500)]
libratbox/crypt: remove blowfish support since it has the stupid advertising clause
William Pitcock [Sat, 29 Sep 2012 22:08:40 +0000 (17:08 -0500)]
reslib: remove advertising clause, which was dropped as a requirement by the copyright holder.
(See http://svnweb.freebsd.org/base/head/COPYRIGHT?view=co).
Closes #5.
Jilles Tjoelker [Fri, 28 Sep 2012 21:14:56 +0000 (23:14 +0200)]
help: Document whowas limit parameter.
William Pitcock [Sun, 23 Sep 2012 00:31:55 +0000 (19:31 -0500)]
m_starttls: handle error condition with ERR_STARTTLS (691) numeric per tls-3.2 specification
William Pitcock [Sat, 22 Sep 2012 21:30:01 +0000 (16:30 -0500)]
m_starttls: new module implementing ircv3 tls-3.1 optional extension
William Pitcock [Sat, 22 Sep 2012 19:15:45 +0000 (14:15 -0500)]
m_cap: add 'tls' core capability
William Pitcock [Sat, 22 Sep 2012 19:04:57 +0000 (14:04 -0500)]
Define RPL_STARTTLS.
William Pitcock [Wed, 19 Sep 2012 01:01:53 +0000 (20:01 -0500)]
m_stats: apply same logic to anonymous /stats l as /stats p
William Pitcock [Mon, 17 Sep 2012 21:38:31 +0000 (16:38 -0500)]
m_stats: add optional constraint checking function pointer to stats_l_list().
Kiyoshi Aman [Mon, 20 Aug 2012 10:25:21 +0000 (06:25 -0400)]
GIT-Access: Our repos are on github now, so let's say so.
Keith Buck [Tue, 31 Jul 2012 06:37:33 +0000 (06:37 +0000)]
chm_nonotice: Ignore CTCP and send ERR_CANNOTSENDTOCHAN if a message is being blocked.
William Pitcock [Mon, 30 Jul 2012 17:00:49 +0000 (10:00 -0700)]
Merge pull request #2 from TheChrisAM/patch-1
Adding auth_user documentation for auth {} blocks.
Jilles Tjoelker [Sat, 28 Jul 2012 13:31:06 +0000 (15:31 +0200)]
reference.conf: Extend documentation for max_number in server classes.
William Pitcock [Wed, 25 Jul 2012 15:33:18 +0000 (10:33 -0500)]
sigio: use siginfo_t instead of struct siginfo, per glibc commit r4efeffc1d5
Jilles Tjoelker [Sat, 14 Jul 2012 12:51:55 +0000 (14:51 +0200)]
tools/smoketest.sh: Remove DNSBL external dependency.
Jilles Tjoelker [Sat, 14 Jul 2012 11:50:55 +0000 (13:50 +0200)]
tools: Add a simple test script.
It compiles and runs ircd, verifying if some aspects of PRIVMSG work.
Jilles Tjoelker [Tue, 3 Jul 2012 17:16:31 +0000 (19:16 +0200)]
In capability_get(), if a capability is not found, return 0 instead of all-ones.
Returning all-ones will set all caps if an unknown cap name is passed.
Jilles Tjoelker [Tue, 3 Jul 2012 17:15:25 +0000 (19:15 +0200)]
Fix capability_index_list(), used e.g. in /stats ? capability output.
Jilles Tjoelker [Tue, 3 Jul 2012 17:11:15 +0000 (19:11 +0200)]
Add needed space between "TS6" or "SSL" and capabs from CAPAB in /stats ?.
Jilles Tjoelker [Mon, 18 Jun 2012 22:33:29 +0000 (00:33 +0200)]
chmode: Allow mode queries on mlocked modes.
Check mlock at the same point where chanops are checked (except for
querying a +e/+I list) and abstract this check into a function.
In particular, /mode #channel f is now again allowed if +f is mlocked.
Jilles Tjoelker [Sun, 3 Jun 2012 22:49:59 +0000 (00:49 +0200)]
stats R: Make the CPU time display less ugly.
TheChrisAM [Fri, 1 Jun 2012 00:26:52 +0000 (21:26 -0300)]
Adding auth_user documentation for auth {} blocks.
Jilles Tjoelker [Sun, 27 May 2012 20:46:24 +0000 (22:46 +0200)]
If umode +D or +g are oper-only, don't advertise them in 005.
William Pitcock [Thu, 24 May 2012 13:11:45 +0000 (06:11 -0700)]
Merge pull request #1 from dwfreed/master
Fix extensions/ip_cloaking* not correctly telling the net about your changed hostname
Douglas Freed [Thu, 24 May 2012 11:06:20 +0000 (11:06 +0000)]
extensions/ip_cloaking*: Fix a bug accidentally introduced in
29d224a1 where the cloaking module would change your cloak locally, but not correctly broadcast this to the network, and fail to tell you correctly in the RPL_HOSTHIDDEN reply
Keith Buck [Mon, 21 May 2012 21:03:56 +0000 (21:03 +0000)]
Move marking of services entirely to m_services.c; mark all services when m_services loads and unmark them when it unloads.
Keith Buck [Mon, 21 May 2012 20:22:07 +0000 (20:22 +0000)]
Add new conf_read_start and conf_read_end hooks.
Keith Buck [Mon, 21 May 2012 17:27:02 +0000 (17:27 +0000)]
Complain to opers if a server that isn't a service tries to SU/RSFNC/NICKDELAY/SVSLOGIN.
Aaron Sethman [Sat, 19 May 2012 02:15:16 +0000 (21:15 -0500)]
Disable timerfd/signalfd on openvz, it seems broken
(imported from libratbox r27395 by nenolod)
Jilles Tjoelker [Mon, 30 Apr 2012 16:32:04 +0000 (18:32 +0200)]
Fix null value for EUID account name in TS6 protocol document.
Jilles Tjoelker [Sat, 28 Apr 2012 22:44:33 +0000 (00:44 +0200)]
list: Strip colours from channel topics.
This allows in-channel use of coloured topics (or via /topic out of
channel) but leaves channel listings clean.
Jilles Tjoelker [Sun, 22 Apr 2012 21:08:03 +0000 (23:08 +0200)]
Rerun autoconf.
Jilles Tjoelker [Sun, 22 Apr 2012 21:03:46 +0000 (23:03 +0200)]
Bump version on master to 3.5.0-dev.
Jilles Tjoelker [Sun, 22 Apr 2012 17:08:33 +0000 (19:08 +0200)]
release: Use git instead of hg for version number in tarballs.
Jilles Tjoelker [Tue, 17 Apr 2012 22:38:44 +0000 (00:38 +0200)]
Remove more gnutls references.
Jilles Tjoelker [Tue, 17 Apr 2012 20:34:27 +0000 (22:34 +0200)]
libratbox: Run autoreconf.
Jilles Tjoelker [Tue, 17 Apr 2012 20:34:11 +0000 (22:34 +0200)]
libratbox: Remove broken gnutls support.
Jilles Tjoelker [Fri, 13 Apr 2012 23:11:40 +0000 (01:11 +0200)]
extensions/roleplay: Fix "No such channel" message.
Jilles Tjoelker [Fri, 13 Apr 2012 23:07:43 +0000 (01:07 +0200)]
extensions/roleplay: End floodgrace because this is sent to other users.
Keith Buck [Sat, 7 Apr 2012 21:51:31 +0000 (21:51 +0000)]
gnutls: Fix certfp server link auth.
Keith Buck [Sat, 7 Apr 2012 17:40:22 +0000 (17:40 +0000)]
gnutls: Fix ssld crash when executing a SSL connection to another server.
Keith Buck [Sat, 7 Apr 2012 03:29:13 +0000 (03:29 +0000)]
Merge branch 'gnutls' of git://git.leptoquark.net/charybdis
Keith Buck [Sat, 7 Apr 2012 03:03:07 +0000 (03:03 +0000)]
Call the privmsg_channel hook for part messages too.
Keith Buck [Tue, 3 Apr 2012 21:51:09 +0000 (21:51 +0000)]
m_message: Remove some unused variables.
Elly Fong-Jones [Tue, 3 Apr 2012 05:19:07 +0000 (01:19 -0400)]
libratbox: use rb_listen(), not listen().
Signed-off-by: Elly Fong-Jones <redacted>
William Pitcock [Mon, 2 Apr 2012 19:07:25 +0000 (14:07 -0500)]
extensions/chm_nonotice: fix typo
William Pitcock [Sun, 1 Apr 2012 05:09:18 +0000 (00:09 -0500)]
if 0 some things out
William Pitcock [Sun, 1 Apr 2012 03:56:14 +0000 (22:56 -0500)]
extensions/chm_nonotice: reject NOTICEs to channels mode
Same thing as +T in unrealircd, inspircd and shadowircd.
William Pitcock [Sun, 1 Apr 2012 03:48:36 +0000 (22:48 -0500)]
Remove MODE_NOCTCP from core, in favor of chm_noctcp.
William Pitcock [Sun, 1 Apr 2012 03:26:45 +0000 (22:26 -0500)]
Remove MODE_NOCOLOR from core, replacing it with modules/chm_nocolour.so.
William Pitcock [Sun, 1 Apr 2012 03:18:15 +0000 (22:18 -0500)]
Check for empty string after permutation hooks have run.
William Pitcock [Sun, 1 Apr 2012 02:20:02 +0000 (21:20 -0500)]
Add support for hookifying PRIVMSG/NOTICE.
This will allow us to modularize message processing, e.g. having new modules to manipulate
channel and private messages in new ways.
Yes: it can be used to intercept messages, but such modules are already out in the wild for
charybdis anyway -- so this doesn't really change anything there.
If you are changing the text, then it is your responsibility to provide a pointer to a new
buffer. This buffer should be statically allocated and stored in your module's BSS segment.
We will not, and cannot, free your buffer in core, so dynamically allocated buffers will
cause a memory leak.
This will allow us to simplify m_message considerably, by moving channel mode logic out to
their own modules.
Jilles Tjoelker [Thu, 29 Mar 2012 20:41:24 +0000 (22:41 +0200)]
reference.conf: Remove need_ident from *@* auth block.
Few people want need_ident for everyone these days, so remove it from
reference.conf. It was not in example.conf.
Jilles Tjoelker [Mon, 26 Mar 2012 22:46:50 +0000 (00:46 +0200)]
change_nick_user_host: Only send +n snotes about local clients.
Keith Buck [Sun, 25 Mar 2012 17:04:21 +0000 (17:04 +0000)]
tginfo/certfp ENCAP: Specify the minimum number of parameters instead of checking parc.
Keith Buck [Sun, 25 Mar 2012 02:47:39 +0000 (02:47 +0000)]
m_away: Add missing return value.
Keith Buck [Sun, 25 Mar 2012 02:37:41 +0000 (02:37 +0000)]
Remove unused variable cruft.
Keith Buck [Sun, 25 Mar 2012 01:59:20 +0000 (01:59 +0000)]
change_nick_user_host: Send nick change notices to SNO_NCHANGE opers when change_nick_user_host is called to only change nick.
Keith Buck [Sun, 25 Mar 2012 01:49:34 +0000 (01:49 +0000)]
RESV FNC: Sign off/on monitor, and don't try to FNC users that already have a UID nick.
Keith Buck [Sun, 25 Mar 2012 01:34:45 +0000 (01:34 +0000)]
Add option to immediately apply nick RESVs by FNC'ing.
Jilles Tjoelker [Sat, 24 Mar 2012 12:52:28 +0000 (13:52 +0100)]
Add first cut at NEWS for 3.4.
Jilles Tjoelker [Mon, 19 Mar 2012 23:33:31 +0000 (00:33 +0100)]
libratbox: Allow defer_accept on FreeBSD.
Note that you must have options ACCEPT_FILTER_DATA in your kernel
configuration or load the accf_data kernel module. The functionality is
not in the GENERIC kernel.
Keith Buck [Sun, 18 Mar 2012 01:28:55 +0000 (01:28 +0000)]
client.c: Fix spelling/grammar in comments.
Keith Buck [Sun, 18 Mar 2012 01:18:57 +0000 (01:18 +0000)]
target change: Propagate restricted addresses.
William Pitcock [Sat, 17 Mar 2012 15:00:39 +0000 (10:00 -0500)]
Add listen::defer_accept option for controlling usage of TCP_DEFER_ACCEPT option.
William Pitcock [Sat, 17 Mar 2012 14:48:25 +0000 (09:48 -0500)]
libratbox: make defer_accept optional.
William Pitcock [Sat, 17 Mar 2012 14:16:39 +0000 (09:16 -0500)]
libratbox: add support for TCP_DEFER_ACCEPT on linux
This allows for some further hardening against synflooding and connection flooding
where no data is actually sent, as the kernel will simply ignore those connections
(well, as far as the ircd is concerned anyway).
Jilles Tjoelker [Wed, 14 Mar 2012 23:58:56 +0000 (00:58 +0100)]
strip_colour: Prefer IsDigit to isdigit.
Unlike isdigit, IsDigit can safely be applied to 'char's.
Arguments to isdigit needs a character cast to 'unsigned char' or EOF.
Jilles Tjoelker [Wed, 14 Mar 2012 23:17:40 +0000 (00:17 +0100)]
When stripping colour/control codes, also strip \004.
Some clients such as irssi interpret \004 as colour or other markup.
Jilles Tjoelker [Wed, 14 Mar 2012 22:20:05 +0000 (23:20 +0100)]
Apply special CTCP handling to messages to @/+ channel as well:
* +C cmode blocks CTCPs
* CTCPs to large channels relax some flood protection to allow all
answers through.
Jilles Tjoelker [Wed, 14 Mar 2012 22:04:30 +0000 (23:04 +0100)]
Apply colour stripping (cmode +c) to messages to @/+ channel as well.
Jilles Tjoelker [Tue, 13 Mar 2012 21:41:39 +0000 (22:41 +0100)]
Specify more about IP addresses in TS6 protocol document.
Jilles Tjoelker [Tue, 6 Mar 2012 23:39:03 +0000 (00:39 +0100)]
Fix RSFNC parameter order in TS6 protocol document.
William Pitcock [Sun, 4 Mar 2012 23:25:17 +0000 (17:25 -0600)]
Merge branch 'master' of git.atheme.org:/gitroot/charybdis
William Pitcock [Sun, 4 Mar 2012 23:25:01 +0000 (17:25 -0600)]
m_remove: Don't use capability_require().
Jilles Tjoelker [Sat, 3 Mar 2012 22:45:52 +0000 (23:45 +0100)]
Keep forward channels in sync after a netjoin.
Arbitrarily prefer a forward channel to no forward channel and an
alphabetically higher forward channel to a lower one.
This is a simplistic implementation that generates one MODE message to
local clients for each ban removed (to be replaced).
For simplicity and to avoid amplification of incoming MODE messages,
regular modes may still desync the forward channel of a ban.
Nathan Phillip Brink [Sat, 3 Mar 2012 03:30:34 +0000 (03:30 +0000)]
Fix typo `User' => `Use'.
Nathan Phillip Brink [Fri, 2 Mar 2012 01:51:30 +0000 (01:51 +0000)]
Detect a potential infinite loop in ./configure in AC_DEFINE_DIR.
Fixes the changes made to AC_DEFINE_DIR in
c74836dc4a5bde1e0bf38da58053bf5f28da8ff5 .
Nathan Phillip Brink [Fri, 2 Mar 2012 01:11:42 +0000 (01:11 +0000)]
Fix inconsistency between --sysconfdir and --with-confdir, deprecate --with-confdir.
The inconsistency was created in
c74836dc4a5bde1e0bf38da58053bf5f28da8ff5 where genssl.sh.in was made
to use sysconfdir while the IRCd and buildsystem still used confdir.
Nathan Phillip Brink [Thu, 1 Mar 2012 03:51:33 +0000 (03:51 +0000)]
Run make depend.
Nathan Phillip Brink [Thu, 1 Mar 2012 03:49:35 +0000 (03:49 +0000)]
Run autoconf and autoheader.
Nathan Phillip Brink [Thu, 1 Mar 2012 03:39:54 +0000 (03:39 +0000)]
Fix bandb's interaction with --enable-fhs-paths by storing ban.db in the correct directory, pkglocalstatedir.
Nathan Phillip Brink [Thu, 1 Mar 2012 02:41:09 +0000 (02:41 +0000)]
Add explicit support for being installed into a system triggered with --enable-fhs-paths.
Add two mechanism for avoiding name-collisions in a system-wide
installation of charybdis. The ssld and bandb daemons, intended to be
directly used by ircd and not the user, install into libexec when
--enable-fhs-paths is set. For binaries which are meant to be in PATH
(bindir), such as ircd and viconf, there is now an option
--with-program-prefix=progprefix inspired by automake. If the user
specifies --with-program-prefix=charybdis, the ircd binary is named
charybdisircd when installed.
Add support for saving the pidfile to a rundir and storing the ban
database in localstatedir instead of in sysconfdir. This is, again,
conditional on --enable-fhs-paths.
Fix(?) genssl.sh to always write created SSL key/certificate/dh
parameters to the sysconfdir specified during ./configure. The
previous behavior was to assume that the user ran genssl.sh after
ensuring that his current working directory was either sysconfdir or a
sibling directory of sysconfdir.
Nathan Phillip Brink [Wed, 29 Feb 2012 07:43:54 +0000 (07:43 +0000)]
Fix viconf's dependencies on setup.h and config.h.
Nathan Phillip Brink [Tue, 28 Feb 2012 06:51:57 +0000 (06:51 +0000)]
Do not unconditionally create a `help-old' folder during installation.
Nathan Phillip Brink [Tue, 28 Feb 2012 06:40:18 +0000 (06:40 +0000)]
During installation, don't unconditionally create an empty `modules-old' directory.
Nathan Phillip Brink [Thu, 14 Jul 2011 12:23:33 +0000 (08:23 -0400)]
Fix parallel compilation issue when building lexer/parser.
Nathan Phillip Brink [Thu, 14 Jul 2011 00:23:34 +0000 (20:23 -0400)]
Use LDFLAGS when compiling extensions or modules.