aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2021-08-271-0/+1
* Code refactor and minor fix (#1879)Gravatar Herman2021-06-121-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
* Fix the cloaking module on C++98 compilers.Gravatar Sadie Powell2021-03-101-1/+1
* Add a human-readable version of the cloak list.Gravatar Sadie Powell2021-03-091-4/+16
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+3
* Avoid doing "IP changed" event stuff on quitting users.Gravatar Sadie Powell2020-11-201-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-10-301-1/+1
* Don't kill cloaking users when hash/md5 is missing.Gravatar Sadie Powell2020-10-271-2/+10
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-6/+12
* Convert a bunch of LocalUser* casts to IS_LOCAL.•••This is a lot safer and handles users changing servers properly. Gravatar Peter Powell2019-10-131-2/+4
* Fix cloaking not ignoring the case of a user's hostname.•••This new mode is recommended but disabled by default for compat reasons. Closes #480. Closes #1419. Co-Authored-By: B00mX0r <b00mx0r@aureus.pw> Gravatar Peter Powell2019-09-161-8/+16
* Remove trailing whitespace from various source files.Gravatar Peter Powell2019-01-241-6/+6
* Update the cloaks of connected users when their IP address changes.Gravatar Peter Powell2018-12-131-0/+18
* Add support for multiple cloak configurations.•••The first will be used for cloaking and the rest will be used for checking bans. Gravatar Peter Powell2018-11-191-90/+164
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-1/+7
* 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-2/+2
* Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-2/+2
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-0/+4
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-2/+2
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
* Fix m_cloaking umode syncing•••Servers will now correctly show whether a remote user has +x or not. Gravatar B00mX0r2017-11-261-4/+15
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-2/+2
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-4/+4
* 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-4/+4
* Make domainparts configureableGravatar Sheogorath2017-10-111-3/+15
* Remove an unused variable in m_cloaking.Gravatar Peter Powell2017-07-121-1/+0
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-1/+1
* Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-091-1/+8
|\
| * m_cloaking: don't apply cloak to already cloaked users during registration•••This can happen if services set a vhost during registration (like with SASL) Gravatar Adam2017-05-171-0/+4
| * m_cloaking: fix host/ip comparisons #1249Gravatar Adam2016-11-131-2/+5
* | Replace snprintf usage with InspIRCd::Format.Gravatar Peter Powell2016-09-091-5/+3
* | Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+1
* | Fix a regression in m_cloaking•••5c7db14a5 made the cloak use hex-encoded hashes instead of the binary output. Gravatar Thomas Fargeix2014-12-291-1/+1
* | Hashing: Redo API•••* Don't assume the printable output of hashes is hex * Add virtual Compare() function, usable for KDFs like BCrypt Some changes and bugfixes are by @attilamolnar, original PR #767 Gravatar Daniel Vassdal2014-08-041-1/+1
* | Fix various cases of UUID exposure.•••- Introduce WriteCommand which sends * when the user has not registered. - Switch a ton of code to use WriteCommand instead of WriteServ. - Convert WriteNotice to be a wrapper around WriteCommand. - Only send * when NICK has not been sent instead of before registration. Gravatar Peter Powell2014-02-061-1/+1
* | Remove a few unnecessary .c_str() callsGravatar Attila Molnar2014-01-311-1/+1
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-7/+0
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-3/+1
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() w...Gravatar attilamolnar2013-07-011-7/+7
* | Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. Gravatar Peter Powell2013-05-151-6/+6
* | Replace some C-isms with C++-isms.•••* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. Gravatar Peter Powell2013-05-151-3/+2
* | Add method for writing server notices.•••This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name. Gravatar Peter Powell2013-05-141-1/+1
* | Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-1/+1
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-6/+0
* | Remove legacy code, mostly related to 1.2 compatibilityGravatar attilamolnar2013-04-011-155/+5
|/
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1