]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
6 years agoExtract RFC modes from the core to core_channel and core_user.
Peter Powell [Sun, 3 Dec 2017 17:16:28 +0000 (17:16 +0000)]
Extract RFC modes from the core to core_channel and core_user.

6 years agoClean up numeric usage in WHOIS and WHOWAS.
Peter Powell [Sat, 9 Dec 2017 16:12:00 +0000 (16:12 +0000)]
Clean up numeric usage in WHOIS and WHOWAS.

- Add constants for all of the used numerics.

- Switch RPL_CHANNELSMSG from 336 to 651 to avoid a conflict with
  RPL_INVITELIST from ircd-hybrid.

- Switch RPL_WHOWASIP from 379 to 652 to avoid a conflict with
  RPL_WHOISMODES from UnrealIRCd.

6 years agoAdd names for a bunch more numerics.
Peter Powell [Sat, 9 Dec 2017 13:43:44 +0000 (13:43 +0000)]
Add names for a bunch more numerics.

6 years agoClean up m_password_hash slightly.
Peter Powell [Sun, 3 Dec 2017 21:55:01 +0000 (21:55 +0000)]
Clean up m_password_hash slightly.

- Get rid of MakeHash and inline the logic into the actual handler.
- Return CMD_FAILURE when password hashing fails for some reason.
- Change the module name and description to be more accurate.

6 years agoSend a snotice when m_filter kills or G-Lines a client.
ThatOneRoadie [Mon, 5 Dec 2016 21:06:30 +0000 (14:06 -0700)]
Send a snotice when m_filter kills or G-Lines a client.

Closes #1264.

6 years agoAdd SSL cert info to connect class debug log.
Christopher 'm4z' Holm [Sun, 15 Sep 2013 14:25:29 +0000 (16:25 +0200)]
Add SSL cert info to connect class debug log.

Closes #634.

6 years agoRemoved config option for +L redirect.
Shawn Smith [Mon, 26 May 2014 07:18:55 +0000 (03:18 -0400)]
Removed config option for +L redirect.

Closes #466.

6 years agoMove OnSync{Channel,Network,User} to ServerEventListener.
Peter Powell [Wed, 22 Nov 2017 12:37:20 +0000 (12:37 +0000)]
Move OnSync{Channel,Network,User} to ServerEventListener.

6 years agoRename the spanningtree module header to server.
Peter Powell [Wed, 22 Nov 2017 12:13:42 +0000 (12:13 +0000)]
Rename the spanningtree module header to server.

In the future we will have server linking modules that are not the
spanningtree module.

6 years agoMerge pull request #1417 from B00mX0r/master+fix_1416
Peter Powell [Sun, 3 Dec 2017 13:51:36 +0000 (13:51 +0000)]
Merge pull request #1417 from B00mX0r/master+fix_1416

Fix m_cloaking umode desync

6 years agoMerge pull request #1428 from Chewsterchew/patch-1
Peter Powell [Sun, 3 Dec 2017 13:45:09 +0000 (13:45 +0000)]
Merge pull request #1428 from Chewsterchew/patch-1

