]> jfr.im git - irc/freenode/ircd-seven.git/log
irc/freenode/ircd-seven.git
5 years agoIgnore UFNC for saved nicks origin/ufnc
Ed Kellett [Mon, 15 Apr 2019 17:06:48 +0000 (18:06 +0100)] 
Ignore UFNC for saved nicks

5 years agoAdd argument for downgrade to NICK
Ed Kellett [Mon, 15 Apr 2019 15:03:47 +0000 (16:03 +0100)] 
Add argument for downgrade to NICK

5 years agoDisallow UFNC for saved nicks
Ed Kellett [Mon, 15 Apr 2019 14:58:21 +0000 (15:58 +0100)] 
Disallow UFNC for saved nicks

5 years agoAdd ufnc.txt
Ed Kellett [Sun, 7 Apr 2019 22:56:26 +0000 (23:56 +0100)] 
Add ufnc.txt

5 years agoEnforce UFNC restrictions
Ed Kellett [Sun, 7 Apr 2019 22:10:09 +0000 (23:10 +0100)] 
Enforce UFNC restrictions

5 years agoAdd UFNC
Ed Kellett [Sat, 6 Apr 2019 00:34:08 +0000 (01:34 +0100)] 
Add UFNC

5 years agoDon't build m_filter when there is no hyperscan
Ed Kellett [Wed, 27 Mar 2019 17:06:24 +0000 (17:06 +0000)] 
Don't build m_filter when there is no hyperscan

Fixes #153

5 years agolibratbox: Fix sizeof in two memsets.
Jilles Tjoelker [Thu, 15 Jan 2015 22:36:26 +0000 (23:36 +0100)] 
libratbox: Fix sizeof in two memsets.

This fixes a compiler warning. The necessary fields of the struct sigevent
were initialized so there was no problem.

Submitted by: Aaron (via IRC)
Reviewed by: Attila

5 years agoMerge PR #12
Janik Kleinhoff [Tue, 26 Mar 2019 04:27:21 +0000 (04:27 +0000)] 
Merge PR #12

Duplicated changes have been removed.

5 years agonumeric: reserve RPL_SASLMECHS (908)
William Pitcock [Tue, 21 Feb 2012 15:15:15 +0000 (09:15 -0600)] 
numeric: reserve RPL_SASLMECHS (908)

5 years agosasl: send RPL_SASLMECHS
Mantas Mikulėnas [Sat, 11 Jan 2014 22:18:58 +0000 (00:18 +0200)] 
sasl: send RPL_SASLMECHS

5 years agoMerge branch 'edk/starttls'
Janik Kleinhoff [Tue, 26 Mar 2019 04:12:04 +0000 (04:12 +0000)] 
Merge branch 'edk/starttls'

5 years agoMerge branch 'chghost'
Janik Kleinhoff [Tue, 26 Mar 2019 04:03:15 +0000 (04:03 +0000)] 
Merge branch 'chghost'

5 years agoDon't ratelimit local /motd
Ed Kellett [Sun, 13 Jan 2019 23:10:50 +0000 (23:10 +0000)] 
Don't ratelimit local /motd

5 years agoRemove general.kline_delay config option
Ed Kellett [Wed, 31 Oct 2018 15:04:12 +0000 (15:04 +0000)] 
Remove general.kline_delay config option

It's no longer used for anything, since we check only one K-line when
adding new ones, and delaying that wouldn't make any sense.

5 years agoremove extensions/override.c
Ed Kellett [Sun, 28 Oct 2018 22:16:07 +0000 (22:16 +0000)] 
remove extensions/override.c

Override is built in in -seven. A seven-like-override module would be a
good thing, but this isn't it and I don't think keeping it is useful.

5 years agoExtend +M kick protection to IsAnyOper
Ed Kellett [Fri, 26 Oct 2018 15:48:40 +0000 (15:48 +0000)] 
Extend +M kick protection to IsAnyOper

