]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
5 years agoRaise the default max number of ACCEPT entries from 16 to 30.
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.

5 years agoAdd an option for changing the allowed server clock drift.
Peter Powell [Tue, 4 Dec 2018 19:04:09 +0000 (19:04 +0000)]
Add an option for changing the allowed server clock drift.

5 years agoFix detecting secure clients connecting through HAProxy/WEBIRC.
Peter Powell [Mon, 26 Nov 2018 15:15:18 +0000 (15:15 +0000)]
Fix detecting secure clients connecting through HAProxy/WEBIRC.

5 years agoOnly check if a SSL cert is usable if we're getting the fp.
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.

5 years agoUse the default if an invalid duration is found in getDuration.
Peter Powell [Sat, 24 Nov 2018 23:27:49 +0000 (23:27 +0000)]
Use the default if an invalid duration is found in getDuration.

5 years agoMove IsValidDuration into the core.
Peter Powell [Sat, 24 Nov 2018 23:27:16 +0000 (23:27 +0000)]
Move IsValidDuration into the core.

5 years agoFix some incorrect conditions in the showfile module.
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.

5 years agoImprove the description of the maphide module.
Peter Powell [Sat, 24 Nov 2018 18:57:28 +0000 (18:57 +0000)]
Improve the description of the maphide module.

5 years agoImprove the output of the showfile 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.

5 years agoKill users that fail a WEBIRC auth instead of penalising them.
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.

5 years agoOnly try to parse the WebIRC IP if the user matches a host.
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.

5 years agom_filter: Add a warn action for notifying opers while still allowing the message...
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.

5 years agom_blockcolor: Check for colors the same way InspIRCd::StripColor() does.
Robby [Wed, 21 Nov 2018 00:32:41 +0000 (01:32 +0100)]
m_blockcolor: Check for colors the same way InspIRCd::StripColor() does.

5 years agoAdd missing special character for reversing color.
Robby [Tue, 20 Nov 2018 22:32:19 +0000 (23:32 +0100)]
Add missing special character for reversing color.

5 years agoAdd support for multiple cloak configurations.
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.

5 years agoExclude the vendor directory from Doxygen-generated documentation.
Peter Powell [Mon, 19 Nov 2018 02:49:32 +0000 (02:49 +0000)]
Exclude the vendor directory from Doxygen-generated documentation.

5 years agoFix single backslashes in the MOTD erroneously being removed.
Peter Powell [Sun, 18 Nov 2018 13:12:07 +0000 (13:12 +0000)]
Fix single backslashes in the MOTD erroneously being removed.

5 years agoFix sending DNSBL error snotices when a user isn't DNSBLed.
Peter Powell [Fri, 16 Nov 2018 23:42:49 +0000 (23:42 +0000)]
Fix sending DNSBL error snotices when a user isn't DNSBLed.

5 years agoFix an inverted condition in the cgiirc module.
Peter Powell [Fri, 16 Nov 2018 22:13:11 +0000 (22:13 +0000)]
Fix an inverted condition in the cgiirc module.

5 years agoFix the OnSendWhoLine event being completely broken with WHOX.
Peter Powell [Wed, 14 Nov 2018 15:01:21 +0000 (15:01 +0000)]
Fix the OnSendWhoLine event being completely broken with WHOX.

5 years agom_filter: add Z-Line support
Michael Hazell [Mon, 12 Nov 2018 00:39:53 +0000 (19:39 -0500)]
m_filter: add Z-Line support

5 years agoFix the syntax description for the WHO command.
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.

5 years agoMerge tag 'v2.0.27' into master.
Peter Powell [Wed, 7 Nov 2018 10:58:42 +0000 (10:58 +0000)]
Merge tag 'v2.0.27' into master.

5 years agoRelease v2.0.27
Peter Powell [Mon, 5 Nov 2018 22:59:02 +0000 (22:59 +0000)]
Release v2.0.27

5 years agoImplement support for WEBIRC attributes.
Peter Powell [Sun, 15 Oct 2017 17:42:58 +0000 (18:42 +0100)]
Implement support for WEBIRC attributes.

5 years agoFix exposing the ban reason when an xline is found in the bancache.
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.

5 years agoWebSocket: send messages as text by default.
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.

