aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+1
|
* Fix a regression in m_cloakingGravatar Thomas Fargeix2014-12-291-1/+1
| | | | | 5c7db14a5 made the cloak use hex-encoded hashes instead of the binary output.
* Hashing: Redo APIGravatar Daniel Vassdal2014-08-041-1/+1
| | | | | | | * 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
* Fix various cases of UUID exposure.Gravatar Peter Powell2014-02-061-1/+1
| | | | | | | - 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.
* 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 ↵Gravatar attilamolnar2013-08-301-3/+1
| | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* 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() ↵Gravatar attilamolnar2013-07-011-7/+7
| | | | with ModeHandlers, part 1
* Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-6/+6
| | | | | - 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.
* Replace some C-isms with C++-isms.Gravatar Peter Powell2013-05-151-3/+2
| | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
* Add method for writing server notices.Gravatar Peter Powell2013-05-141-1/+1
| | | | | | | | | 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.
* Tidy up source files:Gravatar Peter Powell2013-04-121-1/+1
| | | | | | - Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
* 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()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+20
|
* Fix bug #122Gravatar Jackmcbarn2011-02-141-2/+6
|
* Clarify null character append in m_cloaking (fixes compiler warning)Gravatar Daniel De Graaf2010-08-171-1/+1
|
* Emulate a bug in 1.2 to get matching cloaksGravatar Daniel De Graaf2010-04-241-2/+2
|
* Add "CLOAK" command to allow opers to see the cloaked form of any hostGravatar Daniel De Graaf2010-04-241-23/+51
|
* Fix IPv6 cloaking in compatability mode (was using the wrong xtab confusor)Gravatar Daniel De Graaf2010-04-241-2/+2
|
* Add custom suffix support for 2.0-style IP cloaking (default of ".IP")Gravatar Daniel De Graaf2010-04-241-8/+13
|
* Fix cloak key being misread in 2.0 cloaking modesGravatar Daniel De Graaf2010-04-151-9/+9
|
* Add debouncing to m_cloaking, and fix cloak of hosts without dotsGravatar Daniel De Graaf2010-03-271-19/+39
|
* Fix CommandFloodPenalty overflow on connectGravatar danieldg2010-03-231-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12659 e03df62e-2008-0410-955e-edbf42e46eb7
* Change 2.0 cloak function to use variable-length segmentsGravatar danieldg2010-03-231-30/+40
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12656 e03df62e-2008-0410-955e-edbf42e46eb7
* Unset umode +x when a different vhost is set on a userGravatar danieldg2010-03-041-36/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12589 e03df62e-2008-0410-955e-edbf42e46eb7
* Add HMAC implementation to HashProviderGravatar danieldg2010-02-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12508 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix exception on m_cloaking GetVersion if run without a hash providerGravatar danieldg2010-02-211-14/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12506 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix empty FMODE being sent if SendMode mode changesGravatar danieldg2010-01-281-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12323 e03df62e-2008-0410-955e-edbf42e46eb7
* Move initialization that throws configuration exceptions to init()Gravatar danieldg2010-01-171-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12279 e03df62e-2008-0410-955e-edbf42e46eb7
* Verify cloak keys match during CAPAB negotiationGravatar danieldg2010-01-141-3/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12258 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Use ServiceProvider for inter-module dependenciesGravatar danieldg2009-11-161-37/+13
| | | | | | | | | | | 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
* Add fine-grained command flood controlsGravatar danieldg2009-11-111-1/+1
| | | | | | | This reintrouces "Excess Flood" quits for those that prefer it to fakelag, and allows the maximum command rate to be set in the connect block. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12093 e03df62e-2008-0410-955e-edbf42e46eb7
* m_cloaking: extend IPv6 mask from /48 to /32, add IPv6/64 and IPv4/24 to ↵Gravatar danieldg2009-10-301-35/+44
| | | | | | half-host cloaks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11981 e03df62e-2008-0410-955e-edbf42e46eb7
* Move all local-only fields to LocalUserGravatar danieldg2009-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11944 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module API to use LocalUser* where correctGravatar danieldg2009-10-211-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
* Split LocalUser and RemoteUserGravatar danieldg2009-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11940 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix array out-of-bounds accessesGravatar danieldg2009-10-171-10/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11890 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove dummy API_VERSION from Version constructorGravatar danieldg2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
* Move static map of extensions into ServerInstance, add const-correctnessGravatar danieldg2009-10-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
* Update documentation for cloakingGravatar danieldg2009-10-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11869 e03df62e-2008-0410-955e-edbf42e46eb7
* Octets in an IPv4 address are unsignedGravatar danieldg2009-10-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11837 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double dot in half-cloaked resolved hostsGravatar danieldg2009-10-101-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11827 e03df62e-2008-0410-955e-edbf42e46eb7
* Update m_cloaking to use free-form keys instead of weakening the hash IVGravatar danieldg2009-10-101-181/+260
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11820 e03df62e-2008-0410-955e-edbf42e46eb7
* m_cloaking: Error out on "wrong" cloaking keysGravatar psychon2009-10-101-6/+10
| | | | | | | | | Cloaking keys above 0x80000000 result in different hashes on 64-bit and 32-bit boxes due to different integer overflow behavior. This means it should make sense to catch those key and error out on them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11817 e03df62e-2008-0410-955e-edbf42e46eb7
* Add names for all modes (part 1 of named channel mode list)Gravatar danieldg2009-10-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7