]>
jfr.im git - irc/blitzed-org/charybdis.git/log
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
William Pitcock [Wed, 22 Feb 2012 03:09:33 +0000 (21:09 -0600)]
Ensure AWAY pacing only affects local clients.
Jilles Tjoelker [Tue, 21 Feb 2012 20:01:19 +0000 (21:01 +0100)]
Remove dummies, given that ratelimit already broke the ABI once.
As with ratelimit, ircd/modules before and after this commit
are incompatible, but not detected as such.
William Pitcock [Tue, 21 Feb 2012 15:15:15 +0000 (09:15 -0600)]
numeric: reserve RPL_SASLMECHS (908)
Jilles Tjoelker [Sat, 18 Feb 2012 15:35:31 +0000 (16:35 +0100)]
Don't end the flood grace period with the first AWAY.
This allows clients to restore an away message early in the connection
process without breaking flood grace.
Jilles Tjoelker [Sat, 18 Feb 2012 15:32:57 +0000 (16:32 +0100)]
Pace aways.
This becomes important because of away-notify sending aways to common
channels much like nick changes (which are also paced).
Marking as unaway is not limited (but obviously only does something if the
user was away before). To allow users to fix typos in away messages, two
aways are allowed in sequence if away has not been used recently.
Keith Buck [Sat, 18 Feb 2012 05:16:03 +0000 (05:16 +0000)]
ip_cloaking*: Do qjm locally too.
Keith Buck [Sat, 18 Feb 2012 03:56:47 +0000 (03:56 +0000)]
ratelimit: Add rate-limiting to MOTD, WHO, and remote WHOIS.
Keith Buck [Sat, 18 Feb 2012 03:54:44 +0000 (03:54 +0000)]
Add ratelimit for high-bandwidth commands.
Jilles Tjoelker [Thu, 16 Feb 2012 23:36:12 +0000 (00:36 +0100)]
Remove some TS5 code from ms_bmask().
ms_bmask() used to send MODE messages to TS5 servers, but
TS5 support was removed long ago.
Jilles Tjoelker [Thu, 16 Feb 2012 23:09:39 +0000 (00:09 +0100)]
Send forward channel when bans are added/removed because of TS/bursts.
If a netburst adds bans or a channel TS change removes bans, +b/-b modes
are generated. Make sure these contain the forward channel, if any.
This appears also broken in ircd-seven.
Jilles Tjoelker [Thu, 16 Feb 2012 22:36:05 +0000 (23:36 +0100)]
Include forward channels when bursting bans to servers.
Obtained from: ircd-seven (spb)
Jilles Tjoelker [Tue, 14 Feb 2012 22:14:42 +0000 (23:14 +0100)]
Do not send unchanged away messages to other users via away-notify.
William Pitcock [Tue, 14 Feb 2012 14:22:34 +0000 (08:22 -0600)]
CREDITS: Move mr_flea to committers section.
Keith Buck [Tue, 14 Feb 2012 14:15:44 +0000 (14:15 +0000)]
Add away-notify client capability.
Jilles Tjoelker [Sat, 11 Feb 2012 22:17:04 +0000 (23:17 +0100)]
Allow opers to do /stats C.
In particular, this allows remote /stats C.
Jilles Tjoelker [Sat, 4 Feb 2012 17:46:28 +0000 (18:46 +0100)]
Allow normal users to do PRIVS on themselves.
This basically shows a subset of the information shown by the notices
on connect like "*** You are exempt from K/X lines".
Keith Buck [Mon, 6 Feb 2012 16:38:10 +0000 (16:38 +0000)]
chmode.c: Fix bug in printing removed bans.
William Pitcock [Sun, 5 Feb 2012 03:33:54 +0000 (21:33 -0600)]
m_stats: iterate capability indexes on /stats C
William Pitcock [Sun, 5 Feb 2012 03:27:43 +0000 (21:27 -0600)]
capability: add capability_index_stats() for getting statistics about the capability broker system
William Pitcock [Sun, 5 Feb 2012 03:16:40 +0000 (21:16 -0600)]
capability: add global list of capability indexes, and name all capability indexes
William Pitcock [Sun, 5 Feb 2012 00:49:46 +0000 (18:49 -0600)]
m_remove: fix parameter order on PART message
Jilles Tjoelker [Sat, 4 Feb 2012 14:15:26 +0000 (15:15 +0100)]
Don't shadow the name "index".
Jilles Tjoelker [Sat, 4 Feb 2012 14:02:17 +0000 (15:02 +0100)]
Require all modes to be set for + part in $m extban.
This is like the - part requiring none of the modes to be set and is more
useful because the old behaviour can be emulated with multiple bans.
William Pitcock [Sat, 4 Feb 2012 11:23:15 +0000 (05:23 -0600)]
capability: store capability bit entries with actual bit numbers, instead of as an expanded mask
This makes accounting of number of bits allocated easier. Specifically, the amount of allocated
bits is computed by doing (index->highest_bit - 1) in code.
William Pitcock [Sat, 4 Feb 2012 11:13:04 +0000 (05:13 -0600)]
capability: don't use DictionaryIter internals.
it's just ugly now that we're providing our own copies of keys.
William Pitcock [Sat, 4 Feb 2012 10:47:37 +0000 (04:47 -0600)]
capability: do not use strings provided by modules for keyword index, instead duplicate the keyword.
William Pitcock [Sat, 4 Feb 2012 10:39:39 +0000 (04:39 -0600)]
m_server: make sure required_caps is non-zero.
William Pitcock [Sat, 4 Feb 2012 10:18:48 +0000 (04:18 -0600)]
Re-libtoolize.
William Pitcock [Sat, 4 Feb 2012 10:14:20 +0000 (04:14 -0600)]
configure: set version to charybdis 3.4.0-dev
William Pitcock [Sat, 4 Feb 2012 08:20:56 +0000 (02:20 -0600)]
Add implementation of /REMOVE, based on ircd-seven implementation.
William Pitcock [Sat, 4 Feb 2012 08:03:52 +0000 (02:03 -0600)]
m_server: reenable required cap negotiation
William Pitcock [Sat, 4 Feb 2012 08:00:33 +0000 (02:00 -0600)]
capability: add capability_require().
William Pitcock [Sat, 4 Feb 2012 07:58:07 +0000 (01:58 -0600)]
capability: missed one
William Pitcock [Sat, 4 Feb 2012 07:55:11 +0000 (01:55 -0600)]
capability: change CapabilityIndex.orphaned to (CapabilityIndex.flags & CAP_ORPHANED)
This makes it possible to add other flags to capabilities.
William Pitcock [Sat, 4 Feb 2012 07:47:46 +0000 (01:47 -0600)]
Migrate capability negotiation code to new dynamic capability management API.
This needs a lot of testing, obviously.
William Pitcock [Sat, 4 Feb 2012 06:39:53 +0000 (00:39 -0600)]
capability: add capability_index_mask() which calculates old CAP_MASK
William Pitcock [Sat, 4 Feb 2012 06:36:42 +0000 (00:36 -0600)]
capability: add capability_index_list() to build a list of capabilities given an index and mask
William Pitcock [Sat, 4 Feb 2012 05:58:53 +0000 (23:58 -0600)]
Add a new dynamic capability manager.
Specifically, what this capability manager does, is map keywords to
calculated bitmasks. These bitmasks are allocated at runtime, so that
the any managed capability index can be manipulated by modules.
Modules should call capability_orphan() when orphaning capabilities. This
makes it so that bitmasks aren't reallocated, except for cases where the
capability is the same.
William Pitcock [Wed, 25 Jan 2012 19:24:04 +0000 (13:24 -0600)]
Missed a few -Wformat-security warnings.
William Pitcock [Wed, 25 Jan 2012 19:22:35 +0000 (13:22 -0600)]
Fix some warnings when using -Wformat-security on Alpine.