]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Peter Powell [Tue, 7 Nov 2017 14:15:50 +0000 (14:15 +0000)]
Merge pull request #1255 from genius3000/insp20+timedbans
2.0: Fix various inconsistencies in m_timedbans.
genius3000 [Tue, 22 Nov 2016 05:00:27 +0000 (22:00 -0700)]
Improve (synchronize) the notices in m_timedbans
* Send to remote servers upon setting
* Send to halfop if available upon expiry
Peter Powell [Mon, 6 Nov 2017 11:11:22 +0000 (11:11 +0000)]
Merge pull request #1359 from genius3000/insp20+sasl_no_server
2.0: Inform the client when a SASL message cannot be sent
genius3000 [Thu, 27 Jul 2017 09:05:44 +0000 (03:05 -0600)]
Inform the client when a SASL message cannot be sent
When SASL is properly configured with a 'target' server, we are able
to inform the client when the message fails to send.
Currently if a target is configured and it is offline, no response is
sent. This can cause some clients to time out while waiting for a response.
If a target isn't configured, behaviour will not change with this commit.
The default of '*' will still send to all servers.
Updated example config with 'target' variable.
Peter Powell [Sun, 22 Oct 2017 22:51:15 +0000 (23:51 +0100)]
Use InvalidateCache in the sockaddrs overload of OnSetClientIP.
This was done to the string variant in
d3b82b2f7f .
Peter Powell [Sun, 5 Nov 2017 22:43:36 +0000 (22:43 +0000)]
Merge pull request #1410 from jcjordyn130/insp20
Fix CMD_RESTART with relative paths as argv[0].
Jordyn/The Linux Geek [Sat, 4 Nov 2017 23:13:41 +0000 (18:13 -0500)]
Fix CMD_RESTART with relative paths as argv[0].
Adam [Fri, 27 Oct 2017 00:23:24 +0000 (20:23 -0400)]
ConfigReader: fix compilers optimizing NULL check in ConfigTag::readString()
See:
66f82ccf926aac39273bfc652c85c08080cc9a46
Fixes inspircd/inspircd-extras#110
Peter Powell [Tue, 17 Oct 2017 23:36:26 +0000 (00:36 +0100)]
Fix sending a malformed 410 numeric when sent empty CAP commands.
Peter Powell [Mon, 16 Oct 2017 16:00:53 +0000 (17:00 +0100)]
Fix the command table not being case insensitive.
This is not an issue normally but in some circumstances (e.g. when
disabling commands) it can result in command lookups failing even
when they exist.
Peter Powell [Sun, 20 Aug 2017 16:47:38 +0000 (17:47 +0100)]
Update wiki links to use HTTPS and point to the correct pages.
When we release 3.0 these links will break as they will point to
the pages for 3.0 rather than 2.0.
Peter Powell [Wed, 11 Oct 2017 11:15:05 +0000 (12:15 +0100)]
Include connection security with the SASL host information.
See atheme/atheme@
b41753f740 for more details.
Peter Powell [Thu, 14 Sep 2017 13:52:42 +0000 (14:52 +0100)]
Fix the command for enabling m_sqlite3 in modules.conf.example.
Peter Powell [Sat, 15 Jul 2017 17:04:26 +0000 (18:04 +0100)]
Fix killing elined clients on [gkz]line in some cases.
Peter Powell [Fri, 8 Sep 2017 19:47:10 +0000 (20:47 +0100)]
Fix m_cgiirc allowing malformed hosts sent via WEBIRC.
Peter Powell [Thu, 31 Aug 2017 21:51:58 +0000 (22:51 +0100)]
Fix {Host,IP}MatchesEveryone using Match instead of MatchCIDR.
MatchCIDR is what [GKZ]Line::Matches uses it so we should also use
it here to prevent insane bans that should not pass from passing.
Peter Powell [Sat, 26 Aug 2017 16:25:20 +0000 (17:25 +0100)]
Use DLLManager::RetrieveLastError() on all platforms.
This prevents a bug where we send malformed messages to the client
when dlerror() returns an error message containing more than one
line. This has been observed on macOS but probably will happen on
other UNIX systems too.
This also fixes a potential problem where dlerror() returns NULL
and converting it to std::string causes a crash. I can't see any
way that this might happen but it is better to be safe than sorry.
Peter Powell [Fri, 25 Aug 2017 12:12:44 +0000 (13:12 +0100)]
Fix mistakenly hardcoding the halfop prefix char in timedbans.
This will almost always be % but if the server admin is using the
customprefix module and remaps it to something else messages will
not be sent out correctly.
Peter Powell [Sun, 13 Aug 2017 16:24:20 +0000 (17:24 +0100)]
Update the link to the CIDR subnetting charts.
Peter Powell [Sat, 5 Aug 2017 17:33:54 +0000 (18:33 +0100)]
Merge pull request #1347 from SaberUK/insp20+ctcp-action
[2.0] Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.
Peter Powell [Mon, 24 Jul 2017 13:04:34 +0000 (14:04 +0100)]
Add ADMIN to the list of commands that shunned users can run.
Peter Powell [Tue, 11 Jul 2017 14:48:11 +0000 (15:48 +0100)]
Merge pull request #1283 from SaberUK/insp20+mailmap
[2.0] Add a mailmap to clean up the output of git-shortlog.
Attila Molnar [Sun, 9 Jul 2017 19:10:27 +0000 (21:10 +0200)]
Merge pull request #1333 from SaberUK/insp20+openbsd
[2.0] Tell OpenBSD users that they need to use a different make command.
Attila Molnar [Sun, 9 Jul 2017 19:04:34 +0000 (21:04 +0200)]
Merge pull request #1343 from SaberUK/insp20+securelist
[2.0] Update the securelist exemption for IRC-Source's crawler.
Peter Powell [Fri, 16 Jun 2017 17:08:40 +0000 (18:08 +0100)]
Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.
Previously we assumed that CTCP ACTIONs matched "\1ACTION ". This
is incorrect because "\1ACTION\1" and "\1ACTION" are valid CTCPs.
Peter Powell [Tue, 30 May 2017 07:49:14 +0000 (08:49 +0100)]
Update the securelist exemption for IRC-Source's crawler.
Peter Powell [Fri, 19 May 2017 09:37:24 +0000 (10:37 +0100)]
Tell OpenBSD users that they need to use a different make command.
Adam [Thu, 18 May 2017 12:35:22 +0000 (08:35 -0400)]
Release v2.0.24
Adam [Thu, 18 May 2017 00:10:51 +0000 (20:10 -0400)]
m_override: fix parentheses compiler warning
Adam [Wed, 17 May 2017 23:46:28 +0000 (19:46 -0400)]
Merge pull request #1094 from SISheogorath/insp20+fixed-Override
fix override issue
Adam [Wed, 17 May 2017 22:03:38 +0000 (18:03 -0400)]
Merge pull request #1328 from Adam-/insp20+sakick
m_sakick: remove unused "Unable to kick" notice
Adam [Wed, 17 May 2017 22:02:54 +0000 (18:02 -0400)]
Merge pull request #1284 from Adam-/insp20+preregcloak
m_cloaking: don't apply cloak to already cloaked users during registration
Adam [Wed, 7 Sep 2016 20:08:28 +0000 (16:08 -0400)]
m_cloaking: don't apply cloak to already cloaked users during registration
This can happen if services set a vhost during registration (like with
SASL)
Attila Molnar [Wed, 17 May 2017 21:48:38 +0000 (23:48 +0200)]
Merge pull request #1330 from SaberUK/insp20+mm-inc
[2.0] Fix ModuleManager not being able to find make::configure.
Attila Molnar [Wed, 17 May 2017 21:47:27 +0000 (23:47 +0200)]
Merge pull request #1321 from SaberUK/insp20+permwarn
[2.0] Warn when a user configures a permanent channel without +P.
Attila Molnar [Wed, 17 May 2017 21:44:34 +0000 (23:44 +0200)]
Merge pull request #1269 from Adam-/insp20+saslhost
m_sasl: send host/ip info
Attila Molnar [Wed, 17 May 2017 21:41:32 +0000 (23:41 +0200)]
Merge pull request #1230 from SaberUK/insp20+ipcache
[2.0] Invalidate the caches properly when User::SetClientIP is called.
Attila Molnar [Wed, 17 May 2017 21:37:29 +0000 (23:37 +0200)]
Merge pull request #1318 from SaberUK/insp20+dumpver
[2.0] Fix compiler version parsing on GCC 7.
Peter Powell [Tue, 16 May 2017 16:40:16 +0000 (17:40 +0100)]
Fix ModuleManager not being able to find make::configure.
Adam [Thu, 11 May 2017 12:47:46 +0000 (08:47 -0400)]
m_sakick: remove unused "Unable to kick" notice
This has never worked due to the channel lookup using the user's nick
Adam [Tue, 9 May 2017 22:37:23 +0000 (18:37 -0400)]
win: set CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION to . so the runtime libraries are not placed in bin
Adam [Fri, 28 Apr 2017 17:16:43 +0000 (13:16 -0400)]
Merge pull request #1324 from SaberUK/insp20+cgiirc
[2.0] Fix WEBIRC not rejecting invalid IP addresses.
Peter Powell [Thu, 27 Apr 2017 01:56:59 +0000 (02:56 +0100)]
Penalise clients that use WEBIRC incorrectly.
Peter Powell [Thu, 27 Apr 2017 01:52:51 +0000 (02:52 +0100)]
Fix WEBIRC not rejecting invalid IP addresses.
Peter Powell [Wed, 18 Jan 2017 14:52:32 +0000 (14:52 +0000)]
Add a mailmap to clean up the output of git-shortlog.
Peter Powell [Fri, 14 Apr 2017 14:40:24 +0000 (15:40 +0100)]
Warn when a user configures a permanent channel without +P.
Peter Powell [Tue, 21 Mar 2017 22:52:12 +0000 (22:52 +0000)]
Fix compiler version parsing on GCC 7.
GCC 7 may optionally omit the MINOR version number in dumpversion
depending on the compiler flags it was built with.
Adam [Tue, 11 Apr 2017 20:04:36 +0000 (16:04 -0400)]
Merge pull request #1316 from SaberUK/master+sslmodes
[2.0] Clarify that m_sslmodes depends on m_sslinfo.
Adam [Tue, 11 Apr 2017 20:03:32 +0000 (16:03 -0400)]
Merge pull request #1315 from SaberUK/insp20+securelist
[2.0] Update securelist exception list.
Peter Powell [Tue, 11 Apr 2017 19:55:41 +0000 (20:55 +0100)]
Clarify that m_sslmodes depends on m_sslinfo.
Peter Powell [Fri, 7 Apr 2017 14:53:12 +0000 (15:53 +0100)]
Update securelist exception list.
- Add an exception for IRC-Source.
- Remove an exception for SearchIRC.
- Remove an old exception for netsplit.
Adam [Mon, 20 Mar 2017 13:38:46 +0000 (09:38 -0400)]
modules.conf.example: document useusername in ldapauth
Adam [Mon, 20 Mar 2017 13:35:13 +0000 (09:35 -0400)]
m_ldapauth: fix providing username in PASS
This has never worked because it never prepended attribute= to the
search string. It also would prefer matching nick/ident over the user
string provided which is inconsistent, since your ability to
authenticate using PASS would depend on a ldap entry not existing with
your current nick/ident.
Instead, use username provided in PASS and then fallback to nick/ident.
Adam [Mon, 20 Mar 2017 12:06:32 +0000 (08:06 -0400)]
Merge pull request #1308 from SaberUK/insp20+warnings
[2.0] Fix some compiler warnings.
Adam [Mon, 20 Mar 2017 11:59:48 +0000 (07:59 -0400)]
cmd_who: don't show +p channels or channels hidden with m_hidechans
Fixes #1276
Peter Powell [Mon, 20 Mar 2017 10:24:01 +0000 (10:24 +0000)]
Fix some compiler warnings.
warning: macro name is a reserved identifier [-Wreserved-id-macro]
warning: extra ';' after member function definition [-Wextra-semi]
Attila Molnar [Sun, 5 Mar 2017 20:35:03 +0000 (21:35 +0100)]
Merge pull request #1266 from Adam-/insp20+cloakip
m_cloaking: fix host/ip comparisons #1249
Attila Molnar [Sun, 5 Mar 2017 19:39:44 +0000 (20:39 +0100)]
Merge pull request #1280 from Adam-/insp20+dnsblcheck
m_dnsbl: check returned results are in 127.0.0.0/8
Adam [Sun, 26 Feb 2017 21:59:16 +0000 (16:59 -0500)]
m_sasl: use host/ip from m_cgiirc if applicable
Adam [Sun, 8 Jan 2017 19:18:24 +0000 (14:18 -0500)]
m_dnsbl: check returned results are in 127.0.0.0/8
Attila Molnar [Thu, 29 Dec 2016 15:04:03 +0000 (16:04 +0100)]
Merge pull request #1275 from SaberUK/insp20+clock-gettime-osx
[2.0] Use clock_gettime() on macOS 10.12.
Peter Powell [Mon, 26 Dec 2016 07:01:03 +0000 (07:01 +0000)]
Use clock_gettime() on macOS 10.12.
Adam [Tue, 20 Dec 2016 00:13:24 +0000 (19:13 -0500)]
m_sasl: send host/ip info
Sheogorath [Sat, 10 Dec 2016 21:25:43 +0000 (22:25 +0100)]
fix channel rank issue
Attila Molnar [Wed, 7 Dec 2016 16:48:38 +0000 (17:48 +0100)]
Merge pull request #1254 from genius3000/insp20+fixPIstatusmsgs
Fix spanningtree protocol interface sending statusmsgs to whole channel
genius3000 [Mon, 21 Nov 2016 18:44:18 +0000 (11:44 -0700)]
Fix SpanningTreeProtocolInterface::SendChannelPrivmsg() and SendChannelNotice() sending statusmsgs to whole channel
Attila Molnar [Mon, 5 Dec 2016 10:37:08 +0000 (11:37 +0100)]
Fix users receiving a QUIT with themselves as source when host cycling in certain cases
The OnBuildNeighborList handler in m_auditorium can add the cycling user to the exceptions as an always send exception. To fix, remove the user from the exceptions before processing them.
Reported by @genius3000 on IRC
Attila Molnar [Mon, 5 Dec 2016 09:45:15 +0000 (10:45 +0100)]
Merge pull request #1262 from SaberUK/insp20+fix-travis
[2.0] Backport the master Travis changes to insp20.
Attila Molnar [Mon, 5 Dec 2016 09:45:04 +0000 (10:45 +0100)]
Merge pull request #1253 from SaberUK/insp20+bigger-warning
[2.0] Add a bigger warning about deprecated things being removed.
Peter Powell [Fri, 2 Dec 2016 14:15:11 +0000 (14:15 +0000)]
Fix pure static builds.
Peter Powell [Fri, 2 Dec 2016 14:04:30 +0000 (14:04 +0000)]
Backport the master Travis changes to insp20.
Attila Molnar [Tue, 22 Nov 2016 13:50:32 +0000 (14:50 +0100)]
Merge pull request #1257 from Adam-/insp20+musl
socketengine_epoll: use getrlimit not ulimit
Adam [Tue, 22 Nov 2016 01:56:39 +0000 (20:56 -0500)]
socketengine_epoll: use getrlimit not ulimit
Peter Powell [Wed, 12 Oct 2016 17:14:54 +0000 (18:14 +0100)]
Add a bigger warning about deprecated things being removed.
Adam [Sat, 12 Nov 2016 23:55:26 +0000 (18:55 -0500)]
m_cloaking: fix host/ip comparisons #1249
Attila Molnar [Tue, 8 Nov 2016 13:46:34 +0000 (14:46 +0100)]
Merge pull request #1245 from SaberUK/insp20+perl
[2.0] Workaround modern Perls not adding . to @INC.
Peter Powell [Tue, 8 Nov 2016 08:15:25 +0000 (08:15 +0000)]
Workaround modern Perls not adding . to @INC.
Attila Molnar [Mon, 10 Oct 2016 16:34:54 +0000 (18:34 +0200)]
Merge pull request #1233 from Natolumin/sanitize-gecos
m_httpd_stats: Also sanitize other server gecos
Anatole Denis [Sun, 9 Oct 2016 16:19:23 +0000 (18:19 +0200)]
m_httpd_stats: Also sanitize other server gecos
Peter Powell [Sun, 25 Sep 2016 20:41:05 +0000 (21:41 +0100)]
Invalidate the caches properly when User::SetClientIP is called.
Attila Molnar [Mon, 12 Sep 2016 14:17:48 +0000 (16:17 +0200)]
Merge pull request #1210 from Adam-/insp20+saslnick
m_sasl: really abort sasl session on register
Adam [Tue, 6 Sep 2016 02:26:33 +0000 (22:26 -0400)]
m_sasl: really abort sasl session on register
Adam [Sat, 3 Sep 2016 14:51:50 +0000 (10:51 -0400)]
Release v2.0.23
Adam [Sat, 3 Sep 2016 02:57:03 +0000 (22:57 -0400)]
m_sasl: don't allow AUTHENTICATE with mechanisms with a space
Attila Molnar [Fri, 2 Sep 2016 15:08:41 +0000 (17:08 +0200)]
m_jumpserver Prevent OnUserRegister from running in other modules for users we quit
Attila Molnar [Wed, 17 Aug 2016 12:08:30 +0000 (14:08 +0200)]
m_sqlite3 Fix possible memory leak when opening a database fails
Attila Molnar [Sat, 13 Aug 2016 16:23:19 +0000 (18:23 +0200)]
Release v2.0.22
Attila Molnar [Sat, 13 Aug 2016 16:23:12 +0000 (18:23 +0200)]
m_censor Fix possible incorrect cast of dest
Attila Molnar [Sat, 13 Aug 2016 16:11:57 +0000 (18:11 +0200)]
Fix more incorrect std::string::operator[] usage
Attila Molnar [Mon, 8 Aug 2016 08:57:04 +0000 (10:57 +0200)]
Merge pull request #1196 from SaberUK/insp20+sha256
[2.0] Fix challenge auth when using m_hash_gnutls instead of m_sha256.
Peter Powell [Fri, 5 Aug 2016 19:50:11 +0000 (20:50 +0100)]
Fix challenge auth when using m_hash_gnutls instead of m_sha256.
Attila Molnar [Tue, 2 Aug 2016 08:16:24 +0000 (10:16 +0200)]
Merge pull request #1193 from Adam-/insp20+banburst
Fix bursting channel bans
Adam [Fri, 29 Jul 2016 17:09:43 +0000 (13:09 -0400)]
Fix bursting channel bans
Attila Molnar [Mon, 1 Aug 2016 07:50:40 +0000 (09:50 +0200)]
Merge pull request #1191 from SaberUK/insp20+travis
[2.0] Force link sqlite3 on OS X when doing Travis builds.
Peter Powell [Thu, 28 Jul 2016 14:32:13 +0000 (15:32 +0100)]
Force link sqlite3 on OS X when doing Travis builds.
The system version of this library does not include support for pkg-config.
Attila Molnar [Fri, 22 Jul 2016 10:04:35 +0000 (12:04 +0200)]
m_ssl_openssl Verify DH params being non-NULL before setting it on the context
Fixes issue reported by @m4rkw on IRC
Attila Molnar [Mon, 27 Jun 2016 14:55:40 +0000 (16:55 +0200)]
Merge pull request #1181 from SaberUK/insp20+null
[2.0] GCC should never assume that this can not be null.
Peter Powell [Sat, 4 Jun 2016 11:55:17 +0000 (12:55 +0100)]
GCC should never assume that this can not be null.
Attila Molnar [Tue, 21 Jun 2016 13:07:43 +0000 (15:07 +0200)]
m_ssl_gnutls, m_ssl_openssl After a read schedule another read if data remains in the buffer of the SSL library
Attila Molnar [Fri, 17 Jun 2016 10:04:12 +0000 (12:04 +0200)]
Don't exit on rehash if the pid file cannot be written