]> jfr.im git - solanum.git/log
solanum.git
12 years agoChange default --with-nicklen to 31, like atheme-services.
Jilles Tjoelker [Tue, 29 Nov 2011 22:32:10 +0000 (23:32 +0100)] 
Change default --with-nicklen to 31, like atheme-services.

12 years agoSwitch to ircu NICKLEN/MAXNICKLEN semantics.
William Pitcock [Tue, 29 Nov 2011 22:24:48 +0000 (16:24 -0600)] 
Switch to ircu NICKLEN/MAXNICKLEN semantics.

Clients should use MAXNICKLEN for preallocation, and NICKLEN should be treated as
informative.

12 years agoRemove nicklen_set barrier.
William Pitcock [Tue, 29 Nov 2011 22:19:37 +0000 (16:19 -0600)] 
Remove nicklen_set barrier.

Since serverinfo::nicklen only controls NICKLEN_USABLE, we do not need to have a
barrier here.

12 years agoMake sure ConfigFileEntry.nicklen follows the same semantics as real NICKLEN.
William Pitcock [Tue, 29 Nov 2011 22:16:38 +0000 (16:16 -0600)] 
Make sure ConfigFileEntry.nicklen follows the same semantics as real NICKLEN.

Otherwise, truncation would be one byte too short on nick changes.

12 years agoAdd support for customizing the usable nick length.
William Pitcock [Tue, 29 Nov 2011 22:10:21 +0000 (16:10 -0600)] 
Add support for customizing the usable nick length.

This adds a new ISUPPORT token, NICKLEN_USABLE which is strictly an informative value.
NICKLEN is always the maximum runtime NICKLEN supported by the IRCd, as other servers may
have their own usable NICKLEN settings.  As NICKLEN_USABLE is strictly informative, and
NICKLEN is always the maximum possible NICKLEN, any clients which depend on NICKLEN for
memory preallocation will be unaffected by runtime changes to NICKLEN_USABLE.

The default NICKLEN is 50; the default serverinfo::nicklen in the config file is set to
30, which is the NICKLEN presently used on StaticBox.

12 years agoFix potential buffer-overflow from malformed RSFNC request.
William Pitcock [Tue, 29 Nov 2011 21:50:54 +0000 (15:50 -0600)] 
Fix potential buffer-overflow from malformed RSFNC request.

12 years agoFix -Wformat errors found in ircd-ratbox.
Jilles Tjoelker [Sat, 12 Nov 2011 23:22:09 +0000 (00:22 +0100)] 
Fix -Wformat errors found in ircd-ratbox.

We cannot use -Wformat meaningfully but ircd-ratbox trunk can.

12 years agoApply extended-join client cap to QJM joins
Stephen Bennett [Sat, 12 Nov 2011 14:41:01 +0000 (14:41 +0000)] 
Apply extended-join client cap to QJM joins

12 years agoRemove an obsolete TS5 reference.
Jilles Tjoelker [Tue, 1 Nov 2011 21:07:32 +0000 (22:07 +0100)] 
Remove an obsolete TS5 reference.

12 years agoPrefer PATH_MAX to non-standard MAXPATHLEN.
Jilles Tjoelker [Fri, 28 Oct 2011 14:45:18 +0000 (16:45 +0200)] 
Prefer PATH_MAX to non-standard MAXPATHLEN.

12 years agoProperly update 004/005 when a rehash changes use_forward.
Jilles Tjoelker [Mon, 24 Oct 2011 22:38:27 +0000 (00:38 +0200)] 
Properly update 004/005 when a rehash changes use_forward.

12 years agoDon't treat +r specially when displaying supported channel modes.
Stephen Bennett [Mon, 24 Oct 2011 18:59:31 +0000 (19:59 +0100)] 
Don't treat +r specially when displaying supported channel modes.

This used to be only advertised if a service was linked, which made
sense in ratbox when +r was only settable if services were available.
Now, however, +r is always available and so should always be advertised.

