]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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 [Tue, 11 Jul 2017 13:34:43 +0000 (15:34 +0200)]
Merge pull request #1310 from rburchell/master
Improve and centralize socket engine event counters.
Robin Burchell [Wed, 22 Mar 2017 16:59:08 +0000 (17:59 +0100)]
Improve and centralize socket engine event counters.
The write counters were close to useless because they were only
incremented on a write "event" which is only triggered when writing
would block.
Read handling was a little more useful in that all reads must happen
through the socket engine, so these were happening at the correct time,
but we can clean this up by doing it in the SE itself rather than each
platform port.
This means that both read and write events are now easily and usefully
defined as "a syscall of either read or write was attempted".
We also count empty read and write events as being an event, because
they still were an attempt to poll a socket in some way. This may help
to identify "bad" code which is repeatedly trying to read a socket for
some reason.
Lastly, we check for failed read/write calls, and log them as an error
event. A lot of the time, this is how sockets are determined as being
disconnected (ie. at read/write time).
While we're at it, split Update() in two to make the calls more
self-describing. This has no real impact since only one call is made at
a time anyway.
Peter Powell [Sun, 9 Jul 2017 21:36:40 +0000 (22:36 +0100)]
Merge v2.0.23 and v2.0.24 into master.
Attila Molnar [Sun, 9 Jul 2017 19:46:20 +0000 (21:46 +0200)]
Merge pull request #1302 from Adam-/master+txt
core_dns: add support for txt records
Attila Molnar [Sun, 9 Jul 2017 19:16:52 +0000 (21:16 +0200)]
Merge pull request #1338 from SaberUK/master+openvz
Warn the user about clock drifting when running on OpenVZ.
Attila Molnar [Sun, 9 Jul 2017 19:15:49 +0000 (21:15 +0200)]
Merge pull request #1320 from SaberUK/master+autoperm
Automatically apply +P to all permanent channels.
Attila Molnar [Sun, 9 Jul 2017 19:15:01 +0000 (21:15 +0200)]
Merge pull request #1335 from SaberUK/master+se
Tidy up the socket engine selection code.
Attila Molnar [Sun, 9 Jul 2017 19:14:28 +0000 (21:14 +0200)]
Merge pull request #1334 from SaberUK/master+md5
Remove some dead code from m_md5.
Attila Molnar [Sun, 9 Jul 2017 19:14:01 +0000 (21:14 +0200)]
Merge pull request #1319 from SaberUK/master+compiler-detection
Switch compiler detection to use a more reliable method.
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 [Thu, 22 Jun 2017 11:24:11 +0000 (12:24 +0100)]
Allow filtering WebIRC connections into a connect class by gateway.
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 [Tue, 16 May 2017 10:18:10 +0000 (11:18 +0100)]
Warn the user about clock drifting when running on OpenVZ.
Peter Powell [Fri, 19 May 2017 16:28:37 +0000 (17:28 +0100)]
Tidy up the socket engine selection code.
Peter Powell [Fri, 19 May 2017 11:39:01 +0000 (12:39 +0100)]
Remove some dead code from m_md5.
This is left over from the old hashing system that allowed you to
customise these values.
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.
Adam [Sun, 3 May 2015 23:33:02 +0000 (19:33 -0400)]
core_dns: add support for txt records
This might be used later by m_dnsbl to get reasons for listings
Peter Powell [Tue, 11 Apr 2017 22:13:26 +0000 (23:13 +0100)]
Automatically apply +P to all permanent channels.
Peter Powell [Wed, 22 Mar 2017 17:44:33 +0000 (17:44 +0000)]
Switch compiler detection to use a more reliable method.
Its clear that parsing version output is not reliable enough so
switch to using a method which is less likely to break.
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 [Tue, 4 Apr 2017 22:26:03 +0000 (18:26 -0400)]
Merge pull request #1311 from SaberUK/master+mm-cleanup
Initial ModuleManager cleanup.
Attila Molnar [Fri, 31 Mar 2017 13:30:27 +0000 (15:30 +0200)]
Merge pull request #1307 from GLolol/patch-1
Fix wrong service name for /infoserv in atheme.conf.example
Peter Powell [Fri, 24 Mar 2017 23:20:28 +0000 (23:20 +0000)]
Adapt modulemanager for the API added in the previous commit.
Peter Powell [Fri, 24 Mar 2017 23:11:40 +0000 (23:11 +0000)]
Add a nice API for command line interfaces to make::console.
Peter Powell [Fri, 24 Mar 2017 22:00:00 +0000 (22:00 +0000)]
Use the standard Perl prelude in ModuleManager.
Peter Powell [Fri, 24 Mar 2017 21:55:29 +0000 (21:55 +0000)]
Replace module_installed with eval.
Peter Powell [Fri, 24 Mar 2017 21:48:17 +0000 (21:48 +0000)]
Amend modulemanager to use {read,write}_config_file.
Peter Powell [Fri, 24 Mar 2017 21:44:33 +0000 (21:44 +0000)]
Extract core logic of write_configure_cache to write_config_file.
Peter Powell [Fri, 24 Mar 2017 21:00:01 +0000 (21:00 +0000)]
Rename read_configure_cache to read_config_file and move to common.
Adam [Mon, 20 Mar 2017 17:10:07 +0000 (13:10 -0400)]
m_ldapauth: use username provided in PASS if available
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 11:43:24 +0000 (11:43 +0000)]
Move the OnCheckExemption hook out of the core.
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]
James Lu [Mon, 20 Mar 2017 01:49:37 +0000 (18:49 -0700)]
Fix wrong service name for /infoserv in atheme.conf.example
Fixes #1306.
Peter Powell [Mon, 6 Mar 2017 01:04:40 +0000 (01:04 +0000)]
Add support for generating a certificate signing request to genssl.
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 20:32:11 +0000 (21:32 +0100)]
Merge pull request #1292 from SaberUK/master+flush
Allow <log> tags to specify how often logs should be flushed.
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
Peter Powell [Sun, 5 Feb 2017 19:05:27 +0000 (19:05 +0000)]
Allow <log> tags to specify how often logs should be flushed.
Also use the behaviour behind this to fix #1290.
Adam [Sun, 26 Feb 2017 21:59:16 +0000 (16:59 -0500)]
m_sasl: use host/ip from m_cgiirc if applicable
Attila Molnar [Tue, 14 Feb 2017 17:46:37 +0000 (18:46 +0100)]
Merge pull request #1287 from SaberUK/master+filter-docs
Fix some minor problems with the filter docs.
Peter Powell [Thu, 8 Dec 2016 01:58:59 +0000 (01:58 +0000)]
Make the config system case insensitive.
Peter Powell [Sat, 28 Jan 2017 16:48:13 +0000 (16:48 +0000)]
Fix some minor problems with the filter docs.
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 [Fri, 30 Dec 2016 18:05:00 +0000 (19:05 +0100)]
cmd_mode Switch to a numeric for showing modes of other users
Attila Molnar [Fri, 30 Dec 2016 17:58:31 +0000 (18:58 +0100)]
Clean up User::FormatModes(), rename to GetModeLetters()
Prefix the returned string with '+'
Attila Molnar [Fri, 30 Dec 2016 17:53:04 +0000 (18:53 +0100)]
Make ModeHandler::GetUserParameter() const, accept const User
Attila Molnar [Fri, 30 Dec 2016 17:51:56 +0000 (18:51 +0100)]
Make all User::IsModeSet() methods const, accept const ModeHandler
Attila Molnar [Fri, 30 Dec 2016 17:44:39 +0000 (18:44 +0100)]
Deduplicate nickname overruling code
Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree
Attila Molnar [Fri, 30 Dec 2016 16:36:20 +0000 (17:36 +0100)]
Remove remaining doxygen doc for "pcnt" parameters
Attila Molnar [Fri, 30 Dec 2016 16:32:01 +0000 (17:32 +0100)]
Penalize commands that had 0 penalty
Peter Powell [Tue, 20 Sep 2016 04:35:11 +0000 (05:35 +0100)]
Fix the default xline.db path in modules.conf.example.
Attila Molnar [Thu, 29 Dec 2016 15:05:19 +0000 (16:05 +0100)]
Merge pull request #1273 from SaberUK/master+bs
Fix the clock_gettime() test on macOS Sierra
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.
Attila Molnar [Thu, 29 Dec 2016 14:51:04 +0000 (15:51 +0100)]
Merge pull request #1274 from SaberUK/master+cxx
Add interactive-mode support for setting the compiler binary.
Peter Powell [Mon, 26 Dec 2016 07:01:03 +0000 (07:01 +0000)]
Use clock_gettime() on macOS 10.12.
Peter Powell [Mon, 26 Dec 2016 05:42:04 +0000 (05:42 +0000)]
Add interactive-mode support for setting the compiler binary.
Peter Powell [Mon, 26 Dec 2016 05:17:41 +0000 (05:17 +0000)]
Fix the clock_gettime() test on macOS Sierra.
macOS now supports clock_gettime() but it is part of libSystem
rather than librt which does not exist on macOS.
Peter Powell [Mon, 26 Dec 2016 05:07:40 +0000 (05:07 +0000)]
Don't suppress error output when INSPIRCD_VERBOSE is set.
Peter Powell [Thu, 22 Dec 2016 00:55:53 +0000 (00:55 +0000)]
Always append the SSL fingerprint even if EXTERNAL is not used.
Adam [Tue, 20 Dec 2016 00:13:24 +0000 (19:13 -0500)]
m_sasl: send host/ip info
Attila Molnar [Mon, 19 Dec 2016 20:08:40 +0000 (21:08 +0100)]
Merge pull request #1261 from SaberUK/master+genssl
Make genssl use STDERR and the real binary name for error messages.
Sheogorath [Sat, 10 Dec 2016 21:25:43 +0000 (22:25 +0100)]
fix channel rank issue
Peter Powell [Thu, 8 Dec 2016 01:57:47 +0000 (01:57 +0000)]
Store config values in a map instead of a unique vector of pairs.
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.