]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Attila Molnar [Mon, 13 Apr 2015 13:49:29 +0000 (15:49 +0200)]
m_timedbans Notice user when trying to set a ban that's already set
Attila Molnar [Mon, 13 Apr 2015 13:48:00 +0000 (15:48 +0200)]
m_timedbans Extract IsBanSet() to a function
Attila Molnar [Mon, 13 Apr 2015 13:42:06 +0000 (15:42 +0200)]
m_timedbans On channel destruction remove all timed bans belonging to the channel from internal bookkeeping
Attila Molnar [Mon, 13 Apr 2015 13:40:26 +0000 (15:40 +0200)]
m_timedbans Store Channel pointer in struct TimedBan
Attila Molnar [Sun, 22 Mar 2015 23:42:59 +0000 (00:42 +0100)]
Merge pull request #1004 from SaberUK/insp20+fix-various-warnings
[2.0] Fix various warnings with the new Doxygen and LLVM releases.
Attila Molnar [Sun, 22 Mar 2015 23:40:09 +0000 (00:40 +0100)]
Merge pull request #1016 from Renegade334/insp20+docs-no-extbanM
Remove non-existant extban M: from docs
Attila Molnar [Sun, 22 Mar 2015 23:40:05 +0000 (00:40 +0100)]
Merge pull request #1009 from SaberUK/insp20+fix-dirty-env
[2.0] Fix building when VERBOSE is already set in the environment.
Adam [Tue, 3 Mar 2015 20:45:22 +0000 (15:45 -0500)]
Rebuild clone counts on rehash
Peter Powell [Fri, 20 Mar 2015 14:13:12 +0000 (14:13 +0000)]
Fix exposing the opers hostname in KILL when using hidekills.
Renegade334 [Mon, 16 Mar 2015 19:57:04 +0000 (19:57 +0000)]
Remove non-existant extban M: from docs
extban M: has not existed since
2d732f4d in 2009...
Peter Powell [Mon, 9 Mar 2015 15:26:40 +0000 (15:26 +0000)]
Fix building when VERBOSE is already set in the environment.
This is a workaround for now. In 2.2 we should prefix all of the
environment variables with INSPIRCD_ to avoid collisions.
Peter Powell [Thu, 26 Feb 2015 22:35:06 +0000 (22:35 +0000)]
Fix various Doxygen warnings.
Peter Powell [Thu, 26 Feb 2015 22:31:57 +0000 (22:31 +0000)]
Upgrade Doxyfile from 1.8.3.1 to 1.8.9.1.
Also, strip comments by request of @attilamolnar.
Peter Powell [Thu, 26 Feb 2015 07:41:46 +0000 (07:41 +0000)]
Fix various Clang warnings.
- warning: 'register' storage class specifier is deprecated.
Attila Molnar [Tue, 24 Feb 2015 21:30:45 +0000 (22:30 +0100)]
Merge pull request #1002 from SaberUK/insp20+fix-cgiirc-crash
[2.0] Fix a minor crash when a user has no class after OnCheckReady.
Peter Powell [Sun, 22 Feb 2015 20:24:31 +0000 (20:24 +0000)]
Fix a minor crash when a user has no class after OnCheckReady.
This bug looks serious but it can only be triggered with a
very unusual server configuration problem. If you haven't
already had a crash then you probably aren't at any risk.
The way this crash happens is:
1. InspIRCd::DoBackgroundUserStuff is called by the main loop.
2. In the switch statement curr->registered is set to REG_NICKUSER so InspIRCd::AllModulesReportReady is called.
3. InspIRCd::AllModulesReportReady calls the OnCheckReady event in m_cgiirc.
4. m_cgiirc calls RecheckClass which sets the user's class to NULL and calls LocalUser::SetClass followed by LocalUser::CheckClass.
5. The user doesn't match any classes in LocalUser::SetClass so LocalUser::CheckClass quits the user with with "Access denied by configuration".
6. Control flow returns to InspIRCd::DoBackgroundUserStuff when InspIRCd::AllModulesReportReady returns false.
7. The if statement at the end of InspIRCd::DoBackgroundUserStuff calls ConnectClass::GetRegTimeout on curr->MyClass.
8. ConnectClass::GetRegTimeout tries to access a member of this which is NULL.
9. The server crashes with a SEGFAULT.
Attila Molnar [Tue, 17 Feb 2015 15:10:04 +0000 (16:10 +0100)]
Merge pull request #992 from SaberUK/insp20+fix-error-message
[2.0] Fix erroneous error messages in configure.
Peter Powell [Thu, 12 Feb 2015 22:12:41 +0000 (22:12 +0000)]
Fix erroneous error messages in configure.
Attila Molnar [Sun, 8 Feb 2015 23:09:38 +0000 (00:09 +0100)]
Remove outdated ircservices and neostats config examples
Issue #991
Attila Molnar [Wed, 4 Feb 2015 18:16:20 +0000 (19:16 +0100)]
cmd_userhost List 5 users in the reply even if the query (incorrectly) contains more than 5 nicks
Attila Molnar [Wed, 4 Feb 2015 17:53:28 +0000 (18:53 +0100)]
m_spanningtree Fix TreeRoot UserCount being possibly wrong if loaded after startup
Attila Molnar [Mon, 2 Feb 2015 22:39:40 +0000 (23:39 +0100)]
threadengine_pthread Throw CoreExceptions instead of CoreException pointers
Attila Molnar [Wed, 21 Jan 2015 18:08:30 +0000 (19:08 +0100)]
m_abbreviation Fix typo in numeric text
Attila Molnar [Wed, 21 Jan 2015 18:07:44 +0000 (19:07 +0100)]
Fix numeric ERR_NOTREGISTERED not containing the user's nick
Attila Molnar [Wed, 21 Jan 2015 18:04:10 +0000 (19:04 +0100)]
Merge pull request #961 from SaberUK/insp20+fix-snotice
Fix a snotice in m_spanningtree incorrectly using an unsigned long.
Attila Molnar [Mon, 19 Jan 2015 16:47:03 +0000 (17:47 +0100)]
Merge branch 'insp20+penalty' into insp20
Attila Molnar [Mon, 19 Jan 2015 16:43:58 +0000 (17:43 +0100)]
m_operprefix Fix force joined opers not being given the operprefix mode
Attila Molnar [Mon, 19 Jan 2015 16:38:30 +0000 (17:38 +0100)]
Don't bind ports after an unsuccessful rehash
Attila Molnar [Sat, 17 Jan 2015 16:02:48 +0000 (17:02 +0100)]
Update year in resource file for Windows
Attila Molnar [Sat, 17 Jan 2015 16:00:57 +0000 (17:00 +0100)]
Merge pull request #967 from SaberUK/insp20+fix-windows
Fix modules not being versioned on Windows.
Peter Powell [Sat, 17 Jan 2015 15:31:35 +0000 (15:31 +0000)]
Fix modules not being versioned on Windows.
Attila Molnar [Sat, 17 Jan 2015 14:27:09 +0000 (15:27 +0100)]
m_hideoper Fix wrong /WHO output for hidden opers if the channel name contains '*'
Attila Molnar [Sat, 17 Jan 2015 14:21:51 +0000 (15:21 +0100)]
Fix elines not matching elined users when rechecking elined status
Attila Molnar [Sat, 17 Jan 2015 14:19:08 +0000 (15:19 +0100)]
Merge pull request #968 from ShutterQuick/insp20+sporder
cmd_list: Give +s precedence to +p
Daniel Vassdal [Sat, 17 Jan 2015 13:46:28 +0000 (14:46 +0100)]
cmd_list: Give +s precedence to +p
When +ps is set, handle it as +s (most restrictive) instead of +p
Attila Molnar [Sat, 17 Jan 2015 13:37:27 +0000 (14:37 +0100)]
Merge pull request #966 from SaberUK/insp20+fix-error-message
Fix a blank error message when trying to load a module with a path.
Peter Powell [Fri, 16 Jan 2015 03:14:35 +0000 (03:14 +0000)]
Fix a blank error message when trying to load a module with a path.
Attila Molnar [Mon, 12 Jan 2015 13:24:23 +0000 (14:24 +0100)]
Always penalize clients executing a command which fails before running the handler, even if the command has 0 penalty
Attila Molnar [Mon, 12 Jan 2015 13:19:58 +0000 (14:19 +0100)]
Increase penalty for some core commands
Attila Molnar [Mon, 12 Jan 2015 13:10:53 +0000 (14:10 +0100)]
Fix harmless uninitialized variable usage on startup if the config is incorrect
Attila Molnar [Sun, 11 Jan 2015 11:46:04 +0000 (12:46 +0100)]
Merge pull request #963 from SaberUK/insp20+nuke-data-dumper
Don't load Data::Dumper in the configure script.
Peter Powell [Sun, 11 Jan 2015 04:29:50 +0000 (04:29 +0000)]
Don't load Data::Dumper in the configure script.
This is not used and apparently there are some distros which do
not include it as part of the system Perl.
Peter Powell [Sat, 3 Jan 2015 20:33:09 +0000 (20:33 +0000)]
Fix a snotice in m_spanningtree incorrectly using an unsigned long.
This value can be negative so it should be a signed long not an
unsigned long.
Attila Molnar [Tue, 30 Dec 2014 19:51:34 +0000 (20:51 +0100)]
Fix signon time of clients being off by dns_timeout seconds
Attila Molnar [Tue, 30 Dec 2014 19:26:05 +0000 (20:26 +0100)]
Fix User::age being incorrectly used in some places instead of signon
Attila Molnar [Sat, 27 Dec 2014 13:50:22 +0000 (14:50 +0100)]
m_check Fix non-standard format specifier %s passed to strftime() causing problems on systems not supporting it (Windows)
Attila Molnar [Wed, 10 Dec 2014 16:50:31 +0000 (17:50 +0100)]
m_httpd On module unload close all connections hooked by the module being unloaded
Attila Molnar [Sun, 30 Nov 2014 17:40:10 +0000 (18:40 +0100)]
Reject empty mode parameters in ModeParser::Process() instead of relying on ModeHandlers to do it
Attila Molnar [Sun, 30 Nov 2014 17:24:17 +0000 (18:24 +0100)]
Don't submit a reload worker if the module doing the reload is scheduled for unload
Attila Molnar [Sun, 30 Nov 2014 17:20:42 +0000 (18:20 +0100)]
Validate module reload callback before use in PURE_STATIC builds
Attila Molnar [Sat, 29 Nov 2014 15:40:33 +0000 (16:40 +0100)]
Fix a couple of helpop issues
Fixes issue #949 reported by @webczat
Dan Parsons [Mon, 4 Aug 2014 17:57:43 +0000 (10:57 -0700)]
Updated inspircd init script template to make it chkconfig compatible.
Backported from master, PR #901
JD Horelick [Sun, 9 Nov 2014 00:40:08 +0000 (19:40 -0500)]
Make some config strings a bit more professional and use RFC reserved TLD's everywhere
JD Horelick [Sat, 8 Nov 2014 23:45:55 +0000 (18:45 -0500)]
Add missing oper-only commands to oper class blocks
Attila Molnar [Fri, 31 Oct 2014 15:36:47 +0000 (16:36 +0100)]
Remove formatting from the IRC link in README.md
It does not work, people don't see the address on the page
Attila Molnar [Fri, 31 Oct 2014 15:11:30 +0000 (16:11 +0100)]
Merge pull request #945 from SaberUK/insp20+even-more-module-manager-fixes
Fix modulemanager not being able to download modules (again!).
Peter Powell [Wed, 29 Oct 2014 12:44:50 +0000 (12:44 +0000)]
Fix modulemanager not being able to download modules (again!).
Attila Molnar [Mon, 27 Oct 2014 20:10:03 +0000 (21:10 +0100)]
Allow setting a limit of less than 64 entries for non-ban listmodes via <banlist>
Fixes regression introduced in
234be2f3cb
Attila Molnar [Sun, 26 Oct 2014 17:05:40 +0000 (18:05 +0100)]
Release v2.0.18
Attila Molnar [Sun, 26 Oct 2014 17:01:24 +0000 (18:01 +0100)]
Remove some dead code found by Coverity
Attila Molnar [Sat, 25 Oct 2014 01:58:49 +0000 (03:58 +0200)]
Merge pull request #944 from SaberUK/insp20+gnutls-rnd
[2.0] Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.
Peter Powell [Mon, 25 Aug 2014 12:04:17 +0000 (13:04 +0100)]
Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.
This is a modified version of
690c372 . Fixes #905.
Attila Molnar [Fri, 24 Oct 2014 23:16:02 +0000 (01:16 +0200)]
Merge pull request #940 from SaberUK/insp20+fix-makefile
[2.0] Fix some small bugs in the makefile template.
Peter Powell [Tue, 21 Oct 2014 21:05:51 +0000 (22:05 +0100)]
Use clang++ on FreeBSD 10 instead of g++.
Peter Powell [Tue, 21 Oct 2014 08:37:50 +0000 (09:37 +0100)]
Fix some small bugs in the makefile template.
- GCC in C++ mode should be called g++ not gcc.
- ICC in C++ mode should be called icpc not icc.
Attila Molnar [Thu, 23 Oct 2014 15:59:44 +0000 (17:59 +0200)]
m_delaymsg Add option to disallow NOTICEs too
Adam [Mon, 20 Oct 2014 19:14:54 +0000 (15:14 -0400)]
Fix m_banredirect causing bans added for hosts being rewritten as nicks
Attila Molnar [Wed, 22 Oct 2014 17:27:32 +0000 (19:27 +0200)]
Fail AAAA DNS queries if inet_ntop() fails
Attila Molnar [Wed, 22 Oct 2014 17:21:04 +0000 (19:21 +0200)]
Check the return value of getnameinfo() on Windows in insp_inet_ntop() and return NULL if it fails
Attila Molnar [Tue, 21 Oct 2014 22:25:05 +0000 (00:25 +0200)]
Set the parameter of -b to the banmask actually removed
This is needed because of the case insensitive match
Attila Molnar [Fri, 17 Oct 2014 16:46:47 +0000 (18:46 +0200)]
m_ssl_openssl Add compile time option that allows disabling renegotiations
Attila Molnar [Wed, 15 Oct 2014 16:27:20 +0000 (18:27 +0200)]
m_ssl_openssl Add compile time option to enable ECDH
Attila Molnar [Mon, 20 Oct 2014 18:48:23 +0000 (20:48 +0200)]
m_ssl_gnutls Add compile time option for allowing sha256 certificate fingerprints
Attila Molnar [Mon, 20 Oct 2014 18:42:17 +0000 (20:42 +0200)]
Update <nationalchars> tag documentation
Adam [Sat, 18 Oct 2014 18:28:50 +0000 (14:28 -0400)]
Fix watch away numerics, #937
Attila Molnar [Fri, 17 Oct 2014 13:40:01 +0000 (15:40 +0200)]
m_delayjoin Only send JOIN on mode change if the mode being changed is a prefix mode
Attila Molnar [Thu, 16 Oct 2014 19:18:29 +0000 (21:18 +0200)]
Initialize all fields of issl_session on module load in SSL modules
Attila Molnar [Thu, 16 Oct 2014 19:15:31 +0000 (21:15 +0200)]
Add interface to SSL modules that allows other modules to obtain the raw SSL session of a socket
Attila Molnar [Thu, 16 Oct 2014 19:07:25 +0000 (21:07 +0200)]
m_ssl_gnutls Refcount GnuTLS objects, free them when they are no longer in use instead of at /rehash ssl time
Attila Molnar [Wed, 15 Oct 2014 18:16:05 +0000 (20:16 +0200)]
m_ssl_openssl Fix debug message
Attila Molnar [Wed, 15 Oct 2014 18:13:00 +0000 (20:13 +0200)]
m_ssl_openssl Reset data_to_write for new sessions
Attila Molnar [Wed, 15 Oct 2014 18:10:04 +0000 (20:10 +0200)]
m_ssl_openssl Free the ssl_cert object as soon as the session is closed instead of waiting for the next VerifyCertificate() or new connection
Attila Molnar [Wed, 15 Oct 2014 18:07:55 +0000 (20:07 +0200)]
m_ssl_openssl Remove bogus errno assignment from CloseSession()
Attila Molnar [Wed, 15 Oct 2014 17:55:17 +0000 (19:55 +0200)]
Merge pull request #935 from SaberUK/insp20+fix-crlf
Add a workaround for compiling modules with Windows line endings.
Attila Molnar [Tue, 14 Oct 2014 15:52:41 +0000 (17:52 +0200)]
m_ssl_openssl Return an error from the IOHook read and write functions if the handshake returns 0
The meaning of a 0 return value quoted from the manual:
The TLS/SSL handshake was not successful but was shut down controlled and by the specifications of the TLS/SSL protocol.
Attila Molnar [Tue, 14 Oct 2014 15:40:13 +0000 (17:40 +0200)]
m_ssl_openssl Add user-friendly config options for setting a few OpenSSL context options
Peter Powell [Mon, 13 Oct 2014 20:44:13 +0000 (21:44 +0100)]
Add a workaround for compiling modules with Windows line endings.
Attila Molnar [Mon, 13 Oct 2014 19:18:12 +0000 (21:18 +0200)]
m_nationalchars Ask m_spanningtree to rebuild its hashmaps when the national_case_insensitive_map changes
Issue #923
Attila Molnar [Mon, 13 Oct 2014 19:16:51 +0000 (21:16 +0200)]
m_spanningtree Rebuild serverlist and sidlist when receiving a specific Request
Issue #923
Attila Molnar [Mon, 13 Oct 2014 19:12:55 +0000 (21:12 +0200)]
m_nationalchars Rebuild the hash map in m_watch when the national_case_insensitive_map changes
Issue #923
Attila Molnar [Mon, 13 Oct 2014 19:11:14 +0000 (21:11 +0200)]
m_nationalchars Rebuild core hashmaps when the national_case_insensitive_map changes
Issue #923
Attila Molnar [Mon, 13 Oct 2014 18:37:38 +0000 (20:37 +0200)]
Merge pull request #934 from SaberUK/insp20+fix-various-issues
Fix various issues detected by Coverity.
Peter Powell [Sun, 12 Oct 2014 17:38:23 +0000 (18:38 +0100)]
Kill some logically dead code detected by Coverity.
- m_watch: wl has already been confirmed to not be NULL on L161.
Peter Powell [Mon, 20 May 2013 19:15:50 +0000 (20:15 +0100)]
Replace dodgy use of const char* and memcpy with std::string.
This was backported from commit
e01df63 in master.
Attila Molnar [Mon, 13 Oct 2014 17:07:44 +0000 (19:07 +0200)]
Merge pull request #933 from SaberUK/insp20+fix-llvm34
Fix various warnings when building with LLVM 3.5.
Peter Powell [Wed, 8 Oct 2014 15:34:37 +0000 (16:34 +0100)]
Avoid calling methods on NULL pointers wherever possible.
The trick we use to allow this is undefined behaviour and is not
liked by LLVM. We should stop using it but it has the potential to
break to many things for a minor release.
Peter Powell [Mon, 6 Oct 2014 12:30:31 +0000 (13:30 +0100)]
Fix various warnings when building with LLVM 3.5.
- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
- warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
Attila Molnar [Fri, 10 Oct 2014 12:26:09 +0000 (14:26 +0200)]
m_ssl_openssl Allow configuring raw OpenSSL context options
Attila Molnar [Fri, 10 Oct 2014 12:15:37 +0000 (14:15 +0200)]
m_ssl_openssl Disable session caching and session tickets
Attila Molnar [Fri, 10 Oct 2014 12:10:24 +0000 (14:10 +0200)]
m_ssl_openssl Enable single (EC)DH use and disable SSL v2
Options enabled:
- SSL_OP_NO_SSLv2
- SSL_OP_SINGLE_DH_USE
- SSL_OP_SINGLE_ECDH_USE (if it exists)
Partial backport of #856 by @jvehent