]>
jfr.im git - solanum.git/log
Elizabeth Jennifer Myers [Tue, 22 Feb 2011 17:00:45 +0000 (12:00 -0500)]
m_challenge: fix use of undefined behaviour.
GCC does what we expect, but other compilers could do just about anything.
Elizabeth Jennifer Myers [Sun, 13 Feb 2011 14:50:25 +0000 (09:50 -0500)]
can_send: properly initalise moduledata.
Jilles Tjoelker [Sun, 6 Feb 2011 14:50:58 +0000 (15:50 +0100)]
override: Apply floodcount to override sends.
This avoids strange behaviour where quieting an override
oper lets them send more, and matches ircd-seven.
Elizabeth Jennifer Myers [Tue, 25 Jan 2011 02:03:00 +0000 (21:03 -0500)]
Add endian test to autoconf and convert crypt to use it.
Jilles Tjoelker [Mon, 24 Jan 2011 23:39:07 +0000 (00:39 +0100)]
Fix memory leak of operator certfp fields.
Elizabeth Jennifer Myers [Sun, 23 Jan 2011 21:56:36 +0000 (16:56 -0500)]
newconf: fix a warning
Elizabeth Jennifer Myers [Sun, 23 Jan 2011 21:12:32 +0000 (16:12 -0500)]
newconf: fix certificate fingerprint auth.
yy_oper->certfp was not copied into yy_tmpoper->certfp, thus the information was lost and certfp auth was never really working, since the string was always empty.
Elizabeth Jennifer Myers [Mon, 17 Jan 2011 10:01:11 +0000 (05:01 -0500)]
Add blowfish to libratbox crypt.
Also change u_int*_t to uint*_t whilst I'm here.
Jilles Tjoelker [Mon, 10 Jan 2011 23:26:15 +0000 (00:26 +0100)]
Remove nickTS from extended-join.
Jilles Tjoelker [Mon, 10 Jan 2011 23:26:05 +0000 (00:26 +0100)]
Fix extended-join not sending any joins at all.
Note that IsCapable(x, NOCAPS) always returns true.
Jilles Tjoelker [Sat, 8 Jan 2011 16:47:05 +0000 (17:47 +0100)]
hunt_server: Disallow wildcarded nicknames.
Any hunted parameter with wildcards is now assumed
to be a server, never a user.
Reasons:
* fewer match() calls
* do not disclose existing nicknames
* more intuitive behaviour for CONNECT
m_trace has a copy of some hunt_server logic in it
(for the RPL_TRACELINK reply), so adjust that too.
Jilles Tjoelker [Sat, 8 Jan 2011 16:40:12 +0000 (17:40 +0100)]
Fix compiler warnings.
Keith Buck [Thu, 6 Jan 2011 08:40:08 +0000 (00:40 -0800)]
Move list-related isupport items to the list module itself.
Elizabeth Jennifer Myers [Thu, 6 Jan 2011 06:56:47 +0000 (01:56 -0500)]
Make SHA512 the default for mkpasswd again, as SHA512 support is guaranteed to *always* be in libratbox.
Elizabeth Jennifer Myers [Thu, 6 Jan 2011 06:41:57 +0000 (01:41 -0500)]
Overhaul extensions/m_mkpasswd. It now allows SHA256/SHA512 hashes. DES support is removed, as it is insecure and can be broken on my desktop in about 20 minutes.
Elizabeth Jennifer Myers [Thu, 6 Jan 2011 06:29:22 +0000 (01:29 -0500)]
Add SHA256/SHA512 support to crypt.c and fix up the MD5 component (it seemed to have been broken). In addition, unconditionally use the libratbox crypt.
Lee T. Starnes [Thu, 6 Jan 2011 05:20:04 +0000 (23:20 -0600)]
cosmetic fix: Blowfish doesn't use CamelCase
Keith Buck [Thu, 6 Jan 2011 05:15:36 +0000 (21:15 -0800)]
Add topic TS and channel TS constraints for /LIST.
Keith Buck [Thu, 6 Jan 2011 02:57:27 +0000 (18:57 -0800)]
Implement operspy for /LIST.
Keith Buck [Sun, 2 Jan 2011 08:43:11 +0000 (00:43 -0800)]
Fix multiple RPL_LISTEND replies when aborting a /LIST.
Jilles Tjoelker [Fri, 31 Dec 2010 01:43:38 +0000 (02:43 +0100)]
override: Provide an error message if +p may not be set.
Jilles Tjoelker [Fri, 31 Dec 2010 01:43:16 +0000 (02:43 +0100)]
Tweak previous commit to avoid problems with OMODE.
Do not allow a user to op themselves if they are
already opped, as "already opped" could be because
of OMODE's hack which will be unconditionally
reverted after the mode change.
Also, this matches old behaviour for users not
being able to generate mode changes redundantly
opping themselves.
Note that this change should only be taken advantage
of if all servers run patched code. Otherwise, mode
changes will be silently dropped and a desync
results.
William Pitcock [Fri, 31 Dec 2010 01:21:14 +0000 (19:21 -0600)]
Remove stupid hybrid-esque 'impossible to op yourself' hack.
Who the fuck thought that check was a good idea?
Jilles Tjoelker [Mon, 27 Dec 2010 16:31:11 +0000 (17:31 +0100)]
Fix topic changes after
6af636dce2e6 .
Stephen Bennett [Tue, 21 Dec 2010 20:53:39 +0000 (20:53 +0000)]
Add default for disable_local_channels. Missed this last time.
Stephen Bennett [Tue, 21 Dec 2010 20:38:04 +0000 (20:38 +0000)]
Bring across disable_local_channels config option from ircd-seven
William Pitcock [Thu, 16 Dec 2010 06:35:12 +0000 (00:35 -0600)]
account-notify spec: with the extended-join capability, doing a WHO on new users is not necessary.
William Pitcock [Thu, 16 Dec 2010 06:32:48 +0000 (00:32 -0600)]
Accountname should not be prefixed with a colon to allow future expansion.
William Pitcock [Thu, 16 Dec 2010 06:24:54 +0000 (00:24 -0600)]
Add extended-join client capability.
The extended-join client capability extends the JOIN message with information clients typically
query using WHO including accountname, signon TS and realname.
William Pitcock [Thu, 16 Dec 2010 06:19:24 +0000 (00:19 -0600)]
Add sendto_channel_local_with_capability().
William Pitcock [Thu, 16 Dec 2010 06:13:42 +0000 (00:13 -0600)]
Use send_channel_join().
William Pitcock [Thu, 16 Dec 2010 06:09:29 +0000 (00:09 -0600)]
Add send_channel_join().
William Pitcock [Thu, 16 Dec 2010 05:59:47 +0000 (23:59 -0600)]
Update specification.
William Pitcock [Thu, 16 Dec 2010 05:38:35 +0000 (23:38 -0600)]
Add specification for the account-notify protocol extension.
William Pitcock [Thu, 16 Dec 2010 05:04:57 +0000 (23:04 -0600)]
Rough implementation of the new account-notify client capability.
This replaces identify-msg in ircd-seven.
William Pitcock [Thu, 16 Dec 2010 04:55:05 +0000 (22:55 -0600)]
Add capability parameter to sendto_common_channels_local() and sendto_common_channels_local_butone().
Jilles Tjoelker [Wed, 15 Dec 2010 20:49:47 +0000 (21:49 +0100)]
Remove redundant prototypes in src/ircd_lexer.l.
These seem unnecessary and may cause problems because they
are wrong in some cases.
A comment says these were needed for GCC 3.3. If you are
still using this compiler, check this and if it breaks,
some other approach is needed.
Jilles Tjoelker [Wed, 15 Dec 2010 20:48:26 +0000 (21:48 +0100)]
libratbox: Unbreak compile.
B.Greenham [Wed, 15 Dec 2010 20:43:35 +0000 (15:43 -0500)]
extensions/roleplay: Fix NPCA/FACTION not showing up properly on some clients.
William Pitcock [Wed, 15 Dec 2010 05:04:11 +0000 (23:04 -0600)]
Don't bother running the get_channel_access hook if the client is not really on the channel.
William Pitcock [Wed, 15 Dec 2010 04:57:23 +0000 (22:57 -0600)]
Don't bother running the can_send() hook if we're not on the channel.
William Pitcock [Wed, 15 Dec 2010 03:28:35 +0000 (21:28 -0600)]
ssld: Request fingerprint when connecting to the server, not just on inbound connections.
William Pitcock [Wed, 15 Dec 2010 03:25:44 +0000 (21:25 -0600)]
Correct error message involving no fingerprint credentials or password credentials being available.
William Pitcock [Tue, 14 Dec 2010 08:24:23 +0000 (02:24 -0600)]
Send ERR_TOOMANYCHANNELS for each channel join that fails due to channel limits.
The reason why we do this is because some clients are dependent on receiving a numeric
for every channel join failure, even due to this limit where it can be assumed that
subsequent joins failed.
William Pitcock [Tue, 14 Dec 2010 05:15:19 +0000 (23:15 -0600)]
Add mr_flea to contributors.
William Pitcock [Tue, 14 Dec 2010 05:14:00 +0000 (23:14 -0600)]
Add support for linking using SSL certificate fingerprints as the link credential rather than the traditional server-password pair.
William Pitcock [Tue, 14 Dec 2010 04:58:09 +0000 (22:58 -0600)]
libratbox: Use the server SSL certificate on outgoing connections.
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.