]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
7 years agoUse clock_gettime() on macOS 10.12.
Peter Powell [Mon, 26 Dec 2016 07:01:03 +0000 (07:01 +0000)]
Use clock_gettime() on macOS 10.12.

7 years agoAdd interactive-mode support for setting the compiler binary.
Peter Powell [Mon, 26 Dec 2016 05:42:04 +0000 (05:42 +0000)]
Add interactive-mode support for setting the compiler binary.

7 years agoFix the clock_gettime() test on macOS Sierra.
Peter Powell [Mon, 26 Dec 2016 05:17:41 +0000 (05:17 +0000)]
Fix the clock_gettime() test on macOS Sierra.

macOS now supports clock_gettime() but it is part of libSystem
rather than librt which does not exist on macOS.

7 years agoDon't suppress error output when INSPIRCD_VERBOSE is set.
Peter Powell [Mon, 26 Dec 2016 05:07:40 +0000 (05:07 +0000)]
Don't suppress error output when INSPIRCD_VERBOSE is set.

7 years agoAlways append the SSL fingerprint even if EXTERNAL is not used.
Peter Powell [Thu, 22 Dec 2016 00:55:53 +0000 (00:55 +0000)]
Always append the SSL fingerprint even if EXTERNAL is not used.

7 years agom_sasl: send host/ip info
Adam [Tue, 20 Dec 2016 00:13:24 +0000 (19:13 -0500)]
m_sasl: send host/ip info

7 years agoMerge pull request #1261 from SaberUK/master+genssl
Attila Molnar [Mon, 19 Dec 2016 20:08:40 +0000 (21:08 +0100)]
Merge pull request #1261 from SaberUK/master+genssl

Make genssl use STDERR and the real binary name for error messages.

7 years agofix channel rank issue
Sheogorath [Sat, 10 Dec 2016 21:25:43 +0000 (22:25 +0100)]
fix channel rank issue

7 years agoStore config values in a map instead of a unique vector of pairs.
Peter Powell [Thu, 8 Dec 2016 01:57:47 +0000 (01:57 +0000)]
Store config values in a map instead of a unique vector of pairs.

7 years agoMerge pull request #1254 from genius3000/insp20+fixPIstatusmsgs
Attila Molnar [Wed, 7 Dec 2016 16:48:38 +0000 (17:48 +0100)]
Merge pull request #1254 from genius3000/insp20+fixPIstatusmsgs

Fix spanningtree protocol interface sending statusmsgs to whole channel

7 years agoFix SpanningTreeProtocolInterface::SendChannelPrivmsg() and SendChannelNotice() sendi...
genius3000 [Mon, 21 Nov 2016 18:44:18 +0000 (11:44 -0700)]
Fix SpanningTreeProtocolInterface::SendChannelPrivmsg() and SendChannelNotice() sending statusmsgs to whole channel

7 years agoFix users receiving a QUIT with themselves as source when host cycling in certain...
Attila Molnar [Mon, 5 Dec 2016 10:37:08 +0000 (11:37 +0100)]
Fix users receiving a QUIT with themselves as source when host cycling in certain cases

The OnBuildNeighborList handler in m_auditorium can add the cycling user to the exceptions as an always send exception. To fix, remove the user from the exceptions before processing them.

Reported by @genius3000 on IRC

7 years agoMerge pull request #1262 from SaberUK/insp20+fix-travis
Attila Molnar [Mon, 5 Dec 2016 09:45:15 +0000 (10:45 +0100)]
Merge pull request #1262 from SaberUK/insp20+fix-travis

[2.0] Backport the master Travis changes to insp20.

7 years agoMerge pull request #1253 from SaberUK/insp20+bigger-warning
Attila Molnar [Mon, 5 Dec 2016 09:45:04 +0000 (10:45 +0100)]
Merge pull request #1253 from SaberUK/insp20+bigger-warning

[2.0] Add a bigger warning about deprecated things being removed.

7 years agoFix pure static builds.
Peter Powell [Fri, 2 Dec 2016 14:15:11 +0000 (14:15 +0000)]
Fix pure static builds.

7 years agoBackport the master Travis changes to insp20.
Peter Powell [Fri, 2 Dec 2016 14:04:30 +0000 (14:04 +0000)]
Backport the master Travis changes to insp20.

