]> jfr.im git - irc/freenode/atheme.git/log
irc/freenode/atheme.git
4 years agopbkdf2v2: Save CPU cycles in the verifying case master origin/HEAD origin/master
Aaron Jones [Tue, 5 May 2015 17:25:42 +0000 (17:25 +0000)] 
pbkdf2v2: Save CPU cycles in the verifying case

libathemecore has been verified to handle NULL return from crypt
providers correctly - so start returning NULL in pbkdf2v2 in the
case of trying to verify hashes that were not produced by itself

(cherry picked from commit d7ba592c2c349188f820e3dd739e275755143f30)

4 years agopbkdf2v2: make digest and rounds configurable at runtime
Aaron Jones [Sat, 3 Dec 2016 06:37:28 +0000 (06:37 +0000)] 
pbkdf2v2: make digest and rounds configurable at runtime

(cherry picked from commit 7861ab9e76670e425e6f78c5d7eab9074b986563)

5 years agoprotocol/ircd-seven: Consider +O for is_ircop() check origin/stable
Janik Kleinhoff [Thu, 28 Mar 2019 03:39:35 +0000 (03:39 +0000)] 
protocol/ircd-seven: Consider +O for is_ircop() check

This allows users with +O but not +o to use privileges gated behind the
needoper flag; additionally, privileges from the "ircop" operclass will
now apply to them.

Various other checks may consider them opered, but services by default
do not grant special access to IRC operators, so this shouldn't impact
much (if anything).

(adapted from commit 94420119c1f6eb5c49fccefe75a8f0b5c6b6052c)

5 years agousers.h: add UF_CUSTOM{1,2,3,4} for use by protocol modules
Janik Kleinhoff [Thu, 10 May 2018 15:13:37 +0000 (15:13 +0000)] 
users.h: add UF_CUSTOM{1,2,3,4} for use by protocol modules

(cherry picked from commit 6c2349ed549edb052ecf24197c7619568ca6b4de)

5 years agois_ircop/is_admin/is_service: allow protocol-specific check
Janik Kleinhoff [Thu, 28 Mar 2019 03:35:40 +0000 (03:35 +0000)] 
is_ircop/is_admin/is_service: allow protocol-specific check

Adapted from upstream commit 7790fdb1.

6 years agoUpdate libmowgli-2 snapshot
Janik Kleinhoff [Thu, 8 Feb 2018 14:01:08 +0000 (14:01 +0000)] 
Update libmowgli-2 snapshot

We mostly need 12c57bf to keep things building on systems without SSLv3
support in OpenSSL. The other bug fixes are easily verified to not make
things any more broken than before.

6 years agopbkdf2v2: remove obsolete compatibility function
Aaron Jones [Wed, 16 Nov 2016 14:31:16 +0000 (14:31 +0000)] 
pbkdf2v2: remove obsolete compatibility function

All modern supported versions of OpenSSL provide this function

c.f. issue #528

(cherry picked from commit b04f18e7d7410797d9c043b0944d715a522465c6)

6 years agopbkdf2: remove obsolete compatibility function
Aaron Jones [Wed, 16 Nov 2016 08:21:32 +0000 (08:21 +0000)] 
pbkdf2: remove obsolete compatibility function

All modern supported versions of OpenSSL provide this function

Fixes #528

(cherry picked from commit d36e3a3047f1d8b3b8a95ef1cbba790f21033af0)

6 years agoREADME.md: update to reflect this is a freenode-specific fork
Janik Kleinhoff [Wed, 27 Dec 2017 13:57:45 +0000 (13:57 +0000)] 
README.md: update to reflect this is a freenode-specific fork

6 years agocrypt_verify_password: fix possible NULL dereference
Janik Kleinhoff [Fri, 20 Mar 2015 19:58:32 +0000 (19:58 +0000)] 
crypt_verify_password: fix possible NULL dereference

Check if the crypted string is NULL before passing it to strcmp; some
crypto modules (notably POSIX-style crypt(3)) return NULL on error.