12 years agoilog_error: Avoid overwriting errno before sending it to opers.
Jilles Tjoelker [Fri, 21 Oct 2011 21:21:22 +0000 (23:21 +0200)] 
ilog_error: Avoid overwriting errno before sending it to opers.

12 years agoForce client_flood_burst_rate and client_flood_burst_rate to at least rfc1459 values...
Jilles Tjoelker [Tue, 4 Oct 2011 20:16:01 +0000 (22:16 +0200)] 
Force client_flood_burst_rate and client_flood_burst_rate to at least rfc1459 values (5).

12 years agoLimit sent_parsed to the highest possible value in the current config.
Jilles Tjoelker [Mon, 3 Oct 2011 23:08:12 +0000 (01:08 +0200)] 
Limit sent_parsed to the highest possible value in the current config.

After a configuration change (or deoper with no_oper_flood) sent_parsed
might be way higher than allow_read, so that the user would have to wait
a long time before the server responds. Avoid this.

12 years agoFix weirdness with client_flood_burst_rate and client_flood_burst_max.
Jilles Tjoelker [Mon, 3 Oct 2011 22:57:49 +0000 (00:57 +0200)] 
Fix weirdness with client_flood_burst_rate and client_flood_burst_max.

They are now in messages, even if client_flood_message_time is not 1.

If client_flood_message_time is not 1 (by default it is), this needs a
configuration change to maintain the same behaviour.

12 years agoMinor cleanup to command throttling code:
Jilles Tjoelker [Mon, 3 Oct 2011 22:46:00 +0000 (00:46 +0200)] 
Minor cleanup to command throttling code:

 * Deduce allow_read from the client's state (IsFloodDone) rather than
   storing it in LocalUser.
 * Fix the documentation (in oper /info), however strange
   client_flood_burst_rate and client_flood_burst_max may seem, that is
   how they currently work.

12 years agoDisable LocalUser.actually_read (write-only field).
Jilles Tjoelker [Mon, 3 Oct 2011 22:25:22 +0000 (00:25 +0200)] 
Disable LocalUser.actually_read (write-only field).

12 years agoFold client_flood_burst_rate check into MAX_FLOOD_BURST.
Jilles Tjoelker [Mon, 3 Oct 2011 22:21:19 +0000 (00:21 +0200)] 
Fold client_flood_burst_rate check into MAX_FLOOD_BURST.

The original definition of floodgrace was MAX_FLOOD_BURST lines per second.
A second check for another number of lines per second makes no sense.

12 years agoEnforce the average allowed send rate is at least the one allowed by rfc1459.
Jilles Tjoelker [Mon, 3 Oct 2011 22:13:53 +0000 (00:13 +0200)] 
Enforce the average allowed send rate is at least the one allowed by rfc1459.

12 years agoIf use_forward=no, ignore any forwarding for joins by local users.
Jilles Tjoelker [Sun, 25 Sep 2011 15:26:01 +0000 (17:26 +0200)] 
If use_forward=no, ignore any forwarding for joins by local users.

12 years agoMake sure to check the length of a ban mask before removing a forward channel.
Jilles Tjoelker [Sun, 25 Sep 2011 14:25:17 +0000 (16:25 +0200)] 
Make sure to check the length of a ban mask before removing a forward channel.

Otherwise a line might be truncated later, leading to desyncs.

12 years agoPut back use_forward.
Jilles Tjoelker [Sun, 25 Sep 2011 14:22:29 +0000 (16:22 +0200)] 
Put back use_forward.

12 years agoFix double-free when removing a ban.
Jilles Tjoelker [Tue, 13 Sep 2011 22:52:56 +0000 (00:52 +0200)] 
Fix double-free when removing a ban.

del_id() should not free the ban anymore, its caller does that now.

12 years agoEnsure all signals keep working after a SIGINT restart.
Jilles Tjoelker [Tue, 30 Aug 2011 23:04:04 +0000 (01:04 +0200)] 
Ensure all signals keep working after a SIGINT restart.

After setting up signal handlers, unmask the signals we care about
(installed handlers for).