7 years agoMake genssl use STDERR and the real binary name for error messages.
Peter Powell [Tue, 22 Nov 2016 12:18:47 +0000 (12:18 +0000)]
Make genssl use STDERR and the real binary name for error messages.

7 years agoMerge pull request #1260 from SaberUK/master+libressl
Attila Molnar [Fri, 25 Nov 2016 14:17:37 +0000 (15:17 +0100)]
Merge pull request #1260 from SaberUK/master+libressl

Fix LibreSSL not having a shim for the OpenSSL 1.1 BIO API.

7 years agoMerge pull request #1252 from SaberUK/master+distribution
Attila Molnar [Fri, 25 Nov 2016 14:17:09 +0000 (15:17 +0100)]
Merge pull request #1252 from SaberUK/master+distribution

Fix the distribution label not showing up since b8d85c6251.

7 years agoFix LibreSSL not having a shim for the OpenSSL 1.1 BIO API.
Peter Powell [Wed, 23 Nov 2016 17:24:28 +0000 (17:24 +0000)]
Fix LibreSSL not having a shim for the OpenSSL 1.1 BIO API.

7 years agoMerge pull request #1257 from Adam-/insp20+musl
Attila Molnar [Tue, 22 Nov 2016 13:50:32 +0000 (14:50 +0100)]
Merge pull request #1257 from Adam-/insp20+musl

socketengine_epoll: use getrlimit not ulimit

7 years agosocketengine_epoll: use getrlimit not ulimit
Adam [Tue, 22 Nov 2016 01:56:39 +0000 (20:56 -0500)]
socketengine_epoll: use getrlimit not ulimit

7 years agoFix the distribution label not showing up since b8d85c6251.
Peter Powell [Wed, 12 Oct 2016 19:10:43 +0000 (20:10 +0100)]
Fix the distribution label not showing up since b8d85c6251.

7 years agoAdd a bigger warning about deprecated things being removed.
Peter Powell [Wed, 12 Oct 2016 17:14:54 +0000 (18:14 +0100)]
Add a bigger warning about deprecated things being removed.

7 years agoMerge pull request #1234 from SaberUK/master+config2
Attila Molnar [Wed, 16 Nov 2016 10:58:03 +0000 (11:58 +0100)]
Merge pull request #1234 from SaberUK/master+config2

Rework the example services aliases.

7 years agoRework the example services aliases.
Peter Powell [Thu, 13 Oct 2016 07:41:57 +0000 (08:41 +0100)]
Rework the example services aliases.

- Split common stuff into a generic configuration file.
- Reserve all nicknames used by services by default.
- Exempt all services clients from filtering.
- Add missing aliases for services pseudoclients.

7 years agoMerge pull request #1248 from SaberUK/master+listen
Attila Molnar [Wed, 16 Nov 2016 10:54:43 +0000 (11:54 +0100)]
Merge pull request #1248 from SaberUK/master+listen

Allow listeners to be able to listen on unavailable addresses.

7 years agoMerge pull request #1216 from SaberUK/master+tls
Attila Molnar [Wed, 16 Nov 2016 10:41:12 +0000 (11:41 +0100)]
Merge pull request #1216 from SaberUK/master+tls

Update SSL config documentation for SSL profiles and m_ssl_mbedtls.

7 years agoUpdate SSL config documentation for SSL profiles and m_ssl_mbedtls.
Peter Powell [Sun, 11 Sep 2016 00:09:00 +0000 (01:09 +0100)]
Update SSL config documentation for SSL profiles and m_ssl_mbedtls.

7 years agoMerge pull request #1241 from SaberUK/master+helpop
Attila Molnar [Tue, 15 Nov 2016 12:00:47 +0000 (13:00 +0100)]
Merge pull request #1241 from SaberUK/master+helpop

Update helpop for recent LOCKSERV and <connect:port> changes.

7 years agom_cloaking: fix host/ip comparisons #1249
Adam [Sat, 12 Nov 2016 23:55:26 +0000 (18:55 -0500)]
m_cloaking: fix host/ip comparisons #1249

7 years agoAllow listeners to be able to listen on unavailable addresses.
Peter Powell [Sat, 12 Nov 2016 16:04:16 +0000 (16:04 +0000)]
Allow listeners to be able to listen on unavailable addresses.