5 years agoDon't ratelimit local /stats. Closes #8
Ed Kellett [Mon, 15 Oct 2018 12:47:40 +0000 (12:47 +0000)] 
Don't ratelimit local /stats. Closes #8

5 years agomonitor: don't use already-freed pointer, unlike the moronic atheme developers
Andrew Wilcox [Thu, 15 Oct 2015 22:13:49 +0000 (17:13 -0500)] 
monitor: don't use already-freed pointer, unlike the moronic atheme developers

5 years agom_ison: Do not report unregistered connections
xnrand [Sun, 17 Feb 2019 09:47:19 +0000 (10:47 +0100)] 
m_ison: Do not report unregistered connections

Prior to this, m_ison would report a nick as being online if a client
that was not yet registered had chosen this nickname on the same server.
This change adds a check to make sure the struct Client has a
struct User associated with it, i.e. registration has occurred.

5 years agom_resv: Fix number of minutes in snote
xnrand [Tue, 26 Feb 2019 06:47:22 +0000 (23:47 -0700)] 
m_resv: Fix number of minutes in snote

For remote resvs, m_resv reported the duration as seconds in the snote.
However, the format claimed minutes - this is incorrect. This commit
converts the duration to minutes, which is consistent with the other
resv snotes.

5 years agom_starttls: reject "STARTTLS" use over an existing TLS connection
Mantas Mikulėnas [Wed, 30 Dec 2015 07:28:53 +0000 (09:28 +0200)] 
m_starttls: reject "STARTTLS" use over an existing TLS connection

5 years agoassorted spelling fixes
Eric Mertens [Thu, 28 Feb 2019 17:16:27 +0000 (09:16 -0800)] 
assorted spelling fixes

This fixes public facing spelling in INFO and in some comments

5 years agostarttls: Don't send ERR_STARTTLS after successful STARTTLS.
Jilles Tjoelker [Sat, 5 Jan 2013 14:09:17 +0000 (15:09 +0100)] 
starttls: Don't send ERR_STARTTLS after successful STARTTLS.

5 years agostarttls: Explicitly reject starttls if TLS is not configured or not compiled in.
Jilles Tjoelker [Sat, 3 Nov 2012 14:50:43 +0000 (15:50 +0100)] 
starttls: Explicitly reject starttls if TLS is not configured or not compiled in.

5 years agostarttls: Don't corrupt the FD hash.
Jilles Tjoelker [Fri, 2 Nov 2012 23:49:10 +0000 (00:49 +0100)] 
starttls: Don't corrupt the FD hash.

Altering localClient->F without updating the FD hash leaves the struct
Client in the FD hash indefinitely which causes a crash later if the
struct is reused for a remote client. It also prevents error messages
from ssld showing up on IRC properly.

5 years agom_starttls: handle error condition with ERR_STARTTLS (691) numeric per tls-3.2 specif...
William Pitcock [Sun, 23 Sep 2012 00:31:55 +0000 (19:31 -0500)] 
m_starttls: handle error condition with ERR_STARTTLS (691) numeric per tls-3.2 specification

5 years agom_starttls: new module implementing ircv3 tls-3.1 optional extension
William Pitcock [Sat, 22 Sep 2012 21:30:01 +0000 (16:30 -0500)] 
m_starttls: new module implementing ircv3 tls-3.1 optional extension

5 years agom_cap: add 'tls' core capability
William Pitcock [Sat, 22 Sep 2012 19:15:45 +0000 (14:15 -0500)] 
m_cap: add 'tls' core capability

5 years agoDefine RPL_STARTTLS.
William Pitcock [Sat, 22 Sep 2012 19:04:57 +0000 (14:04 -0500)] 
Define RPL_STARTTLS.

5 years agom_away: update sendto_common_channels_local_butone calls
Janik Kleinhoff [Sat, 10 Nov 2018 14:40:08 +0000 (14:40 +0000)] 
m_away: update sendto_common_channels_local_butone calls

Commit 8879784 didn't update these two since they weren't there when
that commit was originally made. Apparently this just results in a
warning, not an error, when building?