5 years agoWebSocket: use one WebSocket message per IRC message.
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.

5 years agoFix the ordering of libraries in the vendor readme.
Peter Powell [Wed, 31 Oct 2018 04:27:56 +0000 (04:27 +0000)]
Fix the ordering of libraries in the vendor readme.

5 years agoAlso synchronise the prefix rank between servers.
Peter Powell [Sun, 28 Oct 2018 13:01:33 +0000 (13:01 +0000)]
Also synchronise the prefix rank between servers.

5 years agoRemove deprecated config checker and make <die> actually useful.
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.

5 years agoFix a shadowing warning in the spanningtree module.
Peter Powell [Sat, 27 Oct 2018 17:17:08 +0000 (18:17 +0100)]
Fix a shadowing warning in the spanningtree module.

5 years agoImprove CAPAB negotiation 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.

5 years agoEnable as many extra modules as possible when running configure.
Peter Powell [Sat, 27 Oct 2018 03:27:16 +0000 (04:27 +0100)]
Enable as many extra modules as possible when running configure.

5 years agoFix ircv3_capnotify being defined twice in modules.conf.example.
Peter Powell [Fri, 26 Oct 2018 21:41:12 +0000 (22:41 +0100)]
Fix ircv3_capnotify being defined twice in modules.conf.example.

5 years agoFix "smartmatch is experimental" warning from the helper script.
Peter Powell [Fri, 26 Oct 2018 13:18:42 +0000 (14:18 +0100)]
Fix "smartmatch is experimental" warning from the helper script.

5 years agoTell the user to check out the latest tag rather than the branch.
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.

5 years agoFix a bunch of harmless compiler warnings on recent GCC releases.
Peter Powell [Fri, 26 Oct 2018 00:18:54 +0000 (01:18 +0100)]
Fix a bunch of harmless compiler warnings on recent GCC releases.

5 years agoChange the branch version from InspIRCd-3.0 to InspIRCd-3.
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.

5 years agoAllow HAProxy to specify that a client is connecting with SSL.
Peter Powell [Tue, 16 Oct 2018 13:57:28 +0000 (14:57 +0100)]
Allow HAProxy to specify that a client is connecting with SSL.

5 years agoStore the type of a StreamSocket within itself.
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.

5 years agoFix the censor module sending the wrong numeric in some cases.
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.

5 years agoFix warnings from Doxygen.
Peter Powell [Sun, 21 Oct 2018 18:18:08 +0000 (19:18 +0100)]
Fix warnings from Doxygen.

5 years agoFix unregistered user modes thinking they are enabled.
Peter Powell [Thu, 18 Oct 2018 09:54:06 +0000 (10:54 +0100)]
Fix unregistered user modes thinking they are enabled.

5 years agoShow reasons in xline expiry messages.
Robby [Sun, 14 Oct 2018 05:23:06 +0000 (07:23 +0200)]
Show reasons in xline expiry messages.

5 years agoImplement support for IPv6 GeoIP lookups.
Peter Powell [Sat, 13 Oct 2018 12:15:25 +0000 (13:15 +0100)]
Implement support for IPv6 GeoIP lookups.

5 years agoRequire WebSocket origins to be whitelisted in order to connect.
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.

5 years agoFix sending malformed ERR_BANLISTFULL numerics in some contexts.
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.

5 years agoUse nodejs/http_parser instead of a homebrew parser.
edef [Tue, 1 May 2018 16:45:21 +0000 (18:45 +0200)]
Use nodejs/http_parser instead of a homebrew parser.

5 years agoConvert m_sha256 to use a vendored library instead of bundling.
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.

5 years agoAdd a directive for requiring a specific compiler.
Peter Powell [Thu, 4 Oct 2018 12:16:25 +0000 (14:16 +0200)]
Add a directive for requiring a specific compiler.

5 years agoAvoid using relative paths in make::configure.
Peter Powell [Thu, 4 Oct 2018 12:15:47 +0000 (14:15 +0200)]
Avoid using relative paths in make::configure.

5 years agoRelease v3.0.0 alpha 10.
Peter Powell [Mon, 1 Oct 2018 20:58:45 +0000 (21:58 +0100)]
Release v3.0.0 alpha 10.

