11453 Commits

Author SHA1 Message Date
Peter Powell
3fbba606c3 Fix checking whether kqueue is available.
It seems like the newer OS X versions don't put headers into the
system include directories. Switch to using a test file instead.
2015-07-21 23:22:09 +01:00
Attila Molnar
539abb9e93 Merge pull request #1063 from SaberUK/insp20+cert-warning
[2.0] Show a better warning when certtool/openssl are missing.
2015-06-26 00:00:25 +02:00
Attila Molnar
eb084fc8b2 Merge pull request #1066 from SaberUK/insp20+plist
[2.0] Log STDOUT and STDERR in the launchd script.
2015-06-25 23:59:09 +02:00
Peter Powell
0207736989 Log STDOUT and STDERR in the launchd script. 2015-06-24 23:06:11 +01:00
Peter Powell
4e3d7a6e30 Show a better warning when certtool/openssl are missing. 2015-06-15 21:30:27 +01:00
Attila Molnar
77b5bd0dbc Merge pull request #1058 from SaberUK/insp20+nationalchars
[2.0] Fix various issues with the nationalchars module.
2015-06-15 22:07:05 +02:00
Attila Molnar
baccf1eba4 Merge pull request #1061 from SaberUK/insp20+fix-fbsd
[2.0] Fix mistakenly using Clang instead of GCC on older FreeBSD versions.
2015-06-15 22:00:36 +02:00
Attila Molnar
5d8fd0cf2c Merge pull request #1060 from SaberUK/insp20+install
[2.0] Fix system-wide installation of the data and log directories.
2015-06-15 22:00:24 +02:00
Peter Powell
68211809ee Fix mistakenly using Clang instead of GCC on older FreeBSD versions. 2015-06-14 23:41:33 +01:00
Peter Powell
2ad8a6791b Fix system-wide installation of the data and log directories.
The existing method works fine when building with the default
paths but breaks when you are doing a system-wide installation.
2015-06-14 19:39:15 +01:00
Peter Powell
8ffce4d2f3 Fix various issues with the nationalchars module.
- Strip the directory name in the default casemapping value.
- Error out if the casemapping value contains a space.
- Error out if the locale file failed to load.
- Fix relative file path when building on Windows.
- Install nationalchars files on Windows.
2015-06-14 18:18:26 +01:00
Attila Molnar
10127b6540 Merge pull request #1043 from SaberUK/insp20+fix-caching
[2.0] Fix configure overwriting the cache settings on startup.
2015-05-12 18:08:57 +02:00
Peter Powell
92dceac40c Fix configure overwriting the cache settings on startup. 2015-05-12 12:37:37 +01:00
Attila Molnar
819d9bade2 Release v2.0.20 v2.0.20 2015-05-10 07:24:10 +02:00
Attila Molnar
09d94db2f0 Merge pull request #1039 from SaberUK/insp20+fix-restrictmsg-uline
[2.0] Fix not being able to message ulines when m_restrictmsg is loaded.
2015-05-10 07:22:45 +02:00
Peter Powell
15b0a1853d Fix not being able to message ulines when m_restrictmsg is loaded. 2015-05-10 04:50:35 +01:00
Attila Molnar
ba1efa77c3 m_ssl_gnutls Hold users in pre-registration state until the handshake is completed 2015-05-10 00:37:28 +02:00
Attila Molnar
1548078e5d Release v2.0.19 v2.0.19 2015-04-16 23:17:02 +02:00
Attila Molnar
b3c338c094 m_sasl Update description, SASL is no longer exclusive to Atheme 2015-04-16 23:12:47 +02:00
Attila Molnar
9f69e159ad m_dccallow Validate tokens before use 2015-04-16 23:00:56 +02:00
Attila Molnar
64faca29b3 cmd_userhost Fix +H hidden opers being shown as opers 2015-04-16 22:51:41 +02:00
Attila Molnar
c490a9061f Revert c8b344ea748d62d9f37cacd4dd785f15b186725c to fix regression
Fixes issue #989 reported by @B00mX0r
2015-04-16 22:50:06 +02:00
Attila Molnar
9e0327b22a Merge branch 'insp20+timedbans' into insp20 2015-04-16 21:20:02 +02:00
Attila Molnar
a0c331eff3 m_sasl Add missing validation for server-to-server SASL message 2015-04-16 21:13:07 +02:00
Attila Molnar
6058483d9f Reject replies to DNS PTR requests that contain invalid characters
Fixes issue #1033 reported by @ping86
2015-04-16 18:04:03 +02:00
Attila Molnar
4e24fb7c19 m_timedbans Notice user when trying to set a ban that's already set 2015-04-13 15:49:29 +02:00
Attila Molnar
b7526f6efd m_timedbans Extract IsBanSet() to a function 2015-04-13 15:48:00 +02:00
Attila Molnar
0243179509 m_timedbans On channel destruction remove all timed bans belonging to the channel from internal bookkeeping 2015-04-13 15:42:06 +02:00
Attila Molnar
8723866b4c m_timedbans Store Channel pointer in struct TimedBan 2015-04-13 15:40:26 +02:00
Attila Molnar
4dd7fb60a8 Merge pull request #1004 from SaberUK/insp20+fix-various-warnings
[2.0] Fix various warnings with the new Doxygen and LLVM releases.
2015-03-23 00:42:59 +01:00
Attila Molnar
74fa7f46dc Merge pull request #1016 from Renegade334/insp20+docs-no-extbanM
Remove non-existant extban M: from docs
2015-03-23 00:40:09 +01:00
Attila Molnar
a4d14459b3 Merge pull request #1009 from SaberUK/insp20+fix-dirty-env
[2.0] Fix building when VERBOSE is already set in the environment.
2015-03-23 00:40:05 +01:00
Adam
7f051bcc51 Rebuild clone counts on rehash 2015-03-21 12:53:21 -04:00
Renegade334
7a0e881ffe Remove non-existant extban M: from docs
extban M: has not existed since 2d732f4d in 2009...
2015-03-17 23:22:54 +00:00
Peter Powell
8cae3800ef 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.
2015-03-09 15:26:40 +00:00
Peter Powell
c38d29fd76 Fix various Doxygen warnings. 2015-02-27 00:34:21 +00:00
Peter Powell
c5a85f686e Upgrade Doxyfile from 1.8.3.1 to 1.8.9.1.
Also, strip comments by request of @attilamolnar.
2015-02-27 00:34:04 +00:00
Peter Powell
db7b2a603d Fix various Clang warnings.
- warning: 'register' storage class specifier is deprecated.
2015-02-26 07:41:46 +00:00
Attila Molnar
c85a46ff97 Merge pull request #1002 from SaberUK/insp20+fix-cgiirc-crash
[2.0] Fix a minor crash when a user has no class after OnCheckReady.
2015-02-24 22:30:45 +01:00
Peter Powell
81841f76c8 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.
2015-02-23 22:28:46 +00:00
Attila Molnar
d3124462f2 Merge pull request #992 from SaberUK/insp20+fix-error-message
[2.0] Fix erroneous error messages in configure.
2015-02-17 16:10:04 +01:00
Peter Powell
9f4038f620 Fix erroneous error messages in configure. 2015-02-12 22:12:54 +00:00
Attila Molnar
cde9fdc38b Remove outdated ircservices and neostats config examples
Issue #991
2015-02-09 00:09:38 +01:00
Attila Molnar
40bcbd81b6 cmd_userhost List 5 users in the reply even if the query (incorrectly) contains more than 5 nicks 2015-02-04 19:16:20 +01:00
Attila Molnar
f6ace5e808 m_spanningtree Fix TreeRoot UserCount being possibly wrong if loaded after startup 2015-02-04 18:53:28 +01:00
Attila Molnar
1c81963c73 threadengine_pthread Throw CoreExceptions instead of CoreException pointers 2015-02-02 23:39:40 +01:00
Attila Molnar
f8185feff7 m_abbreviation Fix typo in numeric text 2015-01-21 19:08:30 +01:00
Attila Molnar
22d6da594d Fix numeric ERR_NOTREGISTERED not containing the user's nick 2015-01-21 19:07:44 +01:00
Attila Molnar
383a68a38a Merge pull request #961 from SaberUK/insp20+fix-snotice
Fix a snotice in m_spanningtree incorrectly using an unsigned long.
2015-01-21 19:04:10 +01:00
Attila Molnar
54ecd7ff91 Merge branch 'insp20+penalty' into insp20 2015-01-19 17:47:03 +01:00