5 years agoDon't send QJM modes for chghost users
Ed Kellett [Wed, 31 Oct 2018 16:53:32 +0000 (16:53 +0000)] 
Don't send QJM modes for chghost users

5 years agocap: implement ircv3.2 chghost cap
William Pitcock [Fri, 20 Nov 2015 04:53:55 +0000 (22:53 -0600)] 
cap: implement ircv3.2 chghost cap

5 years agosend: add negation argument to sendto_common_channels_local() and friends
William Pitcock [Fri, 20 Nov 2015 04:43:45 +0000 (22:43 -0600)] 
send: add negation argument to sendto_common_channels_local() and friends

5 years agoMerge PR #125 (nick cutoff at ~ character)
Janik Kleinhoff [Thu, 25 Oct 2018 21:20:08 +0000 (21:20 +0000)] 
Merge PR #125 (nick cutoff at ~ character)

5 years agoMerge PR #126 (away-notify)
Janik Kleinhoff [Thu, 25 Oct 2018 21:14:02 +0000 (21:14 +0000)] 
Merge PR #126 (away-notify)

5 years agoMerge PR #27 (oper:dehelper priv)
Janik Kleinhoff [Thu, 25 Oct 2018 20:59:04 +0000 (20:59 +0000)] 
Merge PR #27 (oper:dehelper priv)

5 years agoMerge PR #138 (mention /accept in +R help)
Janik Kleinhoff [Thu, 25 Oct 2018 20:58:04 +0000 (20:58 +0000)] 
Merge PR #138 (mention /accept in +R help)

5 years agoMerge PR #139 ("help set mlock" fix)
Janik Kleinhoff [Thu, 25 Oct 2018 20:56:50 +0000 (20:56 +0000)] 
Merge PR #139 ("help set mlock" fix)

5 years agostrip_unprintable: clarify type conversion origin/filter-module
Janik Kleinhoff [Thu, 25 Oct 2018 20:31:46 +0000 (20:31 +0000)] 
strip_unprintable: clarify type conversion

This type conversion is more easily shown to work as intended than the
conversion introduced in 54985f955.

5 years agoFix strip_unprintable on high bit bytes
Ed Kellett [Tue, 25 Sep 2018 11:48:22 +0000 (12:48 +0100)] 
Fix strip_unprintable on high bit bytes

5 years agofix a stupid bug
Ed Kellett [Mon, 24 Sep 2018 19:29:59 +0000 (20:29 +0100)] 
fix a stupid bug

5 years agomake the kill reason more honest
Ed Kellett [Thu, 20 Sep 2018 19:02:19 +0000 (19:02 +0000)] 
make the kill reason more honest

5 years ago'help set mlock', not 'help mlock'
David Precious [Wed, 5 Sep 2018 13:23:27 +0000 (14:23 +0100)] 
'help set mlock', not 'help mlock'

I'm a pleb.

5 years agosend the failure response only on PRIVMSG
Ed Kellett [Tue, 14 Aug 2018 21:41:24 +0000 (22:41 +0100)] 
send the failure response only on PRIVMSG

5 years agomatch in two passes, before and after stripping
Ed Kellett [Tue, 14 Aug 2018 21:38:51 +0000 (22:38 +0100)] 
match in two passes, before and after stripping

5 years agomove m_filter to extensions
Ed Kellett [Tue, 14 Aug 2018 21:37:58 +0000 (22:37 +0100)] 
move m_filter to extensions

5 years agom_filter: bump version
Ed Kellett [Sat, 11 Aug 2018 22:45:22 +0000 (23:45 +0100)] 
m_filter: bump version

5 years agoDon't strdup
Ed Kellett [Fri, 10 Aug 2018 20:52:03 +0000 (21:52 +0100)] 
Don't strdup

5 years agoadd version number
Ed Kellett [Fri, 10 Aug 2018 15:24:37 +0000 (16:24 +0100)] 
add version number

