]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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.
Peter Powell [Sat, 24 Nov 2018 17:37:14 +0000 (17:37 +0000)]
Improve the output of the showfile module.
- Omit the starting numeric if a zero numeric is specified.
- Omit the ending numeric if a zero numeric is specified or if the
end message is empty.
Peter Powell [Wed, 21 Nov 2018 13:22:22 +0000 (13:22 +0000)]
Kill users that fail a WEBIRC auth instead of penalising them.
This behaviour is specified in the IRCv3 WebIRC specification.
Peter Powell [Wed, 21 Nov 2018 12:59:02 +0000 (12:59 +0000)]
Only try to parse the WebIRC IP if the user matches a host.
Robby [Wed, 21 Nov 2018 00:53:03 +0000 (01:53 +0100)]
m_filter: Add a warn action for notifying opers while still allowing the message through.
Thanks to @H7-25 (Simos) for the idea.
Robby [Wed, 21 Nov 2018 00:32:41 +0000 (01:32 +0100)]
m_blockcolor: Check for colors the same way InspIRCd::StripColor() does.
Robby [Tue, 20 Nov 2018 22:32:19 +0000 (23:32 +0100)]
Add missing special character for reversing color.
Peter Powell [Mon, 19 Nov 2018 02:25:05 +0000 (02:25 +0000)]
Add support for multiple cloak configurations.
The first will be used for cloaking and the rest will be used for
checking bans.
Peter Powell [Mon, 19 Nov 2018 02:49:32 +0000 (02:49 +0000)]
Exclude the vendor directory from Doxygen-generated documentation.
Peter Powell [Sun, 18 Nov 2018 13:12:07 +0000 (13:12 +0000)]
Fix single backslashes in the MOTD erroneously being removed.
Peter Powell [Fri, 16 Nov 2018 23:42:49 +0000 (23:42 +0000)]
Fix sending DNSBL error snotices when a user isn't DNSBLed.
Peter Powell [Fri, 16 Nov 2018 22:13:11 +0000 (22:13 +0000)]
Fix an inverted condition in the cgiirc module.
Peter Powell [Wed, 14 Nov 2018 15:01:21 +0000 (15:01 +0000)]
Fix the OnSendWhoLine event being completely broken with WHOX.
Michael Hazell [Mon, 12 Nov 2018 00:39:53 +0000 (19:39 -0500)]
m_filter: add Z-Line support
Peter Powell [Sun, 11 Nov 2018 19:20:15 +0000 (19:20 +0000)]
Fix the syntax description for the WHO command.
Thanks to @KoraggKnightWolf for reporting this.
Peter Powell [Wed, 7 Nov 2018 10:58:42 +0000 (10:58 +0000)]
Merge tag 'v2.0.27' into master.
Peter Powell [Mon, 5 Nov 2018 22:59:02 +0000 (22:59 +0000)]
Release v2.0.27
Peter Powell [Sun, 15 Oct 2017 17:42:58 +0000 (18:42 +0100)]
Implement support for WEBIRC attributes.
Peter Powell [Wed, 26 Sep 2018 22:53:29 +0000 (23:53 +0100)]
Fix exposing the ban reason when an xline is found in the bancache.
Peter Powell [Wed, 31 Oct 2018 05:11:41 +0000 (05:11 +0000)]
WebSocket: send messages as text by default.
This requires all messages to be UTF-8. If you are using a UTF-8
incompatible text encoding then you can disable this by setting
<websocket:sendastext> to false.
Peter Powell [Wed, 31 Oct 2018 02:45:05 +0000 (02:45 +0000)]
WebSocket: use one WebSocket message per IRC message.
This makes more sense for WebSocket clients than CR+LF termination
as the protocol already understands the concept of messages.
Peter Powell [Wed, 31 Oct 2018 04:27:56 +0000 (04:27 +0000)]
Fix the ordering of libraries in the vendor readme.
Peter Powell [Sun, 28 Oct 2018 13:01:33 +0000 (13:01 +0000)]
Also synchronise the prefix rank between servers.
Peter Powell [Sat, 27 Oct 2018 13:18:52 +0000 (14:18 +0100)]
Remove deprecated config checker and make <die> actually useful.
- Remove the deprecated config tag checker. This checker is neither
exhaustive nor is it particularly accurate. Instead the new docs
site will contain a page detailing the breaking changes between
releases.
- Remove the insulting <die> tags in inspircd.conf.example and add
some descriptive ones in files that it is critical for the user
to edit correctly.
- Show the message from the <die> tag so the user actually knows
what they did wrong.
Peter Powell [Sat, 27 Oct 2018 17:17:08 +0000 (18:17 +0100)]
Fix a shadowing warning in the spanningtree module.
Peter Powell [Sat, 27 Oct 2018 17:13:29 +0000 (18:13 +0100)]
Improve CAPAB negotiation in the spanningtree module.
- Remove the CHANMODES, USERMODES, and PREFIX tokens in the 1205
protocol. These have entirely been superceded by the CHANMODES
and USERMODES CAPAB commands.
- Only compare the 1202 PREFIX tokens if the remote server did not
send CAPAB CHANMODES. This replicates the existing behaviour
used for the CHANMODES token.
- Fix checking whether the remote server has an appropriate case
mapping. If it is not sent we assume it is the same as the local
server as always. This should prevent issues with people using
services packages that do not send this token yet.
- Fix checking if the user modes are mismatched and then promptly
overwriting the error message with mismatched channel modes.
- Fix servers not being able to tell whether a mode on the remote
server is a prefixless prefix mode. Requires the 1205 protocol.
- Fix servers that receive CAPAB CHANMODES or CAPAB USERMODES not
checking the type of those modes. Requires the 1205 protocol.
Peter Powell [Sat, 27 Oct 2018 03:27:16 +0000 (04:27 +0100)]
Enable as many extra modules as possible when running configure.
Peter Powell [Fri, 26 Oct 2018 21:41:12 +0000 (22:41 +0100)]
Fix ircv3_capnotify being defined twice in modules.conf.example.
Peter Powell [Fri, 26 Oct 2018 13:18:42 +0000 (14:18 +0100)]
Fix "smartmatch is experimental" warning from the helper script.
Peter Powell [Fri, 26 Oct 2018 01:57:13 +0000 (02:57 +0100)]
Tell the user to check out the latest tag rather than the branch.
When the InspIRCd 3.x branch forks this will tell the user to go
back to the latest tag on the branch.
Peter Powell [Fri, 26 Oct 2018 00:18:54 +0000 (01:18 +0100)]
Fix a bunch of harmless compiler warnings on recent GCC releases.
Peter Powell [Thu, 25 Oct 2018 22:29:55 +0000 (23:29 +0100)]
Change the branch version from InspIRCd-3.0 to InspIRCd-3.
Under the new versioning scheme when a new branch is forked the
major version number will be reset. The minor version number will
now be used to mark a release as containing backwards compatible
additions and the patch version number will be used to mark a
release as containing just bug fixes.
Peter Powell [Tue, 16 Oct 2018 13:57:28 +0000 (14:57 +0100)]
Allow HAProxy to specify that a client is connecting with SSL.
Peter Powell [Tue, 16 Oct 2018 13:53:27 +0000 (14:53 +0100)]
Store the type of a StreamSocket within itself.
Similar to with IOHooks this allows you to convert StreamSocket to
a UserIOHandler quickly.
Peter Powell [Thu, 25 Oct 2018 12:34:26 +0000 (13:34 +0100)]
Fix the censor module sending the wrong numeric in some cases.
The appropriate numeric response when a user has the censor mode
enabled is ERR_CANTSENDTOUSER not ERR_CANTSENDTOUSER.
Peter Powell [Sun, 21 Oct 2018 18:18:08 +0000 (19:18 +0100)]
Fix warnings from Doxygen.
Peter Powell [Thu, 18 Oct 2018 09:54:06 +0000 (10:54 +0100)]
Fix unregistered user modes thinking they are enabled.
Robby [Sun, 14 Oct 2018 05:23:06 +0000 (07:23 +0200)]
Show reasons in xline expiry messages.
Peter Powell [Sat, 13 Oct 2018 12:15:25 +0000 (13:15 +0100)]
Implement support for IPv6 GeoIP lookups.
Peter Powell [Wed, 10 Oct 2018 15:45:35 +0000 (16:45 +0100)]
Require WebSocket origins to be whitelisted in order to connect.
Fixes #1281.
Peter Powell [Tue, 9 Oct 2018 18:53:37 +0000 (19:53 +0100)]
Fix sending malformed ERR_BANLISTFULL numerics in some contexts.
Fixes ircdocs/irc-defs#37.
edef [Tue, 1 May 2018 16:45:21 +0000 (18:45 +0200)]
Use nodejs/http_parser instead of a homebrew parser.
Peter Powell [Thu, 6 Sep 2018 09:59:30 +0000 (10:59 +0100)]
Convert m_sha256 to use a vendored library instead of bundling.
The require_compiler("GCC") directive is required to work around
some GCCs ignoring the GCC pragma for disabling warnings.
Peter Powell [Thu, 4 Oct 2018 12:16:25 +0000 (14:16 +0200)]
Add a directive for requiring a specific compiler.
Peter Powell [Thu, 4 Oct 2018 12:15:47 +0000 (14:15 +0200)]
Avoid using relative paths in make::configure.
Peter Powell [Mon, 1 Oct 2018 20:58:45 +0000 (21:58 +0100)]
Release v3.0.0 alpha 10.
Peter Powell [Mon, 1 Oct 2018 15:53:27 +0000 (16:53 +0100)]
Move <security:userstats> into core_stats.
Peter Powell [Mon, 1 Oct 2018 15:41:18 +0000 (16:41 +0100)]
Move <security:hidesplits> to the spanningtree module.
Peter Powell [Mon, 1 Oct 2018 15:35:00 +0000 (16:35 +0100)]
Move <security:genericoper> into core_whois.
Peter Powell [Mon, 1 Oct 2018 15:31:36 +0000 (16:31 +0100)]
Move <security:hideulinekills> into core_oper.
Peter Powell [Mon, 1 Oct 2018 15:31:15 +0000 (16:31 +0100)]
Move <security:hidekills> into core_oper.
Peter Powell [Mon, 1 Oct 2018 15:09:45 +0000 (16:09 +0100)]
Document ServerConfig::Conf{Tags,Value} better.
Peter Powell [Mon, 1 Oct 2018 13:08:32 +0000 (14:08 +0100)]
Get rid of DummyMessageDetails in the delayjoin module.
Peter Powell [Mon, 1 Oct 2018 13:08:31 +0000 (14:08 +0100)]
Fix the delayjoin module not hiding JOIN messages properly.
Peter Powell [Sat, 29 Sep 2018 15:19:26 +0000 (16:19 +0100)]
Fix the chanhistory module being inconsistent across servers.
Closes #331.
Peter Powell [Thu, 27 Sep 2018 11:51:53 +0000 (12:51 +0100)]
Fix SQL modules using "provider" in <database> instead of "module".
This fixes a regression introduced in
97a1d642 .
Peter Powell [Wed, 26 Sep 2018 20:56:51 +0000 (21:56 +0100)]
Move the SQL tables to docs/sql and install them on `make install`.
Robby [Tue, 25 Sep 2018 21:35:55 +0000 (23:35 +0200)]
m_dnsbl: Add the IP address to the positive detection server notice.
Robby [Tue, 25 Sep 2018 21:35:10 +0000 (23:35 +0200)]
m_dnsbl: Use the blacklist name rather than the domain.
Peter Powell [Tue, 25 Sep 2018 11:47:32 +0000 (12:47 +0100)]
Send a message to snomask 'd' when a DNSBL lookup fails.
Closes #1433.
Renegade334 [Sat, 28 Mar 2015 21:18:30 +0000 (21:18 +0000)]
Add extban 'a' to m_gecosban.
This has the format a:nick!user@host+gecos.
e.g. a:*!*@abusive.host+*MegaBot?v2.0*
Closes #1023.
Closes #1026.
Peter Powell [Sun, 23 Sep 2018 15:19:30 +0000 (16:19 +0100)]
Don't sync filters defined in the config and expire them on rehash.
Closes #1202.
Peter Powell [Mon, 24 Sep 2018 17:25:06 +0000 (18:25 +0100)]
Merge branch 'insp20' into master.
Peter Powell [Sun, 23 Sep 2018 13:19:06 +0000 (14:19 +0100)]
Switch all core modules still using COMMAND_INIT to MODULE_INIT.
Peter Powell [Fri, 21 Sep 2018 19:54:05 +0000 (20:54 +0100)]
Don't sync xlines defined in the config and expire them on rehash.
Closes #1427.
A_D [Sun, 23 Sep 2018 12:12:05 +0000 (14:12 +0200)]
Make kicknorejoin respect /INVITE (#1514).
Peter Powell [Sat, 28 Jul 2018 08:23:14 +0000 (09:23 +0100)]
Merge m_noctcp_user into m_noctcp.
Peter Powell [Wed, 5 Sep 2018 15:27:57 +0000 (16:27 +0100)]
Fix gateway client hosts not being updated if DNS resolution fails.
Peter Powell [Tue, 4 Sep 2018 13:10:19 +0000 (14:10 +0100)]
Improvements and bugfixes to the cgiirc module.
- Allow the ident for ident type hosts to be set in the config.
- Consistently check clone counts, connect classes, and xlines for
all users regardless of their cgiirc host type.
- Remove some obsolete code from when gateway clients had their IP
changed in OnCheckReady.
- Don't allow a gateway client to match both a WebIRC and an ident
host.
Peter Powell [Wed, 12 Sep 2018 13:37:38 +0000 (14:37 +0100)]
Improvements to the hostchange module.
- Get rid of <host> and merge the prefix and suffix values into the
<hostchange> value.
- Remove the 'suffix' action. This has been replaced by the 'set'
action.
- Add the 'addaccount' action. This adds the users account to their
hostname.
- Use the <hostname:charmap> characters when removing invalid chars
in addnick mode.
- Allow multiple entries on each hostmask so that they can fall
through if a certain value is not acceptable.
Closes #816.
Closes #1001.
Peter Powell [Tue, 11 Sep 2018 08:03:47 +0000 (09:03 +0100)]
Amend OnPostCommand to specify whether the command is loopcalled.
This restores previous behaviour which was lost when the original
line parameter was removed.
Peter Powell [Sun, 9 Sep 2018 15:52:32 +0000 (16:52 +0100)]
Add a module for hiding mode changes from unprivileged users.
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
Peter Powell [Thu, 6 Sep 2018 10:29:45 +0000 (11:29 +0100)]
Remove the ripemd160 module.
The library code used by this module is licensed under a non-free
license which is incompatible with the GPLv2. Combined with the
fact that it has been superceded by better algorithms like bcrypt
I have decided to remove it.
An alternate implementation of this algorithm is provided by the
m_hash_gnutls module if people *really* need to use it.
Peter Powell [Sun, 26 Aug 2018 09:37:23 +0000 (10:37 +0100)]
Don't update the idle timer when a user replies to a CTCP.
Closes #1305.
Peter Powell [Fri, 27 Apr 2018 13:30:06 +0000 (14:30 +0100)]
Implement proper CTCP parsing in MessageDetails.
Peter Powell [Fri, 24 Aug 2018 12:40:15 +0000 (13:40 +0100)]
Improve the snotices sent out by the filter module.
- Switch to a module-specific snotice character (f).
- Redo the format of the message to be easier to read and include
the filter that the user matched.
Closes #490.
Closes #841.
Peter Powell [Fri, 24 Aug 2018 11:24:07 +0000 (12:24 +0100)]
Allow unlocking jumpserver and lockserv with a module rehash.
Closes #282.
Peter Powell [Fri, 24 Aug 2018 11:08:56 +0000 (12:08 +0100)]
Document the --nopid option in the manual pages.
Peter Powell [Wed, 22 Aug 2018 12:43:46 +0000 (13:43 +0100)]
Send the 001-004 numerics and MOTD/LUSERS from core_info.
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
Peter Powell [Tue, 21 Aug 2018 14:24:14 +0000 (15:24 +0100)]
Fix warnings about using std::auto_ptr on C++11 or newer.
Peter Powell [Tue, 21 Aug 2018 13:50:09 +0000 (14:50 +0100)]
Fix a few things that should be marked as override but aren't.
Peter Powell [Wed, 15 Aug 2018 15:01:24 +0000 (16:01 +0100)]
Release v3.0.0 alpha 9.
Peter Powell [Wed, 15 Aug 2018 15:00:25 +0000 (16:00 +0100)]
Merge branch 'insp20' into master.