Fixes shalture/shalture#50.

(cherry picked from commit 36e6cb8d2fad76fb3ca185a95fbd70f0557a2fed)

7 years agosaslserv/blacklist: Use services rather than descriptions to tell sourceinfos apart
mniip [Sun, 4 Sep 2016 20:58:06 +0000 (23:58 +0300)] 
saslserv/blacklist: Use services rather than descriptions to tell sourceinfos apart

7 years agoscripting/perl: Forward compatibility for hooks
Shockk [Mon, 9 Feb 2015 20:40:22 +0000 (20:40 +0000)] 
scripting/perl: Forward compatibility for hooks

Currently the perl script to generate the hooks for the perl API must be
updated whenever a new hook is added, either to support the hook or to
explicitly unsupport it, as doing neither results in a compilation error
of the generated file perl_hooks.c.

This patch updates the script to prevent hooks from being added to the
hooks list if the argument type is unsupported and emits a warning if
the hook has not been explicitly marked as unsupported.

(cherry-picked from commit 015855ef4b843764cd8a0fac3153ce1b662b4813)

7 years agosaslserv/blacklist: disallow certain mechanisms from certain host ranges
mniip [Thu, 21 Jul 2016 15:13:17 +0000 (18:13 +0300)] 
saslserv/blacklist: disallow certain mechanisms from certain host ranges

7 years agoCall user_can_login hooks when logging in via certfp too.
mniip [Sat, 5 Mar 2016 07:38:54 +0000 (10:38 +0300)] 
Call user_can_login hooks when logging in via certfp too.

(cherry-picked from commit be75c603c1384913238c3a747824d00947a483c2)

7 years agonickserv/identify: add forgotten command_fail()
Mantas Mikulėnas [Sat, 20 Jun 2015 12:37:11 +0000 (15:37 +0300)] 
nickserv/identify: add forgotten command_fail()

(cherry-picked from commit 387cae667ea264f642805388819106375e9144ef)

7 years agosaslserv: properly subclass sourceinfo objects
William Pitcock [Sun, 27 Sep 2015 21:42:22 +0000 (16:42 -0500)] 
saslserv: properly subclass sourceinfo objects

(cherry-picked from 4bbf0076bf74598df34c9a62bdfcce6d90b480df (adapted))

7 years agoadd a user_can_login(si, mu) hook
Mantas Mikulėnas [Sat, 20 Jun 2015 10:55:24 +0000 (13:55 +0300)] 
add a user_can_login(si, mu) hook

Allows all authentication attempts for a specific user to be immediately rejected.

(cherry-picked from commit 8ac7aa8d007331ae694f099c288e27f911e8cad1 (adapted))

7 years agosaslserv: try to include source host in SASL failure message
Janik Kleinhoff [Tue, 3 Mar 2015 21:35:34 +0000 (21:35 +0000)] 
saslserv: try to include source host in SASL failure message

It might be worth looking if sasl_logcommand might be replaced entirely
as well.

(cherry picked from commit ce13a035aa835f5b8ee4ae2a84e856fb97011a7c)
(cherry picked from commit 1fa8407e34defaaac5e8b1609daeb98e91f837f9)

7 years agodon't display custom metadata in nickserv or chanserv info
Stephen Bennett [Mon, 8 Aug 2016 11:25:24 +0000 (11:25 +0000)] 
don't display custom metadata in nickserv or chanserv info

7 years agoMerge pull request #3 from PriceChild/patch-2
Tom Wesley [Mon, 27 Jun 2016 21:36:58 +0000 (22:36 +0100)] 
Merge pull request #3 from PriceChild/patch-2

Remove leading spaces from example setpass command

7 years agoMerge pull request #5 from tinyhippw/master
Tom Wesley [Mon, 27 Jun 2016 21:34:42 +0000 (22:34 +0100)] 
Merge pull request #5 from tinyhippw/master

Removed leading spaces for verify email