When handling SIGINT, the kernel adds SIGHUP and SIGINT to the signal
mask (as requested in sigaction()); if execve() is called from the
signal handler, this change is persistent.

12 years agom_resv.c: replace erroneous UNXLINE cluster calls with UNRESV.
Keith Buck [Thu, 18 Aug 2011 03:48:40 +0000 (03:48 +0000)] 
m_resv.c: replace erroneous UNXLINE cluster calls with UNRESV.

12 years agoFix git fuckery.
Elizabeth Jennifer Myers [Sat, 13 Aug 2011 01:27:52 +0000 (21:27 -0400)] 
Fix git fuckery.

Apparently my tree got horribly corrupted.

12 years agochmode: fix construct_cflags_strings.
Elizabeth Jennifer Myers [Sat, 13 Aug 2011 01:09:13 +0000 (21:09 -0400)] 
chmode: fix construct_cflags_strings.

Accidentally ported too much from ircd-seven. Fix this.

12 years agoPort ircd-seven banfowards to charybdis.
Elizabeth Jennifer Myers [Sat, 13 Aug 2011 00:33:10 +0000 (20:33 -0400)] 
Port ircd-seven banfowards to charybdis.

nenolod gave the thumbs-up to port ircd-seven banfowards to charybdis to spb
for a while, and people have asked about it. Might as well do it since it's a
slow weekend.

Note that as a side effect use_forward is removed from the config and
unconditionally enabled!

12 years agooverride: Send notice when overriding can_send.
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.

12 years agoRemove a stale comment.
Jilles Tjoelker [Sun, 7 Aug 2011 20:04:16 +0000 (22:04 +0200)] 
Remove a stale comment.

12 years agoRemove #define KEY from ip_cloaking modules.
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.

12 years agoUpdate my email.
Elizabeth Jennifer Myers [Tue, 26 Jul 2011 03:36:00 +0000 (23:36 -0400)] 
Update my email.

12 years agobandb/makefile.in: Add bantool to make clean.
Elizabeth Jennifer Myers [Tue, 26 Jul 2011 03:32:36 +0000 (23:32 -0400)] 
bandb/makefile.in: Add bantool to make clean.

13 years agoBack out chanroles.
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.

13 years agoPartially revert e794d39a8053005fdd2835d6206a88cc23262f8d.
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.

13 years agoAdd client interface for GRANT.
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.

13 years agoUpdate TODO.
William Pitcock [Wed, 6 Jul 2011 20:16:38 +0000 (15:16 -0500)] 
Update TODO.

13 years agochanroles: instead of checking for chanop + CHANROLE_UNSET combination, grant a defau...
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.

13 years agochanroles: ENCAP GRANT should work under the assumption that we want to zero out
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.

13 years agochanroles: grant initial set of flags to people added to a channel with CHFL_CHANOP.
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.

13 years agoAdd chanroles to isupport so clients know it exists.
Elizabeth Jennifer Myers [Wed, 6 Jul 2011 17:50:36 +0000 (13:50 -0400)] 
Add chanroles to isupport so clients know it exists.

13 years agoImplement chanroles, as discussed with nenolod.
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.

13 years agoRSFNC: allow RSFNC against a target which just changes the capitalization of the...
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.

13 years agorsfnc/svslogin: Add server notices for kills.
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.

13 years agodline,kline: Avoid breaking the protocol with bad bans.
Jilles Tjoelker [Sat, 25 Jun 2011 09:34:34 +0000 (11:34 +0200)] 
dline,kline: Avoid breaking the protocol with bad bans.

13 years agoinvite: Remove useless IsChannelName check.
Jilles Tjoelker [Sat, 25 Jun 2011 09:34:16 +0000 (11:34 +0200)] 
invite: Remove useless IsChannelName check.

13 years agoknock,topic: Remove useless IsChannelName checks.
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.

13 years agoGenerate include/serno.h from git information, if available.
Jilles Tjoelker [Sat, 18 Jun 2011 11:22:57 +0000 (13:22 +0200)] 
Generate include/serno.h from git information, if available.

13 years agoDo not assign to MAKE in the main Makefile.
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".

