aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)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 modulemanager for inspircd-contrib.Gravatar Peter Powell2019-06-171-1/+1
|
* Update all documentation links to use https (#1622).Gravatar Robby2019-05-025-5/+5
|
* Update documentation links.Gravatar Peter Powell2019-04-2611-47/+47
|
* Fix BanCache entries existing after X-line expiry.Gravatar Matt Schatz2019-03-101-1/+1
| | | | | | | 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.
* win: update CPACK_RESOURCE_FILE_LICENSE pathGravatar Adam2018-11-111-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.Gravatar Peter Powell2018-10-092-2/+4
| | | | Fixes ircdocs/irc-defs#37.
* 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.Gravatar Peter Powell2018-08-101-2/+6
| | | | | | | | | | | | 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.
* 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.
* Clean up the WHO helpop documentation.Gravatar Peter Powell2018-07-122-29/+27
|
* Fix replying with the source user in oper-restricted WHO lookups.Gravatar Peter Powell2018-07-111-3/+1
|
* Update the readme so that it is actually useful.Gravatar Peter Powell2018-07-101-15/+37
|
* Rename the license file so that people can find it easier.Gravatar Peter Powell2018-07-101-0/+0
|
* Fix the configure checks for eventfd(), <stdint.h>, and strlcpy().Gravatar Peter Powell2018-07-041-5/+5
| | | | Closes #1503.
* Clarify the documentation for m_httpd and m_httpd_{config,stats}.Gravatar Peter Powell2018-06-181-4/+15
| | | | | Thanks to @SleepyEntropy for pointing out that multiple internet- accessible servers do not have these modules correctly configured.
* 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
|
* Improve some documentation (#1483).Gravatar Matt Schatz2018-04-164-207/+252
| | | | | | | | | | | | | | * Improve exemptchanops in inspircd.conf.example (<options>) and modules.conf.example; along with both helpop examples. * Add "the" to all "requires X module" in both helpop examples. * Refer to customprefix instead of chanprotect and halfop. * Add SNOMASK 'r' and 'R' (OPERLOG) to both helpop examples. * Clean up unnecessarily split SNOMASK lines in both helpop examples. * Move chmode 'g' to be in alphabetical order in both helpops examples. * Specify the needed mask formats for TLINE in helpop-full example. * Remove extra '\' in RLINE mask format in helpop-full example. Force xml format in helpop-full * Generalize "color codes" to "formatting codes" * Fix file name in include for example helpop-full
* Fix ModuleManager's external source lists not working with HTTPS.Gravatar Peter Powell2018-04-121-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.Gravatar Peter Powell2018-04-094-6/+42
| | | | Closes #1240.
* Fix ELine::Matches returning false on existing matchGravatar genius30002018-04-061-3/+0
| | | | | | | | | | | | | | | | | | | 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.
* 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.
* Merge pull request #1463 from clinew/insp20+openssl-v1.1-compatGravatar Peter Powell2018-03-041-3/+12
|\ | | | | m_ssl_openssl: Remove deprecated API members.
| * m_ssl_openssl: Remove deprecated API members.Gravatar Wade Cline2018-03-021-3/+12
|/ | | | Backported from 2afc1af4639ae2bbef397f4f6acc834950017d91.
* Merge pull request #1458 from linuxdaemon/insp20+duplicate-redir-metaGravatar Peter Powell2018-02-241-0/+15
|\ | | | | [2.0] Make sure banredirect metadata can not be duplicated
| * 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
| |
* | Merge pull request #1460 from genius3000/insp20+helpop_fixGravatar Peter Powell2018-02-122-4/+4
|\ \ | |/ |/| [2.0]: Helpop: Move extban 'U' from acting to matching
| * [2.0]: Helpop: Move extban 'U' from acting to matchingGravatar genius30002018-02-112-4/+4
|/ | | | Already fixed in master in 8587df2
* m_chanhistory: optionally exempt bots from receiving history.Gravatar Michael Hazell2017-12-312-1/+7
| | | | | | | | 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.
* Merge pull request #1449 from B00mX0r/insp20Gravatar Peter Powell2017-12-232-13/+13
|\ | | | | Fix two minor docs issues
| * Fix two minor docs issuesGravatar B00mX0r2017-12-222-13/+13
|/
* 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.
* Use HTTPS URLs in the executable file and include examples.Gravatar Peter Powell2017-12-161-2/+2
|
* 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
|
* Clarify the documentation of <connect:allow>.Gravatar Peter Powell2017-12-121-2/+6
|
* Add length checking to GetExtBanStatus and m_banexception.Gravatar Peter Powell2017-11-282-2/+2
| | | | | 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.
* Merge pull request #1413 from B00mX0r/insp20Gravatar Peter Powell2017-11-151-6/+0
|\ | | | | Fix referring to sqloper and sqlauth as extras in modules.conf.example.
| * Fix referring to sqloper and sqlauth as extras in modules.confGravatar B00mX0r2017-11-141-6/+0
|/
* Release v2.0.25 v2.0.25Gravatar Peter Powell2017-11-121-1/+1
|
* Don't mess with the encoding of extras modules in modulemanager.Gravatar Peter Powell2017-11-121-2/+2
| | | | | This fixes installing extras modules such as m_qrcode which contain characters from outside of the Unicode Basic Multilingual Plane.
* Various minor documentation fixes.Gravatar Peter Powell2017-11-124-17/+18
| | | | | | | | | | - Remind admins that not setting a DIE/RESTART password does not disable use of those commands. - Remove references to 1.2 and modules being able to create custom logging methods. This was never implemented in the 2.0 branch. - Remove references to an SASL improvement that was reverted. - Update various InspIRCd website links to use HTTPS over HTTP. - Update a link to the IRCv3 website to point to the new website.