11206 Commits

Author SHA1 Message Date
Peter Powell
cc6f98c91b 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.
2013-11-29 21:03:33 +00:00
Daniel Vassdal
457c4f211f Fix remote /MODULES bug 2013-11-12 18:31:34 +01:00
Adam
e81860311e Use case insensitive comparison for server names for (auto)connects, issue #662 2013-11-09 06:52:38 -05:00
Adam
2f0c3281d7 Fix parsing ADDLINE with expiration or creation dates past ~2038 probably 2013-11-09 06:43:49 -05:00
Adam
9cdf47629f Fix issue #657, fix sending FNAME with spaces 2013-11-09 06:26:02 -05:00
Peter Powell
541e74bc14 Fix m_silence looking for maxentries in <showwhois> instead of <silence>.
Fixes issue #644.
2013-10-26 14:10:24 +02:00
Attila Molnar
5ad3a1cd8c Merge pull request #638 from SaberUK/insp20+runas-fix
Improve error reporting for <security:runas{user,group}>.
2013-09-26 08:01:15 -07:00
Peter Powell
e51ea66534 Improve error reporting for <security:runas{user,group}>. 2013-09-26 15:54:37 +01:00
attilamolnar
b8440f4a02 Work around STB_GNU_UNIQUE symbols not allowing module unmap 2013-09-15 16:54:34 +02:00
attilamolnar
d743bdf338 Fix ConvToStr(char) 2013-09-14 15:23:45 +02:00
ChrisTX
718a87e7e4 Fix a shadow warning created by ConfigTag::create 2013-09-13 18:00:19 +02:00
attilamolnar
c0f946f2b7 m_httpd Close all open http sockets on unload 2013-09-09 13:30:31 +02:00
attilamolnar
6f971a57e5 m_showwhois Require 2 parameters for WHOISNOTICE 2013-09-09 13:22:51 +02:00
ChrisTX
3f4d54eb03 Fix a crash when running as systemd service
- Fix a NULL dereference if a signal is raised in the constructor of the
class InspIRCd
- Resolve the parent's process exit code being SIGTERM=15 and typically not
EXIT_SUCCESS thus

A combination of the two caused crashes when running as systemd unit.
2013-09-08 12:10:01 +02:00
Attila Molnar
fb1e17c31c Merge pull request #623 from ChrisTX/insp20+compilerfixes
Improve support for rarely used compilers, EKOPath in this case.
2013-09-04 06:42:46 -07:00
attilamolnar
ae23aefa3c m_spanningtree Fix timestamp in AWAY 2013-08-31 12:00:55 +02:00
ChrisTX
426752022e Improve support for rarely used compilers, EKOPath in this case. 2013-08-31 01:17:07 +02:00
attilamolnar
d54eec6dd8 Don't CoreExport reference, fixes m_dnsbl on Windows
The explicit instantiations of reference are now useless; remove
2013-08-30 12:10:01 +02:00
attilamolnar
5661a9eddb Release 2.0.14 v2.0.14 2013-08-28 19:29:50 +02:00
attilamolnar
4d41afdc2e m_permchannels Fix empty topic setby 2013-08-28 19:27:14 +02:00
Christopher 'm4z' Holm
81a616cd9f Update COPYING file with new FSF address.
This should make rpmlint stop complaining about the incorrect FSF
address. All changes taken from:
    http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
2013-08-28 14:35:10 +02:00
attilamolnar
c92613ebf3 Fix fd and minor memory leak in threadengine_pthread on unload of m_mysql 2013-08-27 18:33:48 +02:00
attilamolnar
25ab5612f2 Fix crash caused by passing a large integer to ctime()
In addition to verifying the return value of localtime(), correct tm_year if it is out of bounds