8 years agoUpdate memo
Christel Dahlskjaer [Fri, 1 Apr 2016 16:21:06 +0000 (17:21 +0100)] 
Update memo

Removing duplicate from.

8 years agoMerge pull request #1 from agjmills/tinyhippo-patch-1
Unknown [Mon, 2 Nov 2015 09:59:20 +0000 (09:59 +0000)] 
Merge pull request #1 from agjmills/tinyhippo-patch-1

removed leading spaces

8 years agoremoved leading spaces
Unknown [Mon, 2 Nov 2015 09:58:59 +0000 (09:58 +0000)] 
removed leading spaces

Users tend to double click on the line in their email client, highlighting the leading spaces

8 years agoRemove leading spaces from example setpass command
Joseph Price [Mon, 2 Nov 2015 09:55:11 +0000 (09:55 +0000)] 
Remove leading spaces from example setpass command

Apparently some users have been pasting the entire line into their client and end up sending their intended new password to their current channel. Hopefully this change will help stop that.

8 years agoMerge pull request #2 from PriceChild/patch-1
Tom Wesley [Wed, 12 Aug 2015 11:06:45 +0000 (12:06 +0100)] 
Merge pull request #2 from PriceChild/patch-1

Remove request for contact if unsolicited

8 years agoRemove request for contact if unsolicited
Joseph Price [Wed, 12 Aug 2015 08:54:53 +0000 (09:54 +0100)] 
Remove request for contact if unsolicited

8 years agoRevert "Make sendpass verification email wording less scary"
Tom Wesley [Sat, 8 Aug 2015 12:24:14 +0000 (13:24 +0100)] 
Revert "Make sendpass verification email wording less scary"

This reverts commit efbe33af9f8ac10d38c356c76a17409fe65776ef.

9 years agoChange setpass email to match sendpass
Tom Wesley [Fri, 17 Apr 2015 17:04:25 +0000 (18:04 +0100)] 
Change setpass email to match sendpass

9 years agoMake sendpass verification email wording less scary
Tom Wesley [Sun, 8 Mar 2015 20:00:28 +0000 (20:00 +0000)] 
Make sendpass verification email wording less scary

9 years agoMerge pull request #448 from ilbelkyr/sasl-bad_password
William Pitcock [Tue, 3 Feb 2015 23:08:07 +0000 (17:08 -0600)] 
Merge pull request #448 from ilbelkyr/sasl-bad_password

saslserv: optionally call bad_password on SASL authentication failure

9 years agosaslserv: call bad_password on SASL authentication failure
Janik Kleinhoff [Tue, 3 Feb 2015 20:01:28 +0000 (20:01 +0000)] 
saslserv: call bad_password on SASL authentication failure

9 years agorun autogen in git too.
William Pitcock [Mon, 2 Feb 2015 06:08:49 +0000 (00:08 -0600)] 
run autogen in git too.

9 years agoatheme 7.2.5. atheme-7.2.5
William Pitcock [Mon, 2 Feb 2015 02:27:27 +0000 (20:27 -0600)] 
atheme 7.2.5.

9 years agoabirev: the ASA fix broke our ABI, so increment it
William Pitcock [Mon, 2 Feb 2015 02:23:56 +0000 (20:23 -0600)] 
abirev: the ASA fix broke our ABI, so increment it

9 years agoMerge pull request #440 from Renegade334/master
William Pitcock [Mon, 2 Feb 2015 02:20:49 +0000 (20:20 -0600)] 
Merge pull request #440 from Renegade334/master

modules/groupserv/register.c: Add unverified user check

9 years agoAlter several modules to use `numsvcmembers` in `struct channel`, instead of inferrin...
Ryan Schoppmeyer [Sun, 1 Feb 2015 10:20:14 +0000 (02:20 -0800)] 
Alter several modules to use `numsvcmembers` in `struct channel`, instead of inferring or guessing how many services users should be on the channel.

