summaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
AgeCommit message (Collapse)Author
2006-12-04Update $ModDep lines so that these properly depend on their headers in the ↵brain
makefile git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5853 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04Make m_cloaking use m_md5. Fix m_md5.brain
TODO: Document m_md5. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5851 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04Add nicer ipv6 cloakingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04Fix it good :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5846 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04Move ipv4 cloaking to cloak4brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5845 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04Fix the new ipv4 cloaks to not change wildly if one octet changesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5844 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Swap some stuff around, just to complicate bruteforcingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5727 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Make the output table chosen be unique to the actual ip so that the octet ↵brain
values are non-reversible. e.g. we cant figure out "if the first digit of my ip is 128, and the first value of my cloak is 09FAC, then all users with an 09FAC in them have a 128 in their ip" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5726 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Better cloaking for unresolved IP addresses.brain
Now hashes each octet and joins them with '.' so you easier ban unresolved ip's. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5725 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12And change < 64 to <= 64, the length limit is 64 - not 63om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5711 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19Insert massive change here.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01Now with binary versioning goodnessbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Annotationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Add m_conn_umodes.so which allows setting of modes on users when they connectbrain
Remove automatic +x from m_cloaking now that conn_umodes can do this Document in example conf. Syntax is <connect:modes> and a mode string in any valid connect:allow tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5236 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02All modules which implement simplemodes (no parameters, not a list mode) can ↵brain
now be UNLOADED O_o git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5102 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Change to using Instance->Log (InspIRCd::Log) rather than log() macrobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11ConfigReader and FileReader now take InspIRCd* to their constructorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11None of the modules use an extern InspIRCd* any morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Last of Server:: methods moved to InspIRCd::. Server:: removed.brain
This will need a real good tidyup later, because now everything is in the right place, but its a mess because for now i threw them into place (e.g. space indenting, etc) Next on the todo: Make command handlers have a ServerInstance (gank!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4861 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.brain
Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10So much stuff changed in this one, i forgot most of it.brain
Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Removal of Server::Log -- not much ever used it anyway with the ability to ↵brain
use log(). log() macro still exists, and calls InspIRCd::Log() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4845 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Server::GetAdmin, Server::GetServerDescription, Server::GetNetworkName --- ↵brain
*REMOVED* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4843 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could ↵brain
do this itself Move: bool ChangeDisplayedHost(const char* host); bool ChangeName(const char* gecos); int CountChannels(); Into userrec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4807 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Fix for ipv6 buildbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4757 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-05Dont try and cloak remote clientsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4727 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-05Extra stuff for identifying ipv6 addressesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4726 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-05Use insp_aton so we can correctly cloak ipv6brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4725 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵brain
parameters to commands in handlers) which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Making lots of stuff inherit from classbase so we can use it as a holdall ↵brain
class that we can throw around with dynamic_cast<> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4297 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Add HAS_STDINT checks here, this had been sitting not in extra/ and using ↵om
stdint.h for aaaages anyway... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4264 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Updates to new APIom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4215 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15Change to stdintbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4012 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15Look at this further later - 64 bit fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4004 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-06Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵w00t
THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-27Fix typo in spanningtree (who put this colon here?)brain
Allow for safer cloaking of hosts > 64 (backport from stable) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3782 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11More converted modulesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3655 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-28Changed to throw exception when theres no cloak keybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3389 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-28Changed loglevel of cloak key errors to SPARSEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3388 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-28Added configurable cloakkey and cloakprefixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3387 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26Converted to new implements systembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2657 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22Optimized out strcpys that copy empty strings (craq++)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved a ton of defined to modules.h that belong therebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2524 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07Changed behaviour of module API to pass Server* to the constructor, rather ↵brain
than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30More stylistic changes.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2030 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Changed to use __single_client_alloc, faster on most systems in a single threadbrain
Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-11Fixed /unloadmodule on crappy gentoobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1046 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-07Fixed issue where failing modules would bail by calling exit (deprecated) --brain
modules should now just disable their functionality if they are missing data git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1007 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-07Tons of module versionflags stuff, and checks for it in /UNLOADMODULEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1001 e03df62e-2008-0410-955e-edbf42e46eb7