summaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
AgeCommit message (Collapse)Author
2020-11-20Avoid doing "IP changed" event stuff on quitting users.Sadie Powell
2020-10-30Update copyright headers.InspIRCd Robot
2020-10-27Don't kill cloaking users when hash/md5 is missing.Sadie Powell
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-10-13Convert a bunch of LocalUser* casts to IS_LOCAL.Peter Powell
This is a lot safer and handles users changing servers properly.
2019-09-16Fix cloaking not ignoring the case of a user's hostname.Peter Powell
This new mode is recommended but disabled by default for compat reasons. Closes #480. Closes #1419. Co-Authored-By: B00mX0r <b00mx0r@aureus.pw>
2019-01-24Remove trailing whitespace from various source files.Peter Powell
2018-12-13Update the cloaks of connected users when their IP address changes.Peter Powell
2018-11-19Add support for multiple cloak configurations.Peter Powell
The first will be used for cloaking and the rest will be used for checking bans.
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-07-24Make more config stuff case insensitive.Peter Powell
2018-07-18Initial support for listening on UNIX socket endpoints.Peter Powell
2018-07-18Add the family() member to the sockaddrs union.Peter Powell
2018-04-16Add ConfigTag::getUInt for reading unsigned config values.Peter Powell
2017-11-26Fix m_cloaking umode syncingB00mX0r
Servers will now correctly show whether a remote user has +x or not.
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-10-28Hide User#host and User#dhost and use accessors to modify them.Peter Powell
This removes the need to invalidate the cache after changing a user's hostname.
2017-10-11Make domainparts configureableSheogorath
2017-07-12Remove an unused variable in m_cloaking.Peter Powell
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2017-07-09Merge v2.0.23 and v2.0.24 into master.Peter Powell
2017-05-17m_cloaking: don't apply cloak to already cloaked users during registrationAdam
This can happen if services set a vhost during registration (like with SASL)
2016-11-13m_cloaking: fix host/ip comparisons #1249Adam
2016-09-09Replace snprintf usage with InspIRCd::Format.Peter Powell
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-12-29Fix a regression in m_cloakingThomas Fargeix
5c7db14a5 made the cloak use hex-encoded hashes instead of the binary output.
2014-08-04Hashing: Redo APIDaniel Vassdal
* 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
2014-02-06Fix various cases of UUID exposure.Peter Powell
- 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.
2014-01-31Remove a few unnecessary .c_str() callsAttila Molnar
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-04Automatically attach modules to eventsattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-07-01Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵attilamolnar
with ModeHandlers, part 1
2013-05-15Tidy up keywords on module methods.Peter Powell
- 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.
2013-05-15Replace some C-isms with C++-isms.Peter Powell
* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
2013-05-14Add method for writing server notices.Peter Powell
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.
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
2013-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2013-04-01Remove legacy code, mostly related to 1.2 compatibilityattilamolnar
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2011-02-14Fix bug #122Jackmcbarn
2010-08-17Clarify null character append in m_cloaking (fixes compiler warning)Daniel De Graaf
2010-04-24Emulate a bug in 1.2 to get matching cloaksDaniel De Graaf
2010-04-24Add "CLOAK" command to allow opers to see the cloaked form of any hostDaniel De Graaf
2010-04-24Fix IPv6 cloaking in compatability mode (was using the wrong xtab confusor)Daniel De Graaf