5 years agosend a numeric error for ACT_DROP
Ed Kellett [Fri, 10 Aug 2018 14:05:13 +0000 (15:05 +0100)] 
send a numeric error for ACT_DROP

5 years agoadd #defines for nick,user,host
Ed Kellett [Fri, 10 Aug 2018 14:04:32 +0000 (15:04 +0100)] 
add #defines for nick,user,host

5 years agodon't give the target of PMs to filters
Ed Kellett [Fri, 10 Aug 2018 02:32:21 +0000 (03:32 +0100)] 
don't give the target of PMs to filters

5 years agoinclude identified marker
Ed Kellett [Thu, 9 Aug 2018 22:39:19 +0000 (23:39 +0100)] 
include identified marker

5 years agoDrop messages if we're ACT_KILLing them
Ed Kellett [Thu, 9 Aug 2018 13:53:54 +0000 (14:53 +0100)] 
Drop messages if we're ACT_KILLing them

5 years agoFilter only locally-sourced messages
Ed Kellett [Thu, 9 Aug 2018 13:51:02 +0000 (14:51 +0100)] 
Filter only locally-sourced messages

(Assume the remote server filtered remote ones.)

5 years agokill last or we can't send the snote
Ed Kellett [Wed, 8 Aug 2018 21:10:02 +0000 (22:10 +0100)] 
kill last or we can't send the snote

5 years agoadd m_filter.c
Ed Kellett [Mon, 6 Aug 2018 16:48:15 +0000 (17:48 +0100)] 
add m_filter.c

5 years agodepend on hyperscan
Ed Kellett [Mon, 6 Aug 2018 11:57:52 +0000 (12:57 +0100)] 
depend on hyperscan

5 years agoExtension module to allow invexes to bypass +r
Mike Quin [Thu, 16 Aug 2018 15:06:29 +0000 (15:06 +0000)] 
Extension module to allow invexes to bypass +r

5 years agoClarify wording for umode +R help (in help umode)
Gareth Pulham [Wed, 15 Aug 2018 18:33:08 +0000 (19:33 +0100)] 
Clarify wording for umode +R help (in help umode)

5 years agoMerge PR #124 (extensions/drain)
Janik Kleinhoff [Wed, 8 Aug 2018 22:42:19 +0000 (22:42 +0000)] 
Merge PR #124 (extensions/drain)

5 years agoMerge PR #135 (+R auto-accept)
Janik Kleinhoff [Wed, 8 Aug 2018 22:42:01 +0000 (22:42 +0000)] 
Merge PR #135 (+R auto-accept)

5 years agoextensions/drain: remove superfluous includes
Janik Kleinhoff [Tue, 7 Aug 2018 20:39:05 +0000 (20:39 +0000)] 
extensions/drain: remove superfluous includes

5 years agoAdd extensions/drain
Ed Kellett [Wed, 29 Nov 2017 02:56:30 +0000 (02:56 +0000)] 
Add extensions/drain

This takes the simplest possible approach: load the module and you're in
drain mode.

5 years agoabort privmsgs if a hook kills their sender
Ed Kellett [Wed, 8 Aug 2018 21:54:21 +0000 (22:54 +0100)] 
abort privmsgs if a hook kills their sender

5 years agocmessage: invoke privmsg hooks
Ed Kellett [Wed, 8 Aug 2018 15:57:49 +0000 (16:57 +0100)] 
cmessage: invoke privmsg hooks

5 years agom_message: call hook for remote targets too
Ed Kellett [Wed, 8 Aug 2018 15:10:26 +0000 (16:10 +0100)] 
m_message: call hook for remote targets too