7 years agoMerge pull request #1246 from SaberUK/master+perl
Attila Molnar [Tue, 8 Nov 2016 13:47:04 +0000 (14:47 +0100)]
Merge pull request #1246 from SaberUK/master+perl

Update build system for the removal of . from @INC.

7 years agoMerge pull request #1245 from SaberUK/insp20+perl
Attila Molnar [Tue, 8 Nov 2016 13:46:34 +0000 (14:46 +0100)]
Merge pull request #1245 from SaberUK/insp20+perl

[2.0] Workaround modern Perls not adding . to @INC.

7 years agoUpdate build system for the removal of . from @INC.
Peter Powell [Tue, 8 Nov 2016 09:28:29 +0000 (09:28 +0000)]
Update build system for the removal of . from @INC.

7 years agoWorkaround modern Perls not adding . to @INC.
Peter Powell [Tue, 8 Nov 2016 08:15:25 +0000 (08:15 +0000)]
Workaround modern Perls not adding . to @INC.

7 years agoUpdate helpop for recent LOCKSERV and <connect:port> changes.
Peter Powell [Tue, 1 Nov 2016 15:08:17 +0000 (15:08 +0000)]
Update helpop for recent LOCKSERV and <connect:port> changes.

7 years agoMerge pull request #1238 from SaberUK/master+openssl
Attila Molnar [Tue, 1 Nov 2016 14:55:20 +0000 (15:55 +0100)]
Merge pull request #1238 from SaberUK/master+openssl

Fix OpenSSL build errors caused by BIO/BIO_METHOD now being opaque.

7 years agoMerge pull request #1236 from SaberUK/master+port
Attila Molnar [Tue, 1 Nov 2016 14:42:28 +0000 (15:42 +0100)]
Merge pull request #1236 from SaberUK/master+port

Allow classes to take a port range.

7 years agoMerge pull request #1215 from SaberUK/master+config
Attila Molnar [Tue, 1 Nov 2016 14:40:38 +0000 (15:40 +0100)]
Merge pull request #1215 from SaberUK/master+config

Strip carriage returns in the config parser.

7 years agoMerge pull request #1185 from SaberUK/master+lockserv
Attila Molnar [Tue, 1 Nov 2016 14:18:21 +0000 (15:18 +0100)]
Merge pull request #1185 from SaberUK/master+lockserv

Allow the reason for locking to be specified in m_lockserv.

7 years agoMerge pull request #1184 from SaberUK/master+flood
Attila Molnar [Tue, 1 Nov 2016 14:16:29 +0000 (15:16 +0100)]
Merge pull request #1184 from SaberUK/master+flood

Improvements to flood modules

7 years agoFix OpenSSL build errors caused by BIO/BIO_METHOD now being opaque.
Peter Powell [Mon, 24 Oct 2016 19:08:48 +0000 (20:08 +0100)]
Fix OpenSSL build errors caused by BIO/BIO_METHOD now being opaque.

7 years agoAllow classes to take a port range.
Peter Powell [Sun, 23 Oct 2016 14:23:14 +0000 (15:23 +0100)]
Allow classes to take a port range.

7 years agoMerge pull request #1233 from Natolumin/sanitize-gecos
Attila Molnar [Mon, 10 Oct 2016 16:34:54 +0000 (18:34 +0200)]
Merge pull request #1233 from Natolumin/sanitize-gecos

m_httpd_stats: Also sanitize other server gecos

7 years agom_httpd_stats: Also sanitize other server gecos
Anatole Denis [Sun, 9 Oct 2016 16:19:23 +0000 (18:19 +0200)]
m_httpd_stats: Also sanitize other server gecos

8 years agoInvalidate the caches properly when User::SetClientIP is called.
Peter Powell [Sun, 25 Sep 2016 20:41:05 +0000 (21:41 +0100)]
Invalidate the caches properly when User::SetClientIP is called.

8 years agoMerge pull request #1228 from SaberUK/master+directive-env
Attila Molnar [Wed, 21 Sep 2016 12:35:34 +0000 (14:35 +0200)]
Merge pull request #1228 from SaberUK/master+directive-env

Fix the directive parser using invalid environment variables.