A number of bugs have been corrected, mostly caused by incorrect checking of emptying channels:
- chanserv/main: not kicking users who create channels that are MLOCK'd +i if a botserv bot is present
- groupserv/main/hooks: permission changes not taking effect immediately if a botserv bot is present
- chanserv/sync: rare crash caused by use-after-free when removing the last non-services user from a channel

9 years agoAdd a field to channel structure to track the number of internal clients in the chann...
Ryan Schoppmeyer [Sun, 1 Feb 2015 09:07:07 +0000 (01:07 -0800)] 
Add a field to channel structure to track the number of internal clients in the channel. This will make it easier to determine if removing a user will cause the channel to become empty (since, in practice, services users will often part channels when the last normal user leaves)

9 years agohelpserv/services: skip BotServ bots
Janik Kleinhoff [Sat, 31 Jan 2015 00:04:49 +0000 (00:04 +0000)] 
helpserv/services: skip BotServ bots

Fixes atheme/atheme#445; botserv bots are useless clutter in a list
meant for users looking for help, and the instruction to use
/msg service help   doesn't apply to them either.

9 years agomodules/groupserv/register.c: Add unverified user check
Renegade334 [Wed, 21 Jan 2015 10:28:38 +0000 (10:28 +0000)] 
modules/groupserv/register.c: Add unverified user check
Add group registration to restricted activity list in RESTRICT helpfile

9 years agoMerge pull request #438 from Spydar007/patch-2
William Pitcock [Mon, 19 Jan 2015 21:00:16 +0000 (15:00 -0600)] 
Merge pull request #438 from Spydar007/patch-2

+e added to chanserv{} templates and founder_flags

9 years ago+e added to chanserv{} templates and founder_flags
Spydar007 [Mon, 19 Jan 2015 19:33:02 +0000 (19:33 +0000)] 
+e added to chanserv{} templates and founder_flags

9 years agoperl: squelch mygroup_t.
William Pitcock [Sun, 18 Jan 2015 17:02:53 +0000 (11:02 -0600)] 
perl: squelch mygroup_t.

9 years agoatheme 7.2.4. atheme-7.2.4
William Pitcock [Sun, 18 Jan 2015 16:07:59 +0000 (10:07 -0600)] 
atheme 7.2.4.

9 years agoMerge pull request #436 from aaronmdjones/master
William Pitcock [Sun, 18 Jan 2015 16:07:10 +0000 (10:07 -0600)] 
Merge pull request #436 from aaronmdjones/master

Implement a within-module parameter upgrade system to satisfy

9 years agoTidy up more styling as pointed out by kaniini
Aaron Jones [Sun, 18 Jan 2015 16:04:58 +0000 (16:04 +0000)] 
Tidy up more styling as pointed out by kaniini

9 years agoImplement a within-module parameter upgrade system to satisfy
Aaron Jones [Sun, 18 Jan 2015 15:27:53 +0000 (15:27 +0000)] 
Implement a within-module parameter upgrade system to satisfy
some concerns about parameter upgrades over time

Also tidy up some styling and add a comment about salt length.

NOTE: Other modules need to be investigated for possible integration
      into this scheme

9 years agomodules/contrib: update contrib modules snapshot
William Pitcock [Sun, 18 Jan 2015 15:56:41 +0000 (09:56 -0600)] 
modules/contrib: update contrib modules snapshot

9 years agoMerge pull request #434 from aaronmdjones/master
William Pitcock [Sun, 18 Jan 2015 15:52:10 +0000 (09:52 -0600)] 
Merge pull request #434 from aaronmdjones/master

Implement better PBKDF2 hashing for passwords

9 years agoMerge pull request #432 from shockkolate/fix-groupserv-flags-parser
William Pitcock [Sun, 18 Jan 2015 15:51:48 +0000 (09:51 -0600)] 
Merge pull request #432 from shockkolate/fix-groupserv-flags-parser

Fix GroupServ issues

9 years agoUpdate INSTALL.
Jeff Horelick [Sun, 18 Jan 2015 15:47:52 +0000 (10:47 -0500)] 
Update INSTALL.

Mark old platforms as old and add new platforms that people are actually running Atheme on.