5 years agom_message: use same behaviour for +R users as +g users (closes #96)
William Pitcock [Sat, 5 Dec 2015 12:48:38 +0000 (06:48 -0600)] 
m_message: use same behaviour for +R users as +g users (closes #96)

5 years agoInitial test of privmsg hooks
William Pitcock [Sun, 1 Apr 2012 02:20:02 +0000 (21:20 -0500)] 
Initial test of privmsg hooks

6 years ago1.1.7 ircd-seven-1.1.7
Janik Kleinhoff [Sat, 19 May 2018 17:48:52 +0000 (17:48 +0000)] 
1.1.7

6 years agoAdd proper error checking for strtol (cf. #112)
Janik Kleinhoff [Wed, 16 May 2018 15:27:40 +0000 (15:27 +0000)] 
Add proper error checking for strtol (cf. #112)

6 years agoUse HTTPS instead of plain HTTP for freenode.net
Janik Kleinhoff [Tue, 24 Apr 2018 18:09:12 +0000 (18:09 +0000)] 
Use HTTPS instead of plain HTTP for freenode.net

s#http://(www.)?freenode.net#https://freenode.net#g

6 years agoBUGS: adjust bug reporting URL
Janik Kleinhoff [Tue, 24 Apr 2018 18:05:56 +0000 (18:05 +0000)] 
BUGS: adjust bug reporting URL

We've been using GitHub for a while. The fact that this was noticed only
now says a lot about how many people actually use the documentation
available in-tree.

Or maybe our in-tree documentation is just bad. Actually, that is
probably why people don't use it.

6 years agoMerge PRs #23, #25, #131 and #133 of https://github.com/freenode/ircd-seven
Janik Kleinhoff [Tue, 24 Apr 2018 17:35:53 +0000 (17:35 +0000)] 
Merge PRs #23, #25, #131 and #133 of https://github.com/freenode/ircd-seven

These are all simple adjustments to message / documentation content.

6 years agoChange help docs
Emerson Veenstra [Mon, 23 Apr 2018 17:08:51 +0000 (13:08 -0400)] 
Change help docs

6 years agom_list: fail on invalid parameters
Janik Kleinhoff [Mon, 9 Apr 2018 22:43:11 +0000 (22:43 +0000)] 
m_list: fail on invalid parameters

Commands such as "LIST channel" would formerly be interpreted
as an ELIST command without valid filters, i.e. the entire channel list
would be returned. This is usually not the desired behaviour.

Instead, return a start-of-list numeric, followed by a notice informing
the user their parameters were invalid and an end-of-list numeric.
This sort of mirrors the behaviour exhibited by an attempt to
/list #channel, where #channel does not exist.

Fixes #132.

6 years ago1.1.6 ircd-seven-1.1.6
Janik Kleinhoff [Fri, 13 Apr 2018 03:39:02 +0000 (03:39 +0000)] 
1.1.6

There have been changes to the ircd core; bump the version number
appropriately.

6 years agoAdd +S to channel mode help
iamkubi [Sat, 10 Mar 2018 22:34:14 +0000 (14:34 -0800)] 
Add +S to channel mode help

6 years agoMerge branch 'opmoderate' of https://github.com/mquin/ircd-seven
Janik Kleinhoff [Wed, 28 Feb 2018 22:49:45 +0000 (22:49 +0000)] 
Merge branch 'opmoderate' of https://github.com/mquin/ircd-seven

6 years agoMerge branch 'fix-cidr' of https://github.com/AbstractBeliefs/ircd-seven
Janik Kleinhoff [Wed, 28 Feb 2018 21:56:44 +0000 (21:56 +0000)] 
Merge branch 'fix-cidr' of https://github.com/AbstractBeliefs/ircd-seven

6 years agoMerge branch 'fix-hints' of https://github.com/AbstractBeliefs/ircd-seven
Janik Kleinhoff [Wed, 28 Feb 2018 21:40:43 +0000 (21:40 +0000)] 
Merge branch 'fix-hints' of https://github.com/AbstractBeliefs/ircd-seven

6 years agoMerge branch 'fix-nickchangeban' of https://github.com/AbstractBeliefs/ircd-seven
Janik Kleinhoff [Wed, 28 Feb 2018 21:23:11 +0000 (21:23 +0000)] 
Merge branch 'fix-nickchangeban' of https://github.com/AbstractBeliefs/ircd-seven

6 years agoMake 5614c9e6f0b (opmod as fake cprivmsg) optional
Janik Kleinhoff [Tue, 27 Feb 2018 22:49:13 +0000 (22:49 +0000)] 
Make 5614c9e6f0b (opmod as fake cprivmsg) optional

This adds a channel { ... } option, opmod_send_cprivmsg, disabled by
default for compatibility reasons.

6 years agoMerge branch 'kline-api'
Janik Kleinhoff [Sun, 21 Jan 2018 21:33:37 +0000 (21:33 +0000)] 
Merge branch 'kline-api'

6 years agoAdd check for IsAnyOper first to avoid leaking privilege requirement
Emerson Veenstra [Sat, 2 Dec 2017 16:58:01 +0000 (11:58 -0500)] 
Add check for IsAnyOper first to avoid leaking privilege requirement

6 years agoMerge branch 'i-like-cheese'
Janik Kleinhoff [Sat, 2 Dec 2017 10:51:24 +0000 (10:51 +0000)] 
Merge branch 'i-like-cheese'

i-like-cheese has seen production use, as has master. The two branches
have diverged a bit. Merge them while they can still be merged without
inducing major headaches.

(There are no conflicts, but some fixes were duplicated.)

6 years agoremove /nick's weird cutoff at ~
Ed Kellett [Wed, 29 Nov 2017 03:21:11 +0000 (03:21 +0000)] 
remove /nick's weird cutoff at ~

fixes #26

6 years agoAdd away-notify client capability.
Keith Buck [Tue, 14 Feb 2012 14:15:44 +0000 (14:15 +0000)] 
Add away-notify client capability.

6 years agoRemove duplicated notify_banned_client
Ed Kellett [Sat, 25 Nov 2017 23:54:43 +0000 (23:54 +0000)] 
Remove duplicated notify_banned_client

6 years agoMerge branch 'sasl-usercloak-kline' into kline-api
Ed Kellett [Tue, 28 Nov 2017 22:11:24 +0000 (22:11 +0000)] 
Merge branch 'sasl-usercloak-kline' into kline-api

6 years agoremove duplicated kline check code from modules
Ed Kellett [Sat, 25 Nov 2017 22:29:11 +0000 (22:29 +0000)] 
remove duplicated kline check code from modules

6 years agoMerge branch 'targeted_kline' into kline-api
Ed Kellett [Tue, 28 Nov 2017 22:11:19 +0000 (22:11 +0000)] 
Merge branch 'targeted_kline' into kline-api

6 years agoAdd the same monstrosity to core/m_ban
Ed Kellett [Sat, 25 Nov 2017 20:27:40 +0000 (20:27 +0000)] 
Add the same monstrosity to core/m_ban

6 years agom_kline: check only the added K-line
Ed Kellett [Sat, 25 Nov 2017 01:31:34 +0000 (01:31 +0000)] 
m_kline: check only the added K-line

6 years agoImprove cidr matching in match.c
Gareth Pulham [Sun, 26 Nov 2017 13:35:29 +0000 (13:35 +0000)] 
Improve cidr matching in match.c

6 years agosasl_usercloak: check K-lines after host change
Ed Kellett [Sat, 25 Nov 2017 22:53:45 +0000 (22:53 +0000)] 
sasl_usercloak: check K-lines after host change

6 years agoAdd check_one_kline, expose notify_banned_client
Ed Kellett [Sat, 25 Nov 2017 22:17:50 +0000 (22:17 +0000)] 
Add check_one_kline, expose notify_banned_client

6 years agoAdd privilege for dehelper
Emerson [Mon, 17 Apr 2017 23:46:30 +0000 (19:46 -0400)] 
Add privilege for dehelper

6 years ago1.1.5 ircd-seven-1.1.5
Stephen Bennett [Wed, 15 Nov 2017 22:55:50 +0000 (22:55 +0000)] 
1.1.5