5 years agoMove <security:userstats> into core_stats.
Peter Powell [Mon, 1 Oct 2018 15:53:27 +0000 (16:53 +0100)]
Move <security:userstats> into core_stats.

5 years agoMove <security:hidesplits> to the spanningtree module.
Peter Powell [Mon, 1 Oct 2018 15:41:18 +0000 (16:41 +0100)]
Move <security:hidesplits> to the spanningtree module.

5 years agoMove <security:genericoper> into core_whois.
Peter Powell [Mon, 1 Oct 2018 15:35:00 +0000 (16:35 +0100)]
Move <security:genericoper> into core_whois.

5 years agoMove <security:hideulinekills> into core_oper.
Peter Powell [Mon, 1 Oct 2018 15:31:36 +0000 (16:31 +0100)]
Move <security:hideulinekills> into core_oper.

5 years agoMove <security:hidekills> into core_oper.
Peter Powell [Mon, 1 Oct 2018 15:31:15 +0000 (16:31 +0100)]
Move <security:hidekills> into core_oper.

5 years agoDocument ServerConfig::Conf{Tags,Value} better.
Peter Powell [Mon, 1 Oct 2018 15:09:45 +0000 (16:09 +0100)]
Document ServerConfig::Conf{Tags,Value} better.

5 years agoGet rid of DummyMessageDetails in the delayjoin module.
Peter Powell [Mon, 1 Oct 2018 13:08:32 +0000 (14:08 +0100)]
Get rid of DummyMessageDetails in the delayjoin module.

5 years agoFix the delayjoin module not hiding JOIN messages properly.
Peter Powell [Mon, 1 Oct 2018 13:08:31 +0000 (14:08 +0100)]
Fix the delayjoin module not hiding JOIN messages properly.

5 years agoFix the chanhistory module being inconsistent across servers.
Peter Powell [Sat, 29 Sep 2018 15:19:26 +0000 (16:19 +0100)]
Fix the chanhistory module being inconsistent across servers.

Closes #331.

5 years agoFix SQL modules using "provider" in <database> instead of "module".
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.