9 years agosaslserv/ecdsa-nist256p-challenge: ensure that we handle all errors.
William Pitcock [Sun, 18 Jan 2015 13:23:06 +0000 (07:23 -0600)] 
saslserv/ecdsa-nist256p-challenge: ensure that we handle all errors.

9 years agoMerge pull request #435 from shockkolate/extban-space-validation
William Pitcock [Sun, 18 Jan 2015 13:15:28 +0000 (07:15 -0600)] 
Merge pull request #435 from shockkolate/extban-space-validation

protocol: Fail extban check if mask contains space

9 years agoprotocol: Fail extban check if mask contains space
Shockk [Sun, 18 Jan 2015 04:19:14 +0000 (04:19 +0000)] 
protocol: Fail extban check if mask contains space

In certain circumstances, the mask string passed into is_extban can
contain space(s) and currently there is no validation in any protocol
module implementing extbans that the input mask indeed contains no
spaces. An example circumstance is ChanServ's BAN command. The following
command will cause ChanServ to set a ban on the first mask due to how
the MODE command works, but fail to add the ban to Atheme itself due to
the mask being the full rest of the string as opposed to just a single
word.

`/msg ChanServ BAN #channel $a:mask1 $a:mask2`

This patch adds a simple strchr check for the space character to each
extban check, fixing the issue outlined above.

9 years agoWhen falling back to the default PRF, use that PRF in the string
Aaron Jones [Sat, 17 Jan 2015 21:57:11 +0000 (21:57 +0000)] 
When falling back to the default PRF, use that PRF in the string

9 years agoDocument the new PBKDF2 module
Aaron Jones [Sat, 17 Jan 2015 17:00:58 +0000 (17:00 +0000)] 
Document the new PBKDF2 module

9 years agoImplement better PBKDF2 hashing for passwords
Aaron Jones [Sat, 17 Jan 2015 16:04:14 +0000 (16:04 +0000)] 
Implement better PBKDF2 hashing for passwords

This version embeds the PRF and iteration count into the crypt()-like
strings it generates, meaning that you can change these defaults in
the module at a later date without invalidating all of your current
hashes. You can also extend it with new PRFs for this reason.

The usage of sscanf(3) in this module is consistent with ISO C89 and
there is a comment in the source file reminding people not to change
the format strings carelessly.

9 years agogroupserv: Fix inconsistencies in bold text usage
Shockk [Fri, 16 Jan 2015 07:35:21 +0000 (07:35 +0000)] 
groupserv: Fix inconsistencies in bold text usage

This patch fixes inconsistencies in the usage of bold text wrapping
around group names in user response messages, adding the appropriate
control codes to any GroupServ user response messages that are missing
them.

9 years agoAdd Shockk to mailmap file
Shockk [Fri, 16 Jan 2015 07:18:39 +0000 (07:18 +0000)] 
Add Shockk to mailmap file

9 years agogroupserv: Fix inconsistencies with FLAGS
Shockk [Fri, 16 Jan 2015 06:53:58 +0000 (06:53 +0000)] 
groupserv: Fix inconsistencies with FLAGS

At present, a GroupServ FLAGS command issued on an account with flags in
the group in question, without a change in flags, does not invoke
command_fail with the fault_nochange fault reason.

Additionally, if a FLAGS command is issued on an account that does not
exist in the group in question, ultimately without any flags being
applied, the account is still added to the group access list. If a FLAGS
command meeting these criteria is issued a second time on the same
account, the account is removed from the group access list as is
expected for an account no longer holding flags in the group.

This patch fixes both issues described above, the latter of which was
first addressed by @Renegade334 in #432.

9 years agoMerge pull request #431 from Renegade334/group-vhost-cleanup
William Pitcock [Thu, 15 Jan 2015 15:44:11 +0000 (09:44 -0600)] 
Merge pull request #431 from Renegade334/group-vhost-cleanup

GroupServ/HostServ: Remove group-specific offered vhosts when group dropped

