summaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
AgeCommit message (Collapse)Author
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
2010-04-24Add custom suffix support for 2.0-style IP cloaking (default of ".IP")Daniel De Graaf
2010-04-15Fix cloak key being misread in 2.0 cloaking modesDaniel De Graaf
2010-03-27Add debouncing to m_cloaking, and fix cloak of hosts without dotsDaniel De Graaf
2010-03-23Fix CommandFloodPenalty overflow on connectdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12659 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-23Change 2.0 cloak function to use variable-length segmentsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12656 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-04Unset umode +x when a different vhost is set on a userdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12589 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-21Add HMAC implementation to HashProviderdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12508 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-21Fix exception on m_cloaking GetVersion if run without a hash providerdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12506 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-28Fix empty FMODE being sent if SendMode mode changesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12323 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-17Move initialization that throws configuration exceptions to init()danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12279 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-14Verify cloak keys match during CAPAB negotiationdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12258 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-16Use ServiceProvider for inter-module dependenciesdanieldg
This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7