13 years agoMerge branch 'master' of ssh://git.atheme.org/gitroot/charybdis
JD Horelick [Fri, 3 Jun 2011 17:35:27 +0000 (13:35 -0400)] 
Merge branch 'master' of ssh://git.atheme.org/gitroot/charybdis

13 years agoFix makerelease.sh
JD Horelick [Fri, 3 Jun 2011 17:34:44 +0000 (13:34 -0400)] 
Fix makerelease.sh

13 years agoAdd additional version.c variants to gitignore.
Jilles Tjoelker [Mon, 23 May 2011 22:33:28 +0000 (00:33 +0200)] 
Add additional version.c variants to gitignore.

13 years agooperspy list: Show '!' prefix for otherwise hidden channels rather than +s ones.
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.

13 years agomodules/m_list.c: Change operspy LIST syntax to match everything else that accepts...
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.

13 years agomakerelease.sh: Do things the git way; add a sanity check for release name.
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.

13 years ago.hgignore -> .gitignore (also rm'd .hgtags).
JD Horelick [Sun, 22 May 2011 18:48:14 +0000 (14:48 -0400)] 
.hgignore -> .gitignore (also rm'd .hgtags).

13 years agoWe use GIT now.
William Pitcock [Thu, 19 May 2011 23:39:28 +0000 (18:39 -0500)] 
We use GIT now.

13 years agoAdd target change spam notice.
Keith Buck [Mon, 16 May 2011 22:29:09 +0000 (15:29 -0700)] 
Add target change spam notice.

13 years agoPedantry: Make indentation consistent in example and reference confs.
Keith Buck [Sat, 14 May 2011 06:42:27 +0000 (23:42 -0700)] 
Pedantry: Make indentation consistent in example and reference confs.

13 years agolibtoolize
William Pitcock [Sun, 8 May 2011 16:20:34 +0000 (11:20 -0500)] 
libtoolize

13 years agobranding: denote custom branding in ircd -version
William Pitcock [Sun, 8 May 2011 14:11:50 +0000 (09:11 -0500)] 
branding: denote custom branding in ircd -version

13 years agobranding: if CUSTOM_BRANDING is defined, display charybdis version in /info
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)

13 years agoconfigure: Add --with-custom-branding and --with-custom-version options.
William Pitcock [Sun, 8 May 2011 13:55:32 +0000 (08:55 -0500)] 
configure: Add --with-custom-branding and --with-custom-version options.

13 years agoAutomated merge with http://hg.atheme.org/charybdis
Kiyoshi Aman [Tue, 19 Apr 2011 08:53:14 +0000 (04:53 -0400)] 
Automated merge with http://hg.atheme.org/charybdis

13 years agodoc/extended-join.txt: Document CAP extended-join.
Kiyoshi Aman [Tue, 19 Apr 2011 08:52:56 +0000 (04:52 -0400)] 
doc/extended-join.txt: Document CAP extended-join.

13 years agoAllow kick_on_split_riding to protect channels with mlocked keys.
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).

13 years agoIf the sasl mechanism is EXTERNAL, send the certfp in the initial S message.
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.

13 years agoBack out AUTHENTICATE EXTERNAL so I can do it differently.
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.

13 years agoRevert "sasl: remove checks for impossible conditions".
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.

13 years agosasl: first attempt at ircv3.1 AUTHENTICATE EXTERNAL support
William Pitcock [Thu, 31 Mar 2011 05:35:58 +0000 (00:35 -0500)] 
sasl: first attempt at ircv3.1 AUTHENTICATE EXTERNAL support

13 years agosasl: remove checks for impossible conditions
William Pitcock [Thu, 31 Mar 2011 05:18:32 +0000 (00:18 -0500)] 
sasl: remove checks for impossible conditions

13 years agoMake flood control settings configurable by those who know exactly what they're doing.
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 .

13 years agoCope with OPENSSL_VERSION_NUMBER not being a long.
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.

13 years agobantool: _XOPEN_SOURCE should die in a fire
William Pitcock [Thu, 17 Mar 2011 15:45:57 +0000 (10:45 -0500)] 
bantool: _XOPEN_SOURCE should die in a fire