9 years agogroupserv: Fix incorrect behaviour for flags +*
Shockk [Wed, 14 Jan 2015 20:35:07 +0000 (20:35 +0000)] 
groupserv: Fix incorrect behaviour for flags +*

In the GroupServ flags parser, asterisk is handled by setting the flags
to GA_ALL. This does not preserve flags that are not part of GA_ALL,
such as the founder flag. As a result, a sole founder of a group cannot
set flags +* on themselves.

This patch amends gs_flags_parser to preserve existing flags on +*
except for GA_BAN.

9 years agoUpdate nickserv/setpass helpfile to be more obvious when it should be used
Jeff Horelick [Wed, 14 Jan 2015 20:51:15 +0000 (15:51 -0500)] 
Update nickserv/setpass helpfile to be more obvious when it should be used

9 years agogroupserv: Rewrite flags parser to use ga_flags
Shockk [Wed, 14 Jan 2015 18:04:26 +0000 (18:04 +0000)] 
groupserv: Rewrite flags parser to use ga_flags

Currently the GroupServ flags parser is hardcoded for each flag. While this may
be faster than looping through ga_flags--debatable, as compilers can
probably optimize a loop over compile-time data--problems can arise from
adding a new GroupServ flag without also remembering to hardcode that
flag into the flags parser.

This patch replaces the hardcoded clauses in the flags parser switch
block with a loop across the elements of ga_flags to determine the
correct flag value for the specified flag character.

9 years agoMerge pull request #430 from attilamolnar/master+multimark-memleak-fix
William Pitcock [Tue, 13 Jan 2015 12:52:10 +0000 (06:52 -0600)] 
Merge pull request #430 from attilamolnar/master+multimark-memleak-fix

nickserv/multimark: Fix memory leak of string buffer on DB load for each entry where restored_from_uid is "NULL"

9 years agonickserv/multimark: Fix memory leak of string buffer on DB load for each entry where...
Attila Molnar [Tue, 13 Jan 2015 12:39:53 +0000 (13:39 +0100)] 
nickserv/multimark: Fix memory leak of string buffer on DB load for each entry where restored_from_uid is "NULL"

9 years agoGroupServ/HostServ: Remove group-specific offered vhosts when group dropped
Renegade334 [Mon, 12 Jan 2015 01:48:10 +0000 (01:48 +0000)] 
GroupServ/HostServ: Remove group-specific offered vhosts when group dropped
Added group_register and group_drop hooks
Addresses atheme#428

9 years agoMerge pull request #426 from Renegade334/rqcheck
William Pitcock [Sat, 10 Jan 2015 22:18:43 +0000 (16:18 -0600)] 
Merge pull request #426 from Renegade334/rqcheck

HostServ REQUEST: Ignore request if vhost already active

9 years agomodules/hostserv/request.c: Ignore request if requested vhost already set
Renegade334 [Sat, 10 Jan 2015 12:48:54 +0000 (12:48 +0000)] 
modules/hostserv/request.c: Ignore request if requested vhost already set

9 years agocontrib/cap_sasl.pl: style, msglevels
Mantas Mikulėnas [Wed, 7 Jan 2015 06:02:01 +0000 (08:02 +0200)] 
contrib/cap_sasl.pl: style, msglevels

9 years agocontrib/cap_sasl.pl: add "/sasl pubkey"
Mantas Mikulėnas [Tue, 6 Jan 2015 14:26:02 +0000 (16:26 +0200)] 
contrib/cap_sasl.pl: add "/sasl pubkey"

As users can now generate keys without an external tool, add a command
to dump its public key. (Also useful for verifying that keys generated
*with* external tools are supported – in particular, Crypt::PK::ECC
currently does not support named parameters.)

Misc changes:
- mech ECDSA-NIST256P-CHALLENGE: rename $k to $f
- /sasl keygen: adjust error messages

9 years agolibathemecore/logger: use ISO 8601 in log files
Max Teufel [Tue, 16 Dec 2014 16:14:01 +0000 (17:14 +0100)] 
libathemecore/logger: use ISO 8601 in log files