8 years agoFix the directive parser using invalid environment variables.
Peter Powell [Fri, 16 Sep 2016 21:15:08 +0000 (22:15 +0100)]
Fix the directive parser using invalid environment variables.

8 years agoStrip carriage returns in the config parser.
Peter Powell [Fri, 9 Sep 2016 09:50:12 +0000 (10:50 +0100)]
Strip carriage returns in the config parser.

This prevents problems when configuration files have been edited
on a Windows machine.

8 years agoMerge pull request #1225 from SaberUK/master+cppflags
Attila Molnar [Tue, 20 Sep 2016 16:39:43 +0000 (18:39 +0200)]
Merge pull request #1225 from SaberUK/master+cppflags

Use the environment's CPPFLAGS as well as its CXXFLAGS.

8 years agoMerge pull request #1226 from SaberUK/master+fix-insp20-channels-compat
Attila Molnar [Tue, 20 Sep 2016 16:39:10 +0000 (18:39 +0200)]
Merge pull request #1226 from SaberUK/master+fix-insp20-channels-compat

Fix compatibility with the legacy <channels> tag.

8 years agoFix compatibility with the legacy <channels> tag.
Peter Powell [Tue, 20 Sep 2016 04:38:03 +0000 (05:38 +0100)]
Fix compatibility with the legacy <channels> tag.

We should only use OperMaxChans if they have the right privilege.

8 years agoUse the environment's CPPFLAGS as well as its CXXFLAGS.
Peter Powell [Sat, 17 Sep 2016 02:04:20 +0000 (03:04 +0100)]
Use the environment's CPPFLAGS as well as its CXXFLAGS.

8 years agoAdd CentOS PackageInfo
Adam [Fri, 16 Sep 2016 21:59:34 +0000 (17:59 -0400)]
Add CentOS PackageInfo

8 years agoMake the duration of nickflood and joinflood configurable.
Peter Powell [Mon, 2 May 2016 23:33:05 +0000 (00:33 +0100)]
Make the duration of nickflood and joinflood configurable.

8 years agoAllow the reason for locking to be specified in m_lockserv.
Peter Powell [Wed, 11 May 2016 12:48:21 +0000 (13:48 +0100)]
Allow the reason for locking to be specified in m_lockserv.

8 years agoMerge pull request #1223 from SaberUK/master+travis
Attila Molnar [Fri, 16 Sep 2016 08:55:58 +0000 (10:55 +0200)]
Merge pull request #1223 from SaberUK/master+travis

Speed up Travis builds.

8 years agoMerge pull request #1222 from SaberUK/master+warnings
Attila Molnar [Fri, 16 Sep 2016 08:55:29 +0000 (10:55 +0200)]
Merge pull request #1222 from SaberUK/master+warnings

Fix various compiler warnings

8 years agoMerge pull request #1219 from SaberUK/master+directive
Attila Molnar [Fri, 16 Sep 2016 08:54:15 +0000 (10:54 +0200)]
Merge pull request #1219 from SaberUK/master+directive

Rewrite the build system directive parser.

8 years agoMerge pull request #1176 from SaberUK/master+format
Attila Molnar [Fri, 16 Sep 2016 08:53:19 +0000 (10:53 +0200)]
Merge pull request #1176 from SaberUK/master+format

Replace snprintf usage with InspIRCd::Format.

8 years agoRewrite the build system directive parser.
Peter Powell [Sun, 11 Sep 2016 20:19:28 +0000 (21:19 +0100)]
Rewrite the build system directive parser.

8 years agoSpeed up Travis builds.
Peter Powell [Tue, 13 Sep 2016 01:56:14 +0000 (02:56 +0100)]
Speed up Travis builds.

- Switch Linux builds to Ubuntu 14.04 from 12.04.
- Split dynamic and static builds into different jobs.
- Remove OS X builds as the infrastructure is slow and unreliable.

8 years agoFix m_ldap warning about OpenLDAP being deprecated on OS X.
Peter Powell [Wed, 14 Sep 2016 23:11:22 +0000 (00:11 +0100)]
Fix m_ldap warning about OpenLDAP being deprecated on OS X.

8 years agoFix m_geoip warning about the use of C++11 features.
Peter Powell [Mon, 12 Sep 2016 23:10:30 +0000 (00:10 +0100)]
Fix m_geoip warning about the use of C++11 features.

