summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-07-11Improve and centralize socket engine event counters.Robin Burchell
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.
2017-07-09Merge pull request #1302 from Adam-/master+txtAttila Molnar
core_dns: add support for txt records
2017-07-09Merge pull request #1320 from SaberUK/master+autopermAttila Molnar
Automatically apply +P to all permanent channels.
2017-05-19Remove some dead code from m_md5.Peter Powell
This is left over from the old hashing system that allowed you to customise these values.
2017-04-23core_dns: add support for txt recordsAdam
This might be used later by m_dnsbl to get reasons for listings
2017-04-14Automatically apply +P to all permanent channels.Peter Powell
2017-03-20m_ldapauth: use username provided in PASS if availableAdam
2017-02-28Allow <log> tags to specify how often logs should be flushed.Peter Powell
Also use the behaviour behind this to fix #1290.
2016-12-30cmd_mode Switch to a numeric for showing modes of other usersAttila Molnar
2016-12-30Clean up User::FormatModes(), rename to GetModeLetters()Attila Molnar
Prefix the returned string with '+'
2016-12-30Make ModeHandler::GetUserParameter() const, accept const UserAttila Molnar
2016-12-30Make all User::IsModeSet() methods const, accept const ModeHandlerAttila Molnar
2016-12-30Deduplicate nickname overruling codeAttila Molnar
Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree
2016-12-30Remove remaining doxygen doc for "pcnt" parametersAttila Molnar
2016-12-30Penalize commands that had 0 penaltyAttila Molnar
2016-11-23Fix LibreSSL not having a shim for the OpenSSL 1.1 BIO API.Peter Powell
2016-11-16Merge pull request #1234 from SaberUK/master+config2Attila Molnar
Rework the example services aliases.
2016-11-16Rework the example services aliases.Peter Powell
- Split common stuff into a generic configuration file. - Reserve all nicknames used by services by default. - Exempt all services clients from filtering. - Add missing aliases for services pseudoclients.
2016-11-12Allow listeners to be able to listen on unavailable addresses.Peter Powell
2016-11-01Merge pull request #1238 from SaberUK/master+opensslAttila Molnar
Fix OpenSSL build errors caused by BIO/BIO_METHOD now being opaque.
2016-11-01Merge pull request #1236 from SaberUK/master+portAttila Molnar
Allow classes to take a port range.
2016-11-01Merge pull request #1215 from SaberUK/master+configAttila Molnar
Strip carriage returns in the config parser.
2016-11-01Merge pull request #1185 from SaberUK/master+lockservAttila Molnar
Allow the reason for locking to be specified in m_lockserv.
2016-11-01Merge pull request #1184 from SaberUK/master+floodAttila Molnar
Improvements to flood modules
2016-10-25Fix OpenSSL build errors caused by BIO/BIO_METHOD now being opaque.Peter Powell
2016-10-25Allow classes to take a port range.Peter Powell
2016-09-20Strip carriage returns in the config parser.Peter Powell
This prevents problems when configuration files have been edited on a Windows machine.
2016-09-20Fix compatibility with the legacy <channels> tag.Peter Powell
We should only use OperMaxChans if they have the right privilege.
2016-09-16Add CentOS PackageInfoAdam
2016-09-16Make the duration of nickflood and joinflood configurable.Peter Powell
2016-09-16Allow the reason for locking to be specified in m_lockserv.Peter Powell
2016-09-16Merge pull request #1222 from SaberUK/master+warningsAttila Molnar
Fix various compiler warnings
2016-09-16Merge pull request #1219 from SaberUK/master+directiveAttila Molnar
Rewrite the build system directive parser.
2016-09-16Merge pull request #1176 from SaberUK/master+formatAttila Molnar
Replace snprintf usage with InspIRCd::Format.
2016-09-16Rewrite the build system directive parser.Peter Powell
2016-09-15Fix m_ldap warning about OpenLDAP being deprecated on OS X.Peter Powell
2016-09-15Fix m_geoip warning about the use of C++11 features.Peter Powell
2016-09-14Improve the default ISUPPORT tokens.Peter Powell
- Replace the deprecated MAXCHANNELS token with CHANLIMIT. - Remove the deprecated FNC token (other implementations can force a nick change without sending this token so informing clients of that we might force a nick change is pointless)
2016-09-12m_shun Add support for shunning CIDR masksAttila Molnar
Issue #1195
2016-09-12Change type of log messages to MODNAME in several modulesAttila Molnar
2016-09-12Undocument <power> and set the default to the server name.Peter Powell
2016-09-09Replace snprintf usage with InspIRCd::Format.Peter Powell
2016-09-02Release v3.0.0 alpha 1Attila Molnar
2016-09-02Update stuff for the new versioning system.Peter Powell
2016-09-02Bump version to 3.0 in comments and messagesAttila Molnar
2016-09-02Merge insp20Attila Molnar
2016-09-02m_dnsbl Use FindAnswerOfTypeAdam
2016-09-02m_spanningtree Allow multiple valid ips for link blocks as a result of ↵Adam
SecurityIPResolver
2016-09-02Fix Windows build and most MSVC warningsAttila Molnar
2016-09-02m_spanningtree Add workaround to make SVS* commands work when using ENCAPAttila Molnar