Commit Graph

1820 Commits

Author SHA1 Message Date
JD Horelick 1117974490 tools: Added shadow_help.pl. This is a simple irssi script that adds a OHELP command.
OHELP calls HELP so there's no conflict with in-client help and you do not have
to call HELP with /quote help.
2011-05-15 17:55:18 -04:00
JD Horelick 44d01be7cf Added tag shadowircd-6.3.1 for changeset 8f3ad8b98351 2011-05-15 14:49:15 -04:00
JD Horelick 83118989b9 ShadowIRCd 6.3.1 2011-05-15 14:49:03 -04:00
Jilles Tjoelker 3cc95ad818 Allow kick_on_split_riding to protect channels with mlocked keys.
Do kick_on_split_riding if services sends an SJOIN
with a lower TS and a different key. This relies on
services restoring TS (changets option in atheme) and
services not immediately parting after receiving the
KICK, which is the case in recent atheme.

For invite-only channels, still only do
kick_on_split_riding in netbursts. Services is
assumed to handle this itself (atheme does).
2011-04-06 19:05:08 +02:00
William Pitcock 9494478ea0 bantool: _XOPEN_SOURCE should die in a fire 2011-03-17 10:45:57 -05:00
Jilles Tjoelker 00d66a41f4 Style: use a consistent order for the _C constants. 2011-03-31 00:05:42 +02:00
Stephen Bennett f970f73c68 Disallow mIRC italics in channel names when disable_fake_channels 2011-03-30 11:30:47 +01:00
Jilles Tjoelker 8d5df4cb82 Cope with OPENSSL_VERSION_NUMBER not being a long.
Contrary to the documentation, this is the case on recent FreeBSD at least.
2011-03-20 18:46:32 +01:00
Stephen Bennett 3fa27fe787 Don't allow +Z to be set by default_umodes 2011-03-11 13:12:40 +00:00
Elizabeth Jennifer Myers d9c2579647 m_challenge: fix use of undefined behaviour.
GCC does what we expect, but other compilers could do just about anything.
2011-02-22 12:00:45 -05:00
JD Horelick 01a8417f75 When setting/unsetting cmode +M, only wallops once, not for every server on the network. 2011-05-15 14:01:07 -04:00
JD Horelick 3df8ab7a98 Added tag shadowircd-6.3.0 for changeset 031bedf7e340 2011-02-05 21:24:19 -05:00
JD Horelick 1c895dfbe1 ShadowIRCd 6.3.0 2011-02-05 21:24:08 -05:00
JD Horelick 6dec141a91 Regenerate libratbox configure. 2011-02-05 21:23:08 -05:00
Elizabeth Jennifer Myers d0c759a857 Add endian test to autoconf and convert crypt to use it. 2011-01-24 21:03:00 -05:00
Jilles Tjoelker 6cb47f18b5 Fix memory leak of operator certfp fields. 2011-01-25 00:39:07 +01:00
Elizabeth Jennifer Myers 6a00233824 newconf: fix a warning 2011-01-23 16:56:36 -05:00
Elizabeth Jennifer Myers fd999fad3a 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.
2011-01-23 16:12:32 -05:00
JD Horelick 696c935a4c When changing an oper's host, be sure that the mode value has enough room to hold +ah too. 2011-01-26 16:45:41 -05:00
JD Horelick 76db5f7dd4 Added tag shadowircd-6.3.0-RC1 for changeset 5d25c87c7895 2011-01-20 00:02:48 -05:00
JD Horelick ca7dc82d5b ShadowIRCd 6.3.0-RC1 2011-01-20 00:02:30 -05:00
JD Horelick a13221bcae Write a bit of Not The Nine O'Clock NEWS. :P 2011-01-20 00:01:50 -05:00
JD Horelick 2f24d19944 Fix some warnings. 2011-01-19 15:59:30 -05:00
Elizabeth Jennifer Myers 44e6a470d6 Add blowfish to libratbox crypt.
Also change u_int*_t to uint*_t whilst I'm here.
2011-01-17 05:01:11 -05:00
Jilles Tjoelker e9ced3de20 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.
2011-01-08 17:47:05 +01:00
Jilles Tjoelker 86044bd2d6 Fix compiler warnings. 2011-01-08 17:40:12 +01:00
Keith Buck f38f82ac36 Move list-related isupport items to the list module itself. 2011-01-06 00:40:08 -08:00
Elizabeth Jennifer Myers 565b527019 Make SHA512 the default for mkpasswd again, as SHA512 support is guaranteed to *always* be in libratbox. 2011-01-06 01:56:47 -05:00
Elizabeth Jennifer Myers 28545c3683 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. 2011-01-19 15:54:44 -05:00
JD Horelick 12e395252c 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. 2011-01-19 15:50:46 -05:00
Lee T. Starnes bd477ff3a3 cosmetic fix: Blowfish doesn't use CamelCase 2011-01-05 23:20:04 -06:00
JD Horelick e8e3ef0dfb Add topic TS and channel TS constraints for /LIST. 2011-01-19 15:45:45 -05:00
JD Horelick e78f804d42 Implement operspy for /LIST. 2011-01-19 15:41:23 -05:00
Keith Buck a0a6c0dd39 Fix multiple RPL_LISTEND replies when aborting a /LIST. 2011-01-02 00:43:11 -08:00
Jilles Tjoelker 26576db0b3 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.
2010-12-15 21:49:47 +01:00
Jilles Tjoelker 7123097bae libratbox: Unbreak compile. 2010-12-15 21:48:26 +01:00
JD Horelick 8c76e73bcf commit c90f903a667ed5744b93b6b89892de4e8c045d17
Author: Stephen Bennett <spb@exherbo.org>
Date:   Fri Dec 31 17:14:05 2010 +0000

    Expire umode +p correctly if it's set via oper_umodes, as well as by user_mode. Bug found by tgies.
