aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix reconnecting a pgsql connection if it fails.Gravatar Sadie Powell2020-04-241-9/+14
|
* Unregister pgsql connection fds when they are deleted.Gravatar Sadie Powell2020-04-241-0/+4
|
* Opt-out of pgsql read and write events if polling fails.Gravatar Sadie Powell2020-04-241-2/+7
|
* Initialise and deallocate the MySQL library correctly.Gravatar Peter Powell2019-08-201-0/+6
|
* Update documentation links.Gravatar Peter Powell2019-04-262-3/+3
|
* Fix sending malformed ERR_BANLISTFULL numerics in some contexts.Gravatar Peter Powell2018-10-091-1/+2
| | | | Fixes ircdocs/irc-defs#37.
* Fix gateway client hosts not being updated if DNS resolution fails.Gravatar Peter Powell2018-09-181-0/+6
|
* m_httpd: close the HTTP connection after serving a request.Gravatar Peter Powell2018-08-071-0/+1
| | | | | | | We always send "Connection: Close" so this is the right behaviour according to section 8.1 of RFC 2616. Closes #1507.
* Fix blank instead of empty PART message when a user is shunnedGravatar B00mX0r2018-04-111-1/+1
|
* Remove swhois messages set in the oper block on deoper.Gravatar Peter Powell2018-04-091-4/+33
| | | | Closes #1240.
* Set User::host before calling ChangeIP()Gravatar Peter Powell2018-04-061-3/+3
| | | | | | ChangeIP() calls SetClientIP() which revalidates whether the user matches an ELine. However, because the hostname has not changed yet the user may incorrectly be marked as non-exempt.
* Update the GeoIP ExtItem when CGI:IRC sets the real IP (#1471)Gravatar genius30002018-03-301-1/+8
| | | | | | | | | Since CGI:IRC calls it's 'ChangeIP()' either from 'OnCheckReady()' or 'OnUserRegister()', both of which are called after the user has sent NICK/USER, we can safely skip re-setting the ExtItem prior to this point. This skips the first 'OnSetUserIP()' from 'User::AddUser()' as the 'OnSetConnectClass()' catch handles the initial setting.
* m_ssl_openssl: Remove deprecated API members.Gravatar Wade Cline2018-03-021-3/+12
| | | | Backported from 2afc1af4639ae2bbef397f4f6acc834950017d91.
* Revert std::set changes and add duplicate checking in m_banredirect instead, ↵Gravatar linuxdaemon2018-01-251-11/+18
| | | | as requested by @Adam-
* Fix comparator logic for ordering by channelGravatar linuxdaemon2018-01-251-3/+3
|
* Make sure banredirect metadata can not be duplicatedGravatar linuxdaemon2018-01-251-3/+11
|
* m_chanhistory: optionally exempt bots from receiving history.Gravatar Michael Hazell2017-12-311-0/+5
| | | | | | | | Sending history to some bots can cause problems as without the IRCv3 chathistory batch they have no way of knowing what messages are history and what they should respond to. Closes #1450.
* Always store something in the cgiirc hostname extension.Gravatar Peter Powell2017-12-201-7/+3
| | | | | | | This is used by modules like m_sasl to send the cgiirc hostname to services so it should contain something valid. Closes #1438.
* Fix m_spanningtree sending the wrong setter in S2S ADDLINE.Gravatar Peter Powell2017-12-151-1/+1
|
* Fix m_xline_db storing the wrong setter in the XLine database.Gravatar Peter Powell2017-12-151-1/+1
|
* Add length checking to GetExtBanStatus and m_banexception.Gravatar Peter Powell2017-11-281-1/+1
| | | | | As far as I can tell this is not a problem as all ban masks are canonicalised but its better to be safe than sorry.
* Work around removing shuns on nicks when the nick is online.Gravatar Peter Powell2017-11-091-2/+6
|
* Revert the code changes to m_sasl made in commit 9d4b4344b4.Gravatar Peter Powell2017-11-091-4/+0
| | | | This is causing problems such as duplicate 904 messages.
* Improve (synchronize) the notices in m_timedbansGravatar genius30002017-11-061-4/+10
| | | | | * Send to remote servers upon setting * Send to halfop if available upon expiry
* Merge pull request #1359 from genius3000/insp20+sasl_no_serverGravatar Peter Powell2017-11-061-0/+4
|\ | | | | 2.0: Inform the client when a SASL message cannot be sent
| * Inform the client when a SASL message cannot be sentGravatar genius30002017-11-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix sending a malformed 410 numeric when sent empty CAP commands.Gravatar Peter Powell2017-10-181-1/+1
| |
* | Update wiki links to use HTTPS and point to the correct pages.Gravatar Peter Powell2017-10-153-4/+2
| | | | | | | | | | When we release 3.0 these links will break as they will point to the pages for 3.0 rather than 2.0.
* | Include connection security with the SASL host information.Gravatar Peter Powell2017-10-111-0/+9
| | | | | | | | See atheme/atheme@b41753f740 for more details.
* | Fix m_cgiirc allowing malformed hosts sent via WEBIRC.Gravatar Peter Powell2017-09-091-1/+1
| |
* | Fix mistakenly hardcoding the halfop prefix char in timedbans.Gravatar Peter Powell2017-08-251-1/+1
| | | | | | | | | | | | 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.
* | Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.Gravatar Peter Powell2017-06-162-2/+2
|/ | | | | Previously we assumed that CTCP ACTIONs matched "\1ACTION ". This is incorrect because "\1ACTION\1" and "\1ACTION" are valid CTCPs.
* m_override: fix parentheses compiler warningGravatar Adam2017-05-171-1/+1
|
* Merge pull request #1094 from SISheogorath/insp20+fixed-OverrideGravatar Adam2017-05-171-1/+2
|\ | | | | fix override issue
| * fix channel rank issueGravatar Sheogorath2016-12-101-1/+2
| |
* | Merge pull request #1328 from Adam-/insp20+sakickGravatar Adam2017-05-171-8/+0
|\ \ | | | | | | m_sakick: remove unused "Unable to kick" notice
| * | m_sakick: remove unused "Unable to kick" noticeGravatar Adam2017-05-111-8/+0
| | | | | | | | | | | | This has never worked due to the channel lookup using the user's nick
* | | Merge pull request #1284 from Adam-/insp20+preregcloakGravatar Adam2017-05-171-0/+4
|\ \ \ | | | | | | | | m_cloaking: don't apply cloak to already cloaked users during registration
| * | | m_cloaking: don't apply cloak to already cloaked users during registrationGravatar Adam2017-05-171-0/+4
| | | | | | | | | | | | | | | | | | | | This can happen if services set a vhost during registration (like with SASL)
* | | | Merge pull request #1321 from SaberUK/insp20+permwarnGravatar Attila Molnar2017-05-171-0/+6
|\ \ \ \ | | | | | | | | | | [2.0] Warn when a user configures a permanent channel without +P.
| * | | | Warn when a user configures a permanent channel without +P.Gravatar Peter Powell2017-04-241-0/+6
| |/ / /
* | | | Merge pull request #1269 from Adam-/insp20+saslhostGravatar Attila Molnar2017-05-171-0/+53
|\ \ \ \ | |_|/ / |/| | | m_sasl: send host/ip info
| * | | m_sasl: use host/ip from m_cgiirc if applicableGravatar Adam2017-02-261-2/+39
| | | |
| * | | m_sasl: send host/ip infoGravatar Adam2016-12-191-0/+16
| | | |
* | | | Penalise clients that use WEBIRC incorrectly.Gravatar Peter Powell2017-04-271-0/+2
| | | |
* | | | Fix WEBIRC not rejecting invalid IP addresses.Gravatar Peter Powell2017-04-271-0/+8
| |/ / |/| |
* | | m_ldapauth: fix providing username in PASSGravatar Adam2017-03-201-29/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #1266 from Adam-/insp20+cloakipGravatar Attila Molnar2017-03-051-2/+5
|\ \ \ | | | | | | | | m_cloaking: fix host/ip comparisons #1249
| * | | m_cloaking: fix host/ip comparisons #1249Gravatar Adam2016-11-131-2/+5
| | | |
* | | | m_dnsbl: check returned results are in 127.0.0.0/8Gravatar Adam2017-01-111-2/+7
| |/ / |/| |