Reported by @JDowny
2013-08-27 18:33:32 +02:00
attilamolnar
261d5bb566 m_permchannels Add the ability to save listmodes 2013-08-27 18:32:32 +02:00
attilamolnar
86f8294c2d m_permchannels Save channel TS, topic set time and set by information
When loading, ignore and log channels with a name longer than Limits.MaxChan
2013-08-27 18:32:32 +02:00
attilamolnar
b55c842c9d m_permchannels Construct the final line that will be saved in a std::string in WriteDatabase() 2013-08-27 18:32:32 +02:00
attilamolnar
00cd97160a Update example configs, README.md and more
- Fix typos, remove misleading information, rephrase a few sentences
- Add info about hmac-<hash> hash types
- Remove <performance:maxwho> (the code which used this was removed in 96e4434 - @SaberUK)
- Change inspircd.github.org to inspircd.org
2013-08-27 18:30:59 +02:00
attilamolnar
d3b6538f95 m_spanningtree When an IOHook goes away close all pending connections that use it 2013-08-21 16:38:33 +02:00
attilamolnar
3afddb6a34 m_dnsbl Fix possible use-after-free after a rehash 2013-08-21 16:35:29 +02:00
attilamolnar
5f223beeae m_ssl_gnutls Fix feature testing and cipher suite related errors on older GnuTLS versions
Use the (old) LIBGNUTLS_VERSION_* defines as a fallback when GNUTLS_VERSION_* is unavailable

Fixes #595 reported by @rhylan
2013-08-13 14:10:04 +02:00
Adam
1be212b865 Use server ids when propagating squits 2013-07-26 07:33:45 -04:00
attilamolnar
457d5da692 Fix generated snomask mode change string being incosistent with the input in certain cases, spotted by @Robby- 2013-07-20 18:45:35 +02:00
attilamolnar
561f4f642e m_ssl_openssl Fix inverted check that prevented certificates from being recognized as trusted 2013-07-16 22:30:18 +02:00
Adam
6e0b904d34 Use the correct socket related error messages on Windows 2013-07-14 20:23:53 +02:00
attilamolnar
2a9aa9be8a Clean up error handling in threadengine_win32 2013-07-12 19:30:33 +02:00
Attila Molnar
538a894209 Merge pull request #588 from SaberUK/insp20+fix-socketengines
[2.0] Fix various socket engine bugs.
2013-07-12 10:28:37 -07:00
attilamolnar
be23ca74e4 m_userip Fix incorrect "variable may be used uninitialized" warning shown by older GCC versions 2013-07-09 17:34:10 +02:00
attilamolnar
7dd381f568 Do not send too much data over SSL in one go
Some clients fail to read it entirely and the remaining data stays in their read buffer until new data arrives
2013-07-07 23:10:45 +02:00
Peter Powell
525a104ef8 Fix the Poll socket engine on BSD. 2013-07-07 17:58:49 +01:00
Peter Powell
805b7d3eff Fix low risk crash when we can't determine maximum open socket count. 2013-07-07 16:25:11 +01:00
Attila Molnar
71d64de8f0 Merge pull request #563 from ElementalAlchemist/patch-1
Prevent m_cgiirc from blocking indefinitely
2013-06-24 13:53:58 -07:00
ElementalAlchemist
913724d731 Prevent m_cgiirc from blocking indefinitely, resulting in registration timeouts on e.g. Mibbit when webirc is not used 2013-06-24 16:52:10 -04:00
attilamolnar
20e521a9ea m_spanningtree FJOIN handler: Merge and take maxmodes into consideration when applying non-prefix modes 2013-06-12 18:11:51 +02:00
attilamolnar
62e7254fbe Fix high CPU use on Windows when connecting to a server
When getting a write event for an EventHandler that wanted a single write only, remove it from the WriteSet (socketengine_select)

Fixes #556 reported by @WindowsUser
2013-06-10 01:10:15 +02:00
attilamolnar
e0ff94b310 Release 2.0.13 v2.0.13 2013-06-05 23:28:45 +02:00
attilamolnar
d87bfc2778 Remove unnecessary string copies and dead code 2013-06-05 23:11:50 +02:00
attilamolnar
f4d8359382 Report the full GnuTLS version in configure
Fix incorrect version being reported when the minor version is longer than one digit (2.10.x)
2013-06-05 22:40:09 +02:00
attilamolnar
f07eda62da m_spanningtree Fix FIDENT routing
A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic
2013-06-04 22:16:15 +02:00
attilamolnar
fc198fffe1 Fix inet_pton on Windows with IPv6 addresses
Code from Anope win32/socket.cpp by @Adam-
2013-06-04 21:43:29 +02:00
attilamolnar
9b08c60495 m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5d 2013-06-04 21:38:03 +02:00