5 years agoMove the SQL tables to docs/sql and install them on `make install`.
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`.

5 years agom_dnsbl: Add the IP address to the positive detection server notice.
Robby [Tue, 25 Sep 2018 21:35:55 +0000 (23:35 +0200)]
m_dnsbl: Add the IP address to the positive detection server notice.

5 years agom_dnsbl: Use the blacklist name rather than the domain.
Robby [Tue, 25 Sep 2018 21:35:10 +0000 (23:35 +0200)]
m_dnsbl: Use the blacklist name rather than the domain.

5 years agoSend a message to snomask 'd' when a DNSBL lookup fails.
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.

5 years agoAdd extban 'a' to m_gecosban.
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.

5 years agoDon't sync filters defined in the config and expire them on rehash.
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.

5 years agoMerge branch 'insp20' into master.
Peter Powell [Mon, 24 Sep 2018 17:25:06 +0000 (18:25 +0100)]
Merge branch 'insp20' into master.

5 years agoSwitch all core modules still using COMMAND_INIT to MODULE_INIT.
Peter Powell [Sun, 23 Sep 2018 13:19:06 +0000 (14:19 +0100)]
Switch all core modules still using COMMAND_INIT to MODULE_INIT.

5 years agoDon't sync xlines defined in the config and expire them on rehash.
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.

5 years agoMake kicknorejoin respect /INVITE (#1514).
A_D [Sun, 23 Sep 2018 12:12:05 +0000 (14:12 +0200)]
Make kicknorejoin respect /INVITE (#1514).

5 years agoMerge m_noctcp_user into m_noctcp.
Peter Powell [Sat, 28 Jul 2018 08:23:14 +0000 (09:23 +0100)]
Merge m_noctcp_user into m_noctcp.

5 years agoFix gateway client hosts not being updated if DNS resolution fails.
Peter Powell [Wed, 5 Sep 2018 15:27:57 +0000 (16:27 +0100)]
Fix gateway client hosts not being updated if DNS resolution fails.

5 years agoImprovements and bugfixes to the cgiirc module.
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.

5 years agoImprovements to the hostchange module.
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.

5 years agoAmend OnPostCommand to specify whether the command is loopcalled.
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.

5 years agoAdd a module for hiding mode changes from unprivileged users.
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>
5 years agoRemove the ripemd160 module.
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.

5 years agoDon't update the idle timer when a user replies to a CTCP.
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.

5 years agoImplement proper CTCP parsing in MessageDetails.
Peter Powell [Fri, 27 Apr 2018 13:30:06 +0000 (14:30 +0100)]
Implement proper CTCP parsing in MessageDetails.

5 years agoImprove the snotices sent out by the filter module.
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.

5 years agoAllow unlocking jumpserver and lockserv with a module rehash.
Peter Powell [Fri, 24 Aug 2018 11:24:07 +0000 (12:24 +0100)]
Allow unlocking jumpserver and lockserv with a module rehash.

Closes #282.

5 years agoDocument the --nopid option in the manual pages.
Peter Powell [Fri, 24 Aug 2018 11:08:56 +0000 (12:08 +0100)]
Document the --nopid option in the manual pages.

5 years agoSend the 001-004 numerics and MOTD/LUSERS from core_info.
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>
5 years agoFix warnings about using std::auto_ptr on C++11 or newer.
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.

5 years agoFix a few things that should be marked as override but aren't.
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.

5 years agoRelease v3.0.0 alpha 9.
Peter Powell [Wed, 15 Aug 2018 15:01:24 +0000 (16:01 +0100)]
Release v3.0.0 alpha 9.

5 years agoMerge branch 'insp20' into master.
Peter Powell [Wed, 15 Aug 2018 15:00:25 +0000 (16:00 +0100)]
Merge branch 'insp20' into master.

5 years agoRewrite m_httpd_config.
Peter Powell [Wed, 15 Aug 2018 10:06:26 +0000 (11:06 +0100)]
Rewrite m_httpd_config.

- Send the configuration as plain text instead of HTML.
- Show the location where each tag was located in a comment.
- Indent configuration keys consistently so they are easy to read.

5 years agoFix aliases that resolve to messages echoing with echo-message.
Peter Powell [Tue, 14 Aug 2018 22:22:14 +0000 (23:22 +0100)]
Fix aliases that resolve to messages echoing with echo-message.

Fixes #1459.

5 years agoFix m_alias not reconstituting the RFC message properly.
Peter Powell [Wed, 15 Aug 2018 07:56:30 +0000 (08:56 +0100)]
Fix m_alias not reconstituting the RFC message properly.

5 years agoFix a bunch more conflicting/unnamed numerics.
Peter Powell [Tue, 14 Aug 2018 18:18:15 +0000 (19:18 +0100)]
Fix a bunch more conflicting/unnamed numerics.

5 years agoConvert CLONES to use its own numeric and batch the replies.
Peter Powell [Tue, 14 Aug 2018 18:03:15 +0000 (19:03 +0100)]
Convert CLONES to use its own numeric and batch the replies.

5 years agoFix some bugs in cidr_mask::str().
Peter Powell [Tue, 14 Aug 2018 17:59:07 +0000 (18:59 +0100)]
Fix some bugs in cidr_mask::str().

- Fix a missing break statement causing unintentional fallthrough.
- Cast the length to an int to avoid interpreting as a character.

5 years agoConvert m_bcrypt to use a vendored library instead of bundling.
Peter Powell [Tue, 14 Aug 2018 14:48:43 +0000 (15:48 +0100)]
Convert m_bcrypt to use a vendored library instead of bundling.

5 years agoAdd support for vendoring dependencies.
Peter Powell [Fri, 25 May 2018 16:08:42 +0000 (17:08 +0100)]
Add support for vendoring dependencies.

5 years agoRename OnChangeLocalUserHost to OnPreChangeHost for consistency.
Peter Powell [Mon, 13 Aug 2018 23:22:59 +0000 (00:22 +0100)]
Rename OnChangeLocalUserHost to OnPreChangeHost for consistency.

5 years agoRemove the OnInfo event.
Peter Powell [Mon, 13 Aug 2018 23:17:03 +0000 (00:17 +0100)]
Remove the OnInfo event.

This is not used by anything and On{Post,Pre}Command hooks can
be used if people really want to add stuff to INFO.