]>
jfr.im git - irc/charybdis-ircd/charybdis.git/log
Jilles Tjoelker [Fri, 15 Aug 2014 15:10:24 +0000 (17:10 +0200)]
SJOIN: Fix crash when both mode parameter and UID list are missing.
Closes #63
(cherry picked from commit
b733b9faf444746ae93150e2b64120954610db68 )
Jilles Tjoelker [Thu, 12 Jun 2014 21:42:51 +0000 (23:42 +0200)]
smoketest: Remove race conditions causing occasional test failures.
(cherry picked from commit
a7fa7fff0d7068c94deb720501e60b881eaae1ad )
auscompgeek [Thu, 17 Apr 2014 03:12:11 +0000 (13:12 +1000)]
strip_colour: Strip '\x0F' (^O, formatting off)
Reported by ssbr on freenode:
chmode +c doesn't strip ^O, which turns off all previous formatting.
This can cause clients that internally use mIRC formatting to render messages weirdly,
e.g. highlighted messages in HexChat: <https://i.imgur.com/eDX8Aif.png>.
(cherry picked from commit
bd96349c862fe12cafdc53879d7c5df3f8700c78 )
Adam [Tue, 13 May 2014 23:21:27 +0000 (19:21 -0400)]
Fix buffer overflow in introduce_client and burst_TS6
If the client being introduced has more than 10 user modes send_umode()
will overflow ubuf
(cherry picked from commit
9744d53ec9024a7fa2ec017229bc384086964db1 )
Mantas Mikulėnas [Tue, 6 May 2014 13:25:46 +0000 (16:25 +0300)]
m_version: remove spaces from version string
"to make it machine parseable again", as in ircd-seven commit
03b2176b88a1 .
(cherry picked from commit
c72f15bcf5328aa182ff65f8b27bc3b519369b51 )
Conflicts:
include/messages.h
Mantas Mikulėnas [Tue, 6 May 2014 13:21:00 +0000 (16:21 +0300)]
m_version: display charybdis version in /version
Otherwise it just crashes when /version is used.
Closes: #60
(cherry picked from commit
0f4ed4058d737caede02d4522673cac27bfb26a5 )
ShadowNinja [Wed, 19 Feb 2014 22:52:57 +0000 (17:52 -0500)]
Clarify UMODE +R help text
(cherry picked from commit
445af265f1719cedf643b20ef109bd8bc10b2ff0 )
Jilles Tjoelker [Sun, 23 Feb 2014 21:01:04 +0000 (22:01 +0100)]
extensions/roleplay: Fix memory leak on every use.
(cherry picked from commit
a6b29d3ed4ea090616e4abb1da46696278e96961 )
Conflicts:
extensions/m_roleplay.c
Jilles Tjoelker [Sun, 23 Feb 2014 21:18:44 +0000 (22:18 +0100)]
extensions/mkpasswd: Do not leak /dev/random fd.
(cherry picked from commit
f9960c026200a7abda9575cb80fb397dbf705d7e )
Jilles Tjoelker [Sun, 23 Feb 2014 20:14:09 +0000 (21:14 +0100)]
webirc: Check validity of given IP.
(cherry picked from commit
0391874cc7b9ba88409f0c2b0728196b5262aa36 )
Jilles Tjoelker [Sat, 22 Feb 2014 16:43:57 +0000 (17:43 +0100)]
doc/ts6-protocol: Document ETB message (EOPMOD capab).
(cherry picked from commit
a5de4edefdcec9b8cbced2c9c54dcfdab06e7aa6 )
Mantas Mikulėnas [Sun, 12 Jan 2014 19:17:34 +0000 (21:17 +0200)]
doc/ts6-protocol: Correct the mode letter for termination
(cherry picked from commit
9337f5ce45c01d1fa6f0aa2e6fcaa2e14d93e952 )
Rylee Elise Fowler [Fri, 31 Jan 2014 16:03:54 +0000 (11:03 -0500)]
autotools: fix typo relating to ban db
(cherry picked from commit
1870e06ad39a03478eb1c6bb6365983ca965da71 )
Jilles Tjoelker [Thu, 16 Jan 2014 23:22:47 +0000 (00:22 +0100)]
Avoid wrong detection of redundant/duplicate auth blocks with auth_user.
If there was more than one user= per auth block, the check for redundant
or duplicate auth blocks did not take auth_user into account.
(cherry picked from commit
0c2ea0c3ceb500bb2a049a4b250d7addfc782772 )
Mantas Mikulėnas [Wed, 23 Oct 2013 11:39:51 +0000 (14:39 +0300)]
libratbox/crypt: fix difference from glibc in sha256_crypt()
rb_crypt() was generating different SHA256 ($5$) hashes than glibc,
making hashes generated with charybdis unusable in ratbox and other
software, and vice versa.
(cherry picked from commit
320d34a6062ed1f30d5893e520024971390a2938 )
Jilles Tjoelker [Wed, 15 Jan 2014 20:50:08 +0000 (21:50 +0100)]
openssl: Set some sort of session id context.
Without a session id context and if client certificates are used, OpenSSL
fails the handshake if an attempt is made to reuse an old session. Various
clients could not reconnect after a disconnection because of this.
See https://bugzilla.mozilla.org/show_bug.cgi?id=858394#c34 for a bug
report.
(cherry picked from commit
fabc3174fe60b5748964a9cac2118a502b0c0a19 and
commit
cee842a82926d6e6295736b76be968806649beee )
Jilles Tjoelker [Sun, 16 Feb 2014 15:06:01 +0000 (16:06 +0100)]
libratbox: Fix undefined behaviour advancing pointer beyond end of array.
The C standard does not allow constructing pointers beyond one past the end
of an array. Therefore, if size is an unsigned type (size_t), then
buf + size is never less than buf.
Clang on 32-bit took advantage of the undefined behaviour, causing
segfaults.
(cherry picked from commit
fab79c5d25423884fc4f5e0a56d97cb59b618196 )
Jilles Tjoelker [Sun, 27 Apr 2014 13:33:09 +0000 (15:33 +0200)]
info: Change N-line to connect block.
(cherry picked from commit
bf77c3a1efba7213aee6d2419368de5872255374 )
Jilles Tjoelker [Sun, 27 Apr 2014 13:38:28 +0000 (15:38 +0200)]
example confs: Remove AHBL blacklists, which are no longer available.
(cherry picked from commit
a0998bcdd7c64997fee1b5fb9667c5797438c5a1 )
Conflicts:
doc/example.conf
doc/reference.conf
Jilles Tjoelker [Mon, 31 Dec 2012 21:47:31 +0000 (22:47 +0100)]
Rerun autoconf.
Jilles Tjoelker [Mon, 31 Dec 2012 21:47:21 +0000 (22:47 +0100)]
Bump version to 3.4.2.
William Pitcock [Mon, 31 Dec 2012 19:13:05 +0000 (13:13 -0600)]
m_capab: fix a possible remote crash triggered by the CAPAB parsing code.
(cherry picked from commit
ac0707aa61d9c20e9b09062294701567c9f41595 )
Jilles Tjoelker [Sat, 3 Nov 2012 14:21:46 +0000 (15:21 +0100)]
Rerun autoconf.
Jilles Tjoelker [Sat, 3 Nov 2012 14:21:14 +0000 (15:21 +0100)]
Bump version to 3.4.1.
Jilles Tjoelker [Thu, 18 Oct 2012 13:54:24 +0000 (15:54 +0200)]
Fix a crash with testline, introduced with the "underlying ipv4" feature.
(cherry picked from commit
6387b5ad4472d1a8f8fbd0b7f3f32dd9d8542072 )
Jilles Tjoelker [Wed, 10 Oct 2012 20:07:35 +0000 (22:07 +0200)]
Rerun autoconf.
Jilles Tjoelker [Wed, 10 Oct 2012 20:07:13 +0000 (22:07 +0200)]
Bump version to 3.4.0.
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.
Jilles Tjoelker [Wed, 10 Oct 2012 20:01:54 +0000 (22:01 +0200)]
Revert lightly tested starttls changes for 3.4.0.
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.
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.
(cherry picked from commit
55a06c8910d549bf6a2346d7c778dfbab3c9acc0 )
TheChrisAM [Fri, 1 Jun 2012 00:26:52 +0000 (21:26 -0300)]
Adding auth_user documentation for auth {} blocks.(cherry picked from commit
f9bb3e0d72d473c52f15d41114c970d2fc0178b0 )
Jilles Tjoelker [Sat, 28 Jul 2012 13:31:06 +0000 (15:31 +0200)]
reference.conf: Extend documentation for max_number in server classes.
(cherry picked from commit
2b121c81f5077f92fbaa840367c8b84a34b043f5 )
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
(cherry picked from commit
a85566b1519993f1bea1b4c7f576c7b530cd62cc )
Jilles Tjoelker [Sat, 14 Jul 2012 12:51:55 +0000 (14:51 +0200)]
tools/smoketest.sh: Remove DNSBL external dependency.
(cherry picked from commit
bdad42f050666245e6e9d29c46a29327b0a30995 )
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.
(cherry picked from commit
96d57912204c74eb9719d60972b5538b097246f6 )
Jilles Tjoelker [Sat, 14 Jul 2012 10:24:07 +0000 (12:24 +0200)]
Rerun autoconf.
Jilles Tjoelker [Sat, 14 Jul 2012 10:22:07 +0000 (12:22 +0200)]
Bump version to 3.4.0-rc2.
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.
(cherry picked from commit
8d20b088f9ca17f6c0aaf5d15c950739f9922ae5 )
Jilles Tjoelker [Tue, 3 Jul 2012 17:15:25 +0000 (19:15 +0200)]
Fix capability_index_list(), used e.g. in /stats ? capability output.
(cherry picked from commit
33b214fa42dd768b4b5aff881cdc538071a208ce )
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 ?.
(cherry picked from commit
89fd463e59045ebf5fa43ad72e920bdb2d3b758d )
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.
(cherry picked from commit
f3b3ad0b07251e703e526f494c18f9e4286e1bd3 )
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
(cherry picked from commit
9f409b6333a6da3ea7a1756d5108eb80ad204310 )
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)
(cherry picked from commit
21acd0961cd856c1033fe3875159875ad981ddf2 )
Jilles Tjoelker [Mon, 30 Apr 2012 16:32:04 +0000 (18:32 +0200)]
Fix null value for EUID account name in TS6 protocol document.
(cherry picked from commit
1e23af243b85d4f37f0719fa5b0c85eb66e9bf53 )
Jilles Tjoelker [Sun, 22 Apr 2012 21:12:55 +0000 (23:12 +0200)]
Rerun autocofn.
Jilles Tjoelker [Sun, 22 Apr 2012 21:12:06 +0000 (23:12 +0200)]
Bump version to 3.4.0-rc1.
Jilles Tjoelker [Sun, 22 Apr 2012 17:08:33 +0000 (19:08 +0200)]
release: Use git instead of hg for version number in tarballs.
(cherry picked from commit
f5c1f940401ada2291e90636f88aabe98508df6d )
Jilles Tjoelker [Fri, 20 Apr 2012 20:00:02 +0000 (22:00 +0200)]
NEWS: Update for 3.4.0-rc1.
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.
(cherry picked from commit
77444dcc1f754f0916c7314baf9e6836556616dd )
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.
(cherry picked from commit
3d7890b99c1de151a557c07c1f86b64398f7cdb2 )
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>
(cherry picked from commit
2682bc3053d977bcb6fd4818118b49a4e272c6cc )
Jilles Tjoelker [Fri, 6 Apr 2012 22:53:43 +0000 (00:53 +0200)]
NEWS: Put in a more logical order and improve some entries.
Jilles Tjoelker [Fri, 6 Apr 2012 21:56:37 +0000 (23:56 +0200)]
NEWS: Mention a late breaking 3.4 commit.
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.
William Pitcock [Wed, 22 Feb 2012 03:09:49 +0000 (21:09 -0600)]
Merge branch 'master' of git.atheme.org:/gitroot/charybdis