(cherry picked from commit 822e4e41aaa9e6e66bbb494d15367fde209ff852)

9 years agoatheme 7.2.3. atheme-7.2.3
William Pitcock [Sat, 3 Jan 2015 09:19:29 +0000 (03:19 -0600)] 
atheme 7.2.3.

9 years agosaslserv/ecdsa-nist256p-challenge: add backwards compatibility for old pubkey syntax
William Pitcock [Sat, 3 Jan 2015 09:11:09 +0000 (03:11 -0600)] 
saslserv/ecdsa-nist256p-challenge: add backwards compatibility for old pubkey syntax

9 years agodocument SET PUBKEY.
William Pitcock [Sat, 3 Jan 2015 09:10:10 +0000 (03:10 -0600)] 
document SET PUBKEY.

9 years agonickserv/set_pubkey: new module
Max Teufel [Fri, 31 Oct 2014 08:16:01 +0000 (09:16 +0100)] 
nickserv/set_pubkey: new module

Add an easier way to change the public key for SASL
ECDSA-NIST256p-CHALLENGE authentication.

9 years agoUpdate copyright notices for 2015.
William Pitcock [Sat, 3 Jan 2015 09:00:47 +0000 (03:00 -0600)] 
Update copyright notices for 2015.

9 years agoatheme.conf.example: minor grammar fix
Janik Kleinhoff [Tue, 30 Dec 2014 16:22:40 +0000 (16:22 +0000)] 
atheme.conf.example: minor grammar fix

9 years agonickserv/set_accountname: disallow change if RESTRICTed
Janik Kleinhoff [Fri, 2 Jan 2015 14:24:01 +0000 (14:24 +0000)] 
nickserv/set_accountname: disallow change if RESTRICTed

As with vHost changes, account name changes can be abused for ban
evasion on ircds with accountname-based bans (as well as making it
harder for channel operators to identify a trouble user), so allow
RESTRICT to disallow these.

9 years agonickserv/{enforce,ghost}: respect frozen accounts
Janik Kleinhoff [Thu, 25 Dec 2014 11:17:58 +0000 (11:17 +0000)] 
nickserv/{enforce,ghost}: respect frozen accounts

This further avoids allowing access of frozen accounts, most critically
in the case of the NickServ REGAIN command which would otherwise allow
logging in to a frozen account.

9 years agonickserv/vhost: update usercloak metadata on vhost removal
Janik Kleinhoff [Mon, 22 Dec 2014 17:24:01 +0000 (17:24 +0000)] 
nickserv/vhost: update usercloak metadata on vhost removal

This is consistent with HostServ behaviour and records additional
possibly helpful information.

9 years agoprotocol/unreal: fix checking of +f syntax
Mantas Mikulėnas [Wed, 24 Dec 2014 15:10:34 +0000 (17:10 +0200)] 
protocol/unreal: fix checking of +f syntax

check_flood would immediately return false regardless of action char
validity, and check_flood_old was expecting a ':' but actually checked
for '*'.

9 years agoMerge pull request #425 from shockkolate/patch-1
William Pitcock [Mon, 22 Dec 2014 21:45:56 +0000 (15:45 -0600)] 
Merge pull request #425 from shockkolate/patch-1

Fix NickServ ACC command short description

9 years agoFix NickServ ACC command short descrption
Shockk [Mon, 22 Dec 2014 19:52:39 +0000 (19:52 +0000)] 
Fix NickServ ACC command short descrption

All command short descriptions returned by `/msg NickServ HELP COMMANDS` end with a period except for the ACC command. This pull request simply fixes a grammatical inconsistency in the project.

9 years agoMerge pull request #424 from Renegade334/master
William Pitcock [Mon, 22 Dec 2014 18:32:17 +0000 (12:32 -0600)] 
Merge pull request #424 from Renegade334/master

modules/operserv/clones.c: Fix inconsistent inequality check

