aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cgiirc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Allow configuring which options to trust from a WebIRC gateway.Gravatar Sadie Powell2021-11-101-8/+24
|
* Deduplicate all whois numerics to the whois module header.Gravatar Sadie Powell2021-07-051-6/+0
|
* Fix the 'w' extban not being added to the EXTBAN 005 numeric.Gravatar Sadie Powell2021-04-171-0/+5
|
* Only show the WebIRC gateway name to unprivileged users.Gravatar Sadie Powell2021-04-111-2/+7
|
* Allow banning WebIRC users by their gateway name.Gravatar Sadie Powell2021-04-111-3/+15
| | | | Closes #1857.
* Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
|
* Add a command to the cgiirc module for encoding/decoding hex idents.Gravatar Sadie Powell2021-02-211-37/+81
|
* Rename the cmd variable to cmdwebirc in the cgiirc module.Gravatar Sadie Powell2021-02-211-12/+12
|
* Show the name of the WebIRC gateway in the IP changing notice.Gravatar Sadie Powell2021-02-051-2/+3
|
* Add support for multiple hostmasks in <cgiirc:mask>.Gravatar Sadie Powell2020-12-221-29/+41
|
* Make connect class debug logging more complete and consistent.Gravatar Sadie Powell2020-11-031-1/+12
|
* Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Warn if the server config contains an unhashed password.Gravatar Sadie Powell2020-03-111-1/+8
| | | | This will be made a hard failure in v4.
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-5/+10
|
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
|
* Remove trailing whitespace from various source files.Gravatar Peter Powell2019-01-241-2/+2
|
* Redo OnSetEndPoint logic to fix duplicate clones (#1549).Gravatar linuxdaemon2019-01-141-25/+2
|
* Fix detecting secure clients connecting through HAProxy/WEBIRC.Gravatar Peter Powell2018-12-011-4/+6
|
* Kill users that fail a WEBIRC auth instead of penalising them.Gravatar Peter Powell2018-11-211-2/+2
| | | | This behaviour is specified in the IRCv3 WebIRC specification.
* Only try to parse the WebIRC IP if the user matches a host.Gravatar Peter Powell2018-11-211-9/+9
|
* Fix an inverted condition in the cgiirc module.Gravatar Peter Powell2018-11-161-2/+2
|
* Implement support for WEBIRC attributes.Gravatar Peter Powell2018-11-041-3/+97
|
* Improvements and bugfixes to the cgiirc module.Gravatar Peter Powell2018-09-171-68/+109
| | | | | | | | | | - Allow the ident for ident type hosts to be set in the config. - Consistently check clone counts, connect classes, and xlines for all users regardless of their cgiirc host type. - Remove some obsolete code from when gateway clients had their IP changed in OnCheckReady. - Don't allow a gateway client to match both a WebIRC and an ident host.
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Include modules/whois.h directly from files that use it.Gravatar Peter Powell2018-04-081-0/+1
|
* Fix various issues with the cgiirc module.Gravatar Peter Powell2017-12-271-10/+22
| | | | | | | | | | | - Respect the value of <cgiirc:opernotice> when sending snotices to operators. - Write to the log file if opernotice is disabled. - Log to the correct snomask in all cases. This was caused by an oversight when merging insp20 into master. - Replace the full user mask in log messages with a uuid/ip. The WEBIRC command is sent as the first command so there will not be a nickname or username at this point.
* Make core_hostname_lookup redo the lookup when a user's IP changes.Gravatar Peter Powell2017-10-311-100/+11
| | | | | | | | | | This removes the need to do lookups in the cgiirc module. This is useful as relying on gateways to do proper DNS checks is unreliable and has resulted in issues like 5fc4403f62. Its more sane if we do our own lookups. This change has been okayed by multiple WEBIRC gateway authors so I don't think it will cause many problems.
* Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-14/+11
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Change SetClientIP to take a C++ string instead of a char array.Gravatar Peter Powell2017-10-271-1/+1
|
* Un-constify the private fields of WebIRCHost.Gravatar Peter Powell2017-10-161-4/+4
| | | | | These being constant causes problems on older compilers that don't elide the temporary copy when adding to the host list.
* Rewrite the configuration documentation for m_cgiirc.Gravatar Peter Powell2017-10-151-1/+1
|
* Add support for WEBIRC blocks authenticating using client certs.Gravatar Peter Powell2017-10-151-6/+14
|
* Show the gateway, realhost, and realip in WHOIS for cgiirc clients.Gravatar Peter Powell2017-10-151-2/+26
| | | | | This mirrors a similar feature in ircd-hybrid but using a different numeric that is not already taken in InspIRCd.
* Clean up the WEBIRC command handler.Gravatar Peter Powell2017-10-151-44/+41
| | | | | | - Fix the extremely broken indentation. - Simplify the HandleLocal code flow. - Improve the notices sent to operators.
* Add support for hashed WebIRC passwords to m_cgiirc.Gravatar Peter Powell2017-10-151-3/+5
|
* Rewrite the m_cgiirc configuration handling.Gravatar Peter Powell2017-10-151-59/+67
| | | | | - Store ident hosts separately to WebIRC hosts. - Throw exceptions when the configuration is invalid.
* Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-121-1/+1
|\
| * Fix m_cgiirc allowing malformed hosts sent via WEBIRC.Gravatar Peter Powell2017-09-091-1/+1
| |
* | Switch the WEBIRC command to use SplitCommand.Gravatar Peter Powell2017-10-011-7/+7
| |
* | Remove support for the pass, passfirst, identfirst cgiirc types.Gravatar Peter Powell2017-09-271-69/+15
| | | | | | | | | | | | | | These methods are not supported by any widely used gateways that I can find. If your gateway uses this then you should rewrite it to use the webirc method. For more details see the IRCv3 WEBIRC specification at http://ircv3.net/specs/extensions/webirc.html.
* | Merge pull request #1351 from SaberUK/master+webircGravatar Peter Powell2017-08-051-6/+27
|\ \ | | | | | | Allow filtering WebIRC connections into a connect class by gateway.
| * | Allow filtering WebIRC connections into a connect class by gateway.Gravatar Peter Powell2017-06-221-6/+27
| | |
* | | Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-091-0/+10
|\ \ \ | |/ / |/| / | |/
| * 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
| |
* | Change type of log messages to MODNAME in several modulesGravatar Attila Molnar2016-09-121-3/+3
| |
* | Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-2/+3
| |
* | Merge insp20Gravatar Attila Molnar2014-07-251-0/+1
|\|
| * m_cgiirc Call User::InvalidateCache() after changing host and dhost in ↵Gravatar Attila Molnar2014-05-011-0/+1
| | | | | | | | OnCheckReady()