aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 1.2.0a2+TexasLonghorn v1.2.0a2Gravatar brain2008-04-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9492 e03df62e-2008-0410-955e-edbf42e46eb7
* Make run-cc handle containers of std::pair, and also filtering for ↵Gravatar aquanight2008-04-131-4/+9
| | | | | | std::{vector,string}::iterator git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9491 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove comments about coming up with a better way that has been come up with.Gravatar aquanight2008-04-131-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9490 e03df62e-2008-0410-955e-edbf42e46eb7
* Sane-ify the STL filtering and coloring in run-cc.Gravatar aquanight2008-04-131-10/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9489 e03df62e-2008-0410-955e-edbf42e46eb7
* Add newlines to the end :) (\n)Gravatar brain2008-04-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9488 e03df62e-2008-0410-955e-edbf42e46eb7
* add a hint to users for using an IP instead of *Gravatar bricker2008-04-131-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9487 e03df62e-2008-0410-955e-edbf42e46eb7
* Correct indentationGravatar brain2008-04-131-14/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9486 e03df62e-2008-0410-955e-edbf42e46eb7
* char -> const charGravatar w00t2008-04-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9485 e03df62e-2008-0410-955e-edbf42e46eb7
* Cast these to shut up compilerGravatar w00t2008-04-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9484 e03df62e-2008-0410-955e-edbf42e46eb7
* Eliminate now-pointless labelGravatar brain2008-04-131-5/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9483 e03df62e-2008-0410-955e-edbf42e46eb7
* Whack code duplicationGravatar brain2008-04-131-4/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9481 e03df62e-2008-0410-955e-edbf42e46eb7
* Whack gotos here tooGravatar brain2008-04-131-9/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9480 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix 4-space indents :<Gravatar brain2008-04-131-26/+26
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9479 e03df62e-2008-0410-955e-edbf42e46eb7
* Windows fixGravatar brain2008-04-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9475 e03df62e-2008-0410-955e-edbf42e46eb7
* Port a bunch of methods of InspIRCd to functors. IsChannel, IsSID, Rehash.Gravatar brain2008-04-134-27/+38
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9474 e03df62e-2008-0410-955e-edbf42e46eb7
* Mapping for mkdir() to _mkdir() for windowsGravatar brain2008-04-121-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9473 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for default log. It is now called ~/.inspircd/startup.log unless ↵Gravatar brain2008-04-122-2/+53
| | | | | | | | | | 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
* Fixes for bug #515, update existing in-use connect tags on the fly in rehashGravatar brain2008-04-122-0/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9471 e03df62e-2008-0410-955e-edbf42e46eb7
* Trunk fix for bug #505 reported by nenolodGravatar brain2008-04-123-18/+30
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9468 e03df62e-2008-0410-955e-edbf42e46eb7
* In visual studio, CRT crashes when strftime() is given an invalid format ↵Gravatar brain2008-04-121-2/+2
| | | | | | 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
* Fix crash in m_stripcolor on windows when the colour code is the first item ↵Gravatar brain2008-04-121-4/+11
| | | | | | on a line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9465 e03df62e-2008-0410-955e-edbf42e46eb7
* Replace here tooGravatar brain2008-04-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9463 e03df62e-2008-0410-955e-edbf42e46eb7
* (untested) don't move newconfig to ServerConfig::config_data until its been ↵Gravatar brain2008-04-112-33/+30
| | | | | | 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
* Remove 'default log' and <options:loglevel> (wtf?)Gravatar brain2008-04-114-57/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9460 e03df62e-2008-0410-955e-edbf42e46eb7
* nuke loglevel from <options> description, and tidy some indenting.Gravatar peavey2008-04-111-9/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9459 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch from voidzero, bug #517Gravatar brain2008-04-111-5/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9458 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix silliesGravatar brain2008-04-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9457 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch from Brain fixing broken stuffGravatar w00t2008-04-112-8/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9456 e03df62e-2008-0410-955e-edbf42e46eb7
* Much faster way of checking if the user is 4in6, avoid strncmp in ↵Gravatar brain2008-04-112-3/+9
| | | | | | User::GetIPString(), do it in User::SetSockAddr() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9455 e03df62e-2008-0410-955e-edbf42e46eb7
* Provide an optional param translate4in6 to User::GetIPString() and default ↵Gravatar brain2008-04-101-2/+8
| | | | | | | | | 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
* Fix for bug #503 reported by Stealth (at last)Gravatar brain2008-04-101-0/+37
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9453 e03df62e-2008-0410-955e-edbf42e46eb7
* Add correct stuff so that /taxonomy can show the cloaked hosts for users in ↵Gravatar brain2008-04-101-2/+13
| | | | | | their metadata git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9452 e03df62e-2008-0410-955e-edbf42e46eb7
* Calculate hosts on connect so theres no way around a ban on your cloak, even ↵Gravatar brain2008-04-101-78/+77
| | | | | | if you never cloak yourself even once git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9451 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment small API change (returning -1 from OnCheckBan to explicitly deny ↵Gravatar brain2008-04-101-1/+2
| | | | | | the ban) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9450 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #513Gravatar brain2008-04-102-3/+57
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9449 e03df62e-2008-0410-955e-edbf42e46eb7
* This now passes all the RIPEMD160 test vectors and is a complete and usable ↵Gravatar brain2008-04-101-3/+8
| | | | | | | | | | | | | | | | | 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
* Whoops, overwriting hash with the hex isnt a good ideaGravatar brain2008-04-101-10/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9447 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ripemd160 warningsGravatar brain2008-04-101-7/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9446 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_ripemd160 on behalf of Brain. Adds ripemd-160 hashing to our ↵Gravatar w00t2008-04-101-0/+496
| | | | | | collection of providers. Will doc later. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9445 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix theseGravatar w00t2008-04-095-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9444 e03df62e-2008-0410-955e-edbf42e46eb7
* AddClient -> AddUser, to be consistantGravatar w00t2008-04-093-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9443 e03df62e-2008-0410-955e-edbf42e46eb7
* Move QuitUser into UserManager class, and unstaticize it. This prepares for ↵Gravatar w00t2008-04-0922-61/+64
| | | | | | 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
* Apply brain's patch for binary safety of hash providers, and remove rehash ↵Gravatar w00t2008-04-094-10/+6
| | | | | | 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
* Send usermodes on whois if user is self or operedGravatar w00t2008-04-091-0/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9440 e03df62e-2008-0410-955e-edbf42e46eb7
* OddnessGravatar brain2008-04-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9439 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra debugGravatar brain2008-04-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9438 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix authentication logic, someone forgot to change an || to an &&, because ↵Gravatar brain2008-04-081-4/+15
| | | | | | | | | | we use continue now the logic is reversed, we continue if auth method one fails AND auth method two fails (instead of if auth method one fails OR auth method two fails) Also, fix bug where credentials of outbound server are leaked on successful auth to other ircds behind it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9437 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow remote users to bypass Q:Line (why on earth wasn't this the case)Gravatar w00t2008-04-081-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9436 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't check Q:Lines here, it will affect change to UIDGravatar w00t2008-04-081-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9435 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't check Q:Lines if server is enforcing a nick change (I forgot we had a ↵Gravatar w00t2008-04-081-5/+13
| | | | | | way to check this). 'Bug' (it's not really a bug, just admin stupidity) found by Kein. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9434 e03df62e-2008-0410-955e-edbf42e46eb7