]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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 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 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 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 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 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 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 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 #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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

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

7 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.

7 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.

7 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.

7 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

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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)

7 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

7 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

7 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.

7 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.

7 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.

7 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.

7 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 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

8 years agoUnregister modes before unhooking extensions when unloading a module
Attila Molnar [Mon, 29 Aug 2016 12:34:19 +0000 (14:34 +0200)]
Unregister modes before unhooking extensions when unloading a module

Listmodes store their list in an extension that must be present when they are unset to show the modes being unset

8 years agoDeduplicate mode unregistering code in ModuleManager::DoSafeUnload() and extract...
Attila Molnar [Mon, 29 Aug 2016 12:33:25 +0000 (14:33 +0200)]
Deduplicate mode unregistering code in ModuleManager::DoSafeUnload() and extract into a method

8 years agoRemove unused EventHandlerIter typedef
Attila Molnar [Mon, 29 Aug 2016 12:30:41 +0000 (14:30 +0200)]
Remove unused EventHandlerIter typedef

8 years agom_spanningtree Drop unnecessary c_str() call when passing Link::Name to methods expec...
Attila Molnar [Fri, 26 Aug 2016 10:41:25 +0000 (12:41 +0200)]
m_spanningtree Drop unnecessary c_str() call when passing Link::Name to methods expecting std::string

8 years agom_spanningtree Handle unload in resolvers
Attila Molnar [Thu, 25 Aug 2016 16:01:50 +0000 (18:01 +0200)]
m_spanningtree Handle unload in resolvers

8 years agocore_dns Fail new requests when this module or the owner of the request is being...
Attila Molnar [Thu, 25 Aug 2016 15:58:30 +0000 (17:58 +0200)]
core_dns Fail new requests when this module or the owner of the request is being unloaded

8 years agospanningtree: use bindip aftype as a hint for dns lookup type
Adam [Tue, 19 Jan 2016 20:39:14 +0000 (15:39 -0500)]
spanningtree: use bindip aftype as a hint for dns lookup type

8 years agocore_dns Make question a member of request, move common FindAnswerOfType to be a...
Adam [Tue, 16 Aug 2016 16:43:40 +0000 (12:43 -0400)]
core_dns Make question a member of request, move common FindAnswerOfType to be a member of query

8 years agocore_dns Change type of all log messages to MODNAME
Attila Molnar [Thu, 25 Aug 2016 12:51:42 +0000 (14:51 +0200)]
core_dns Change type of all log messages to MODNAME

8 years agoUpdate UserManager documentation and comments
Attila Molnar [Wed, 24 Aug 2016 10:41:02 +0000 (12:41 +0200)]
Update UserManager documentation and comments

8 years agoDefault defer to on for SSL listeners
Attila Molnar [Wed, 24 Aug 2016 10:29:40 +0000 (12:29 +0200)]
Default defer to on for SSL listeners

Issue #1112

8 years agoCheck for errors after calling IOHookProvider::OnAccept()
Attila Molnar [Wed, 24 Aug 2016 10:27:51 +0000 (12:27 +0200)]
Check for errors after calling IOHookProvider::OnAccept()

8 years agoCall IOHookProviders after the socket has been added to the SocketEngine in UserManag...
Attila Molnar [Wed, 24 Aug 2016 10:18:27 +0000 (12:18 +0200)]
Call IOHookProviders after the socket has been added to the SocketEngine in UserManager::AddUser()

8 years agoAdd socket into the SocketEngine as soon as possible in UserManager::AddUser()
Attila Molnar [Wed, 24 Aug 2016 10:14:38 +0000 (12:14 +0200)]
Add socket into the SocketEngine as soon as possible in UserManager::AddUser()

8 years agom_messageflood Improve kick message
Attila Molnar [Wed, 24 Aug 2016 10:07:31 +0000 (12:07 +0200)]
m_messageflood Improve kick message

Fixes issue #1019 reported by @B00mX0r

Also add back a missing word caused by an oversight in #531

8 years agoRemove broken mssql module
Attila Molnar [Tue, 23 Aug 2016 17:51:06 +0000 (19:51 +0200)]
Remove broken mssql module

Issue #1006

8 years agoMerge branch 'master+ircstring'
Attila Molnar [Tue, 23 Aug 2016 17:37:03 +0000 (19:37 +0200)]
Merge branch 'master+ircstring'

8 years agoUpdate documentation in hashcomp.h
Attila Molnar [Mon, 22 Aug 2016 15:22:19 +0000 (17:22 +0200)]
Update documentation in hashcomp.h

8 years agoRemove all non-member irc::string operators
Attila Molnar [Mon, 22 Aug 2016 15:13:18 +0000 (17:13 +0200)]
Remove all non-member irc::string operators

8 years agom_censor Pass irc::string as C string to WriteNumeric()
Attila Molnar [Mon, 22 Aug 2016 15:12:42 +0000 (17:12 +0200)]
m_censor Pass irc::string as C string to WriteNumeric()

Avoids a call to the templated ConvToStr() which uses std::stringstream for conversion

8 years agoRemove now unused SearchAndReplace() function
Attila Molnar [Mon, 22 Aug 2016 15:11:38 +0000 (17:11 +0200)]
Remove now unused SearchAndReplace() function

8 years agom_censor Switch to stdalgo::string::replace_all()
Attila Molnar [Mon, 22 Aug 2016 15:11:03 +0000 (17:11 +0200)]
m_censor Switch to stdalgo::string::replace_all()

8 years agoAdd stdalgo::string::replace() and replace_all()
Attila Molnar [Mon, 22 Aug 2016 15:10:41 +0000 (17:10 +0200)]
Add stdalgo::string::replace() and replace_all()

8 years agoRemove now unused assign() functions
Attila Molnar [Mon, 22 Aug 2016 15:03:59 +0000 (17:03 +0200)]
Remove now unused assign() functions

8 years agom_spanningtree Use ASCII case insensitive map for matching server names
Attila Molnar [Mon, 22 Aug 2016 15:03:14 +0000 (17:03 +0200)]
m_spanningtree Use ASCII case insensitive map for matching server names

8 years agom_spanningtree Change type of Link::Name to std::string
Attila Molnar [Mon, 22 Aug 2016 15:02:34 +0000 (17:02 +0200)]
m_spanningtree Change type of Link::Name to std::string

Switch to stdalgo::string::equalsci()

8 years agom_timedbans Remove TimedBan::channel
Attila Molnar [Mon, 22 Aug 2016 14:57:57 +0000 (16:57 +0200)]
m_timedbans Remove TimedBan::channel