aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cgiirc.cpp
Commit message (Expand)AuthorAgeFilesLines
* Convert FOREACH_MOD_CUSTOM to a variadic function.Gravatar Sadie Powell2020-11-101-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-11-031-1/+12
|\
| * Make connect class debug logging more complete and consistent.Gravatar Sadie Powell2020-11-031-1/+12
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-4/+4
* | Convert ConnectClass from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-11-031-1/+1
* | Add stdalgo::iterator_range and switch config tag reading to use it.•••This allows us to use range-based for loops which were not possible with the previous config tag system. Gravatar Sadie Powell2020-10-311-4/+1
* | Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-4/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
* | Alow modules to specify multiple syntax lines.Gravatar Sadie Powell2020-04-141-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-03-181-1/+8
|\|
| * Warn if the server config contains an unhashed password.•••This will be made a hard failure in v4. Gravatar Sadie Powell2020-03-111-1/+8
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-5/+10
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-5/+10
* | Rewrite and merge LocalStringExt, StringExtItem.Gravatar Sadie Powell2019-08-131-3/+3
* | Move the Module parameter of ExtensionItem et al to the start.•••This matches what other ServiceProvider types do. Gravatar Sadie Powell2019-08-131-3/+3
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-03-301-1/+1
|\|
| * Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
* | UserManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
* | SnomaskManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-3/+3
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-02-051-2/+2
|\|
| * Remove trailing whitespace from various source files.Gravatar Peter Powell2019-01-241-2/+2
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-8/+8
|/
* 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.•••This behaviour is specified in the IRCv3 WebIRC specification. Gravatar Peter Powell2018-11-211-2/+2
* 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.•••- 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. Gravatar Peter Powell2018-09-171-68/+109
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-1/+1
* Include modules/whois.h directly from files that use it.Gravatar Peter Powell2018-04-081-0/+1
* Fix various issues with the cgiirc module.•••- 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. Gravatar Peter Powell2017-12-271-10/+22
* Make core_hostname_lookup redo the lookup when a user's IP changes.•••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. Gravatar Peter Powell2017-10-311-100/+11
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-14/+11
* 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.•••These being constant causes problems on older compilers that don't elide the temporary copy when adding to the host list. Gravatar Peter Powell2017-10-161-4/+4
* 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.•••This mirrors a similar feature in ircd-hybrid but using a different numeric that is not already taken in InspIRCd. Gravatar Peter Powell2017-10-151-2/+26
* Clean up the WEBIRC command handler.•••- Fix the extremely broken indentation. - Simplify the HandleLocal code flow. - Improve the notices sent to operators. Gravatar Peter Powell2017-10-151-44/+41
* Add support for hashed WebIRC passwords to m_cgiirc.Gravatar Peter Powell2017-10-151-3/+5
* Rewrite the m_cgiirc configuration handling.•••- Store ident hosts separately to WebIRC hosts. - Throw exceptions when the configuration is invalid. Gravatar Peter Powell2017-10-151-59/+67
* 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