]>
jfr.im git - solanum.git/log
William Pitcock [Sun, 12 Dec 2010 02:21:47 +0000 (20:21 -0600)]
Fix regressions in can_send() caused by hooking it for override and modularized channel modules.
B.Greenham [Sat, 11 Dec 2010 20:51:11 +0000 (15:51 -0500)]
Make ENCAP ROLEPLAY originate from the user running the command, rather than just including the user in the message, as per jilles' suggestion.
This has the benefit of checking ROLEPLAY messages for fake direction.
B.Greenham [Thu, 9 Dec 2010 23:48:05 +0000 (18:48 -0500)]
CREDITS: Add myself to contributors.
B.Greenham [Thu, 9 Dec 2010 23:44:24 +0000 (18:44 -0500)]
Add extensions/m_roleplay, which provides various roleplay commands.
B.Greenham [Thu, 9 Dec 2010 23:29:56 +0000 (18:29 -0500)]
Move flood_attack_channel to channel.c so it can be used outside m_message.c
B.Greenham [Thu, 9 Dec 2010 17:02:24 +0000 (12:02 -0500)]
Add strip_unprintable, a function that strips all unprintable characters from a string.
William Pitcock [Tue, 7 Dec 2010 06:27:00 +0000 (00:27 -0600)]
Clean up OverrideSession struct on client exit.
William Pitcock [Tue, 7 Dec 2010 06:18:22 +0000 (00:18 -0600)]
override: Hack can_send().
William Pitcock [Tue, 7 Dec 2010 06:14:42 +0000 (00:14 -0600)]
Use get_channel_access() for KICK/TOPIC.
William Pitcock [Tue, 7 Dec 2010 06:12:36 +0000 (00:12 -0600)]
Actually make get_channel_access() public.
William Pitcock [Tue, 7 Dec 2010 06:11:53 +0000 (00:11 -0600)]
Reorder CHFL flags so that they can be used as ranks.
William Pitcock [Tue, 7 Dec 2010 06:09:46 +0000 (00:09 -0600)]
Add can_send hook.
William Pitcock [Tue, 7 Dec 2010 05:55:42 +0000 (23:55 -0600)]
override: Allow banwalking too.
William Pitcock [Tue, 7 Dec 2010 05:52:44 +0000 (23:52 -0600)]
Make the can_join hook more flexible.
William Pitcock [Tue, 7 Dec 2010 05:44:55 +0000 (23:44 -0600)]
Add oper-override (modehacking only) as a module.
I think if you are going to kick someone from a channel.
William Pitcock [Tue, 7 Dec 2010 04:57:28 +0000 (22:57 -0600)]
Add a hook for get_channel_access().
William Pitcock [Tue, 7 Dec 2010 04:57:04 +0000 (22:57 -0600)]
Extend hook_data_channel_activity moduledata with membership struct.
William Pitcock [Tue, 7 Dec 2010 04:46:37 +0000 (22:46 -0600)]
chmode: Remove chm_regonly, a vestige from ratbox which doesn't apply to native charybdis networks.
William Pitcock [Tue, 7 Dec 2010 04:38:18 +0000 (22:38 -0600)]
CREDITS: Move spb up where he belongs.
Jilles Tjoelker [Sun, 5 Dec 2010 15:51:48 +0000 (16:51 +0100)]
Change max_bans in reference.conf from 25 to 100, like example.conf.
William Pitcock [Sun, 5 Dec 2010 05:13:35 +0000 (23:13 -0600)]
Use %u instead of %d.
William Pitcock [Sun, 5 Dec 2010 05:11:04 +0000 (23:11 -0600)]
blacklist: Remove the sscanf() for the IPv4 blacklist check.
From ratbox r27061 (androsyn).
JD Horelick [Sat, 4 Dec 2010 22:29:01 +0000 (17:29 -0500)]
Do not install ban .conf files (like kline.conf, rsv.conf, etc) as they aren't used anymore.
JD Horelick [Sat, 4 Dec 2010 22:26:14 +0000 (17:26 -0500)]
Remove all the DEFINE's and the random places they were used for the .conf-based ban stuff.
William Pitcock [Tue, 23 Nov 2010 14:52:18 +0000 (08:52 -0600)]
libratbox: Clean up uses of strcpy().
JD Horelick [Sun, 14 Nov 2010 21:51:27 +0000 (16:51 -0500)]
Fix some various warnings.
Some from ShadowIRCd, one from ircd-seven.
JD Horelick [Sat, 13 Nov 2010 21:07:54 +0000 (16:07 -0500)]
Change the filenames of the generated SSL key/cert to ssl.* instead of test.* so that they're a bit more descriptive.
William Pitcock [Fri, 5 Nov 2010 06:16:03 +0000 (01:16 -0500)]
Filter bogus CTCP ACTION messages.
William Pitcock [Thu, 28 Oct 2010 18:24:22 +0000 (13:24 -0500)]
Add documentation for proposed JUPE TS6 command.
William Pitcock [Mon, 25 Oct 2010 02:02:32 +0000 (21:02 -0500)]
parse(): make reentrant
William Pitcock [Tue, 28 Sep 2010 18:47:33 +0000 (13:47 -0500)]
Added tag charybdis-3.3.0 for changeset
55f974346090
William Pitcock [Tue, 28 Sep 2010 18:47:23 +0000 (13:47 -0500)]
Autoreconf.
William Pitcock [Tue, 28 Sep 2010 18:46:13 +0000 (13:46 -0500)]
Added tag charybdis-3.3.0 for changeset
c941077f6d84
William Pitcock [Tue, 28 Sep 2010 18:46:09 +0000 (13:46 -0500)]
Charybdis 3.3.0.
William Pitcock [Mon, 27 Sep 2010 23:00:35 +0000 (18:00 -0500)]
Update NEWS.
William Pitcock [Fri, 17 Sep 2010 15:48:56 +0000 (10:48 -0500)]
Example configuration: Set the default TLS port to 6697.
Jilles Tjoelker [Wed, 15 Sep 2010 23:39:06 +0000 (01:39 +0200)]
mkpasswd: Default to MD5-based crypt instead of SHA-based.
We have own code for MD5-based crypt and can therefore
support this even if the OS does not. The SHA-based crypts
are not ubiquitous yet.
William Pitcock [Wed, 15 Sep 2010 08:44:58 +0000 (03:44 -0500)]
mkpasswd: Default to SHA512 instead of inherently insecure DES.
Jilles Tjoelker [Sun, 29 Aug 2010 20:30:54 +0000 (22:30 +0200)]
Show the services login name in WHOWAS.
The numeric is the same (330) as used in WHOIS.
This takes at most half a megabyte of memory (large network, 30 char nicks).
Jilles Tjoelker [Sun, 29 Aug 2010 20:29:17 +0000 (22:29 +0200)]
Move RPL_WHOISLOGGEDIN to sendto_one_numeric().
William Pitcock [Sun, 29 Aug 2010 19:07:44 +0000 (14:07 -0500)]
Note that can_join() is not remote-user safe.
Jilles Tjoelker [Sun, 29 Aug 2010 13:16:47 +0000 (15:16 +0200)]
Provide an error message when a user does /quote ban.
Jilles Tjoelker [Sat, 28 Aug 2010 23:26:00 +0000 (01:26 +0200)]
Add target change for channels.
This has a separate enabling option channel::channel_target_change.
It applies to PRIVMSG, NOTICE and TOPIC by unvoiced unopped non-opers.
The same slots are used for channels and users.
Stephen Bennett [Fri, 27 Aug 2010 22:11:54 +0000 (23:11 +0100)]
Add initial pass at 3.3.x NEWS
Jilles Tjoelker [Tue, 24 Aug 2010 21:03:23 +0000 (23:03 +0200)]
Send only one ERR_MLOCKRESTRICTED per MODE command.
This agrees with other error messages from MODE.
Jilles Tjoelker [Tue, 24 Aug 2010 20:51:20 +0000 (22:51 +0200)]
Change ERR_MLOCKRESTRICTED to 742 as 735-739 seem for MONITOR extensions.
Jilles Tjoelker [Tue, 24 Aug 2010 20:46:57 +0000 (22:46 +0200)]
Remove redundant MyClient check, it is already checked above.
Stephen Bennett [Tue, 24 Aug 2010 20:31:55 +0000 (21:31 +0100)]
Merge backout of
8939a7e03d15
Stephen Bennett [Tue, 24 Aug 2010 20:30:56 +0000 (21:30 +0100)]
Backed out changeset
8939a7e03d15
The code behind this capability was never implemented, and subsequent
discussions have agreed to approach the problem differently. There seems no
reason to continue advertising a capability that does nothing.
William Pitcock [Tue, 24 Aug 2010 04:37:13 +0000 (23:37 -0500)]
Most of this was out of date too.
William Pitcock [Tue, 24 Aug 2010 04:33:03 +0000 (23:33 -0500)]
Clean up documentation.
William Pitcock [Tue, 24 Aug 2010 01:22:59 +0000 (20:22 -0500)]
Enforce TS rules on MLOCKs.
William Pitcock [Tue, 24 Aug 2010 00:04:46 +0000 (19:04 -0500)]
Send numeric 735 on MLOCK policy-restricted mode changes that are ignored.
William Pitcock [Mon, 23 Aug 2010 23:59:32 +0000 (18:59 -0500)]
Add ERR_MLOCKRESTRICTED (735) to reflect bounces caused by MLOCK.
William Pitcock [Mon, 23 Aug 2010 22:03:37 +0000 (17:03 -0500)]
Kill unsupported modules directory.
Elly [Mon, 23 Aug 2010 03:21:38 +0000 (23:21 -0400)]
Change oper-up message.
Jilles Tjoelker [Sun, 4 Jul 2010 15:14:56 +0000 (17:14 +0200)]
Tweak auto-accept:
* does not apply to NOTICE (as those may well be automated)
* mirrors +g behaviour so that no useless accept entries are added for services
* respects max_accept, if it would be exceeded the message is dropped with numeric 494
* check moved up so this is checked before floodcount/tgchange
William Pitcock [Sat, 3 Jul 2010 05:44:55 +0000 (00:44 -0500)]
Stop griefing through taunting while hiding behind CALLERID.
This shouldn't provide any way for a client to get on a CALLERID list
without authorization, as if a client is +g already, a CTCP request, for
example, won't be replied to.
William Pitcock [Sat, 19 Jun 2010 21:53:56 +0000 (16:53 -0500)]
strip_colour(): strip ASCII 29 (mIRC 7 italics).
Jilles Tjoelker [Thu, 10 Jun 2010 20:16:07 +0000 (22:16 +0200)]
Propagate changed away messages to other servers,
even if the away status did not change.
Jilles Tjoelker [Wed, 9 Jun 2010 19:22:47 +0000 (21:22 +0200)]
Make number_per_ident actually apply to unidented connections as well,
as documented in reference.conf.
Noticed by: spb
Elly [Tue, 1 Jun 2010 17:11:47 +0000 (13:11 -0400)]
Fix memory leaks in PASS command, both in normal and repeated use.
Jilles Tjoelker [Wed, 19 May 2010 22:23:32 +0000 (00:23 +0200)]
dline help: add oper reason, clarify temps, add ON <server>.
freenode!ChrisAM [Wed, 19 May 2010 02:53:22 +0000 (22:53 -0400)]
Add help/opers/extban for users and opers.
William Pitcock [Fri, 14 May 2010 13:49:31 +0000 (08:49 -0500)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Fri, 14 May 2010 13:49:26 +0000 (08:49 -0500)]
Recommend EFNet's RBL instead of DroneBL due to trustworthiness issues.
(StaticBox policy change as of May 14, 2010.)
Jilles Tjoelker [Sat, 8 May 2010 22:30:51 +0000 (00:30 +0200)]
openssl: Avoid cutting off OpenSSL errors at 119 chars.
ERR_error_string() is just broken, as it returns at most 119 chars
which means error messages are frequently truncated.
Allow for 511 chars using ERR_error_string_n().
Jilles Tjoelker [Sat, 8 May 2010 22:30:51 +0000 (00:30 +0200)]
openssl: Avoid cutting off OpenSSL errors at 119 chars.
ERR_error_string() is just broken, as it returns at most 119 chars
which means error messages are frequently truncated.
Allow for 511 chars using ERR_error_string_n().
Stephen Bennett [Sun, 2 May 2010 21:18:13 +0000 (22:18 +0100)]
Update MLOCK protocol documentation to match changes in code
Stephen Bennett [Sun, 2 May 2010 20:36:32 +0000 (21:36 +0100)]
Branch merge
Stephen Bennett [Sun, 2 May 2010 20:29:22 +0000 (21:29 +0100)]
Backed out changeset
c57955c5225e
Now that MLOCK is no longer stored as a struct Mode, this is unnecessary.
Stephen Bennett [Sun, 2 May 2010 20:25:58 +0000 (21:25 +0100)]
Fix compiler warning
Stephen Bennett [Sun, 2 May 2010 19:42:46 +0000 (20:42 +0100)]
Allow the final parameter of MLOCK to be empty, to remove an existing mlock
Stephen Bennett [Fri, 30 Apr 2010 21:03:42 +0000 (22:03 +0100)]
Branch merge
Stephen Bennett [Fri, 30 Apr 2010 21:01:21 +0000 (22:01 +0100)]
Rework ircd-side MLOCK enforcement: instead of trying to track modes locked on or off, instead keep a simple list of mode letters that are locked, and reject any change to those modes.
Jilles Tjoelker [Wed, 28 Apr 2010 22:26:49 +0000 (00:26 +0200)]
Improve technical documentation of BAN protocol.
Jilles Tjoelker [Sun, 18 Apr 2010 11:54:03 +0000 (13:54 +0200)]
Fix crash if identify_service/identify_command were not specified in ircd.conf.
Jilles Tjoelker [Wed, 14 Apr 2010 22:46:33 +0000 (00:46 +0200)]
Do not allow a topic change if a user may not send to the channel
(resv, cmode +m, cmode +b, cmode +q, etc.).
This is only checked for local users.
For optimal compatibility, a failure for this reason still
returns ERR_CHANOPRIVSNEEDED.
Side effect: normal users cannot change topics of resv'ed
channels, even if they have ops, just like they already
cannot send messages. This only matters if resv_forcepart
is disabled, as the user would have been removed from the
channel otherwise.
William Pitcock [Tue, 6 Apr 2010 22:14:51 +0000 (17:14 -0500)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Tue, 6 Apr 2010 22:14:44 +0000 (17:14 -0500)]
Hook up source-account-hostmask client protocol extension.
JD Horelick [Mon, 5 Apr 2010 20:29:11 +0000 (16:29 -0400)]
Change config option for ident_timeout to default_ident_timeout as jilles
recommended.
JD Horelick [Mon, 5 Apr 2010 19:28:44 +0000 (15:28 -0400)]
Add a configuration option for ident_timeout.
Jilles Tjoelker [Wed, 31 Mar 2010 23:16:16 +0000 (01:16 +0200)]
New custom channel mode API allowing reloading such modules.
Additionally, attempting to use too many modes or two times
the same letter is now detected and prevented.
Modules now request that a channel mode be added/orphaned,
instead of ugly manipulation from which that request had
to be guessed.
Slight changes are needed to modules that provide channel modes.
From the old API, one important function has been made static,
the other important function has been renamed, so loading old
modules should fail safely.
JD Horelick [Sun, 28 Mar 2010 07:04:59 +0000 (03:04 -0400)]
Add help for MODRELOAD.
Jilles Tjoelker [Sat, 27 Mar 2010 19:09:46 +0000 (20:09 +0100)]
Fix various compiler warnings.
Jilles Tjoelker [Sat, 27 Mar 2010 15:24:13 +0000 (16:24 +0100)]
Restore snotes, logs for UNRESV nick.
This bug was introduced when adding bandb.
Jilles Tjoelker [Sat, 27 Mar 2010 15:13:57 +0000 (16:13 +0100)]
Add propagated resvs, like klines and xlines.
Jilles Tjoelker [Sat, 27 Mar 2010 15:09:26 +0000 (16:09 +0100)]
XLINE: Do not cluster unxlines ON specific servers.
This bug was introduced with BAN support for XLINE.
Jilles Tjoelker [Sat, 27 Mar 2010 01:06:29 +0000 (02:06 +0100)]
Remove unused variable.
Jilles Tjoelker [Wed, 17 Mar 2010 23:22:35 +0000 (00:22 +0100)]
BAN: xlines do not have oper reasons, their "reason" is already oper only.
Jilles Tjoelker [Tue, 16 Mar 2010 22:05:50 +0000 (23:05 +0100)]
Add propagated xlines, like klines.
Jilles Tjoelker [Tue, 16 Mar 2010 18:13:09 +0000 (19:13 +0100)]
Fix a signedness comparison warning.
Jilles Tjoelker [Sun, 14 Mar 2010 16:21:20 +0000 (17:21 +0100)]
Add option general::use_propagated_bans to allow disabling new KLINE.
If this option is yes (default), KLINE by itself sets global (propagated) bans.
If this option is no, KLINE by itself sets a local kline following cluster{},
compatible with 3.2 and older versions.
William Pitcock [Mon, 8 Mar 2010 05:15:52 +0000 (23:15 -0600)]
chm_simple(): enforce MLOCK
William Pitcock [Mon, 8 Mar 2010 05:13:39 +0000 (23:13 -0600)]
Add propagation of MLOCK state for simple modes.
Special modes like +j can be tracked easily just by adding the necessary
code to parse them to set_channel_mlock(). This will cover propagation
as well.
William Pitcock [Mon, 8 Mar 2010 05:12:35 +0000 (23:12 -0600)]
Fix order on channel_mlock() call.
William Pitcock [Mon, 8 Mar 2010 04:30:30 +0000 (22:30 -0600)]
Fix typo.
William Pitcock [Mon, 8 Mar 2010 04:29:34 +0000 (22:29 -0600)]
Add MLOCK message to netjoin burst.
William Pitcock [Mon, 8 Mar 2010 04:25:41 +0000 (22:25 -0600)]
Add MLOCK capability token.
William Pitcock [Mon, 8 Mar 2010 04:22:14 +0000 (22:22 -0600)]
Rename channel_modes() to channel_modes_real(), and use macros to build both the mode list, and the mlock list.