8 years agoFix print_format breaking when formatting empty strings.
Peter Powell [Mon, 12 Sep 2016 03:17:55 +0000 (04:17 +0100)]
Fix print_format breaking when formatting empty strings.

8 years agoAllow print_error and print_warning to take multiple lines.
Peter Powell [Thu, 28 May 2015 10:58:02 +0000 (11:58 +0100)]
Allow print_error and print_warning to take multiple lines.

8 years agoMerge pull request #1220 from SaberUK/master+isupport
Attila Molnar [Wed, 14 Sep 2016 15:07:53 +0000 (17:07 +0200)]
Merge pull request #1220 from SaberUK/master+isupport

Improve the default ISUPPORT tokens.

8 years agoImprove the default ISUPPORT tokens.
Peter Powell [Wed, 14 Sep 2016 01:35:05 +0000 (02:35 +0100)]
Improve the default ISUPPORT tokens.

- Replace the deprecated MAXCHANNELS token with CHANLIMIT.
- Remove the deprecated FNC token (other implementations can force
  a nick change without sending this token so informing clients of
  that we might force a nick change is pointless)

8 years agom_shun Add support for shunning CIDR masks
Attila Molnar [Mon, 12 Sep 2016 16:28:00 +0000 (18:28 +0200)]
m_shun Add support for shunning CIDR masks

Issue #1195

8 years agoChange type of log messages to MODNAME in several modules
Attila Molnar [Mon, 12 Sep 2016 15:26:05 +0000 (17:26 +0200)]
Change type of log messages to MODNAME in several modules

8 years agoMerge pull request #1217 from SaberUK/master+die-restart
Attila Molnar [Mon, 12 Sep 2016 15:20:51 +0000 (17:20 +0200)]
Merge pull request #1217 from SaberUK/master+die-restart

Undocument <power> and set the default to the server name.

8 years agoMerge pull request #1214 from SaberUK/master+hash
Attila Molnar [Mon, 12 Sep 2016 14:44:30 +0000 (16:44 +0200)]
Merge pull request #1214 from SaberUK/master+hash

Update documentation for password hashing.

8 years agoUndocument <power> and set the default to the server name.
Peter Powell [Sun, 11 Sep 2016 00:15:44 +0000 (01:15 +0100)]
Undocument <power> and set the default to the server name.

8 years agoUpdate documentation for password hashing.
Peter Powell [Fri, 9 Sep 2016 09:20:16 +0000 (10:20 +0100)]
Update documentation for password hashing.

- Follow best current practises by using bcrypt almost everywhere
  in the example configuration files.
- Document the existence of new hashing modules in master.

8 years agoMerge pull request #1210 from Adam-/insp20+saslnick
Attila Molnar [Mon, 12 Sep 2016 14:17:48 +0000 (16:17 +0200)]
Merge pull request #1210 from Adam-/insp20+saslnick

m_sasl: really abort sasl session on register

8 years agoReplace snprintf usage with InspIRCd::Format.
Peter Powell [Sat, 7 May 2016 22:07:55 +0000 (23:07 +0100)]
Replace snprintf usage with InspIRCd::Format.

8 years agom_sasl: really abort sasl session on register
Adam [Tue, 6 Sep 2016 02:26:33 +0000 (22:26 -0400)]
m_sasl: really abort sasl session on register

8 years agoRelease v2.0.23 v2.0.23
Adam [Sat, 3 Sep 2016 14:51:50 +0000 (10:51 -0400)]
Release v2.0.23

8 years agom_sasl: don't allow AUTHENTICATE with mechanisms with a space
Adam [Sat, 3 Sep 2016 02:57:03 +0000 (22:57 -0400)]
m_sasl: don't allow AUTHENTICATE with mechanisms with a space

8 years agoRelease v3.0.0 alpha 1
Attila Molnar [Fri, 2 Sep 2016 20:15:31 +0000 (22:15 +0200)]
Release v3.0.0 alpha 1

8 years agoUpdate stuff for the new versioning system.
Peter Powell [Fri, 2 Sep 2016 18:43:53 +0000 (19:43 +0100)]
Update stuff for the new versioning system.

