]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Peter Powell [Fri, 1 Feb 2019 10:43:51 +0000 (10:43 +0000)]
ident: reduce the amount of messages sent when a lookup fails.
Peter Powell [Fri, 1 Feb 2019 10:39:11 +0000 (10:39 +0000)]
ident: Change idents with the ChangeIdent method.
Peter Powell [Fri, 18 Jan 2019 13:12:00 +0000 (13:12 +0000)]
ident: Fix making idents longer than maxident when a lookup fails.
linuxdaemon [Fri, 1 Feb 2019 09:47:20 +0000 (03:47 -0600)]
Allow multiple fingerprints in an oper block (#1564)
B00mX0r [Thu, 31 Jan 2019 09:26:06 +0000 (01:26 -0800)]
Fix a minor typo in ssl.h
Peter Powell [Tue, 29 Jan 2019 02:14:09 +0000 (02:14 +0000)]
Improve the accessibility and robustness of prompt_bool.
- Use "yes" and "no" instead of "y" and "n".
- Validate the true and false responses properly.
- Keep prompting the user for a response until they give one which
is valid.
Peter Powell [Tue, 29 Jan 2019 02:04:27 +0000 (02:04 +0000)]
Don't clear the screen when running in interactive mode.
This hides potentially useful information.
Peter Powell [Tue, 29 Jan 2019 01:35:00 +0000 (01:35 +0000)]
Improve setting the gid/uid which will own files.
- Consistently set the gid/uid for all directories and files.
- Replace the obnoxious warning about root on `make install` with
a friendlier warning whilst running configure.
- Always install the inspircd executable and modules.
Peter Powell [Tue, 29 Jan 2019 04:46:18 +0000 (04:46 +0000)]
Fix -Wnewline-eof warning.
Peter Powell [Mon, 28 Jan 2019 23:23:41 +0000 (23:23 +0000)]
Fix reading the setname config tag.
Peter Powell [Mon, 28 Jan 2019 22:19:33 +0000 (22:19 +0000)]
Read the muteban config in ReadConfig().
Peter Powell [Mon, 28 Jan 2019 22:17:44 +0000 (22:17 +0000)]
Fix RPL_ADMINME not having the correct parameters.
Peter Powell [Mon, 28 Jan 2019 21:54:49 +0000 (21:54 +0000)]
Fix the prioritisation of OnRawMode in m_samode.
Peter Powell [Mon, 28 Jan 2019 21:41:28 +0000 (21:41 +0000)]
Fix the description of <setname:operonly>.
Peter Powell [Mon, 28 Jan 2019 21:24:39 +0000 (21:24 +0000)]
Fix sending the modes in RPL_CHANNELMODEIS as one big parameter.
Peter Powell [Mon, 28 Jan 2019 19:42:02 +0000 (19:42 +0000)]
Allow configuring whether SETNAME sends snotices and is oper-only.
Peter Powell [Mon, 28 Jan 2019 17:15:25 +0000 (17:15 +0000)]
Add ParamMode::IsParameterSecret and remove special casing of keys.
Peter Powell [Mon, 28 Jan 2019 16:45:14 +0000 (16:45 +0000)]
Fix not checking for server names case insensitively.
linuxdaemon [Mon, 28 Jan 2019 16:39:07 +0000 (10:39 -0600)]
Refactor m_httpd_stats, add subpages (#1554)
Peter Powell [Mon, 28 Jan 2019 13:27:56 +0000 (13:27 +0000)]
Fix erroneously sending RPL_YOURDISPLAYEDHOST to HAProxy clients.
Peter Powell [Mon, 28 Jan 2019 10:31:55 +0000 (10:31 +0000)]
Fix parsing anticaps mode parameters (again).
It is better to fix the underlying bug than the result of it.
This replaces commit
963213132dd923d0e7dbd47ea6f20373cdef343b .
Peter Powell [Mon, 28 Jan 2019 11:07:49 +0000 (11:07 +0000)]
Add overloads for ConvToNum to prevent (unsigned) char weirdness.
Peter Powell [Fri, 25 Jan 2019 10:57:37 +0000 (10:57 +0000)]
Fix sending the SSL connection notice when using a non-SSL gateway.
Peter Powell [Thu, 24 Jan 2019 22:06:27 +0000 (22:06 +0000)]
Remove trailing whitespace from various source files.
Peter Powell [Thu, 24 Jan 2019 18:03:12 +0000 (18:03 +0000)]
Fix overriding <options:exemptchanops> with the exemptchanops mode.
Closes #1558.
Peter Powell [Thu, 24 Jan 2019 17:56:52 +0000 (17:56 +0000)]
Fix parsing anticaps mode parameters.
Peter Powell [Thu, 24 Jan 2019 17:15:13 +0000 (17:15 +0000)]
Fix a minor Doxygen warning.
Matt Schatz [Thu, 24 Jan 2019 16:01:56 +0000 (09:01 -0700)]
Add the reason to xline removal notices. (#1545)
Show the reason in manual xline removal SNOTICEs, just like
expiry SNOTICEs do.
This modifies XLineManager::DelLine() to require another string
reference passed to it.
Requested by @Robby-.
linuxdaemon [Thu, 24 Jan 2019 15:52:59 +0000 (09:52 -0600)]
Add translation for casemapping between 2.0/3.0 (#1544)
If the casemapping is set to ascii, advertise the m_ascii module to 2.0
to allow use of the m_ascii extras module for 2.0
Peter Powell [Thu, 24 Jan 2019 15:23:17 +0000 (15:23 +0000)]
Merge the censor module example config into modules.conf.example.
Peter Powell [Thu, 24 Jan 2019 15:10:02 +0000 (15:10 +0000)]
Move the <disabled> tag out of the core to a new module.
Peter Powell [Wed, 23 Jan 2019 21:45:50 +0000 (21:45 +0000)]
Implement support for the extended tag space for client tags.
linuxdaemon [Thu, 24 Jan 2019 13:34:54 +0000 (07:34 -0600)]
Avoid forwarding passwords to nickserv when using SASL (#1562)
Peter Powell [Wed, 23 Jan 2019 14:46:20 +0000 (14:46 +0000)]
Fix a crash in m_sslinfo when a socket is SSL but a gateway is not.
Peter Powell [Wed, 23 Jan 2019 14:59:34 +0000 (14:59 +0000)]
Don't tell the user if DNS lookups are disabled.
linuxdaemon [Wed, 23 Jan 2019 08:40:25 +0000 (02:40 -0600)]
Fix away broadcast logic (#1561)
Peter Powell [Tue, 22 Jan 2019 11:59:44 +0000 (11:59 +0000)]
Rename OnClientProtocolProcessTag to OnProcessTag.
Peter Powell [Sun, 20 Jan 2019 09:52:38 +0000 (09:52 +0000)]
Call the OnUserInit hook from earlier in UserManager::AddUser.
This fixes messages being lost when sending them to a user who has
only just connected to the server.
Peter Powell [Sun, 20 Jan 2019 09:51:12 +0000 (09:51 +0000)]
Move ident lookups to the OnSetUserIP hook.
Peter Powell [Sat, 19 Jan 2019 12:55:31 +0000 (12:55 +0000)]
Fix sending the entire VERSION output as a single parameter.
Closes #1560.
Robby [Thu, 17 Jan 2019 11:20:26 +0000 (12:20 +0100)]
m_check: Fix showing oper permissions (privileges). (#1556)
Peter Powell [Mon, 14 Jan 2019 21:33:51 +0000 (21:33 +0000)]
Fix the hostchange set action swapping the host/value fields.
linuxdaemon [Mon, 14 Jan 2019 11:48:45 +0000 (05:48 -0600)]
Redo OnSetEndPoint logic to fix duplicate clones (#1549).
linuxdaemon [Fri, 11 Jan 2019 15:44:51 +0000 (09:44 -0600)]
Allow wildcards in <connect:dnsbl>
This makes it consistent with other <connect> class parameters like
`webirc`
Robby [Fri, 11 Jan 2019 14:54:58 +0000 (15:54 +0100)]
The <ident:bind> setting doesn't exist anymore, remove the reference to it from the config.
This setting was removed in commit
0a1fe6cf293bef91b419f57374b96a6d2aec636e .
Peter Powell [Thu, 10 Jan 2019 19:14:17 +0000 (19:14 +0000)]
Fix reading the server path for UNIX sockets.
Peter Powell [Thu, 10 Jan 2019 19:09:02 +0000 (19:09 +0000)]
Fix copying too much data into the remote endpoint field.
This is a buffer overrun but its harmless as the things it will
overwrite are no longer necessary.
Peter Powell [Thu, 10 Jan 2019 11:45:06 +0000 (11:45 +0000)]
m_ircv3_echomessage: only echo the tags which were actually used.
Peter Powell [Thu, 10 Jan 2019 10:27:19 +0000 (10:27 +0000)]
Improve the error messages given when creating a mode.
Peter Powell [Wed, 9 Jan 2019 19:58:43 +0000 (19:58 +0000)]
core_privmsg: respect the exemption list when sending $* messages.
Peter Powell [Wed, 9 Jan 2019 15:55:03 +0000 (15:55 +0000)]
Fix m_alias not initialising 'active' before use.
Matt Schatz [Tue, 8 Jan 2019 10:03:53 +0000 (03:03 -0700)]
Improve X-line text consistency.
- Change any "-Line", ":Line", or "*line" to "-line" throughout
the X-line code, comments, and documentation.
- Add periods to the end of some notices.
- Correct a typo in the Q-line code comments.
- Update the filter module documentation (shun addition).
Co-authored-by: Robby <robby@chatbelgie.be>
Peter Powell [Mon, 7 Jan 2019 22:41:54 +0000 (22:41 +0000)]
Release v3.0.0 release candidate 1.
Peter Powell [Mon, 7 Jan 2019 01:36:20 +0000 (01:36 +0000)]
core_stub: add stubs for the SUMMON and USERS commands.
Peter Powell [Sat, 5 Jan 2019 16:55:51 +0000 (16:55 +0000)]
Improve consistency of the restrictchans module example config.
Peter Powell [Sat, 5 Jan 2019 16:54:06 +0000 (16:54 +0000)]
Fix http_parser last updated date.
Peter Powell [Sat, 5 Jan 2019 13:31:01 +0000 (13:31 +0000)]
Move RPL_UNINVITED to 653 to avoid a collision with Bahamut/ircu.
Peter Powell [Sat, 5 Jan 2019 13:28:07 +0000 (13:28 +0000)]
Fix the websocket origin config example.
linuxdaemon [Fri, 4 Jan 2019 20:31:08 +0000 (14:31 -0600)]
Merge m_restrictchans and m_regonlycreate due to converging functionality (#1541).
Peter Powell [Fri, 4 Jan 2019 20:01:38 +0000 (20:01 +0000)]
Update the names in the /INFO credits.
- Add linuxdaemon to Active Contributors.
- Move Sheogorath to Active Contributors.
Peter Powell [Thu, 3 Jan 2019 22:36:42 +0000 (22:36 +0000)]
Improve the spanningtree "unknown command" error message.
Peter Powell [Thu, 3 Jan 2019 13:19:07 +0000 (13:19 +0000)]
Fix building modules which depend on vendor libs on Windows.
linuxdaemon [Thu, 3 Jan 2019 13:17:23 +0000 (07:17 -0600)]
Add the ability to disable console colors in stdout logging (#1539).
Peter Powell [Wed, 2 Jan 2019 20:21:21 +0000 (20:21 +0000)]
Fix a crash when trying to use ROUTE_TYPE_MESSAGE with no message.
Peter Powell [Wed, 2 Jan 2019 17:31:31 +0000 (17:31 +0000)]
Fix message tags not being broadcast across the network.
Peter Powell [Wed, 2 Jan 2019 16:55:20 +0000 (16:55 +0000)]
Strip message tags when talking with 1202 protocol servers.
Peter Powell [Wed, 2 Jan 2019 16:42:31 +0000 (16:42 +0000)]
Remove spanningtree check for lines sent without a source.
We don't send any of these anymore.
Peter Powell [Tue, 1 Jan 2019 14:11:06 +0000 (14:11 +0000)]
Update the vendored http_parser library to v1.3.
linuxdaemon [Fri, 21 Dec 2018 18:37:22 +0000 (12:37 -0600)]
Only parse valid durations, don't treat invalid multipliers as seconds (#1538)
Peter Powell [Thu, 20 Dec 2018 13:48:24 +0000 (14:48 +0100)]
Fix thinking that 1202 protocol servers have not finished bursting.
A server introduction is only a burst if all of the parent servers
of it are not bursting.
Fixes #1527.
Peter Powell [Wed, 19 Dec 2018 10:06:46 +0000 (10:06 +0000)]
Fix docs referring to channel mode e using the wrong name.
Peter Powell [Wed, 19 Dec 2018 09:02:09 +0000 (09:02 +0000)]
Add the <maxlist> tag and switch ListModeBase to always use it.
The old method of doing this was:
1. Extremely inconsistently used. Some list modes used <banlist>
and some used their own config tag.
2. Not documented in the slightest. There was a small reference to
<maxbans> for the ban mode but nothing else.
3. In some cases conflicting with other config tags. The chanfilter
module defined a <chanfilter> tag for general config whilst also
using it for the max list settings.
The new <maxlist> tag avoids these issues entirely.
linuxdaemon [Wed, 19 Dec 2018 01:06:56 +0000 (19:06 -0600)]
Make more modules rehash atomically (#1535)
Have each module validate the values it loads before setting them, so
any errors don't result in partial application of the configs
Peter Powell [Mon, 17 Dec 2018 19:08:41 +0000 (19:08 +0000)]
Fix not propagating rehashes properly across the network.
The REHASH command is not routed like a normal command. When a
rehash that needs to be forwarded is received the local server
forwards it indirectly by calling the local REHASH handler which
then calls the OnPreRehash hook. This results in the OnPreRehash
hook being called whilst loopCall is true.
The bug which this check was added to fix seems to no longer be
present so no alternate fix for that seems necessary.
Closes #1537.
Peter Powell [Mon, 17 Dec 2018 14:02:20 +0000 (14:02 +0000)]
Alphabetically sort the modes in MAXLIST tokens.
This isn't strictly necessary but we do it for other modes in 005
so lets do it for MAXLIST too.
Peter Powell [Sun, 16 Dec 2018 01:26:04 +0000 (01:26 +0000)]
Fix ParamModeBase::OnUnset() not being virtual.
Closes #1536.
Peter Powell [Sat, 15 Dec 2018 13:38:08 +0000 (13:38 +0000)]
Fix a typo in core_user.
Peter Powell [Thu, 13 Dec 2018 16:58:39 +0000 (16:58 +0000)]
Update the cloaks of connected users when their IP address changes.
Peter Powell [Thu, 13 Dec 2018 14:01:17 +0000 (14:01 +0000)]
Store durations as unsigned long not long in XLine and m_filter.
Peter Powell [Wed, 12 Dec 2018 20:34:46 +0000 (20:34 +0000)]
Fix conversion issues by replacing ConvToInt with ConvToNum<T>.
The former was a thin wrapper around atol and brought with it all
of the weird parsing logic of atol which is almost never what is
actually wanted. It also almost never returned the numeric type
which is actually wanted which can cause weird issues when casting.
Peter Powell [Wed, 12 Dec 2018 20:59:19 +0000 (20:59 +0000)]
Fix not rejecting invalid durations in DCCALLOW.
Peter Powell [Wed, 12 Dec 2018 13:54:31 +0000 (13:54 +0000)]
Reject setting modes which are null or not registered.
Peter Powell [Wed, 12 Dec 2018 13:51:26 +0000 (13:51 +0000)]
Fix a crash when the core_oper module is not loaded.
Peter Powell [Mon, 10 Dec 2018 17:27:19 +0000 (17:27 +0000)]
Fix overly escaping MOTDs if they are in more than one connect class.
Peter Powell [Sun, 9 Dec 2018 15:57:42 +0000 (15:57 +0000)]
Move some config parser-internal types out of the public header.
Peter Powell [Sun, 9 Dec 2018 08:09:23 +0000 (08:09 +0000)]
Fix the example help files using the wrong name for <helpmsg:nohelp>.
Thanks to @genius3000 for pointing this out.
Peter Powell [Sun, 9 Dec 2018 06:43:55 +0000 (06:43 +0000)]
Use consistent numerics when a mode already exists or doesn't exist.
Peter Powell [Sun, 9 Dec 2018 06:27:44 +0000 (06:27 +0000)]
Use ERR_BANLISTFULL in the chanfilter and exemptchanops modules.
Peter Powell [Sun, 9 Dec 2018 06:15:07 +0000 (06:15 +0000)]
Fix a numeric collision with UnrealIRCd's help numerics.
We were not using these correctly and the ircd-ratbox numerics are
more widely supported so using those is better.
Peter Powell [Sun, 9 Dec 2018 04:28:25 +0000 (04:28 +0000)]
Allow users on an accept list to bypass the +R user mode.
As implemented in ircd-seven and possibly other servers.
Peter Powell [Sun, 9 Dec 2018 04:28:20 +0000 (04:28 +0000)]
Allow modules to check if a user is on a callerid accept list.
Peter Powell [Sun, 9 Dec 2018 02:19:42 +0000 (02:19 +0000)]
Clean up the callerid documentation slightly.
Peter Powell [Sun, 9 Dec 2018 02:12:46 +0000 (02:12 +0000)]
Raise the default max number of ACCEPT entries from 16 to 30.
Peter Powell [Tue, 4 Dec 2018 19:04:09 +0000 (19:04 +0000)]
Add an option for changing the allowed server clock drift.
Peter Powell [Mon, 26 Nov 2018 15:15:18 +0000 (15:15 +0000)]
Fix detecting secure clients connecting through HAProxy/WEBIRC.
Peter Powell [Mon, 26 Nov 2018 14:33:44 +0000 (14:33 +0000)]
Only check if a SSL cert is usable if we're getting the fp.
Peter Powell [Sat, 24 Nov 2018 23:27:49 +0000 (23:27 +0000)]
Use the default if an invalid duration is found in getDuration.
Peter Powell [Sat, 24 Nov 2018 23:27:16 +0000 (23:27 +0000)]
Move IsValidDuration into the core.
Peter Powell [Sat, 24 Nov 2018 19:03:55 +0000 (19:03 +0000)]
Fix some incorrect conditions in the showfile module.
Thanks to @genius3000 for pointing this out.
Peter Powell [Sat, 24 Nov 2018 18:57:28 +0000 (18:57 +0000)]
Improve the description of the maphide module.