13 years agoStyle: use a consistent order for the _C constants.
Jilles Tjoelker [Wed, 30 Mar 2011 22:05:42 +0000 (00:05 +0200)] 
Style: use a consistent order for the _C constants.

13 years agoDisallow mIRC italics in channel names when disable_fake_channels
Stephen Bennett [Wed, 30 Mar 2011 10:30:47 +0000 (11:30 +0100)] 
Disallow mIRC italics in channel names when disable_fake_channels

13 years agoDon't allow +Z to be set by default_umodes
Stephen Bennett [Fri, 11 Mar 2011 13:12:40 +0000 (13:12 +0000)] 
Don't allow +Z to be set by default_umodes

13 years agoAdd Elizacat to contributors.
William Pitcock [Sun, 27 Feb 2011 21:48:05 +0000 (15:48 -0600)] 
Add Elizacat to contributors.

13 years agoSupport IPv6 blacklists. Also add a conf file option allowing the use of IPv4, IPv6...
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.

13 years agom_challenge: fix use of undefined behaviour.
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.

13 years agocan_send: properly initalise moduledata.
Elizabeth Jennifer Myers [Sun, 13 Feb 2011 14:50:25 +0000 (09:50 -0500)] 
can_send: properly initalise moduledata.

13 years agooverride: Apply floodcount to override sends.
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.

13 years agoAdd endian test to autoconf and convert crypt to use it.
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.

13 years agoFix memory leak of operator certfp fields.
Jilles Tjoelker [Mon, 24 Jan 2011 23:39:07 +0000 (00:39 +0100)] 
Fix memory leak of operator certfp fields.

13 years agonewconf: fix a warning
Elizabeth Jennifer Myers [Sun, 23 Jan 2011 21:56:36 +0000 (16:56 -0500)] 
newconf: fix a warning

13 years agonewconf: fix certificate fingerprint auth.
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.

13 years agoAdd blowfish to libratbox crypt.
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.

13 years agoRemove nickTS from extended-join.
Jilles Tjoelker [Mon, 10 Jan 2011 23:26:15 +0000 (00:26 +0100)] 
Remove nickTS from extended-join.

13 years agoFix extended-join not sending any joins at all.
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.

13 years agohunt_server: Disallow wildcarded nicknames.
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.

13 years agoFix compiler warnings.
Jilles Tjoelker [Sat, 8 Jan 2011 16:40:12 +0000 (17:40 +0100)] 
Fix compiler warnings.

13 years agoMove list-related isupport items to the list module itself.
Keith Buck [Thu, 6 Jan 2011 08:40:08 +0000 (00:40 -0800)] 
Move list-related isupport items to the list module itself.

13 years agoMake SHA512 the default for mkpasswd again, as SHA512 support is guaranteed to *alway...
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.

13 years agoOverhaul extensions/m_mkpasswd. It now allows SHA256/SHA512 hashes. DES support is...
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.

13 years agoAdd SHA256/SHA512 support to crypt.c and fix up the MD5 component (it seemed to have...
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.

13 years agocosmetic fix: Blowfish doesn't use CamelCase
Lee T. Starnes [Thu, 6 Jan 2011 05:20:04 +0000 (23:20 -0600)] 
cosmetic fix: Blowfish doesn't use CamelCase

13 years agoAdd topic TS and channel TS constraints for /LIST.
Keith Buck [Thu, 6 Jan 2011 05:15:36 +0000 (21:15 -0800)] 
Add topic TS and channel TS constraints for /LIST.

13 years agoImplement operspy for /LIST.
Keith Buck [Thu, 6 Jan 2011 02:57:27 +0000 (18:57 -0800)] 
Implement operspy for /LIST.

13 years agoFix multiple RPL_LISTEND replies when aborting a /LIST.
Keith Buck [Sun, 2 Jan 2011 08:43:11 +0000 (00:43 -0800)] 
Fix multiple RPL_LISTEND replies when aborting a /LIST.