summaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
AgeCommit message (Collapse)Author
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
2009-11-11Add fine-grained command flood controlsdanieldg
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
2009-10-30m_cloaking: extend IPv6 mask from /48 to /32, add IPv6/64 and IPv4/24 to ↵danieldg
half-host cloaks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11981 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Move all local-only fields to LocalUserdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11944 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Change module API to use LocalUser* where correctdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Split LocalUser and RemoteUserdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11940 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Fix array out-of-bounds accessesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11890 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Remove dummy API_VERSION from Version constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-14Move static map of extensions into ServerInstance, add const-correctnessdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-13Update documentation for cloakingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11869 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11Octets in an IPv4 address are unsigneddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11837 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10Fix double dot in half-cloaked resolved hostsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11827 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10Update m_cloaking to use free-form keys instead of weakening the hash IVdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11820 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10m_cloaking: Error out on "wrong" cloaking keyspsychon
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
2009-10-08Add names for all modes (part 1 of named channel mode list)danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08Update Event and Request APIsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05Run DelMode and DelModeWatcher in RemoveModuledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11799 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-22Describe module purpose in /MODULES outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-15Remove Extensible items from user, channel, and Membership on module unloaddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11730 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Fix cloaking/invite exception for new extban checksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11713 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Simplify ModeHandler constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Change Extensible to use strongly typed entriesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02ModResult conversion: Change return type of all module functionsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Remove "servermode" parameter, replace with IS_FAKE() which is more reliabledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add Module* creator to Command and ModeHandlerdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02MetaData reworkdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11607 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Change allocation of commands/modesdanieldg
API change: Commands passed to AddCommand are no longer deleted automatically This removes lots of needless heap allocation and fixes a few memory leaks by allocating commands and modes as part of the Module rather than creating them separately in the module constructor. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01Move IP<->sockaddr conversions into irc::sockets:: namespacedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11580 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01Remove more text<->binary IP conversions, making code more IPv4/IPv6 independentdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11578 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01Change IP address storage in User to use more IPv4/IPv6 common codedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11575 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-24OnRehash changes: split to multiple hooks to clarify use and prevent ↵danieldg
explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7