9 years agomodules/operserv/clones.c: Fix inconsistent inequality check
Renegade334 [Sun, 21 Dec 2014 16:12:01 +0000 (16:12 +0000)] 
modules/operserv/clones.c: Fix inconsistent inequality check

9 years agoMerge pull request #423 from Renegade334/master
William Pitcock [Sun, 21 Dec 2014 01:13:08 +0000 (19:13 -0600)] 
Merge pull request #423 from Renegade334/master

modules/chanserv/clone.c: Gracefully handle chanacs 'setter' being NULL

9 years agomodules/chanserv/clone.c: Gracefully handle chanacs 'setter' being NULL
Renegade334 [Sat, 20 Dec 2014 22:17:31 +0000 (22:17 +0000)] 
modules/chanserv/clone.c: Gracefully handle chanacs 'setter' being NULL

9 years agoprotocol/*: convert ircd_t to C99 struct syntax
Mantas Mikulėnas [Tue, 16 Dec 2014 08:48:15 +0000 (10:48 +0200)] 
protocol/*: convert ircd_t to C99 struct syntax

9 years agoprotocol/*: clean up the mix of spaces & tabs
Mantas Mikulėnas [Tue, 16 Dec 2014 08:41:42 +0000 (10:41 +0200)] 
protocol/*: clean up the mix of spaces & tabs

7-space indents

I don't even

9 years agocontrib/cap_sasl.pl: show the real cmdchar instead of none
Mantas Mikulėnas [Thu, 18 Dec 2014 20:56:06 +0000 (22:56 +0200)] 
contrib/cap_sasl.pl: show the real cmdchar instead of none

9 years agocontrib/cap_sasl.pl: don't assume cmdchar = /
Janik Kleinhoff [Thu, 18 Dec 2014 20:46:16 +0000 (20:46 +0000)] 
contrib/cap_sasl.pl: don't assume cmdchar = /

This avoids breaking on an irssi instance that does not consider / as a
command prefix.

9 years agocontrib/cap_sasl.pl: clarify license
Mantas Mikulėnas [Thu, 18 Dec 2014 16:19:09 +0000 (18:19 +0200)] 
contrib/cap_sasl.pl: clarify license

9 years agoCorrectly call <ctype.h> functions using (unsigned char) casts.
Jilles Tjoelker [Thu, 18 Dec 2014 14:44:20 +0000 (15:44 +0100)] 
Correctly call <ctype.h> functions using (unsigned char) casts.

9 years agooperserv/clones: Fix some corner cases in ADDEXEMPT mask validity checking.
Jilles Tjoelker [Thu, 18 Dec 2014 14:08:39 +0000 (15:08 +0100)] 
operserv/clones: Fix some corner cases in ADDEXEMPT mask validity checking.

9 years agonickserv/enforce: fix unimportant bug
Mantas Mikulėnas [Thu, 18 Dec 2014 11:31:32 +0000 (13:31 +0200)] 
nickserv/enforce: fix unimportant bug

9 years agocontrib/cap_sasl.pl: ./foo is a relative path
Mantas Mikulėnas [Thu, 18 Dec 2014 05:37:16 +0000 (07:37 +0200)] 
contrib/cap_sasl.pl: ./foo is a relative path

9 years agocontrib/cap_sasl.pl: strip slashes from the file name just in case
Mantas Mikulėnas [Wed, 17 Dec 2014 23:09:36 +0000 (01:09 +0200)] 
contrib/cap_sasl.pl: strip slashes from the file name just in case

9 years agocontrib/cap_sasl.pl: bump the version number
Mantas Mikulėnas [Wed, 17 Dec 2014 22:46:44 +0000 (00:46 +0200)] 
contrib/cap_sasl.pl: bump the version number

9 years agocontrib/cap_sasl.pl: use relative path in sasl.auth as well
Mantas Mikulėnas [Wed, 17 Dec 2014 22:30:07 +0000 (00:30 +0200)] 
contrib/cap_sasl.pl: use relative path in sasl.auth as well