2011-01-19 15:15:55 -05:00
JD Horelick bd73ea56ba commit 90509b2e2a364471f2461367fd02c11c8ab3c72d
Author: Stephen Bennett <spb@exherbo.org>
Date:   Fri Dec 31 17:11:50 2010 +0000

    Don't allow opers without the override privilege to get +p via the oper_umodes config setting
2011-01-19 15:15:50 -05:00
B.Greenham 0258787d5d Fix small bug in the VERSION/RPL_MYINFO stuff, as pointed out by init. 2011-01-19 11:28:16 -05:00
JD Horelick af1a78b7c6 extensions/m_roleplay: Channelmode +E is no longer used to allow roleplay commands. It is now +N. Fix the check for it. 2011-01-02 19:26:09 -05:00
B.Greenham 002ca0f963 extensions/roleplay: Fix NPCA/FACTION not showing up properly on some clients. 2010-12-15 15:43:35 -05:00
JD Horelick 4b631c0586 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.
2010-12-15 00:02:47 -05:00
William Pitcock 77306edd39 ssld: Request fingerprint when connecting to the server, not just on inbound connections. 2010-12-14 21:28:35 -06:00
William Pitcock dc34aae05e Correct error message involving no fingerprint credentials or password credentials being available. 2010-12-14 21:25:44 -06:00
JD Horelick 255130dde8 Add mr_flea (and Taros) to the list of Charybdis contributors. 2010-12-14 00:33:42 -05:00
William Pitcock 5ac470475d Add support for linking using SSL certificate fingerprints as the link credential rather than the traditional server-password pair. 2010-12-13 23:14:00 -06:00
William Pitcock 6ec1ddabff libratbox: Use the server SSL certificate on outgoing connections. 2010-12-13 22:58:09 -06:00
B.Greenham f0bbc013a2 Correct an error in help roleplay. 2010-12-11 16:35:29 -05:00
JD Horelick 0284952c9f Move cmode +N to cmode +d, so that extensions/m_roleplay can retain cmode +N and maintain a consistent interface with charybdis. 2011-01-19 23:40:21 -05:00
B.Greenham a26bd77404 Bring up updated roleplay module from charybdis. 2010-12-11 16:28:40 -05:00