aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Release v2.0.28. v2.0.28Gravatar Peter Powell2019-08-231-1/+1
* 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 BanCache entries existing after X-line expiry.•••When DefaultApply() adds a hit to the BanCache it uses the X-line duration to set a duration on the entry. This can result in an entry lasting longer than the X-line itself. Fix this by setting the entry duration to the time left on the X-line. Gravatar Matt Schatz2019-03-101-1/+1
* Release v2.0.27 v2.0.27Gravatar Peter Powell2018-11-051-1/+1
* Fix exposing the ban reason when an xline is found in the bancache.Gravatar Peter Powell2018-11-041-1/+5
* Fix sending malformed ERR_BANLISTFULL numerics in some contexts.•••Fixes ircdocs/irc-defs#37. Gravatar Peter Powell2018-10-092-2/+4
* Fix gateway client hosts not being updated if DNS resolution fails.Gravatar Peter Powell2018-09-181-0/+6
* Fix sending malformed ERR_UNKNOWNCOMMAND messages in some cases.•••This is not something the average user will encounter. It can only happen if the user sends a message with preceding whitespace or a prefix but no command name. This is not something that should ever be seen in practise so we just penalise the user and pretend nothing ever happened. The previous code also contained undefined behaviour but it acted sensibly on all compilers we support so it was not crashable. Gravatar Peter Powell2018-08-101-2/+6
* m_httpd: close the HTTP connection after serving a request.•••We always send "Connection: Close" so this is the right behaviour according to section 8.1 of RFC 2616. Closes #1507. Gravatar Peter Powell2018-08-071-0/+1
* Clean up the WHO helpop documentation.Gravatar Peter Powell2018-07-121-1/+1
* Fix replying with the source user in oper-restricted WHO lookups.Gravatar Peter Powell2018-07-111-3/+1
* Fix invalid conversion from 'const char*' to 'char*' on FreeBSD.Gravatar Peter Powell2018-06-081-1/+1
* Release v2.0.26 v2.0.26Gravatar Peter Powell2018-04-201-1/+1
* 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.•••Closes #1240. Gravatar Peter Powell2018-04-093-4/+35
* Fix ELine::Matches returning false on existing match•••When checking for an E-Line match, we want to actually check for a current match even if we previously matched and are set exempt. This fixes situations where you have an E-Lined CGI:IRC address, a G-Lined IP range for some area/host/etc and a smaller E-Lined IP range for known good clients. Currently when CGI:IRC changes the IP, E-Lines are rechecked but because the user is already exempt (from the CGI:IRC E-Line), they are set no longer exempt and match a G-Line, when they should match an E-Line. This exact change has been done before in commit 'c8b344e' and shortly reverted in 'c490a90' to fix issue #989 (CGI:IRC users remaining exempt when the CGI:IRC address is E-Lined but they are not). The actual cause to this issue was likely that the user's hostname was not changed from the CGI:IRC hostname/IP prior to rechecking E-Lines. This is being fixed in a separate commit. Gravatar genius30002018-04-061-3/+0
* Set User::host before calling ChangeIP()•••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. Gravatar Peter Powell2018-04-061-3/+3
* Update the GeoIP ExtItem when CGI:IRC sets the real IP (#1471)•••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.Gravatar genius30002018-03-301-1/+8
* m_ssl_openssl: Remove deprecated API members.•••Backported from 2afc1af4639ae2bbef397f4f6acc834950017d91. Gravatar Wade Cline2018-03-021-3/+12
* Revert std::set changes and add duplicate checking in m_banredirect instead, ...Gravatar linuxdaemon2018-01-251-11/+18
* 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.•••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. Gravatar Michael Hazell2017-12-311-0/+5
* Always store something in the cgiirc hostname extension.•••This is used by modules like m_sasl to send the cgiirc hostname to services so it should contain something valid. Closes #1438. Gravatar Peter Powell2017-12-201-7/+3
* 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.•••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. Gravatar Peter Powell2017-11-282-2/+2
* Release v2.0.25 v2.0.25Gravatar Peter Powell2017-11-121-1/+1
* 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.•••This is causing problems such as duplicate 904 messages. Gravatar Peter Powell2017-11-091-4/+0
* Improve (synchronize) the notices in m_timedbans•••* Send to remote servers upon setting * Send to halfop if available upon expiry Gravatar genius30002017-11-061-4/+10
* Merge pull request #1359 from genius3000/insp20+sasl_no_server•••2.0: Inform the client when a SASL message cannot be sentGravatar Peter Powell2017-11-061-0/+4
|\
| * 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. Gravatar genius30002017-11-051-0/+4
* | Use InvalidateCache in the sockaddrs overload of OnSetClientIP.•••This was done to the string variant in d3b82b2f7f. Gravatar Peter Powell2017-11-051-2/+1
* | Fix CMD_RESTART with relative paths as argv[0].Gravatar Jordyn/The Linux Geek2017-11-041-2/+2
* | ConfigReader: fix compilers optimizing NULL check in ConfigTag::readString()•••See: 66f82ccf926aac39273bfc652c85c08080cc9a46 Fixes inspircd/inspircd-extras#110 Gravatar Adam2017-10-261-3/+6
* | 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.•••When we release 3.0 these links will break as they will point to the pages for 3.0 rather than 2.0. Gravatar Peter Powell2017-10-153-4/+2
* | Include connection security with the SASL host information.•••See atheme/atheme@b41753f740 for more details. Gravatar Peter Powell2017-10-111-0/+9
* | Fix killing elined clients on [gkz]line in some cases.Gravatar Peter Powell2017-09-112-8/+8
* | Fix m_cgiirc allowing malformed hosts sent via WEBIRC.Gravatar Peter Powell2017-09-091-1/+1
* | 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. Gravatar Peter Powell2017-09-011-3/+3
* | 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. Gravatar Peter Powell2017-08-261-10/+5
* | 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. Gravatar Peter Powell2017-08-251-1/+1
* | 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. Gravatar Peter Powell2017-06-162-2/+2
|/
* Release v2.0.24 v2.0.24Gravatar Adam2017-05-181-1/+1
* m_override: fix parentheses compiler warningGravatar Adam2017-05-171-1/+1
* Merge pull request #1094 from SISheogorath/insp20+fixed-Override•••fix override issueGravatar Adam2017-05-171-1/+2
|\
| * fix channel rank issueGravatar Sheogorath2016-12-101-1/+2