summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-07-12cmd_kill: log all kills from or to remote usersAdam
2017-07-12cmd_kill: correct notices to show as a remote kill when a remote oper kills ↵Adam
a local user
2017-07-12cmd_kill: rename u to targetAdam
2017-07-12cmd_kill: don't show kill path in KILL messages to usersAdam
2017-07-12cmd_kill: reshuffleAdam
2017-07-12Merge pull request #1270 from SaberUK/master+saslPeter Powell
Always append the SSL fingerprint even if EXTERNAL is not used.
2017-07-12Remove an unused variable in m_cloaking.Peter Powell
2017-07-12Merge pull request #1267 from SaberUK/master+configPeter Powell
Store config values in a map instead of a unique vector of pairs.
2017-07-12Merge pull request #1211 from SaberUK/master+overridePeter Powell
Add CXX11_OVERRIDE to overridden members that lack it.
2017-07-12Merge pull request #677 from Robby-/master-dnsblzlinePeter Powell
[master] m_dnsbl: Correct the address in the Z-line snomask message.
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2017-07-12Merge pull request #1337 from SaberUK/master+mergePeter Powell
Merge v2.0.23 and v2.0.24 into master.
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 v2.0.23 and v2.0.24 into master.Peter Powell
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-06-22Allow filtering WebIRC connections into a connect class by gateway.Peter Powell
2017-06-16Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.Peter Powell
Previously we assumed that CTCP ACTIONs matched "\1ACTION ". This is incorrect because "\1ACTION\1" and "\1ACTION" are valid CTCPs.
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-05-18Release v2.0.24v2.0.24Adam
2017-05-17m_override: fix parentheses compiler warningAdam
2017-05-17Merge pull request #1094 from SISheogorath/insp20+fixed-OverrideAdam
fix override issue
2017-05-17Merge pull request #1328 from Adam-/insp20+sakickAdam
m_sakick: remove unused "Unable to kick" notice
2017-05-17Merge pull request #1284 from Adam-/insp20+preregcloakAdam
m_cloaking: don't apply cloak to already cloaked users during registration
2017-05-17m_cloaking: don't apply cloak to already cloaked users during registrationAdam
This can happen if services set a vhost during registration (like with SASL)
2017-05-17Merge pull request #1321 from SaberUK/insp20+permwarnAttila Molnar
[2.0] Warn when a user configures a permanent channel without +P.
2017-05-17Merge pull request #1269 from Adam-/insp20+saslhostAttila Molnar
m_sasl: send host/ip info
2017-05-17Merge pull request #1230 from SaberUK/insp20+ipcacheAttila Molnar
[2.0] Invalidate the caches properly when User::SetClientIP is called.
2017-05-11m_sakick: remove unused "Unable to kick" noticeAdam
This has never worked due to the channel lookup using the user's nick
2017-04-27Penalise clients that use WEBIRC incorrectly.Peter Powell
2017-04-27Fix WEBIRC not rejecting invalid IP addresses.Peter Powell
2017-04-24Warn when a user configures a permanent channel without +P.Peter Powell
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-03-20m_ldapauth: fix providing username in PASSAdam
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.
2017-03-20cmd_who: don't show +p channels or channels hidden with m_hidechansAdam
Fixes #1276
2017-03-20Move the OnCheckExemption hook out of the core.Peter Powell
2017-03-05Merge pull request #1266 from Adam-/insp20+cloakipAttila Molnar
m_cloaking: fix host/ip comparisons #1249
2017-02-28Allow <log> tags to specify how often logs should be flushed.Peter Powell
Also use the behaviour behind this to fix #1290.
2017-02-26m_sasl: use host/ip from m_cgiirc if applicableAdam
2017-01-11m_dnsbl: check returned results are in 127.0.0.0/8Adam
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-12-22Always append the SSL fingerprint even if EXTERNAL is not used.Peter Powell