8 years agoBump version to 3.0 in comments and messages
Attila Molnar [Fri, 2 Sep 2016 19:51:19 +0000 (21:51 +0200)]
Bump version to 3.0 in comments and messages

8 years agoMerge insp20
Attila Molnar [Fri, 2 Sep 2016 18:58:58 +0000 (20:58 +0200)]
Merge insp20

8 years agom_dnsbl Use FindAnswerOfType
Adam [Fri, 2 Sep 2016 16:43:13 +0000 (12:43 -0400)]
m_dnsbl Use FindAnswerOfType

8 years agom_spanningtree Allow multiple valid ips for link blocks as a result of SecurityIPResolver
Adam [Fri, 2 Sep 2016 16:43:13 +0000 (12:43 -0400)]
m_spanningtree Allow multiple valid ips for link blocks as a result of SecurityIPResolver

8 years agoFix Windows build and most MSVC warnings
Attila Molnar [Fri, 2 Sep 2016 17:58:44 +0000 (19:58 +0200)]
Fix Windows build and most MSVC warnings

8 years agom_spanningtree Add workaround to make SVS* commands work when using ENCAP
Attila Molnar [Fri, 2 Sep 2016 17:26:51 +0000 (19:26 +0200)]
m_spanningtree Add workaround to make SVS* commands work when using ENCAP

8 years agom_spanningtree Refuse topic changes that would result in desync
Attila Molnar [Fri, 2 Sep 2016 17:22:50 +0000 (19:22 +0200)]
m_spanningtree Refuse topic changes that would result in desync

This is a workaround until the protocol is updated

8 years agom_jumpserver Prevent OnUserRegister from running in other modules for users we quit
Attila Molnar [Fri, 2 Sep 2016 15:08:41 +0000 (17:08 +0200)]
m_jumpserver Prevent OnUserRegister from running in other modules for users we quit

8 years agoFix whitespace issues
Attila Molnar [Fri, 2 Sep 2016 11:20:16 +0000 (13:20 +0200)]
Fix whitespace issues

8 years agoReturn std::string from Membership::GetAllPrefixChars()
Attila Molnar [Tue, 30 Aug 2016 14:33:46 +0000 (16:33 +0200)]
Return std::string from Membership::GetAllPrefixChars()

8 years agom_deaf Remove pointless member prefix check
Attila Molnar [Tue, 30 Aug 2016 14:31:49 +0000 (16:31 +0200)]
m_deaf Remove pointless member prefix check

Inserting members who lack the required status into the except list makes no difference, they won't get the message either way

8 years agom_deaf Fix inverted check
Attila Molnar [Tue, 30 Aug 2016 14:30:52 +0000 (16:30 +0200)]
m_deaf Fix inverted check

8 years agoChange Membership:hasMode() to accept a PrefixMode
Attila Molnar [Tue, 30 Aug 2016 14:19:31 +0000 (16:19 +0200)]
Change Membership:hasMode() to accept a PrefixMode

8 years agoReplace loop over alphabet with loop over mode list in several places
Attila Molnar [Tue, 30 Aug 2016 14:12:39 +0000 (16:12 +0200)]
Replace loop over alphabet with loop over mode list in several places

8 years agoPass the ModeHandler to User::HasModePermission()
Attila Molnar [Tue, 30 Aug 2016 14:05:01 +0000 (16:05 +0200)]
Pass the ModeHandler to User::HasModePermission()

Mark the method as const

8 years agoAdd const versions of ModeHandler::IsPrefixMode(), IsListModeBase() and IsParameterMode()
Attila Molnar [Tue, 30 Aug 2016 14:01:47 +0000 (16:01 +0200)]
Add const versions of ModeHandler::IsPrefixMode(), IsListModeBase() and IsParameterMode()

8 years agoMark ModeHandler::GetModeChar() and ModeWatcher::GetModeType() as const
Attila Molnar [Mon, 29 Aug 2016 12:50:59 +0000 (14:50 +0200)]
Mark ModeHandler::GetModeChar() and ModeWatcher::GetModeType() as const

8 years agoConvert ModeHandler::GetNumParams() to NeedsParam() that returns a bool
Attila Molnar [Mon, 29 Aug 2016 12:50:08 +0000 (14:50 +0200)]
Convert ModeHandler::GetNumParams() to NeedsParam() that returns a bool