11237 Commits

Author SHA1 Message Date
Attila Molnar
7dd831383f Release 2.0.15 v2.0.15 2014-01-21 14:13:25 +01:00
Attila Molnar
89510c143f Bump API version because of 3f4d54eb031f1cd6b016dfe1f768ed86303e3856 2014-01-21 14:13:02 +01:00
Attila Molnar
dca7232d63 m_httpd_stats Be more conservative when escaping data
Fix clang warning
2014-01-21 14:10:01 +01:00
Attila Molnar
ed57ffc4fe Increase the penalty for a few core commands 2014-01-21 14:04:45 +01:00
Attila Molnar
e1d0503a76 m_joinflood Unset the mode on unload 2014-01-21 00:44:41 +01:00
Peter Powell
d0a472641b Fix some logically dead code which was found by Coverity. 2014-01-21 00:43:12 +01:00
Attila Molnar
b8f0e349ce m_svshold Add config option to hide snotices 2014-01-20 17:05:01 +01:00
Attila Molnar
ef264e2dca m_httpd Add timeout option; remove timed out connections 2014-01-20 16:57:30 +01:00
Attila Molnar
659530cbab Update example configs/helpop 2014-01-20 16:48:20 +01:00
Mantas Mikulėnas
b43e157a14 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
2014-01-20 16:44:10 +01:00
Attila Molnar
44301db245 m_services_account Add workaround for wrong host being displayed in numeric when cgiirc users log in using SASL 2014-01-20 16:40:01 +01:00
Attila Molnar
3bf4424602 m_dnsbl Don't send snotice when the {G|K|Z}line already exists
Fixes issue #717 reported by @Robby-
2014-01-20 16:30:39 +01:00
Attila Molnar
0f91b6173b m_joinflood Fix remote joins affecting local joinflood state when the channel is locked
Fixes issue #694 reported by @TurkDesk
2014-01-19 17:04:11 +01:00
Attila Molnar
f75a0d5482 Use FindNickOnly() in a few more places if a local user is performing an action to prevent UID walking 2014-01-19 16:48:41 +01:00
Attila Molnar
69af56f973 m_dccallow Increase penalty for /DCCALLOW help 2014-01-19 16:42:10 +01:00
Attila Molnar
dca19b60ef m_alias Fix out of bounds string access that happened with certain replace strings 2014-01-19 16:39:46 +01:00
Daniel Vassdal
84dc48d142 Fix OOB error in sa2cidr() 2014-01-17 12:38:53 +01:00
Attila Molnar
69a2d4e9b2 Merge pull request #732 from grawity/saslfix
m_sasl: properly handle bad-mechanism failures
2014-01-16 10:26:16 -08:00
Attila Molnar
1df6653270 m_sajoin Send global snotice when the join happens
Remove "sent remote SAJOIN" local snotice

Fixes issue #382 reported by @JDowny
2014-01-14 15:01:44 +01:00
Attila Molnar
d0a6b9c6ea 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
2014-01-13 14:01:16 +01:00
Mantas Mikulėnas
1c89cb1002 Support SASL messages other than 'C' and 'D' 2014-01-11 23:53:24 +02:00
Mantas Mikulėnas
fd57589b17 Handle SASL failures during SASL_INIT (wrong mechanism, etc.) 2014-01-11 23:41:20 +02:00
Attila Molnar
7ce26772d9 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
2014-01-05 13:47:28 +01:00
Attila Molnar
e1976796bf Show +i users on a channel to opers having the channels/auspex priv who do /NAMES from outside of the chan
Discovered by @Cronus89
2014-01-04 13:02:39 +01:00
Attila Molnar
a45db73920 Merge pull request #714 from SaberUK/insp20+fix-helpop
[2.0] Fix the HELPOP database being destroyed when a rehash fails.
2013-12-27 16:13:00 -08:00
Peter Powell
43babe5c3e Fix the HELPOP database being destroyed when a rehash fails. 2013-12-27 15:25:42 +00:00
Daniel Vassdal
928c5e6bed Allow ranges beginning with 0 in m_channames 2013-12-21 15:20:17 +01:00
Attila Molnar
24fc55bbfd m_spanningtree Fix nick TS desync on SVSNICK
Don't accept invalid timestamps
2013-12-15 13:10:33 +01:00
Daniel Vassdal
4b9d53b052 Fix m_override refusing to override modes if the user holds halfop or higher in the channel 2013-12-14 19:34:21 +01:00
Daniel Vassdal
bc4177ad01 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
2013-12-09 22:15:48 +01:00
Attila Molnar
52b71902ee Merge pull request #693 from SaberUK/insp20+modulemanager-bugs
[2.0] Fix various problems with ModuleManager.
2013-11-29 13:14:45 -08:00
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