]>
jfr.im git - solanum.git/log
Jilles Tjoelker [Sun, 7 Aug 2011 20:10:12 +0000 (22:10 +0200)]
override: Send notice when overriding can_send.
Also ensure no session deadline is maintained for a remote client.
Jilles Tjoelker [Sun, 7 Aug 2011 20:04:16 +0000 (22:04 +0200)]
Remove a stale comment.
Elizabeth Jennifer Myers [Tue, 26 Jul 2011 03:38:56 +0000 (23:38 -0400)]
Remove #define KEY from ip_cloaking modules.
I meant to do this 3 years ago when I rewrote the cloaking modules. I
never got around to it. Now I am. :p
Also add some basic comment headers whilst I'm here.
Elizabeth Jennifer Myers [Tue, 26 Jul 2011 03:36:00 +0000 (23:36 -0400)]
Update my email.
Elizabeth Jennifer Myers [Tue, 26 Jul 2011 03:32:36 +0000 (23:32 -0400)]
bandb/makefile.in: Add bantool to make clean.
Elizabeth Jennifer Myers [Fri, 8 Jul 2011 01:24:14 +0000 (21:24 -0400)]
Back out chanroles.
While what chanroles are trying to accomplish is a good idea, it is
apparently unclear this is the proper way to do it. Until we figure out
the exact way we wish to do this, it should be reverted for now.
Elizabeth Jennifer Myers [Wed, 6 Jul 2011 22:14:57 +0000 (18:14 -0400)]
Partially revert
e794d39a8053005fdd2835d6206a88cc23262f8d .
As jilles pointed out, it is best that the chanserv access list always
remain synced with the grant list. Thus, the ability for clients to set
this is not a good idea unless services knows about the grant, but this
leads to all sorts of messy issues and likely isn't worth it.
Elizabeth Jennifer Myers [Wed, 6 Jul 2011 21:25:26 +0000 (17:25 -0400)]
Add client interface for GRANT.
TODO: implement notifications of grant privilege changes to the target.
William Pitcock [Wed, 6 Jul 2011 20:16:38 +0000 (15:16 -0500)]
Update TODO.
William Pitcock [Wed, 6 Jul 2011 20:12:46 +0000 (15:12 -0500)]
chanroles: instead of checking for chanop + CHANROLE_UNSET combination, grant a default set of flags.
this allows ops with zero effective privilege.
William Pitcock [Wed, 6 Jul 2011 20:04:45 +0000 (15:04 -0500)]
chanroles: ENCAP GRANT should work under the assumption that we want to zero out
this makes setting new roles on a user much easier as we're just setting the roles they
should be having, instead of having to try to revoke roles we don't necessarily know
about.
William Pitcock [Wed, 6 Jul 2011 20:00:32 +0000 (15:00 -0500)]
chanroles: grant initial set of flags to people added to a channel with CHFL_CHANOP.
this allows us to, later on, add a hook that will enable us to disable channel ops entirely
without causing permissions revocation.
Elizabeth Jennifer Myers [Wed, 6 Jul 2011 17:50:36 +0000 (13:50 -0400)]
Add chanroles to isupport so clients know it exists.
Elizabeth Jennifer Myers [Wed, 6 Jul 2011 17:35:11 +0000 (13:35 -0400)]
Implement chanroles, as discussed with nenolod.
The theory behind this is that services sends an ENCAP * GRANT #channel
UID :+flagspec message specifying the chanroles the user has. They are
mapped into flag bits and applied to the membership of the user. They
then are restricted or permitted to what they can do based on the
permissions mask regardless of rank.
For backwards compatibility, the default permission bit (without a GRANT
statement) allows a user to to anything an existing op can do ONLY if
they are an op.
Todo: make CHANROLE_STATUS work (the ability to apply +ov to people),
which is at the moment controlled by CHANROLE_MODE.
William Pitcock [Sun, 3 Jul 2011 00:52:12 +0000 (19:52 -0500)]
RSFNC: allow RSFNC against a target which just changes the capitalization of the nickname
this is useful for gently changing a nickname from ReTARDeDNICk to Retardednick, see
ns_cleannick in atheme git.
Jilles Tjoelker [Sat, 25 Jun 2011 13:56:22 +0000 (15:56 +0200)]
rsfnc/svslogin: Add server notices for kills.
When we broadcast a KILL message, this generates server notices on all
other servers (assuming the target user exists). Therefore, we should
also send a notice to our local opers.
Jilles Tjoelker [Sat, 25 Jun 2011 09:34:34 +0000 (11:34 +0200)]
dline,kline: Avoid breaking the protocol with bad bans.
Jilles Tjoelker [Sat, 25 Jun 2011 09:34:16 +0000 (11:34 +0200)]
invite: Remove useless IsChannelName check.
Jilles Tjoelker [Sat, 25 Jun 2011 09:17:37 +0000 (11:17 +0200)]
knock,topic: Remove useless IsChannelName checks.
If !IsChannelName(name), then certainly find_channel(name) == NULL.
Jilles Tjoelker [Sat, 18 Jun 2011 11:22:57 +0000 (13:22 +0200)]
Generate include/serno.h from git information, if available.
Jilles Tjoelker [Sat, 18 Jun 2011 11:14:57 +0000 (13:14 +0200)]
Do not assign to MAKE in the main Makefile.
The assignment is incorrect as it assumes the make program is called "make".
JD Horelick [Fri, 3 Jun 2011 17:35:27 +0000 (13:35 -0400)]
Merge branch 'master' of ssh://git.atheme.org/gitroot/charybdis
JD Horelick [Fri, 3 Jun 2011 17:34:44 +0000 (13:34 -0400)]
Fix makerelease.sh
Jilles Tjoelker [Mon, 23 May 2011 22:33:28 +0000 (00:33 +0200)]
Add additional version.c variants to gitignore.
Jilles Tjoelker [Mon, 23 May 2011 22:30:45 +0000 (00:30 +0200)]
operspy list: Show '!' prefix for otherwise hidden channels rather than +s ones.
This is consistent with operspy whois.
Keith Buck [Mon, 23 May 2011 03:30:49 +0000 (20:30 -0700)]
modules/m_list.c: Change operspy LIST syntax to match everything else that accepts operspy.
Tony Vroon [Sun, 22 May 2011 18:35:55 +0000 (14:35 -0400)]
makerelease.sh: Do things the git way; add a sanity check for release name.
JD Horelick [Sun, 22 May 2011 18:48:14 +0000 (14:48 -0400)]
.hgignore -> .gitignore (also rm'd .hgtags).
William Pitcock [Thu, 19 May 2011 23:39:28 +0000 (18:39 -0500)]
We use GIT now.
Keith Buck [Mon, 16 May 2011 22:29:09 +0000 (15:29 -0700)]
Add target change spam notice.
Keith Buck [Sat, 14 May 2011 06:42:27 +0000 (23:42 -0700)]
Pedantry: Make indentation consistent in example and reference confs.
William Pitcock [Sun, 8 May 2011 16:20:34 +0000 (11:20 -0500)]
libtoolize
William Pitcock [Sun, 8 May 2011 14:11:50 +0000 (09:11 -0500)]
branding: denote custom branding in ircd -version
William Pitcock [Sun, 8 May 2011 14:06:19 +0000 (09:06 -0500)]
branding: if CUSTOM_BRANDING is defined, display charybdis version in /info
(based on ircd-seven rebrand patch)
William Pitcock [Sun, 8 May 2011 13:55:32 +0000 (08:55 -0500)]
configure: Add --with-custom-branding and --with-custom-version options.
Kiyoshi Aman [Tue, 19 Apr 2011 08:53:14 +0000 (04:53 -0400)]
Automated merge with http://hg.atheme.org/charybdis
Kiyoshi Aman [Tue, 19 Apr 2011 08:52:56 +0000 (04:52 -0400)]
doc/extended-join.txt: Document CAP extended-join.
Jilles Tjoelker [Wed, 6 Apr 2011 17:05:08 +0000 (19:05 +0200)]
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).
Jilles Tjoelker [Sun, 3 Apr 2011 22:59:20 +0000 (00:59 +0200)]
If the sasl mechanism is EXTERNAL, send the certfp in the initial S message.
Jilles Tjoelker [Sun, 3 Apr 2011 22:44:07 +0000 (00:44 +0200)]
Back out AUTHENTICATE EXTERNAL so I can do it differently.
The current approach is fundamentally broken as it allows
anyone in that knows the certfp and uses an old ircd as
their server.
Jilles Tjoelker [Thu, 31 Mar 2011 21:26:26 +0000 (23:26 +0200)]
Revert "sasl: remove checks for impossible conditions".
This check is not impossible and can be triggered by
sending a PASS command like a server would send first.
This backs out changeset
8cba4464feec .
William Pitcock [Thu, 31 Mar 2011 05:35:58 +0000 (00:35 -0500)]
sasl: first attempt at ircv3.1 AUTHENTICATE EXTERNAL support
William Pitcock [Thu, 31 Mar 2011 05:18:32 +0000 (00:18 -0500)]
sasl: remove checks for impossible conditions
Stephen Bennett [Sun, 27 Mar 2011 20:35:26 +0000 (16:35 -0400)]
Make flood control settings configurable by those who know exactly what they're doing.
From ircd-seven git changeset
29aa4203150337925a4f5c6e7da47be5394c2125 .
Jilles Tjoelker [Sun, 20 Mar 2011 17:46:32 +0000 (18:46 +0100)]
Cope with OPENSSL_VERSION_NUMBER not being a long.
Contrary to the documentation, this is the case on recent FreeBSD at least.
William Pitcock [Thu, 17 Mar 2011 15:45:57 +0000 (10:45 -0500)]
bantool: _XOPEN_SOURCE should die in a fire
Jilles Tjoelker [Wed, 30 Mar 2011 22:05:42 +0000 (00:05 +0200)]
Style: use a consistent order for the _C constants.
Stephen Bennett [Wed, 30 Mar 2011 10:30:47 +0000 (11:30 +0100)]
Disallow mIRC italics in channel names when disable_fake_channels
Stephen Bennett [Fri, 11 Mar 2011 13:12:40 +0000 (13:12 +0000)]
Don't allow +Z to be set by default_umodes
William Pitcock [Sun, 27 Feb 2011 21:48:05 +0000 (15:48 -0600)]
Add Elizacat to contributors.
Elizabeth Jennifer Myers [Sun, 27 Feb 2011 21:38:05 +0000 (16:38 -0500)]
Support IPv6 blacklists. Also add a conf file option allowing the use of IPv4, IPv6, or both for a blacklist.
Although few blacklists currently support IPv6 lookups, they will likely begin to do so in the near future as more net trash begins using IPv6.
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.