Remove extra double quote (") from modules.conf

6 years agoRemove extra double quote (")
Chew [Sat, 2 Dec 2017 20:29:29 +0000 (14:29 -0600)]
Remove extra double quote (")

6 years agoBump the minimum versions of GnuTLS to 2.0.0 and OpenSSL to 1.0.0.
Peter Powell [Thu, 30 Nov 2017 14:17:13 +0000 (14:17 +0000)]
Bump the minimum versions of GnuTLS to 2.0.0 and OpenSSL to 1.0.0.

Old TLS libraries should not be used anymore due to security risks.

6 years agoImprove TLS security configuration in m_ssl_openssl.
Peter Powell [Thu, 30 Nov 2017 12:23:33 +0000 (12:23 +0000)]
Improve TLS security configuration in m_ssl_openssl.

- Always disable SSLv3. Unreal has already done this so clients
  will have to upgrade anyway.

- Disable TLSv1.0 by default. Various security standards (e.g.
  PCI DSS) are already planning on sunsetting this so we should
  too.

6 years agoMerge INSPIRCD_MODULE and INSPIRCD_TARGET.
Peter Powell [Wed, 18 Oct 2017 16:16:32 +0000 (17:16 +0100)]
Merge INSPIRCD_MODULE and INSPIRCD_TARGET.

6 years agoUse ERR_INVALIDUSERNAME rather than ERR_NEEDMOREPARAMS in USER.
Peter Powell [Tue, 28 Nov 2017 18:41:41 +0000 (18:41 +0000)]
Use ERR_INVALIDUSERNAME rather than ERR_NEEDMOREPARAMS in USER.

This numeric is a lot more friendly for clients to deal with.

6 years agoAssume that RUSAGE_SELF is always defined.
Peter Powell [Mon, 27 Nov 2017 22:10:14 +0000 (22:10 +0000)]
Assume that RUSAGE_SELF is always defined.

This was added for Red Hat 7 which was released in 2000(!) which
nobody should be using anymore.

6 years agoMerge pull request #1421 from B00mX0r/master+fix_extbans
Peter Powell [Mon, 27 Nov 2017 14:02:44 +0000 (14:02 +0000)]
Merge pull request #1421 from B00mX0r/master+fix_extbans

Fix action extbans not triggering (resolves #1420)

6 years agoFix m_cloaking umode syncing
B00mX0r [Sat, 25 Nov 2017 19:53:42 +0000 (11:53 -0800)]
Fix m_cloaking umode syncing
Servers will now correctly show whether a remote user has +x or not.

6 years agoFix action extbans not triggering
B00mX0r [Sun, 26 Nov 2017 22:14:12 +0000 (14:14 -0800)]
Fix action extbans not triggering
This fixes a reversion from ebe5b20

6 years agoConvert the remaining things away from the caller/handler API.
Peter Powell [Sat, 25 Nov 2017 13:01:53 +0000 (13:01 +0000)]
Convert the remaining things away from the caller/handler API.

6 years agoConvert GenRandom to std::function.
Peter Powell [Sat, 25 Nov 2017 12:50:11 +0000 (12:50 +0000)]
Convert GenRandom to std::function.

6 years agoConvert IsChannel to std::function.
Peter Powell [Sat, 25 Nov 2017 12:37:48 +0000 (12:37 +0000)]
Convert IsChannel to std::function.

6 years agoConvert IsIdent to std::function.
Peter Powell [Sat, 25 Nov 2017 12:29:05 +0000 (12:29 +0000)]
Convert IsIdent to std::function.

6 years agoConvert IsNick to std::function.
Peter Powell [Sat, 25 Nov 2017 12:15:35 +0000 (12:15 +0000)]
Convert IsNick to std::function.

6 years agoFix a minor typo in core_channel.
Peter Powell [Sat, 25 Nov 2017 13:37:23 +0000 (13:37 +0000)]
Fix a minor typo in core_channel.

6 years agoRemove the preconfigured Charybdis and UnrealIRCd module files.
Peter Powell [Wed, 22 Nov 2017 13:06:11 +0000 (13:06 +0000)]
Remove the preconfigured Charybdis and UnrealIRCd module files.

These are extremely outdated. If we want to ship these then they
should be redone from scratch.

6 years agoAdd the override keyword in places that it is missing.
Peter Powell [Tue, 21 Nov 2017 13:05:17 +0000 (13:05 +0000)]
Add the override keyword in places that it is missing.

GCCs warnings for this are much better than Clangs.

6 years agoInherit non-core connect class settings properly.
Peter Powell [Sat, 21 Oct 2017 21:48:29 +0000 (22:48 +0100)]
Inherit non-core connect class settings properly.

Based partially on a patch by Attila.

6 years agoImprove LIST and implement more extended list features.
Peter Powell [Wed, 15 Nov 2017 02:35:15 +0000 (02:35 +0000)]
Improve LIST and implement more extended list features.

- Move the ISUPPORT token from the core into core_user and start
  sending the SAFELIST token to let clients know that they can
  safely run LIST on big servers.

- Add support for the channel creation time (C), topic set time
  (T), and inverted glob match (N) filters as specified in the
  draft-hardy-irc-isupport-00 specification.

- Clean up the logic for filtering channels by user count.

6 years agoFix a ton of -Wsign-conversion warnings.
Peter Powell [Fri, 17 Nov 2017 00:02:03 +0000 (00:02 +0000)]
Fix a ton of -Wsign-conversion warnings.

6 years agoAdd events which are fired when a service is added or deleted.
Attila Molnar [Fri, 18 Nov 2016 16:30:38 +0000 (17:30 +0100)]
Add events which are fired when a service is added or deleted.

6 years agoAdd a class which encapsulates the concept of token lists.
Peter Powell [Thu, 17 Aug 2017 17:32:19 +0000 (18:32 +0100)]
Add a class which encapsulates the concept of token lists.

6 years agoRelease v3.0.0 alpha 3.
Peter Powell [Mon, 13 Nov 2017 17:55:59 +0000 (17:55 +0000)]
Release v3.0.0 alpha 3.

6 years agoUnite SSL service providers and SSL profile classes
Attila Molnar [Tue, 10 Jan 2017 19:21:57 +0000 (20:21 +0100)]
Unite SSL service providers and SSL profile classes

6 years agoOnly subclass Simple{Channel,User}ModeHandler when necessary.
Peter Powell [Sun, 12 Nov 2017 20:53:24 +0000 (20:53 +0000)]
Only subclass Simple{Channel,User}ModeHandler when necessary.

6 years agoAdd the m_ircv3_sts module which implements the IRCv3 STS spec.
Peter Powell [Sun, 29 Oct 2017 05:58:16 +0000 (05:58 +0000)]
Add the m_ircv3_sts module which implements the IRCv3 STS spec.

6 years agoMerge tag 'v2.0.25' into master.
Peter Powell [Sun, 12 Nov 2017 17:33:21 +0000 (17:33 +0000)]
Merge tag 'v2.0.25' into master.

6 years agoRelease v2.0.25
Peter Powell [Sun, 12 Nov 2017 15:55:01 +0000 (15:55 +0000)]
Release v2.0.25

6 years agoDon't mess with the encoding of extras modules in modulemanager.
Peter Powell [Sun, 12 Nov 2017 14:33:08 +0000 (14:33 +0000)]
Don't mess with the encoding of extras modules in modulemanager.

This fixes installing extras modules such as m_qrcode which contain
characters from outside of the Unicode Basic Multilingual Plane.

6 years agoVarious minor documentation fixes.
Peter Powell [Sun, 12 Nov 2017 11:58:49 +0000 (11:58 +0000)]
Various minor documentation fixes.

- Remind admins that not setting a DIE/RESTART password does not
  disable use of those commands.
- Remove references to 1.2 and modules being able to create custom
  logging methods. This was never implemented in the 2.0 branch.
- Remove references to an SASL improvement that was reverted.
- Update various InspIRCd website links to use HTTPS over HTTP.
- Update a link to the IRCv3 website to point to the new website.

6 years agoWork around removing shuns on nicks when the nick is online.
Peter Powell [Tue, 7 Nov 2017 18:18:35 +0000 (18:18 +0000)]
Work around removing shuns on nicks when the nick is online.

6 years agoRevert the code changes to m_sasl made in commit 9d4b4344b4.
Peter Powell [Thu, 9 Nov 2017 11:04:52 +0000 (11:04 +0000)]
Revert the code changes to m_sasl made in commit 9d4b4344b4.

This is causing problems such as duplicate 904 messages.

6 years agoAllow spaces in the network name now it doesn't cause problems.
Peter Powell [Thu, 9 Nov 2017 10:05:09 +0000 (10:05 +0000)]
Allow spaces in the network name now it doesn't cause problems.

This will not cause any compatibility issues as we do not rely on
this attribute internally.

6 years agoImplement support for draft-brocklesby-irc-isupport-03 escapes.
Peter Powell [Thu, 9 Nov 2017 10:04:58 +0000 (10:04 +0000)]
Implement support for draft-brocklesby-irc-isupport-03 escapes.

6 years agoMerge pull request #1255 from genius3000/insp20+timedbans
Peter Powell [Tue, 7 Nov 2017 14:15:50 +0000 (14:15 +0000)]
Merge pull request #1255 from genius3000/insp20+timedbans

2.0: Fix various inconsistencies in m_timedbans.

6 years agoImprove (synchronize) the notices in m_timedbans
genius3000 [Tue, 22 Nov 2016 05:00:27 +0000 (22:00 -0700)]
Improve (synchronize) the notices in m_timedbans

* Send to remote servers upon setting
* Send to halfop if available upon expiry

6 years agoMerge pull request #1359 from genius3000/insp20+sasl_no_server
Peter Powell [Mon, 6 Nov 2017 11:11:22 +0000 (11:11 +0000)]
Merge pull request #1359 from genius3000/insp20+sasl_no_server

2.0: Inform the client when a SASL message cannot be sent

6 years agoEnable using m_customprefix to alter core prefix modes.
Peter Powell [Fri, 20 Oct 2017 07:01:27 +0000 (08:01 +0100)]
Enable using m_customprefix to alter core prefix modes.

This replaces the devoice module which has now been removed. If you
want users to be able to devoice themselves then you can load the
customprefix module add the following config tag:

    <customprefix name="voice" depriv="yes">

If you wish to keep identical behaviour rather than allowing users
to use "MODE #YourChannel -v TheirNick" then you can load the alias
module and add the following config tag:

    <alias text="DEVOICE" format="#*" replace="MODE $2 -v $nick">

6 years agoClean up the configuration reading in m_customprefix.
Peter Powell [Fri, 20 Oct 2017 06:07:49 +0000 (07:07 +0100)]
Clean up the configuration reading in m_customprefix.

- Rework the code flow to be more readable.
- Ensure that the name is well formed.
- Allow prefix modes with a rank of zero.

6 years agoMove depriv from m_customprefix into PrefixMode.
Peter Powell [Fri, 20 Oct 2017 05:24:19 +0000 (06:24 +0100)]
Move depriv from m_customprefix into PrefixMode.

6 years agoAdd support for setting the unset rank in ModeHandler.
Peter Powell [Wed, 18 Oct 2017 02:40:31 +0000 (03:40 +0100)]
Add support for setting the unset rank in ModeHandler.

6 years agoInform the client when a SASL message cannot be sent
genius3000 [Thu, 27 Jul 2017 09:05:44 +0000 (03:05 -0600)]
Inform the client when a SASL message cannot be sent

When SASL is properly configured with a 'target' server, we are able
to inform the client when the message fails to send.
Currently if a target is configured and it is offline, no response is
sent. This can cause some clients to time out while waiting for a response.

If a target isn't configured, behaviour will not change with this commit.
The default of '*' will still send to all servers.
Updated example config with 'target' variable.

6 years agoFix an unhandled exception crash when rehashing modules.
Peter Powell [Mon, 6 Nov 2017 00:29:51 +0000 (00:29 +0000)]
Fix an unhandled exception crash when rehashing modules.

Previously we used FOREACH_MOD to call OnRehash which handled any
thrown exceptions. When we switched to ReadConfig this stopped
being the case.

This bug was introduced in c202dea024.

6 years agoUse InvalidateCache in the sockaddrs overload of OnSetClientIP.
Peter Powell [Sun, 22 Oct 2017 22:51:15 +0000 (23:51 +0100)]
Use InvalidateCache in the sockaddrs overload of OnSetClientIP.

This was done to the string variant in d3b82b2f7f.

6 years agoMerge pull request #1410 from jcjordyn130/insp20
Peter Powell [Sun, 5 Nov 2017 22:43:36 +0000 (22:43 +0000)]
Merge pull request #1410 from jcjordyn130/insp20

Fix CMD_RESTART with relative paths as argv[0].

6 years agoFix CMD_RESTART with relative paths as argv[0].
Jordyn/The Linux Geek [Sat, 4 Nov 2017 23:13:41 +0000 (18:13 -0500)]
Fix CMD_RESTART with relative paths as argv[0].

6 years agoFix some SSL module issues.
Peter Powell [Wed, 1 Nov 2017 17:23:00 +0000 (17:23 +0000)]
Fix some SSL module issues.

- Use the same dhparams name in m_ssl_openssl as in other modules.
- Fix building m_ssl_mbedtls.

6 years agoMake core_hostname_lookup redo the lookup when a user's IP changes.
Peter Powell [Mon, 30 Oct 2017 19:34:56 +0000 (19:34 +0000)]
Make core_hostname_lookup redo the lookup when a user's IP changes.

This removes the need to do lookups in the cgiirc module. This is
useful as relying on gateways to do proper DNS checks is unreliable
and has resulted in issues like 5fc4403f62. Its more sane if we do
our own lookups.

This change has been okayed by multiple WEBIRC gateway authors so
I don't think it will cause many problems.

6 years agoAdd support to IOHook for retrieving the hostname sent via SNI.
Peter Powell [Sun, 29 Oct 2017 11:15:47 +0000 (11:15 +0000)]
Add support to IOHook for retrieving the hostname sent via SNI.

6 years agoHide User#host and User#dhost and use accessors to modify them.
Peter Powell [Sun, 22 Oct 2017 20:53:24 +0000 (21:53 +0100)]
Hide User#host and User#dhost and use accessors to modify them.

This removes the need to invalidate the cache after changing a
user's hostname.

6 years agoChange SetClientIP to take a C++ string instead of a char array.
Peter Powell [Fri, 27 Oct 2017 18:15:23 +0000 (19:15 +0100)]
Change SetClientIP to take a C++ string instead of a char array.

6 years agoConfigReader: fix compilers optimizing NULL check in ConfigTag::readString()
Adam [Fri, 27 Oct 2017 00:23:24 +0000 (20:23 -0400)]
ConfigReader: fix compilers optimizing NULL check in ConfigTag::readString()

See: 66f82ccf926aac39273bfc652c85c08080cc9a46

Fixes inspircd/inspircd-extras#110

6 years agoMove Shutter to former contributors & thank genius3000, Sheogorath.
Peter Powell [Sun, 22 Oct 2017 16:13:02 +0000 (17:13 +0100)]
Move Shutter to former contributors & thank genius3000, Sheogorath.

6 years agoDeduplicate error handling in the socket engines.
Peter Powell [Sun, 22 Oct 2017 02:10:48 +0000 (03:10 +0100)]
Deduplicate error handling in the socket engines.

6 years agoConvert GetMaxFds() to size_t and deduplicate setting code.
Peter Powell [Sun, 22 Oct 2017 01:27:25 +0000 (02:27 +0100)]
Convert GetMaxFds() to size_t and deduplicate setting code.

6 years agoRemove support for the Solaris IOCP socket engine.
Peter Powell [Sun, 22 Oct 2017 14:10:49 +0000 (15:10 +0100)]
Remove support for the Solaris IOCP socket engine.

After discussing this with Adam we have decided that there is very
little point in keeping this now that Solaris has been killed. Any
legacy Solaris users will have to make do with poll.

This change does not affect users of Solaris forks like Illumos as
they have support for epoll which will have already been selected
over Solaris IOCP by configure.

6 years agoMerge pull request #1407 from genius3000/master+update_helpop_extbans
Peter Powell [Sun, 22 Oct 2017 14:19:11 +0000 (15:19 +0100)]
Merge pull request #1407 from genius3000/master+update_helpop_extbans

Helpop Updates

6 years agoHelpop: Move extban 'U' from acting to matching
genius3000 [Sun, 22 Oct 2017 00:59:24 +0000 (18:59 -0600)]
Helpop: Move extban 'U' from acting to matching

6 years agoHelpop: Add extban 'n' - connect class ban
genius3000 [Sun, 22 Oct 2017 00:56:29 +0000 (18:56 -0600)]
Helpop: Add extban 'n' - connect class ban

Commit a54497e added m_classban, this updates the helpop files.

6 years agosocketengine_poll: fix initialization fd_mappings
Adam [Sun, 22 Oct 2017 00:27:10 +0000 (20:27 -0400)]
socketengine_poll: fix initialization fd_mappings

6 years agoRemove CMD_EPERM as it is not used anywhere.
Peter Powell [Sat, 21 Oct 2017 21:13:15 +0000 (22:13 +0100)]
Remove CMD_EPERM as it is not used anywhere.

6 years agoTweak the module flags in MODULES slightly.
Peter Powell [Wed, 18 Oct 2017 00:52:51 +0000 (01:52 +0100)]
Tweak the module flags in MODULES slightly.

Using unique letters for each flag makes it easier to read when
using fonts which have similar glyphs for upper and lower case
characters.

6 years agoAdd PackageInfo directives for Debian.
Peter Powell [Fri, 11 Aug 2017 16:24:30 +0000 (17:24 +0100)]
Add PackageInfo directives for Debian.

6 years agoAdd a helper function for calling the OnCheckExemption event.
Peter Powell [Sat, 21 Oct 2017 15:34:48 +0000 (16:34 +0100)]
Add a helper function for calling the OnCheckExemption event.

6 years agoSwitch the default datetime format to something easier to read.
Peter Powell [Fri, 20 Oct 2017 03:50:36 +0000 (04:50 +0100)]
Switch the default datetime format to something easier to read.

6 years agoSwitch from std::stringstream to irc::spacesepstream.
Peter Powell [Thu, 19 Oct 2017 10:55:17 +0000 (11:55 +0100)]
Switch from std::stringstream to irc::spacesepstream.

The latter is more suited to the things we have previously been
using std::stringstream for.

6 years agoAdd a constructor to OperInfo and use it to set the type name.
Peter Powell [Mon, 16 Oct 2017 01:37:57 +0000 (02:37 +0100)]
Add a constructor to OperInfo and use it to set the type name.

6 years agoClean up OnCleanup.
Peter Powell [Wed, 18 Oct 2017 11:41:37 +0000 (12:41 +0100)]
Clean up OnCleanup.

- Switch to using ExtensionItem::ExtensibleType for the type instead
of TargetTypeFlags.
- Pass the extensible to OnCleanup as an Extensible pointer
instead of a void pointer.
- Call OnCleanup for memberships as well as channels and users.
- Rewrite event documentation to remove outdated references.

6 years agoIgnore <module> tags for modules that are already loaded.
Peter Powell [Wed, 18 Oct 2017 03:00:04 +0000 (04:00 +0100)]
Ignore <module> tags for modules that are already loaded.

This allows us to do user friendly things like loading the alias
module in the example alias files.

6 years agoFix sending a malformed 410 numeric when sent empty CAP commands.
Peter Powell [Tue, 17 Oct 2017 23:36:26 +0000 (00:36 +0100)]
Fix sending a malformed 410 numeric when sent empty CAP commands.

6 years agoClean up the command disabling logic.
Peter Powell [Mon, 16 Oct 2017 03:14:37 +0000 (04:14 +0100)]
Clean up the command disabling logic.

- Read the disabled command list in ApplyDisabledCommands() instead
  of storing it in a global which is only accessed on rehash.
- Write debug messages to the log when disabling commands.
- Use irc::spacesepstream instead of std::stringstream.

6 years agoFix the command table not being case insensitive.
Peter Powell [Mon, 16 Oct 2017 16:00:53 +0000 (17:00 +0100)]
Fix the command table not being case insensitive.

This is not an issue normally but in some circumstances (e.g. when
disabling commands) it can result in command lookups failing even
when they exist.

6 years agoUn-constify the private fields of WebIRCHost.
Peter Powell [Sun, 15 Oct 2017 23:10:02 +0000 (00:10 +0100)]
Un-constify the private fields of WebIRCHost.

These being constant causes problems on older compilers that don't
elide the temporary copy when adding to the host list.

6 years agoClean up the initialization of ConnectClass and ServerConfig.
attilamolnar [Tue, 18 Jun 2013 19:26:54 +0000 (21:26 +0200)]
Clean up the initialization of ConnectClass and ServerConfig.

6 years agoRewrite the configuration documentation for m_cgiirc.
Peter Powell [Sun, 15 Oct 2017 18:41:47 +0000 (19:41 +0100)]
Rewrite the configuration documentation for m_cgiirc.

6 years agoAdd support for WEBIRC blocks authenticating using client certs.
Peter Powell [Sun, 15 Oct 2017 15:43:12 +0000 (16:43 +0100)]
Add support for WEBIRC blocks authenticating using client certs.

6 years agoShow the gateway, realhost, and realip in WHOIS for cgiirc clients.
Peter Powell [Sun, 15 Oct 2017 15:19:03 +0000 (16:19 +0100)]
Show the gateway, realhost, and realip in WHOIS for cgiirc clients.

This mirrors a similar feature in ircd-hybrid but using a different
numeric that is not already taken in InspIRCd.

6 years agoClean up the WEBIRC command handler.
Peter Powell [Sun, 15 Oct 2017 13:00:29 +0000 (14:00 +0100)]
Clean up the WEBIRC command handler.

- Fix the extremely broken indentation.
- Simplify the HandleLocal code flow.
- Improve the notices sent to operators.

6 years agoAdd support for hashed WebIRC passwords to m_cgiirc.
Peter Powell [Sun, 15 Oct 2017 12:38:50 +0000 (13:38 +0100)]
Add support for hashed WebIRC passwords to m_cgiirc.

6 years agoRewrite the m_cgiirc configuration handling.
Peter Powell [Sun, 15 Oct 2017 11:50:28 +0000 (12:50 +0100)]
Rewrite the m_cgiirc configuration handling.

- Store ident hosts separately to WebIRC hosts.
- Throw exceptions when the configuration is invalid.

6 years agoUpdate wiki links to use HTTPS and point to the correct pages.
Peter Powell [Sun, 20 Aug 2017 16:47:38 +0000 (17:47 +0100)]
Update wiki links to use HTTPS and point to the correct pages.

When we release 3.0 these links will break as they will point to
the pages for 3.0 rather than 2.0.

6 years agoRemove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.
Peter Powell [Sun, 15 Oct 2017 01:15:35 +0000 (02:15 +0100)]
Remove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.

- INSPIRCD_SOCKETENGINE_NAME is not really something that needs to
  be user facing. If opers want to know this kind of internal info
  then they can look at the build configuration.

- INSPIRCD_SYSTEM causes problems for reproducible builds and is
  only accurate for the state of the system when InspIRCd is built
  which is not useful in the slightest.

6 years agotest-build: Pass the make jobs as a separate argument.
Peter Powell [Sun, 15 Oct 2017 02:55:53 +0000 (03:55 +0100)]
test-build: Pass the make jobs as a separate argument.

The old way was only necessary when we supported BSD Make.

6 years agoRemove an outdated comment in cmd_user.
Peter Powell [Sun, 15 Oct 2017 00:27:07 +0000 (01:27 +0100)]
Remove an outdated comment in cmd_user.

We don't use C strings for storing the ident anymore.

6 years agoRelease v3.0.0 alpha 2.
Peter Powell [Thu, 12 Oct 2017 16:14:16 +0000 (17:14 +0100)]
Release v3.0.0 alpha 2.

6 years agoMerge the latest changes from insp20 into master.
Peter Powell [Thu, 12 Oct 2017 14:55:21 +0000 (15:55 +0100)]
Merge the latest changes from insp20 into master.

6 years agoMerge pull request #1361 from genius3000/master+rline_IP
Peter Powell [Thu, 12 Oct 2017 14:09:03 +0000 (15:09 +0100)]
Merge pull request #1361 from genius3000/master+rline_IP

Make RLines match against IP as well as host

6 years agoMerge pull request #1353 from SISheogorath/master+domainpart-cloaking
Peter Powell [Thu, 12 Oct 2017 14:07:45 +0000 (15:07 +0100)]
Merge pull request #1353 from SISheogorath/master+domainpart-cloaking

Make domainparts in m_cloaking configureable.

6 years agoFix a broken distro constraint in the m_ssl_gnutls PackageInfo.
Peter Powell [Thu, 12 Oct 2017 14:03:52 +0000 (15:03 +0100)]
Fix a broken distro constraint in the m_ssl_gnutls PackageInfo.