]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Dan Parsons [Tue, 20 May 2014 22:48:50 +0000 (15:48 -0700)]
Update server.cpp
Rewrote "invalid credentials" error message to remove confusion regarding "server snomask", which some users interpreted as "I must make sure the snomask on each server is identical" (which makes no sense), when really the intention is basically "look at the logs on the other server".
Attila Molnar [Sun, 18 May 2014 17:08:17 +0000 (19:08 +0200)]
Merge pull request #854 from SaberUK/insp20+deprecated-plist-entry
Replace deprecated entry in launchd config with the modern equivalent.
Peter Powell [Sun, 18 May 2014 09:16:27 +0000 (10:16 +0100)]
Replace deprecated entry in launchd config with the modern equivalent.
Attila Molnar [Sat, 10 May 2014 17:00:52 +0000 (19:00 +0200)]
Update year in resource file for Windows
Adam [Thu, 8 May 2014 23:40:13 +0000 (19:40 -0400)]
Fix m_permchannels and m_xline_db on Windows
The call to remove() can fail if the database doesn't already exist. Just
ignore the error, which effectively makes the rename() call below work as
it does on nix
Adam [Thu, 8 May 2014 23:18:02 +0000 (19:18 -0400)]
Do not export callers
Their functions are all inlined and Windows gives unresolved symbol errors
Attila Molnar [Wed, 30 Apr 2014 22:07:10 +0000 (00:07 +0200)]
m_cgiirc Call User::InvalidateCache() after changing host and dhost in OnCheckReady()
Attila Molnar [Tue, 29 Apr 2014 14:10:22 +0000 (16:10 +0200)]
m_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIES
Attila Molnar [Sat, 26 Apr 2014 14:22:03 +0000 (16:22 +0200)]
m_spanningtree Set the bursting flag in the FJOIN handler based on whether the source of the FJOIN is bursting or not
Previously the flag was true if our route to the source was bursting, which resulted in m_joinflood incorrectly registering netjoins when a remote server was bursting
Fixes issue #839 reported by @joshtek0
Attila Molnar [Sun, 20 Apr 2014 17:58:26 +0000 (19:58 +0200)]
Merge pull request #832 from SaberUK/insp20+fix-ssl-question
Backport questions from master's genssl tool.
Attila Molnar [Sat, 19 Apr 2014 15:10:01 +0000 (17:10 +0200)]
Fix undefined symbol error on module load if compiled with Clang 3.4
Fixes issue #803 reported by @SaberUK
Peter Powell [Wed, 16 Apr 2014 18:58:01 +0000 (19:58 +0100)]
Backport questions from master's genssl tool.
Attila Molnar [Sun, 13 Apr 2014 14:08:49 +0000 (16:08 +0200)]
Compress the Windows installer with zlib to reduce AV false positives
Adam [Sun, 13 Apr 2014 01:46:19 +0000 (21:46 -0400)]
Change Windows libraries to be dynamically linked
Attila Molnar [Thu, 10 Apr 2014 23:03:36 +0000 (01:03 +0200)]
m_ssl_openssl Avoid Applink on Windows by calling PEM_read_bio_DHparams() instead of PEM_read_DHparams()
Attila Molnar [Sun, 13 Apr 2014 14:02:07 +0000 (16:02 +0200)]
Allow uppercase letters in IPv6 CIDR masks
Attila Molnar [Sun, 13 Apr 2014 13:46:10 +0000 (15:46 +0200)]
m_auditorium Handle NULL return from Channel::GetUser() in OnSendWhoLine()
Found by Coverity, CID:
1135647
Attila Molnar [Sun, 13 Apr 2014 13:43:01 +0000 (15:43 +0200)]
Ignore NULL callbacks in ModuleManager::Reload()
Found by Coverity, CID:
1201453
Attila Molnar [Sun, 13 Apr 2014 13:41:35 +0000 (15:41 +0200)]
m_ojoin Remove pointless FindChan() call
Found by Coverity, CID:
1135649
Attila Molnar [Sat, 12 Apr 2014 21:00:01 +0000 (23:00 +0200)]
Change FormatMessage() usage in DLLManager::RetrieveLastError() to match SocketEngine::LastError()
See
4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b
Attila Molnar [Sat, 12 Apr 2014 20:51:10 +0000 (22:51 +0200)]
Filter out newlines from error messages on Windows
Attila Molnar [Sat, 12 Apr 2014 20:38:34 +0000 (22:38 +0200)]
m_watch Be more strict when checking whether the watch list of a user is full
After a rehash MAX_WATCH can become lower than it was before
Attila Molnar [Sat, 12 Apr 2014 20:35:34 +0000 (22:35 +0200)]
Merge pull request #827 from Robby-/insp20-helpopconf
Some more helpop config updates, and fix a few module syntax messages.
Robby- [Sat, 12 Apr 2014 20:18:22 +0000 (22:18 +0200)]
Some more helpop config updates.
Robby- [Sat, 12 Apr 2014 20:08:41 +0000 (22:08 +0200)]
Correct the syntax messages of a few modules.
Attila Molnar [Sun, 6 Apr 2014 14:28:11 +0000 (16:28 +0200)]
Release 2.0.16
Attila Molnar [Sun, 6 Apr 2014 14:25:50 +0000 (16:25 +0200)]
Attila Molnar [Sun, 6 Apr 2014 14:21:04 +0000 (16:21 +0200)]
Fix typo in helpop-full that prevented it from loading and other minor helpop issues
Attila Molnar [Fri, 4 Apr 2014 16:31:10 +0000 (18:31 +0200)]
Fix snotice about disabled command usage being sent to the wrong snomask
Attila Molnar [Fri, 4 Apr 2014 16:30:02 +0000 (18:30 +0200)]
Add REG_ALL checks to treat unregistered users as nonexistent in more cases
Attila Molnar [Fri, 4 Apr 2014 16:17:00 +0000 (18:17 +0200)]
Fix typos and update text in the configure script
Some of these were picked from #448
Attila Molnar [Wed, 19 Mar 2014 14:52:07 +0000 (15:52 +0100)]
Major example configuration and helpop update
Big thanks to @m4z (#621) and @Robby- (#630) who contributed a lot to this
Attila Molnar [Thu, 27 Mar 2014 14:41:47 +0000 (15:41 +0100)]
m_watch Validate targ before use, noticed while rewriting m_watch for 2.2
Attila Molnar [Wed, 26 Mar 2014 16:24:51 +0000 (17:24 +0100)]
m_globalload Don't pass a callback to ModuleManager::Reload() if reloading m_globalload
Attila Molnar [Tue, 25 Mar 2014 13:40:37 +0000 (14:40 +0100)]
m_httpd Fix typo noticed by @SaberUK
Attila Molnar [Sun, 23 Mar 2014 21:10:04 +0000 (22:10 +0100)]
m_operprefix Don't set +y on the oper if hideoper is being unset due to deopering
Fixes issue #801 reported by @UselessOper
Attila Molnar [Thu, 13 Mar 2014 14:41:10 +0000 (15:41 +0100)]
Fix NAMES list getting truncated on servers having an excessively long server name
Attila Molnar [Thu, 13 Mar 2014 14:37:19 +0000 (15:37 +0100)]
Backport "Refactor Channel::UserList() to use std::string"
This gets rid of questionable snprintf() usage, reported by @hifi
Backported commit:
8a06d54076551387f83a29360478ee6605e241b6
Attila Molnar [Tue, 11 Mar 2014 12:20:21 +0000 (13:20 +0100)]
cmd_names Allow opers having the channels/auspex priv to view the NAMES list of +s channels from outside
A version of the check removed by this commit is in Channel::UserList() which takes the priv into account
Discovered by @Cronus89
Attila Molnar [Mon, 10 Mar 2014 11:17:41 +0000 (12:17 +0100)]
Improve detection for non-cidr masks to prevent unwanted matches
Fixes issue #762 reported by @neoinr
Attila Molnar [Sun, 2 Mar 2014 16:04:51 +0000 (17:04 +0100)]
m_spanningtree Do pointer comparison before deleting one of the pointers in TreeSocket::Squit()
While the previous code worked fine in practice, it was incorrect in theory
Attila Molnar [Sun, 2 Mar 2014 16:00:12 +0000 (17:00 +0100)]
m_spanningtree Don't send snotices to servers about remote servers splitting
The snotice is sent to opers when the SQUIT is processed by their server
Attila Molnar [Sat, 1 Mar 2014 12:04:10 +0000 (13:04 +0100)]
Fix NULL dereference on rehash when there is a fatal error in the configuration of connect classes
Fixes issue #780 reported by @JDowny
Attila Molnar [Fri, 28 Feb 2014 16:16:29 +0000 (17:16 +0100)]
Merge pull request #784 from ShutterQuick/patch-1
Fix build problem on Solaris
Attila Molnar [Fri, 28 Feb 2014 15:22:41 +0000 (16:22 +0100)]
Merge pull request #783 from SaberUK/insp20+solaris-hates-posix
Fix Solaris not being able to find modules without pkg-config.
ShutterQuick [Thu, 27 Feb 2014 17:45:16 +0000 (09:45 -0800)]
Fix build problem on Solaris
-rpath only takes one dash
Fixes the Solaris build \o/
'''
<fraggeln> SaberUK: http://m.theo.nu/jenkins/job/InspIRCd-2.0/435/label=solaris/console <--
<fraggeln> do you have any clue on why?
<@Shutter> Hmm. Where did that extra - come from.
<fraggeln> Shutter: no idea :)
[...]
<fraggeln> Shutter: sub make_rpath($;$) <-- in make/utilities.pm
<fraggeln> thats where that extra - is'''
Peter Powell [Thu, 27 Feb 2014 17:05:08 +0000 (17:05 +0000)]
Fix Solaris not being able to find modules without pkg-config.
Adam [Thu, 20 Feb 2014 18:03:31 +0000 (13:03 -0500)]
Fix /who on opers incorrectly showing +i opers to
users without the privilege to see them, introduced in
b328aad53b044bd9cf9720dfed216b0ee61c8e31
Attila Molnar [Tue, 18 Feb 2014 23:15:57 +0000 (00:15 +0100)]
Merge pull request #772 from SaberUK/insp20+llvm34
Fix various problems detected by Clang 3.4.
Attila Molnar [Thu, 13 Feb 2014 13:10:01 +0000 (14:10 +0100)]
socketengine_select Reset the values in the timeval struct on *nix before select()
Peter Powell [Mon, 10 Feb 2014 20:08:56 +0000 (20:08 +0000)]
Fix various problems detected by Clang 3.4.
- cidr.cpp: remove inverted_bits; unused since
9fad3ecb9215a0034bf407f192926b04cb5efaed .
- cmd_stats.cpp: remove needless inversion and comparison to 0.
- inspircd.cpp: remove needless comparison to 0.
- socket.cpp: remove all_zero; unused since
03a1bf15b1da7643b237c22db1a478916a976ccf .
Attila Molnar [Wed, 5 Feb 2014 17:02:01 +0000 (18:02 +0100)]
socketengine_epoll Initialize CurrentSetSize (only used by m_httpd_stats)
Adam [Tue, 4 Feb 2014 21:11:43 +0000 (16:11 -0500)]
Fix new file descriptor debug log message in socketengine_poll to show the correct events
Attila Molnar [Mon, 3 Feb 2014 09:08:05 +0000 (10:08 +0100)]
m_banredirect Fix typo in a message (transfered -> transferred)
Fixes issue #757 reported by @guikcd
Attila Molnar [Sun, 26 Jan 2014 15:39:21 +0000 (16:39 +0100)]
m_ssl_openssl Fix memory leaks on /rehash ssl, unload and in VerifyCertificate()
Adam [Fri, 24 Jan 2014 23:11:49 +0000 (18:11 -0500)]
Set a session id on our server ssl context in m_ssl_openssl. It is required for some clients which try to restore SSL sessions.
Attila Molnar [Tue, 21 Jan 2014 13:13:25 +0000 (14:13 +0100)]
Release 2.0.15
Attila Molnar [Tue, 21 Jan 2014 13:13:02 +0000 (14:13 +0100)]
Attila Molnar [Tue, 21 Jan 2014 13:10:01 +0000 (14:10 +0100)]
m_httpd_stats Be more conservative when escaping data
Fix clang warning
Attila Molnar [Tue, 21 Jan 2014 13:04:45 +0000 (14:04 +0100)]
Increase the penalty for a few core commands
Attila Molnar [Mon, 20 Jan 2014 23:44:41 +0000 (00:44 +0100)]
m_joinflood Unset the mode on unload
Peter Powell [Wed, 11 Dec 2013 05:05:36 +0000 (05:05 +0000)]
Fix some logically dead code which was found by Coverity.
Attila Molnar [Mon, 20 Jan 2014 16:05:01 +0000 (17:05 +0100)]
m_svshold Add config option to hide snotices
Attila Molnar [Mon, 20 Jan 2014 15:57:30 +0000 (16:57 +0100)]
m_httpd Add timeout option; remove timed out connections
Attila Molnar [Mon, 20 Jan 2014 15:48:20 +0000 (16:48 +0100)]
Update example configs/helpop
Mantas Mikulėnas [Thu, 2 Jan 2014 14:52:51 +0000 (16:52 +0200)]
Use standard example addresses in configs
`2001:db8::/32` is the [standard][1] IPv6 example address range, using
it also makes it clear when the user has just copy-pasted the example
config and didn't actually whitelist 6BONE for some strange reason.
Similarly, there are example addresses for [IPv4][2] and [DNS][3].
[1]: http://tools.ietf.org/html/rfc3849
[2]: http://tools.ietf.org/html/rfc5737
[3]: http://tools.ietf.org/html/rfc2606
Attila Molnar [Mon, 20 Jan 2014 15:40:01 +0000 (16:40 +0100)]
m_services_account Add workaround for wrong host being displayed in numeric when cgiirc users log in using SASL
Attila Molnar [Mon, 20 Jan 2014 15:30:39 +0000 (16:30 +0100)]
m_dnsbl Don't send snotice when the {G|K|Z}line already exists
Fixes issue #717 reported by @Robby-
Attila Molnar [Sun, 19 Jan 2014 16:04:11 +0000 (17:04 +0100)]
m_joinflood Fix remote joins affecting local joinflood state when the channel is locked
Fixes issue #694 reported by @TurkDesk
Attila Molnar [Sun, 19 Jan 2014 15:48:41 +0000 (16:48 +0100)]
Use FindNickOnly() in a few more places if a local user is performing an action to prevent UID walking
Attila Molnar [Sun, 19 Jan 2014 15:42:10 +0000 (16:42 +0100)]
m_dccallow Increase penalty for /DCCALLOW help
Attila Molnar [Sun, 19 Jan 2014 15:39:46 +0000 (16:39 +0100)]
m_alias Fix out of bounds string access that happened with certain replace strings
Daniel Vassdal [Mon, 25 Nov 2013 00:46:04 +0000 (16:46 -0800)]
Fix OOB error in sa2cidr()
Attila Molnar [Thu, 16 Jan 2014 18:26:16 +0000 (10:26 -0800)]
Merge pull request #732 from grawity/saslfix
m_sasl: properly handle bad-mechanism failures
Attila Molnar [Tue, 14 Jan 2014 14:01:44 +0000 (15:01 +0100)]
m_sajoin Send global snotice when the join happens
Remove "sent remote SAJOIN" local snotice
Fixes issue #382 reported by @JDowny
Attila Molnar [Mon, 13 Jan 2014 13:01:16 +0000 (14:01 +0100)]
m_mlock Only deny the mlocked mode from being changed instead of denying the entire mode change if it contains a single mlocked mode
Fixes issue #615 reported by @BlacklightShining
Mantas Mikulėnas [Sat, 11 Jan 2014 21:42:34 +0000 (23:42 +0200)]
Support SASL messages other than 'C' and 'D'
Mantas Mikulėnas [Sat, 11 Jan 2014 21:41:16 +0000 (23:41 +0200)]
Handle SASL failures during SASL_INIT (wrong mechanism, etc.)
Attila Molnar [Sun, 5 Jan 2014 12:47:28 +0000 (13:47 +0100)]
Fix possible use of invalid iterator on module unload
When a module quits a user or destroys a channel in OnCleanup() the object is no longer in the container being iterated by the time OnCleanup() returns
Attila Molnar [Sat, 4 Jan 2014 12:02:39 +0000 (13:02 +0100)]
Show +i users on a channel to opers having the channels/auspex priv who do /NAMES from outside of the chan
Discovered by @Cronus89
Attila Molnar [Sat, 28 Dec 2013 00:13:00 +0000 (16:13 -0800)]
Merge pull request #714 from SaberUK/insp20+fix-helpop
[2.0] Fix the HELPOP database being destroyed when a rehash fails.
Peter Powell [Thu, 26 Dec 2013 11:28:22 +0000 (11:28 +0000)]
Fix the HELPOP database being destroyed when a rehash fails.
Daniel Vassdal [Sat, 21 Dec 2013 03:10:48 +0000 (19:10 -0800)]
Allow ranges beginning with 0 in m_channames
Attila Molnar [Sun, 15 Dec 2013 12:10:33 +0000 (13:10 +0100)]
m_spanningtree Fix nick TS desync on SVSNICK
Don't accept invalid timestamps
Daniel Vassdal [Thu, 12 Dec 2013 21:39:10 +0000 (13:39 -0800)]
Fix m_override refusing to override modes if the user holds halfop or higher in the channel
Daniel Vassdal [Sat, 7 Dec 2013 20:44:10 +0000 (12:44 -0800)]
Fix ACCEPT propagation bug when it got a nick prefixed with +
Fixes #696
Does not apply to 2.2 due to Attila's rewrite of the module
Attila Molnar [Fri, 29 Nov 2013 21:14:45 +0000 (13:14 -0800)]
Merge pull request #693 from SaberUK/insp20+modulemanager-bugs
[2.0] Fix various problems with ModuleManager.
Peter Powell [Fri, 29 Nov 2013 20:23:57 +0000 (20:23 +0000)]
Fix various problems with ModuleManager.
- Fix downloading the module list on very new versions of Perl.
- Fix an off by one error caused by array sizing starting at -1
instead of 0 like in every single other language (!!).
- Fix vague error messages when LWP encounters an error.
- Fix LWP::Simple being used before we have checked whether it is
available.
Daniel Vassdal [Tue, 12 Nov 2013 16:28:40 +0000 (08:28 -0800)]
Fix remote /MODULES bug
Adam [Sat, 9 Nov 2013 11:52:38 +0000 (06:52 -0500)]
Use case insensitive comparison for server names for (auto)connects, issue #662
Adam [Sat, 9 Nov 2013 11:43:49 +0000 (06:43 -0500)]
Fix parsing ADDLINE with expiration or creation dates past ~2038 probably
Adam [Sat, 9 Nov 2013 11:23:05 +0000 (06:23 -0500)]
Fix issue #657, fix sending FNAME with spaces
Peter Powell [Wed, 23 Oct 2013 22:46:08 +0000 (23:46 +0100)]
Fix m_silence looking for maxentries in <showwhois> instead of <silence>.
Fixes issue #644.
Attila Molnar [Thu, 26 Sep 2013 15:01:15 +0000 (08:01 -0700)]
Merge pull request #638 from SaberUK/insp20+runas-fix
Improve error reporting for <security:runas{user,group}>.
Peter Powell [Tue, 24 Sep 2013 21:36:28 +0000 (22:36 +0100)]
Improve error reporting for <security:runas{user,group}>.
attilamolnar [Sun, 15 Sep 2013 14:54:34 +0000 (16:54 +0200)]
Work around STB_GNU_UNIQUE symbols not allowing module unmap
attilamolnar [Sat, 14 Sep 2013 13:23:45 +0000 (15:23 +0200)]
Fix ConvToStr(char)
ChrisTX [Mon, 9 Sep 2013 21:50:21 +0000 (23:50 +0200)]
Fix a shadow warning created by ConfigTag::create
attilamolnar [Mon, 9 Sep 2013 11:30:31 +0000 (13:30 +0200)]
m_httpd Close all open http sockets on unload
attilamolnar [Mon, 9 Sep 2013 11:22:51 +0000 (13:22 +0200)]
m_showwhois Require 2 parameters for WHOISNOTICE