summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-04-17m_override now has a 'requirekey' option, that requires a special key of ↵w00t
'override' before permitting operoverride to prevent accidental abuse, fixes bug #516 reported by Jason. This isn't quite complete. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9524 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-16Change warnings a bitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9518 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-16Maybe make this the right way around...brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9517 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-16Change that allows the m_override module to not announce a key override for ↵brain
a user that specified the right key git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9516 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15ahh shit, remove windows specific code i left laying aroundbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9515 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15Fix the problems GreenReaper found with the windows select engine, this has ↵brain
never worked properly in trunk! -- This needs tidying up, its on my todo either tonight if im awake enough, or tomorrow evening git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9514 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15Fix obvious compile error (whoops)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9513 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15the select socket engine went on the assumption that a socket may remove ↵brain
itself from the socket engine in the middle of the loop. Cull lists did away with this late 1.0, early 1.1, so there is now no need to keep this archaic system in here and we can halve the number of loops per cycle down to half what they used to be. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9512 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15Fixes for ValidateHostnamepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9511 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15Chain ValidateServerName onto ValidateHostname so that the servername gets ↵brain
hostname validity checks (prevents servernames with spaces etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9510 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15Deprecate a few more config options.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9509 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15Nuke the ability to define <options:loglevel> from orbit :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9508 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15See configreader.cpp line 764 to see how to declare deprecated items. This ↵brain
is reasonably well thought out so i see no issue with leaving items here a very long time :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9507 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-14Move options vlaues netbuffersize, maxwho, maxconn, softlimit, quietbursts, ↵brain
nouserdns into performance tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9505 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-14TRUNK CONFIG BREAKAGE WARNING: Move a bunch of options tag values into a new ↵brain
tag called 'security'. See example conf git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9504 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-14Set the required prefix for ops to @, thanksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9503 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13trunk doesnt seem to like < and > in a quoted section, because someone ↵brain
REMOVED the if check by mistake! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9495 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13Only restrict set with <class:usermodes/chanmodes>, not unsetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9494 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-131.2.0a2+TexasLonghornbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9492 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13Add newlines to the end :) (\n)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9488 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13add a hint to users for using an IP instead of *bricker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9487 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13char -> const charw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9485 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13Cast these to shut up compilerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9484 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13Port a bunch of methods of InspIRCd to functors. IsChannel, IsSID, Rehash.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9474 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-12Fixes for default log. It is now called ~/.inspircd/startup.log unless ↵brain
overridden by -logfile commandline param. The name of the log is more indicative of what it stores, and the location is more sane and fits in with standards. If the home directory cant be found from either HOME or USERPROFILE env vars, then the startup.log is dumped to the current directory. Removed -nolog from ./inspircd debug, antique setting. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9472 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-12Fixes for bug #515, update existing in-use connect tags on the fly in rehashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9471 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-12Trunk fix for bug #505 reported by nenolodbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9468 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-12In visual studio, CRT crashes when strftime() is given an invalid format ↵brain
specifier and %F/%T are not supported! -- reported along with stripcolor bug by jackmcbarn, thanks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9467 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-12Fix crash in m_stripcolor on windows when the colour code is the first item ↵brain
on a line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9465 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-12Replace here toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9463 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-11(untested) don't move newconfig to ServerConfig::config_data until its been ↵brain
validated by all the validation funcs in the core config table git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9461 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-11Remove 'default log' and <options:loglevel> (wtf?)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9460 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-11Fix silliesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9457 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-11Patch from Brain fixing broken stuffw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9456 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-11Much faster way of checking if the user is 4in6, avoid strncmp in ↵brain
User::GetIPString(), do it in User::SetSockAddr() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9455 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Provide an optional param translate4in6 to User::GetIPString() and default ↵brain
it to true. This hides the 0::ffff: on all info about an ipv6 user connecting over ipv4, making glines on them and bans etc work better. Certain parts such as dns lookup need to set this to false to determine wether to use ipv4 or ipv6 reverse lookup. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9454 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Fix for bug #503 reported by Stealth (at last)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9453 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Add correct stuff so that /taxonomy can show the cloaked hosts for users in ↵brain
their metadata git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9452 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Calculate hosts on connect so theres no way around a ban on your cloak, even ↵brain
if you never cloak yourself even once git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9451 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Fix for bug #513brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9449 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10This now passes all the RIPEMD160 test vectors and is a complete and usable ↵brain
module: [17:27] --- ripemd160 hashed password for a is 0bdc9d2d256b3ee9daae347be6f4dc835a467ffe [17:27] --- ripemd160 hashed password for abc is 8eb208f7e05d987a9b044a8e98c6b087f15a0bfc [17:27] --- ripemd160 hashed password for message is 1dddbe1bea18cfda41f3fa4e6e66dbbbab93774e [17:27] --- ripemd160 hashed password for message digest is 5d0689ef49d2fae572b881b123a85ffa21595f36 [17:28] --- ripemd160 hashed password for abcdefghijklmnopqrstuvwxyz is f71c27109c692c1b56bbdceb5b9d2865b3708dbc [17:28] --- ripemd160 hashed password for is 9c1185a5c5e9fc54612808977ee8f548b2258d31 [17:28] --- ripemd160 hashed password for abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq is 12a053384a9c0c88e405a06c27dcf49ada62eb2b [17:29] --- ripemd160 hashed password for ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 is b0e20b6e3116640286ed3a87a5713079b21f5189 [17:29] --- ripemd160 hashed password for 12345678901234567890123456789012345678901234567890123456789012345678901234567890 is 9b752e45573d4b39f4dbd3323cab82bf63326bfb git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9448 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Whoops, overwriting hash with the hex isnt a good ideabrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9447 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Fix ripemd160 warningsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9446 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Add m_ripemd160 on behalf of Brain. Adds ripemd-160 hashing to our ↵w00t
collection of providers. Will doc later. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9445 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-09Fix thesew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9444 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-09AddClient -> AddUser, to be consistantw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9443 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-09Move QuitUser into UserManager class, and unstaticize it. This prepares for ↵w00t
some benchmarking lulz on object pooling I plan to do today, as well as making more sense now we *have* a manager class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-09Apply brain's patch for binary safety of hash providers, and remove rehash ↵w00t
from windows project (manually applied that due to linefeed shit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9441 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-09Send usermodes on whois if user is self or operedw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9440 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Oddnessbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9439 e03df62e-2008-0410-955e-edbf42e46eb7